Browse Source

utils/gnupg: Add build of gpgv

gpgv is a stripped down gnupg useful for only verifying signatures.
Having this package can save space when all you need is signature
verification.

Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
lilik-openwrt-22.03
Daniel Dickinson 8 years ago
committed by Yousong Zhou
parent
commit
933e84cc7f
1 changed files with 18 additions and 0 deletions
  1. +18
    -0
      utils/gnupg/Makefile

+ 18
- 0
utils/gnupg/Makefile View File

@ -38,6 +38,11 @@ define Package/gnupg
MENU:=1
endef
define Package/gpgv
$(call Package/gnupg/Default)
TITLE:=GnuPG signature verification only
endef
define Package/gnupg-utils
$(call Package/gnupg/Default)
DEPENDS:=gnupg +libcurl
@ -54,6 +59,13 @@ define Package/gnupg/description
with PGP2 because it uses IDEA (which is patented worldwide).
endef
define Package/gpgv/description
GPGv is a stripped down version of GnuPG that only checks signatures.
.
GnuPG does not use any patented algorithms so it cannot be compatible
with PGP2 because it uses IDEA (which is patented worldwide).
endef
define Package/gnupg-utils/description
Key management utilies for GnuPG.
This package is needed to import keys from a keyserver.
@ -79,6 +91,11 @@ define Package/gnupg/install
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gpg $(1)/usr/bin/
endef
define Package/gpgv/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gpgv $(1)/usr/bin/
endef
define Package/gnupg-utils/install
$(INSTALL_DIR) $(1)/usr/lib/gnupg
for file in gpgkeys_curl gpgkeys_hkp; do \
@ -88,4 +105,5 @@ define Package/gnupg-utils/install
endef
$(eval $(call BuildPackage,gnupg))
$(eval $(call BuildPackage,gpgv))
$(eval $(call BuildPackage,gnupg-utils))

Loading…
Cancel
Save