Noteworthy changes in version 2.1.19 ==================================== * gpg: Print a warning if Tor mode is requested but the Tor daemon is not running. * gpg: New status code DECRYPTION_KEY to print the actual private key used for decryption. * gpgv: New options --log-file and --debug. * gpg-agent: Revamp the prompts to ask for card PINs. * scd: Support for multiple card readers. * scd: Removed option --debug-disable-ticker. Ticker is used only when it is required to watch removal of device/card. * scd: Improved detection of card inserting and removal. * dirmngr: New option --disable-ipv4. * dirmngr: New option --no-use-tor to explicitly disable the use of Tor. * dirmngr: The option --allow-version-check is now required even if the option --use-tor is also used. * dirmngr: Handle a missing nsswitch.conf gracefully. * dirmngr: Avoid PTR lookups for keyserver pools. The are only done for the debug command "keyserver --hosttable". * dirmngr: Rework the internal certificate cache to support classes of certificates. Load system provided certificates on startup. Add options --tls, --no-crl, and --systrust to the "VALIDATE" command. * dirmngr: Add support for the ntbtls library. * wks: Create mails with a "WKS-Phase" header. Fix detection of Draft-2 mode. * The Windows installer is now build with limited TLS support. * Many other bug fixes and new regression tests. A detailed description of the changes found in this 2.1 branch can be found at <https://gnupg.org/faq/whats-new-in-2.1.html>.
60 lines
1.6 KiB
Makefile
60 lines
1.6 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= gnupg
|
|
PORTVERSION= 2.1.19
|
|
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
|
|
CONFIGURE_ARGS= --disable-ntbtls --enable-symcryptrun --disable-wks-tools
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
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>
|