1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/security/gnupg/Makefile
Adam Weinberger b670249eee gnupg: Update to 2.2.20
Noteworthy changes in version 2.2.20
====================================

  * Protect the error counter against overflow to guarantee that the
    tools can't be tricked into returning success after an error.

  * gpg: Make really sure that --verify-files always returns an error.

  * gpg: Fix key listing --with-secret if a pattern is given.  [#4061]

  * gpg: Fix detection of certain keys used as default-key.  [#4810]

  * gpg: Fix default-key selection when a card is available.  [#4850]

  * gpg: Fix key expiration and key usage for keys created with a
    creation date of zero.  [#4670]

  * gpgsm: Fix import of some CR,LF terminated certificates.  [#4847]

  * gpg: New options --include-key-block and --auto-key-import to
    allow encrypted replies after an initial signed message.  [#4856]

  * gpg: Allow the use of a fingerprint with --trusted-key. [#4855]

  * gpg: New property "fpr" for use by --export-filter.

  * scdaemon: Disable the pinpad if a KDF DO is used.  [#4832]

  * dirmngr: Improve finding OCSP certificates.  [#4536]

  * Avoid build problems with LTO or gcc-10. [#4831]

Release-info: https://dev.gnupg.org/T4860
2020-03-20 18:51:34 +00:00

72 lines
1.8 KiB
Makefile

# $FreeBSD$
PORTNAME= gnupg
PORTVERSION= 2.2.20
CATEGORIES= security
MASTER_SITES= GNUPG
MAINTAINER= adamw@FreeBSD.org
COMMENT= Complete and free PGP implementation
LICENSE= GPLv3 LGPL3
LICENSE_COMB= multi
LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING
LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.LGPL3
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.5.1:security/libassuan \
libgpg-error>=1.16:security/libgpg-error
RUN_DEPENDS= pinentry:security/pinentry
USES= compiler:c11 cpe gmake iconv makeinfo pkgconfig readline sqlite tar:bzip2
CONFLICTS= gnupg-2.0.* dirmngr-[0-9]*
CPE_VENDOR= gnupg
CONFIGURE_ARGS= --disable-ntbtls --enable-gpg-is-gpg2 --enable-symcryptrun
GNU_CONFIGURE= yes
INFO= gnupg
TEST_TARGET= check
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS GNUTLS LARGE_RSA LDAP NLS SCDAEMON SUID_GPG WKS_SERVER
OPTIONS_DEFAULT=GNUTLS SCDAEMON WKS_SERVER
OPTIONS_SUB= yes
LARGE_RSA_DESC= Enable support for 8192-bit RSA keys
LDAP_DESC= LDAP keyserver interface
SCDAEMON_DESC= Enable Smartcard daemon (with libusb)
SUID_GPG_DESC= Install GPG with suid
WKS_SERVER_DESC=Install the Web Key Service server
GNUTLS_CONFIGURE_ENABLE=gnutls
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
LARGE_RSA_CONFIGURE_ENABLE= large-secmem
LDAP_CONFIGURE_WITH= ldap=${LOCALBASE}
LDAP_LIBS= -L${LOCALBASE}/lib
LDAP_USE= OPENLDAP=yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
SCDAEMON_CONFIGURE_ENABLE= scdaemon
WKS_SERVER_CONFIGURE_ENABLE= wks-tools
# Touch the texinfo files to force makeinfo to run. This fixes Linuxisms in
# the paths in the man pages.
pre-build:
@${TOUCH} ${WRKSRC}/doc/*.texi
post-install:
@${MV} ${STAGEDIR}${DATADIR}/help*.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>