freebsd-ports/security/gnupg/Makefile
Adam Weinberger 0d5eb765df Update to 2.1.18
Noteworthy changes in version 2.1.18
====================================

 * gpg: Remove bogus subkey signature while cleaning a key (with
   export-clean, import-clean, or --edit-key's sub-command clean)

 * gpg: Allow freezing the clock with --faked-system-time.

 * gpg: New --export-option flag "backup", new --import-option flag
   "restore".

 * gpg-agent: Fixed long delay due to a regression in the progress
   callback code.

 * scd: Lots of code cleanup and internal changes.

 * scd: Improved the internal CCID driver.

 * dirmngr: Fixed problem with the DNS glue code (removal of the
   trailing dot in domain names).

 * dirmngr: Make sure that Tor is actually enabled after changing the
   conf file and sending SIGHUP or "gpgconf --reload dirmngr".

 * dirmngr: Fixed Tor access to IPv6 addresses.  Note that current
   versions of Tor may require that the flag "IPv6Traffic" is used
   with the option "SocksPort" in torrc to actually allow IPv6
   traffic.

 * dirmngr: Fixed HKP for literally given IPv6 addresses.

 * dirmngr: Enabled reverse DNS lookups via Tor.

 * dirmngr: Added experimental SRV record lookup for WKD.
   See commit 88dc3af3d4ae1afe1d5e136bc4c38bc4e7d4cd10 for details.

 * dirmngr: For HKP use "pgpkey-hkps" and "pgpkey-hkp" in SRV record
   lookups.  Avoid SRV record lookup when a port is explicitly
   specified.  This fixes a regression from the 1.4 and 2.0 behavior.

 * dirmngr: Gracefully handle a missing /etc/nsswitch.conf.  Ignore
   negation terms (e.g. "[!UNAVAIL=return]" instead of bailing out.

 * dirmngr: Better debug output for flags "dns" and "network".

 * dirmngr: On reload mark all known HKP servers alive.

 * gpgconf: Allow keyword "all" for --launch, --kill, and --reload.

 * tools: gpg-wks-client now ignores a missing policy file on the
   server.

 * Avoid unnecessary ambiguity error message in the option parsing.

 * Further improvements of the regression test suite.

 * Fixed building with --disable-libdns configure option.

 * Fixed a crash running the tests on 32 bit architectures.

 * Fixed spurious failures on BSD system in the spawn functions.
   This affected for example gpg-wks-client and gpgconf.
2017-01-23 23:01:39 +00:00

60 lines
1.6 KiB
Makefile

# $FreeBSD$
PORTNAME= gnupg
PORTVERSION= 2.1.18
CATEGORIES= security
MASTER_SITES= GNUPG
MAINTAINER= adamw@FreeBSD.org
COMMENT= The GNU Privacy Guard (modern version)
LICENSE= GPLv3 LGPL3
LICENSE_COMB= multi
LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING
LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.LIB
LIB_DEPENDS= libassuan.so:security/libassuan \
libgcrypt.so:security/libgcrypt \
libgpg-error.so:security/libgpg-error \
libksba.so:security/libksba \
libnpth.so:devel/npth
BUILD_DEPENDS= libassuan>=2.4.3:security/libassuan \
libgpg-error>=1.16:security/libgpg-error
RUN_DEPENDS= pinentry:security/pinentry
CONFLICTS= gnupg-2.0.* dirmngr-[0-9]*
CPE_VENDOR= gnupg
USES= compiler:c11 cpe gmake iconv pkgconfig readline sqlite tar:bzip2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-ntbtls --enable-symcryptrun --disable-wks-tools
INFO= gnupg
OPTIONS_DEFINE= GNUTLS LDAP SCDAEMON NLS DOCS SUID_GPG
OPTIONS_DEFAULT=GNUTLS SCDAEMON
NO_OPTIONS_SORT=yes
OPTIONS_SUB= yes
LDAP_DESC= LDAP keyserver interface
SCDAEMON_DESC= Enable Smartcard daemon (with libusb)
SUID_GPG_DESC= Install GPG with suid
# In jail, SUID is required to avoid warning (security.bsd.unprivileged_mlock sysctl is not used in jail).
GNUTLS_CONFIGURE_ENABLE=gnutls
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
LDAP_CONFIGURE_WITH= ldap=${LOCALBASE}
LDAP_LIBS= -L${LOCALBASE}/lib
LDAP_USE= OPENLDAP=yes
LDAP_USES= readline
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
SCDAEMON_CONFIGURE_ENABLE= scdaemon
post-install:
@${MV} ${STAGEDIR}${DATADIR}/help*.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>