Date: Wed, 28 Oct 2009 12:10:13 -0700 (PDT) From: "Jason E. Hale" <bsdkaffee@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/140059: [MAINTAINER] security/gpa: Mark IGNORE if gpgsm is not found Message-ID: <4ae89715.0b9e100a.3c60.ffff8960@mx.google.com> Resent-Message-ID: <200910281920.n9SJK2lx035654@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ae89715.0b9e100a.3c60.ffff8960>