From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 28 19:20:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A0061065694 for ; Wed, 28 Oct 2009 19:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ED8A08FC17 for ; Wed, 28 Oct 2009 19:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9SJK1FF035643 for ; Wed, 28 Oct 2009 19:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9SJK1aN035642; Wed, 28 Oct 2009 19:20:01 GMT (envelope-from gnats) Resent-Date: Wed, 28 Oct 2009 19:20:01 GMT Resent-Message-Id: <200910281920.n9SJK1aN035642@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Jason E. Hale" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7455E1065679 for ; Wed, 28 Oct 2009 19:10:14 +0000 (UTC) (envelope-from bsdkaffee@gmail.com) Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by mx1.freebsd.org (Postfix) with ESMTP id 075D58FC14 for ; Wed, 28 Oct 2009 19:10:13 +0000 (UTC) Received: by mail-ew0-f218.google.com with SMTP id 18so1040269ewy.43 for ; Wed, 28 Oct 2009 12:10:13 -0700 (PDT) Received: by 10.216.85.143 with SMTP id u15mr3777402wee.205.1256757012772; Wed, 28 Oct 2009 12:10:12 -0700 (PDT) Received: from mocha.verizon.net (c-24-3-41-151.hsd1.oh.comcast.net [24.3.41.151]) by mx.google.com with ESMTPS id g11sm4422037gve.20.2009.10.28.12.10.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 28 Oct 2009 12:10:11 -0700 (PDT) Message-Id: <4ae89713.0b9e100a.3c60.ffff895a@mx.google.com> Date: Wed, 28 Oct 2009 12:10:11 -0700 (PDT) From: "Jason E. Hale" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/140058: [MAINTAINER] security/gpgme: Specifically disable gpgsm if it is not installed X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Jason E. Hale" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2009 19:20:02 -0000 >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@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: