Bug 183955 - [PATCH] security/gnupg: Convert to new options framework.
[PATCH] security/gnupg: Convert to new options framework.
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Jun Kuriyama
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-14 14:10 UTC by Mathieu Arnold
Modified: 2013-11-29 15:20 UTC (History)
1 user (show)

See Also:


Attachments
gnupg-2.0.22.patch (1.96 KB, patch)
2013-11-14 14:10 UTC, Mathieu Arnold
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Arnold freebsd_committer 2013-11-14 14:10:00 UTC
Convert to new options framework.

Leave out the LDAP part because it needs to be enabled by GPGSM.

Port maintainer (kuriyama@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_10 (mode: change, diff: SVN)
Comment 1 Edwin Groothuis freebsd_committer 2013-11-14 14:10:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kuriyama

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Mathieu Arnold freebsd_committer 2013-11-29 15:16:31 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter freebsd_committer 2013-11-29 15:16:36 UTC
Author: mat
Date: Fri Nov 29 15:16:28 2013
New Revision: 335188
URL: http://svnweb.freebsd.org/changeset/ports/335188

Log:
  Convert to new options framekwork.
  
  maintainer timeout.
  
  PR:		ports/183955
  Submitted by:	mat

Modified:
  head/security/gnupg/Makefile

Modified: head/security/gnupg/Makefile
==============================================================================
--- head/security/gnupg/Makefile	Fri Nov 29 15:14:26 2013	(r335187)
+++ head/security/gnupg/Makefile	Fri Nov 29 15:16:28 2013	(r335188)
@@ -41,23 +41,28 @@ OPTIONS_DEFAULT=	CURL
 NO_OPTIONS_SORT=	YES
 OPTIONS_SUB=		YES
 
+DOCS_CONFIGURE_ENABLE=	doc
+PINENTRY_RUN_DEPENDS=	pinentry>0:${PORTSDIR}/security/pinentry
+GPGSM_RUN_DEPENDS=	dirmngr:${PORTSDIR}/security/dirmngr
+GPGSM_CONFIGURE_ENABLE=	gpgsm
+MKDNS_LIB_DEPENDS=	libadns.so:${PORTSDIR}/dns/adns
+MKDNS_CONFIGURE_ON=	--with-adns=${LOCALBASE}
+STD_SOCKET_CONFIGURE_ENABLE=	socket
+NLS_USES=		gettext
+NLS_CONFIGURE_ENABLE=	nls
+SCDAEMON_CONFIGURE_ENABLE=	scdaemon
+CURL_LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl
+CURL_CONFIGURE_ON=	--with-libcurl=${LOCALBASE}
+CURL_CONFIGURE_OFF=	--without-libcurl
+
 .include <bsd.port.options.mk>
 
-.if ! ${PORT_OPTIONS:MDOCS}
-CONFIGURE_ARGS+=	--disable-doc
-.else
+.if ${PORT_OPTIONS:MDOCS}
 INFO=		gnupg
 .endif
 
-.if ${PORT_OPTIONS:MPINENTRY}
-RUN_DEPENDS+=	pinentry>0:${PORTSDIR}/security/pinentry
-.endif
-
 .if ${PORT_OPTIONS:MGPGSM}
-RUN_DEPENDS+=	dirmngr:${PORTSDIR}/security/dirmngr
 PORT_OPTIONS+=	LDAP
-.else
-CONFIGURE_ARGS+=--disable-gpgsm
 .endif
 
 .if ${PORT_OPTIONS:MLDAP}
@@ -67,37 +72,10 @@ CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
 CONFIGURE_ARGS+=--disable-ldap
 .endif
 
-.if ${PORT_OPTIONS:MKDNS}
-LIB_DEPENDS+=	libadns.so:${PORTSDIR}/dns/adns
-CONFIGURE_ARGS+=	--with-adns=${LOCALBASE}
-.else
+.if ! ${PORT_OPTIONS:MKDNS}
 CONFIGURE_SUB=	-e '/GPGKEYS_KDNS=/s/".*"/""/'
 .endif
 
-.if ${PORT_OPTIONS:MSTD_SOCKET}
-CONFIGURE_ARGS+=--enable-standard-socket
-.endif
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-CONFIGURE_ARGS+=--enable-nls
-.else
-CONFIGURE_ARGS+=--disable-nls
-.endif
-
-.if ${PORT_OPTIONS:MSCDAEMON}
-CONFIGURE_ARGS+=--enable-scdaemon
-.else
-CONFIGURE_ARGS+=--disable-scdaemon
-.endif
-
-.if ${PORT_OPTIONS:MCURL}
-LIB_DEPENDS+=	curl:${PORTSDIR}/ftp/curl
-CONFIGURE_ARGS+=--with-libcurl=${LOCALBASE}
-.else
-CONFIGURE_ARGS+=--without-libcurl
-.endif
-
 verify:	checksum
 	gpg2 --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.sig
 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"