commit 933e84cc7f9ebf5e3be2dac51c8946aa97dbc229
parent 15460572ab1b665311c539bd40d5f0ebc424daf4
Author: Daniel Dickinson <lede@cshore.thecshore.com>
Date: Thu, 29 Sep 2016 06:13:02 -0400
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>
Diffstat:
1 file changed, 18 insertions(+), 0 deletions(-)
diff --git a/utils/gnupg/Makefile b/utils/gnupg/Makefile
@@ -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))