- Add CPE information [1].

- Fix accidentally linking devel/readline if installed [2].

# I'm working on 2.1.3 update, but it requires LDAP header even if
# disabled.  Stay tuned (or patches are welcome).

PR:		ports/198849 [1], ports/198036 and ports/198354 [2]
Submitted by:	shun.fbsd.pr@dropcut.net [1], amdmi3 and jf@fahrner.name [2]
This commit is contained in:
Jun Kuriyama 2015-04-13 02:55:29 +00:00
parent 1540c897ae
commit fa09e9e2b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=383891

View file

@ -2,7 +2,7 @@
PORTNAME= gnupg
PORTVERSION= 2.1.2
#PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= GNUPG/gnupg
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig
@ -24,10 +24,15 @@ BUILD_DEPENDS= libgpg-error>=1.16:${PORTSDIR}/security/libgpg-error
RUN_DEPENDS= pinentry>0:${PORTSDIR}/security/pinentry
GNU_CONFIGURE= YES
USES= gmake iconv pkgconfig tar:bzip2
USES= cpe gmake iconv pkgconfig tar:bzip2
USE_LDCONFIG= YES
CONFIGURE_ARGS+= --disable-ntbtls --enable-symcryptrun
# libreadline.so.8 is placed in /lib, but --with-readline argument
# will be treated as $value/lib, so try using /usr instead.
# Otherwise, $PREFIX/lib/libreadline.so.6 will be linked when
# devel/readline is installed.
CONFIGURE_ARGS+= --disable-ntbtls --enable-symcryptrun --with-readline=/usr
CONFLICTS= gnupg-2.0.* dirmngr-*
CPE_VENDOR= gnupg
OPTIONS_DEFINE= GNUTLS LDAP SCDAEMON KDNS NLS DOCS SUID_GPG
LDAP_DESC= LDAP keyserver interface