ports/140058: [MAINTAINER] security/gpgme: Specifically disable gpgsm if it is not installed
Jason E. Hale
bsdkaffee at gmail.com
Wed Oct 28 19:20:02 UTC 2009
>Number: 140058
>Category: ports
>Synopsis: [MAINTAINER] security/gpgme: Specifically disable gpgsm if it is not installed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Oct 28 19:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Jason E. Hale
>Release: FreeBSD 7.2-RELEASE i386
>Organization:
none
>Environment:
System: FreeBSD mocha.verizon.net 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon May 4 04:03:46 EDT 2009 root at mocha.verizon.net:/usr/obj/usr/src/sys/MOCHA7 i386
>Description:
- gpgsm is a non-default option in security/gnupg, so disable it in the build
if it is not installed instead of specifying the path. This helps with
debugging problems in certain programs.
- bump PORTREVISION since this will affect the installed files
>How-To-Repeat:
Use attached diff.
>Fix:
--- 2009-10-14-gpgme.diff begins here ---
diff -ruN gpgme.orig/Makefile gpgme/Makefile
--- gpgme.orig/Makefile 2009-10-14 19:06:57.000000000 -0400
+++ gpgme/Makefile 2009-10-14 19:30:36.000000000 -0400
@@ -7,6 +7,7 @@
PORTNAME= gpgme
PORTVERSION= 1.2.0
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GNUPG}
MASTER_SITE_SUBDIR= gpgme
@@ -45,8 +46,12 @@
BUILD_DEPENDS+= gpg2:${PORTSDIR}/security/gnupg
RUN_DEPENDS+= gpg2:${PORTSDIR}/security/gnupg
CONFIGURE_ARGS+=--with-gpg=${LOCALBASE}/bin/gpg2 \
- --with-gpgsm=${LOCALBASE}/bin/gpgsm \
--with-gpgconf=${LOCALBASE}/bin/gpgconf
+.if exists(${LOCALBASE}/bin/gpgsm)
+CONFIGURE_ARGS+=--with-gpgsm=${LOCALBASE}/bin/gpgsm
+.else
+CONFIGURE_ARGS+=--with-gpgsm=no
+.endif
.endif
.if defined(WITH_PTH)
--- 2009-10-14-gpgme.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list