Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2014 14:04:03 +0000 (UTC)
From:      Jun Kuriyama <kuriyama@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375723 - head/security/gnupg
Message-ID:  <201412281404.sBSE43DD075301@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kuriyama
Date: Sun Dec 28 14:04:02 2014
New Revision: 375723
URL: https://svnweb.freebsd.org/changeset/ports/375723
QAT: https://qat.redports.org/buildarchive/r375723/

Log:
  - Upgrade to 2.1.1 and various fixes.
  
  Sorry for mess at introducing 2.1.0.  This branch is *modern* release,
  and please use security/gnupg{1,20} for stable gpg.  Patches are welcome
  to use DEFAULT_VERSIONS. :-)
  
  PR:		ports/195489, ports/195931, ports/195459, ports/196301
  Submitted by:	rakuco, Matthew West <freebsd@r.zeeb.org>, Phil Pennock <freebsd@phil.spodhuis.org>, tijl

Modified:
  head/security/gnupg/Makefile
  head/security/gnupg/distinfo
  head/security/gnupg/pkg-plist

Modified: head/security/gnupg/Makefile
==============================================================================
--- head/security/gnupg/Makefile	Sun Dec 28 13:24:44 2014	(r375722)
+++ head/security/gnupg/Makefile	Sun Dec 28 14:04:02 2014	(r375723)
@@ -1,11 +1,10 @@
 # $FreeBSD$
 
 PORTNAME=	gnupg
-PORTVERSION=	2.1.0
-PORTREVISION=	1
+PORTVERSION=	2.1.1
+#PORTREVISION=	1
 CATEGORIES=	security
-MASTER_SITES=	${MASTER_SITE_GNUPG}
-MASTER_SITE_SUBDIR=	gnupg
+MASTER_SITES=	GNUPG/gnupg
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 
@@ -25,52 +24,36 @@ BUILD_DEPENDS=	libgpg-error>=1.11:${PORT
 RUN_DEPENDS=	pinentry>0:${PORTSDIR}/security/pinentry
 
 GNU_CONFIGURE=	YES
-USES=		gmake iconv tar:bzip2
+USES=		gmake iconv pkgconfig tar:bzip2
 USE_LDCONFIG=	YES
-CONFIGURE_ARGS+=	--enable-symcryptrun --enable-gpgsm
-CONFLICTS=	gnupg-2.0.*
+CONFIGURE_ARGS+=	--disable-ntbtls --enable-symcryptrun
+CONFLICTS=	gnupg-2.0.* dirmngr-*
 
-OPTIONS_DEFINE=		LDAP SCDAEMON KDNS NLS DOCS SUID_GPG
+OPTIONS_DEFINE=		GNUTLS LDAP SCDAEMON KDNS NLS DOCS SUID_GPG
 LDAP_DESC=		LDAP keyserver interface
 SCDAEMON_DESC=		Enable Smartcard daemon (with libusb)
 KDNS_DESC=		Use DNS CERT helper
 SUID_GPG_DESC=		Install GPG with suid
-OPTIONS_DEFAULT=	#
+OPTIONS_DEFAULT=	GNUTLS
 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
+DOCS_INFO=		gnupg
+GNUTLS_CONFIGURE_ENABLE=gnutls
+GNUTLS_LIB_DEPENDS=	libgnutls.so:${PORTSDIR}/security/gnutls
 KDNS_LIB_DEPENDS=	libadns.so:${PORTSDIR}/dns/adns
 KDNS_CONFIGURE_ON=	--with-adns=${LOCALBASE}
+LDAP_CONFIGURE_ENABLE=	ldap
+LDAP_CONFIGURE_ON=	--with-ldap=${LOCALBASE}
+LDAP_LIBS=		-L${LOCALBASE}/lib
+LDAP_USE=		OPENLDAP=yes
 NLS_USES=		gettext
 NLS_CONFIGURE_ENABLE=	nls
 SCDAEMON_CONFIGURE_ENABLE=	scdaemon
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-INFO=		gnupg
-.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>

Modified: head/security/gnupg/distinfo
==============================================================================
--- head/security/gnupg/distinfo	Sun Dec 28 13:24:44 2014	(r375722)
+++ head/security/gnupg/distinfo	Sun Dec 28 14:04:02 2014	(r375723)
@@ -1,4 +1,4 @@
-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
+SHA256 (gnupg-2.1.1.tar.bz2) = 70ecd01d2875db62624c911c2fd815742f50aef5492698eb3bfc09a08690ce49
+SIZE (gnupg-2.1.1.tar.bz2) = 4801472
+SHA256 (gnupg-2.1.1.tar.bz2.sig) = b7442981adee5eee70b89556b6e0926b57f886188cbd419060aaaf822ba380da
+SIZE (gnupg-2.1.1.tar.bz2.sig) = 574

Modified: head/security/gnupg/pkg-plist
==============================================================================
--- head/security/gnupg/pkg-plist	Sun Dec 28 13:24:44 2014	(r375722)
+++ head/security/gnupg/pkg-plist	Sun Dec 28 14:04:02 2014	(r375723)
@@ -85,8 +85,32 @@ sbin/applygnupgdefaults
 %%PORTDOCS%%%%DATADIR%%/help.zh_CN.txt
 %%PORTDOCS%%%%DATADIR%%/help.zh_TW.txt
 %%PORTDOCS%%%%DATADIR%%/qualified.txt
+%%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/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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412281404.sBSE43DD075301>