aboutsummaryrefslogtreecommitdiff
path: root/utils/gnupg2
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2020-11-20 00:29:47 +0000
committerDaniel Golle <daniel@makrotopia.org>2020-11-20 00:31:10 +0000
commita6d99126a8d38e6ab666c2e37aa2853f579728a0 (patch)
treec68d978cf6a798ce308ba29f05f6a6c3ad6f4481 /utils/gnupg2
parent45dd9c223e15753867c724eb6e3e9c90ef615257 (diff)
gnupg2: package gnupg2-dirmngr
dirmngr is needed to download keys from keyservers. That being a useful thing, let's package dirmngr. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'utils/gnupg2')
-rw-r--r--utils/gnupg2/Makefile24
1 files changed, 22 insertions, 2 deletions
diff --git a/utils/gnupg2/Makefile b/utils/gnupg2/Makefile
index 5153ccca2..7577105e0 100644
--- a/utils/gnupg2/Makefile
+++ b/utils/gnupg2/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=gnupg
PKG_VERSION:=2.2.23
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://gnupg.org/ftp/gcrypt/gnupg
@@ -45,6 +45,11 @@ define Package/gpgv2
ALTERNATIVES:=300:/usr/bin/gpgv:/usr/bin/gpgv2
endef
+define Package/gnupg2-dirmngr
+ $(call Package/gnupg2/Default)
+ TITLE:=Keyserver, CRL, and OCSP access for GnuPG (version 2)
+endef
+
define Package/gnupg2-utils
$(call Package/gnupg2/Default)
DEPENDS:=gnupg2 +libcurl
@@ -66,6 +71,15 @@ define Package/gpgv2/description
GPGv is a stripped down version of GnuPG that only checks signatures.
endef
+define Package/gnupg2-dirmngr/description
+Since version 2.1 of GnuPG, 'dirmngr' takes care of accessing the
+OpenPGP keyservers. As with previous versions it is also used as a
+server for managing and downloading certificate revocation lists (CRLs)
+for X.509 certificates, downloading X.509 certificates, and providing
+access to OCSP providers. Dirmngr is invoked internally by 'gpg',
+'gpgsm', or via the 'gpg-connect-agent' tool.
+endef
+
define Package/gnupg2-utils/description
Key management utilies for GnuPG (version 2).
This package is needed to import keys from a keyserver.
@@ -77,10 +91,10 @@ CONFIGURE_ARGS += \
--with-libassuan-prefix="$(STAGING_DIR)/usr/" \
--with-ksba-prefix="$(STAGING_DIR)/usr/" \
--with-npth-prefix="$(STAGING_DIR)/usr/" \
+ --enable-dirmngr \
--disable-bzip2 \
--disable-card-support \
--disable-ccid-driver \
- --disable-dirmngr \
--disable-gnutls \
--disable-ldap \
--disable-ntbtls \
@@ -101,6 +115,11 @@ define Package/gpgv2/install
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gpgv $(1)/usr/bin/gpgv2
endef
+define Package/gnupg2-dirmngr/install
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dirmngr $(1)/usr/bin/dirmngr
+endef
+
define Package/gnupg2-utils/install
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gpgtar $(1)/usr/bin
@@ -119,4 +138,5 @@ endef
$(eval $(call BuildPackage,gnupg2))
$(eval $(call BuildPackage,gpgv2))
+$(eval $(call BuildPackage,gnupg2-dirmngr))
$(eval $(call BuildPackage,gnupg2-utils))