aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2014-11-20 13:11:20 +0800
committerkuriyama <kuriyama@FreeBSD.org>2014-11-20 13:11:20 +0800
commita8d1afd0bfa3b12f5bb015f4e74b9c57806077cf (patch)
tree2d2ed71fa012627dd41f0d5faa1177ea0e1f5bde /security
parente6a3eb84a52b4a58988bf043d3f26e82bf79fd16 (diff)
downloadfreebsd-ports-gnome-a8d1afd0bfa3b12f5bb015f4e74b9c57806077cf.tar.gz
freebsd-ports-gnome-a8d1afd0bfa3b12f5bb015f4e74b9c57806077cf.tar.zst
freebsd-ports-gnome-a8d1afd0bfa3b12f5bb015f4e74b9c57806077cf.zip
- Upgrade security/gnupg to 2.1.0 (modern release) and copy previous
as security/gnupg20 (stable release). - Set PINENTRY as default option.
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/gnupg/Makefile26
-rw-r--r--security/gnupg/distinfo8
-rw-r--r--security/gnupg/pkg-plist47
-rw-r--r--security/gnupg20/Makefile89
-rw-r--r--security/gnupg20/distinfo4
-rw-r--r--security/gnupg20/files/patch-doc-Makefile.in (renamed from security/gnupg/files/patch-doc-Makefile.in)0
-rw-r--r--security/gnupg20/pkg-descr7
-rw-r--r--security/gnupg20/pkg-install14
-rw-r--r--security/gnupg20/pkg-message14
-rw-r--r--security/gnupg20/pkg-plist117
11 files changed, 270 insertions, 57 deletions
diff --git a/security/Makefile b/security/Makefile
index da856469efc1..816252b21b5f 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -150,6 +150,7 @@
SUBDIR += gnomint
SUBDIR += gnupg
SUBDIR += gnupg1
+ SUBDIR += gnupg20
SUBDIR += gnutls
SUBDIR += go.crypto
SUBDIR += goptlib
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index b890720c6163..c59581e1862c 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -1,8 +1,8 @@
# $FreeBSD$
PORTNAME= gnupg
-PORTVERSION= 2.0.26
-PORTREVISION= 1
+PORTVERSION= 2.1.0
+PORTREVISION= 0
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GNUPG}
MASTER_SITE_SUBDIR= gnupg
@@ -20,40 +20,32 @@ LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.LIB
LIB_DEPENDS= libassuan.so:${PORTSDIR}/security/libassuan \
libgcrypt.so:${PORTSDIR}/security/libgcrypt \
libksba.so:${PORTSDIR}/security/libksba \
- libpth.so:${PORTSDIR}/devel/pth
+ libnpth.so:${PORTSDIR}/devel/npth
BUILD_DEPENDS= libgpg-error>=1.11:${PORTSDIR}/security/libgpg-error
GNU_CONFIGURE= YES
USES= gmake iconv tar:bzip2
USE_LDCONFIG= YES
-CONFIGURE_ARGS+= --enable-symcryptrun
+CONFIGURE_ARGS+= --enable-symcryptrun --enable-gpgsm
-OPTIONS_DEFINE= PINENTRY LDAP SCDAEMON CURL GPGSM KDNS STD_SOCKET NLS DOCS SUID_GPG
+OPTIONS_DEFINE= PINENTRY LDAP SCDAEMON KDNS NLS DOCS SUID_GPG
PINENTRY_DESC= Use pinentry
LDAP_DESC= LDAP keyserver interface
SCDAEMON_DESC= Enable Smartcard daemon (with libusb)
-CURL_DESC= Use the real curl library (worked around if no)
-GPGSM_DESC= Enable GPGSM (requires LDAP)
KDNS_DESC= Use DNS CERT helper
-STD_SOCKET_DESC= Use standard socket for agent
SUID_GPG_DESC= Install GPG with suid
-OPTIONS_DEFAULT= CURL
+OPTIONS_DEFAULT= PINENTRY
NO_OPTIONS_SORT= YES
OPTIONS_SUB= YES
+# In jail, SUID is required to avoid warning (security.bsd.unprivileged_mlock sysctl is not used in jail).
DOCS_CONFIGURE_ENABLE= doc
PINENTRY_RUN_DEPENDS= pinentry>0:${PORTSDIR}/security/pinentry
-GPGSM_RUN_DEPENDS= dirmngr:${PORTSDIR}/security/dirmngr
-GPGSM_CONFIGURE_ENABLE= gpgsm
KDNS_LIB_DEPENDS= libadns.so:${PORTSDIR}/dns/adns
KDNS_CONFIGURE_ON= --with-adns=${LOCALBASE}
-STD_SOCKET_CONFIGURE_ENABLE= standard-socket
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
SCDAEMON_CONFIGURE_ENABLE= scdaemon
-CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
-CURL_CONFIGURE_ON= --with-libcurl=${LOCALBASE}
-CURL_CONFIGURE_OFF= --without-libcurl
.include <bsd.port.options.mk>
@@ -61,10 +53,6 @@ CURL_CONFIGURE_OFF= --without-libcurl
INFO= gnupg
.endif
-.if ${PORT_OPTIONS:MGPGSM}
-PORT_OPTIONS+= LDAP
-.endif
-
.if ${PORT_OPTIONS:MLDAP}
USE_OPENLDAP= YES
CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
diff --git a/security/gnupg/distinfo b/security/gnupg/distinfo
index 249b43d95ecc..72eb0de4c032 100644
--- a/security/gnupg/distinfo
+++ b/security/gnupg/distinfo
@@ -1,4 +1,4 @@
-SHA256 (gnupg-2.0.26.tar.bz2) = 7758e30dc382ae7a7167ed41b7f936aa50af5ea2d6fccdef663b5b750b65b8e0
-SIZE (gnupg-2.0.26.tar.bz2) = 4303384
-SHA256 (gnupg-2.0.26.tar.bz2.sig) = ef206280607f81f80682018879ffd724aabc5aa85535c3bb10e16285bb8b03fd
-SIZE (gnupg-2.0.26.tar.bz2.sig) = 287
+SHA256 (gnupg-2.1.0.tar.bz2) = 16a8c3f50a15bf37d2dfb1c5e4bb3ec533e1d0b6a4043ff3680a376a3ad4058b
+SIZE (gnupg-2.1.0.tar.bz2) = 3111585
+SHA256 (gnupg-2.1.0.tar.bz2.sig) = 3a8e970340febb1cf27c1a0b4424088a61b1c9dec0a9bdb1ec8e493973a5f6a9
+SIZE (gnupg-2.1.0.tar.bz2.sig) = 861
diff --git a/security/gnupg/pkg-plist b/security/gnupg/pkg-plist
index 84d4bd02de1c..c5da75490c85 100644
--- a/security/gnupg/pkg-plist
+++ b/security/gnupg/pkg-plist
@@ -1,30 +1,31 @@
bin/gpg-agent
+bin/dirmngr
+bin/dirmngr-client
+bin/g13
+bin/gpgsm
+bin/gpgtar
bin/gpg-connect-agent
+bin/kbxutil
%%SUID_GPG%%@mode 4555
bin/gpg2
%%SUID_GPG%%@mode
bin/gpgconf
bin/gpgkey2ssh
bin/gpgparsemail
-%%GPGSM%%bin/gpgsm
bin/gpgsm-gencert.sh
bin/gpgv2
-%%GPGSM%%bin/kbxutil
bin/symcryptrun
bin/watchgnupg
+%%LDAP%%libexec/dirmngr_ldap
libexec/gpg-check-pattern
-%%KDNS%%libexec/gpg2keys_kdns
-%%SCDAEMON%%libexec/gnupg-pcsc-wrapper
libexec/gpg-preset-passphrase
libexec/gpg-protect-tool
-libexec/gpg2keys_curl
-libexec/gpg2keys_finger
-libexec/gpg2keys_hkp
-%%LDAP%%libexec/gpg2keys_ldap
%%SCDAEMON%%libexec/scdaemon
+%%PORTDOCS%%man/man1/dirmngr-client.1.gz
%%PORTDOCS%%man/man1/gpg-agent.1.gz
%%PORTDOCS%%man/man1/gpg-connect-agent.1.gz
%%PORTDOCS%%man/man1/gpg-preset-passphrase.1.gz
+%%PORTDOCS%%man/man1/gpg-zip.1.gz
%%PORTDOCS%%man/man1/gpg2.1.gz
%%PORTDOCS%%man/man1/gpgconf.1.gz
%%PORTDOCS%%man/man1/gpgparsemail.1.gz
@@ -34,10 +35,13 @@ libexec/gpg2keys_hkp
%%PORTDOCS%%man/man1/scdaemon.1.gz
%%PORTDOCS%%man/man1/symcryptrun.1.gz
%%PORTDOCS%%man/man1/watchgnupg.1.gz
+%%PORTDOCS%%man/man7/gnupg.7.gz
%%PORTDOCS%%man/man8/addgnupghome.8.gz
%%PORTDOCS%%man/man8/applygnupgdefaults.8.gz
+%%PORTDOCS%%man/man8/dirmngr.8.gz
sbin/addgnupghome
sbin/applygnupgdefaults
+%%PORTDOCS%%%%DOCSDIR%%/DCO
%%PORTDOCS%%%%DOCSDIR%%/DETAILS
%%PORTDOCS%%%%DOCSDIR%%/FAQ
%%PORTDOCS%%%%DOCSDIR%%/HACKING
@@ -51,6 +55,7 @@ sbin/applygnupgdefaults
%%PORTDOCS%%%%DOCSDIR%%/examples/scd-event
%%PORTDOCS%%%%DOCSDIR%%/examples/trustlist.txt
%%PORTDOCS%%%%DATADIR%%/com-certs.pem
+%%DATADIR%%/distsigkey.gpg
%%DATADIR%%/gpg-conf.skel
%%PORTDOCS%%%%DATADIR%%/help.be.txt
%%PORTDOCS%%%%DATADIR%%/help.ca.txt
@@ -81,34 +86,8 @@ sbin/applygnupgdefaults
%%PORTDOCS%%%%DATADIR%%/help.zh_CN.txt
%%PORTDOCS%%%%DATADIR%%/help.zh_TW.txt
%%PORTDOCS%%%%DATADIR%%/qualified.txt
-%%NLS%%share/locale/be/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/ca/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/cs/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/da/LC_MESSAGES/gnupg2.mo
%%NLS%%share/locale/de/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/el/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/en@boldquot/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/en@quot/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/eo/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/es/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/et/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/fi/LC_MESSAGES/gnupg2.mo
%%NLS%%share/locale/fr/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/gl/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/hu/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/id/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/it/LC_MESSAGES/gnupg2.mo
%%NLS%%share/locale/ja/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/nb/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/pl/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/pt/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/pt_BR/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/ro/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/ru/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/sk/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/sv/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/tr/LC_MESSAGES/gnupg2.mo
%%NLS%%share/locale/uk/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/zh_CN/LC_MESSAGES/gnupg2.mo
-%%NLS%%share/locale/zh_TW/LC_MESSAGES/gnupg2.mo
@unexec [ -L %D/bin/gpg ] && rm -f %D/bin/gpg || true
diff --git a/security/gnupg20/Makefile b/security/gnupg20/Makefile
new file mode 100644
index 000000000000..f26059943fb0
--- /dev/null
+++ b/security/gnupg20/Makefile
@@ -0,0 +1,89 @@
+# $FreeBSD$
+
+PORTNAME= gnupg
+PORTVERSION= 2.0.26
+PORTREVISION= 1
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_GNUPG}
+MASTER_SITE_SUBDIR= gnupg
+PKGNAMESUFFIX= 20
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+
+MAINTAINER= kuriyama@FreeBSD.org
+COMMENT= The GNU Privacy Guard
+
+LICENSE= GPLv3 LGPL3
+LICENSE_COMB= multi
+LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING
+LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.LIB
+
+LIB_DEPENDS= libassuan.so:${PORTSDIR}/security/libassuan \
+ libgcrypt.so:${PORTSDIR}/security/libgcrypt \
+ libksba.so:${PORTSDIR}/security/libksba \
+ libpth.so:${PORTSDIR}/devel/pth
+BUILD_DEPENDS= libgpg-error>=1.11:${PORTSDIR}/security/libgpg-error
+
+GNU_CONFIGURE= YES
+USES= gmake iconv tar:bzip2
+USE_LDCONFIG= YES
+CONFIGURE_ARGS+= --enable-symcryptrun
+
+OPTIONS_DEFINE= PINENTRY LDAP SCDAEMON CURL GPGSM KDNS STD_SOCKET NLS DOCS SUID_GPG
+PINENTRY_DESC= Use pinentry
+LDAP_DESC= LDAP keyserver interface
+SCDAEMON_DESC= Enable Smartcard daemon (with libusb)
+CURL_DESC= Use the real curl library (worked around if no)
+GPGSM_DESC= Enable GPGSM (requires LDAP)
+KDNS_DESC= Use DNS CERT helper
+STD_SOCKET_DESC= Use standard socket for agent
+SUID_GPG_DESC= Install GPG with suid
+OPTIONS_DEFAULT= CURL
+NO_OPTIONS_SORT= YES
+OPTIONS_SUB= YES
+
+DOCS_CONFIGURE_ENABLE= doc
+PINENTRY_RUN_DEPENDS= pinentry>0:${PORTSDIR}/security/pinentry
+GPGSM_RUN_DEPENDS= dirmngr:${PORTSDIR}/security/dirmngr
+GPGSM_CONFIGURE_ENABLE= gpgsm
+KDNS_LIB_DEPENDS= libadns.so:${PORTSDIR}/dns/adns
+KDNS_CONFIGURE_ON= --with-adns=${LOCALBASE}
+STD_SOCKET_CONFIGURE_ENABLE= standard-socket
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
+SCDAEMON_CONFIGURE_ENABLE= scdaemon
+CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
+CURL_CONFIGURE_ON= --with-libcurl=${LOCALBASE}
+CURL_CONFIGURE_OFF= --without-libcurl
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
+INFO= gnupg
+.endif
+
+.if ${PORT_OPTIONS:MGPGSM}
+PORT_OPTIONS+= LDAP
+.endif
+
+.if ${PORT_OPTIONS:MLDAP}
+USE_OPENLDAP= YES
+CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
+.else
+CONFIGURE_ARGS+=--disable-ldap
+.endif
+
+.if ! ${PORT_OPTIONS:MKDNS}
+CONFIGURE_SUB= -e '/GPGKEYS_KDNS=/s/".*"/""/'
+.endif
+
+verify: checksum
+ gpg2 --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.sig
+
+post-patch:
+ @${REINPLACE_CMD} -e "s@-lpthread@${PTHREAD_LIBS}@g" ${CONFIGURE_SUB} \
+ ${WRKSRC}/acinclude.m4 ${WRKSRC}/aclocal.m4 ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e "/#include <utmp.h>/d" \
+ ${WRKSRC}/tools/symcryptrun.c
+
+.include <bsd.port.mk>
diff --git a/security/gnupg20/distinfo b/security/gnupg20/distinfo
new file mode 100644
index 000000000000..249b43d95ecc
--- /dev/null
+++ b/security/gnupg20/distinfo
@@ -0,0 +1,4 @@
+SHA256 (gnupg-2.0.26.tar.bz2) = 7758e30dc382ae7a7167ed41b7f936aa50af5ea2d6fccdef663b5b750b65b8e0
+SIZE (gnupg-2.0.26.tar.bz2) = 4303384
+SHA256 (gnupg-2.0.26.tar.bz2.sig) = ef206280607f81f80682018879ffd724aabc5aa85535c3bb10e16285bb8b03fd
+SIZE (gnupg-2.0.26.tar.bz2.sig) = 287
diff --git a/security/gnupg/files/patch-doc-Makefile.in b/security/gnupg20/files/patch-doc-Makefile.in
index 4b5b4f4d80be..4b5b4f4d80be 100644
--- a/security/gnupg/files/patch-doc-Makefile.in
+++ b/security/gnupg20/files/patch-doc-Makefile.in
diff --git a/security/gnupg20/pkg-descr b/security/gnupg20/pkg-descr
new file mode 100644
index 000000000000..6ec531356045
--- /dev/null
+++ b/security/gnupg20/pkg-descr
@@ -0,0 +1,7 @@
+GnuPG is a complete and free replacement for PGP.
+
+Because it does not use the patented IDEA algorithm, it can be used
+without any restrictions. GnuPG is an RFC2440 (OpenPGP) compliant
+application.
+
+WWW: http://www.gnupg.org/
diff --git a/security/gnupg20/pkg-install b/security/gnupg20/pkg-install
new file mode 100644
index 000000000000..b2e9e655aa3a
--- /dev/null
+++ b/security/gnupg20/pkg-install
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+if [ "$2" != "POST-INSTALL" ]; then
+ exit 0
+fi
+
+if [ -r ${PKG_PREFIX}/bin/gpg ] || [ -L ${PKG_PREFIX}/bin/gpg ]; then
+ # Skip.
+else
+ ln -s gpg2 ${PKG_PREFIX}/bin/gpg
+fi
diff --git a/security/gnupg20/pkg-message b/security/gnupg20/pkg-message
new file mode 100644
index 000000000000..41e1aeb745de
--- /dev/null
+++ b/security/gnupg20/pkg-message
@@ -0,0 +1,14 @@
+###############################################################################
+ A T T E N T I O N
+
+In order to use gpg-agent, you need to install a pinentry dialog.
+
+The following ports of pinentry dialogs are available:
+
+security/pinentry-curses (ncurses based dialog)
+security/pinentry-gtk (GTK 1.2 based dialog)
+security/pinentry-gtk2 (GTK 2.x based dialog)
+security/pinentry-qt (QT3 based dialog)
+security/pinentry-q4 (QT4 based dialog)
+
+###############################################################################
diff --git a/security/gnupg20/pkg-plist b/security/gnupg20/pkg-plist
new file mode 100644
index 000000000000..d4fc9ecc1cbb
--- /dev/null
+++ b/security/gnupg20/pkg-plist
@@ -0,0 +1,117 @@
+bin/gpg-agent
+bin/gpg-connect-agent
+%%SUID_GPG%%@mode 4555
+bin/gpg2
+%%SUID_GPG%%@mode
+bin/gpgconf
+bin/gpgkey2ssh
+bin/gpgparsemail
+%%GPGSM%%bin/gpgsm
+bin/gpgsm-gencert.sh
+bin/gpgv2
+%%GPGSM%%bin/kbxutil
+bin/symcryptrun
+bin/watchgnupg
+libexec/gpg-check-pattern
+%%KDNS%%libexec/gpg2keys_kdns
+%%SCDAEMON%%libexec/gnupg-pcsc-wrapper
+libexec/gpg-preset-passphrase
+libexec/gpg-protect-tool
+libexec/gpg2keys_curl
+libexec/gpg2keys_finger
+libexec/gpg2keys_hkp
+%%LDAP%%libexec/gpg2keys_ldap
+%%SCDAEMON%%libexec/scdaemon
+%%PORTDOCS%%man/man1/gpg-agent.1.gz
+%%PORTDOCS%%man/man1/gpg-connect-agent.1.gz
+%%PORTDOCS%%man/man1/gpg-preset-passphrase.1.gz
+%%PORTDOCS%%man/man1/gpg2.1.gz
+%%PORTDOCS%%man/man1/gpgconf.1.gz
+%%PORTDOCS%%man/man1/gpgparsemail.1.gz
+%%PORTDOCS%%man/man1/gpgsm-gencert.sh.1.gz
+%%PORTDOCS%%man/man1/gpgsm.1.gz
+%%PORTDOCS%%man/man1/gpgv2.1.gz
+%%PORTDOCS%%man/man1/scdaemon.1.gz
+%%PORTDOCS%%man/man1/symcryptrun.1.gz
+%%PORTDOCS%%man/man1/watchgnupg.1.gz
+%%PORTDOCS%%man/man8/addgnupghome.8.gz
+%%PORTDOCS%%man/man8/applygnupgdefaults.8.gz
+sbin/addgnupghome
+sbin/applygnupgdefaults
+%%PORTDOCS%%%%DOCSDIR%%/DETAILS
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/HACKING
+%%PORTDOCS%%%%DOCSDIR%%/KEYSERVER
+%%PORTDOCS%%%%DOCSDIR%%/OpenPGP
+%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TRANSLATE
+%%PORTDOCS%%%%DOCSDIR%%/examples/README
+%%PORTDOCS%%%%DOCSDIR%%/examples/gpgconf.conf
+%%PORTDOCS%%%%DOCSDIR%%/examples/pwpattern.list
+%%PORTDOCS%%%%DOCSDIR%%/examples/scd-event
+%%PORTDOCS%%%%DOCSDIR%%/examples/trustlist.txt
+%%PORTDOCS%%%%DATADIR%%/com-certs.pem
+%%DATADIR%%/gpg-conf.skel
+%%PORTDOCS%%%%DATADIR%%/help.be.txt
+%%PORTDOCS%%%%DATADIR%%/help.ca.txt
+%%PORTDOCS%%%%DATADIR%%/help.cs.txt
+%%PORTDOCS%%%%DATADIR%%/help.da.txt
+%%PORTDOCS%%%%DATADIR%%/help.de.txt
+%%PORTDOCS%%%%DATADIR%%/help.el.txt
+%%PORTDOCS%%%%DATADIR%%/help.eo.txt
+%%PORTDOCS%%%%DATADIR%%/help.es.txt
+%%PORTDOCS%%%%DATADIR%%/help.et.txt
+%%PORTDOCS%%%%DATADIR%%/help.fi.txt
+%%PORTDOCS%%%%DATADIR%%/help.fr.txt
+%%PORTDOCS%%%%DATADIR%%/help.gl.txt
+%%PORTDOCS%%%%DATADIR%%/help.hu.txt
+%%PORTDOCS%%%%DATADIR%%/help.id.txt
+%%PORTDOCS%%%%DATADIR%%/help.it.txt
+%%PORTDOCS%%%%DATADIR%%/help.ja.txt
+%%PORTDOCS%%%%DATADIR%%/help.nb.txt
+%%PORTDOCS%%%%DATADIR%%/help.pl.txt
+%%PORTDOCS%%%%DATADIR%%/help.pt.txt
+%%PORTDOCS%%%%DATADIR%%/help.pt_BR.txt
+%%PORTDOCS%%%%DATADIR%%/help.ro.txt
+%%PORTDOCS%%%%DATADIR%%/help.ru.txt
+%%PORTDOCS%%%%DATADIR%%/help.sk.txt
+%%PORTDOCS%%%%DATADIR%%/help.sv.txt
+%%PORTDOCS%%%%DATADIR%%/help.tr.txt
+%%PORTDOCS%%%%DATADIR%%/help.txt
+%%PORTDOCS%%%%DATADIR%%/help.zh_CN.txt
+%%PORTDOCS%%%%DATADIR%%/help.zh_TW.txt
+%%PORTDOCS%%%%DATADIR%%/qualified.txt
+%%NLS%%share/locale/be/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/da/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/de/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/el/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/en@boldquot/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/en@quot/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/eo/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/es/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/et/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/id/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/it/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/nb/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/gnupg2.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/gnupg2.mo
+@dirrmtry %%DATADIR%%
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/examples
+@dirrmtry %%DOCSDIR%%
+@unexec [ -L %D/bin/gpg ] && rm -f %D/bin/gpg || true