ports/140059: [MAINTAINER] security/gpa: Mark IGNORE if gpgsm is not found
Jason E. Hale
bsdkaffee at gmail.com
Wed Oct 28 19:20:02 UTC 2009
>Number: 140059
>Category: ports
>Synopsis: [MAINTAINER] security/gpa: Mark IGNORE if gpgsm is not found
>Confidential: no
>Severity: non-critical
>Priority: medium
>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:
- security/gpa requires gpgsm which is only installed if the GPGSM option is
enabled in security/gnupg
- check for gpgsm and mark IGNORE if not found (see Fix for details)
>How-To-Repeat:
Use attached diff.
>Fix:
- Check if ${LOCALBASE}/bin/gpgsm exists. If it does not, set IGNORE with
instructions to install security/gnupg with the GPGSM option enabled.
- Consequently, security/gpgme will need rebuilt as well.
- If this is a fresh install, the IGNORE message will prevent the port from
being built until security/gnupg is installed with GPGSM support. This is
just as well since the GPGSM option is non-default. Unfortunately, this will
prevent default packages from being built.
--- 2009-10-14-gpa.diff begins here ---
diff -ruN gpa.orig/Makefile gpa/Makefile
--- gpa.orig/Makefile 2009-10-14 19:07:03.000000000 -0400
+++ gpa/Makefile 2009-10-14 21:15:01.000000000 -0400
@@ -30,6 +30,10 @@
.include <bsd.port.pre.mk>
+.if !exists(${LOCALBASE}/bin/gpgsm)
+IGNORE= requires gpgsm. (Re)Install security/gnupg with the GPGSM option ON, then rebuild security/gpgme if installed
+.endif
+
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
--- 2009-10-14-gpa.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list