From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jul 24 08:20:12 2010 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 4C4FB1065679 for ; Sat, 24 Jul 2010 08:20:12 +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 0D78D8FC18 for ; Sat, 24 Jul 2010 08:20:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o6O8KBTR022797 for ; Sat, 24 Jul 2010 08:20:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o6O8KBs7022796; Sat, 24 Jul 2010 08:20:11 GMT (envelope-from gnats) Resent-Date: Sat, 24 Jul 2010 08:20:11 GMT Resent-Message-Id: <201007240820.o6O8KBs7022796@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 9718C1065676 for ; Sat, 24 Jul 2010 08:19:11 +0000 (UTC) (envelope-from bsdkaffee@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 320788FC13 for ; Sat, 24 Jul 2010 08:19:10 +0000 (UTC) Received: by qwk3 with SMTP id 3so826097qwk.13 for ; Sat, 24 Jul 2010 01:19:10 -0700 (PDT) Received: by 10.224.32.100 with SMTP id b36mr3701870qad.80.1279959547634; Sat, 24 Jul 2010 01:19:07 -0700 (PDT) Received: from mocha.verizon.net (c-24-3-43-53.hsd1.oh.comcast.net [24.3.43.53]) by mx.google.com with ESMTPS id h41sm1333791qcz.25.2010.07.24.01.19.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 24 Jul 2010 01:19:07 -0700 (PDT) Message-Id: <4c4aa1fb.a9abe50a.3098.2ac8@mx.google.com> Date: Sat, 24 Jul 2010 01:19:07 -0700 (PDT) From: "Jason E. Hale" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: pav@FreeBSD.org Subject: ports/148888: [MAINTAINER] security/gpgme: Fix build without libassuan 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: Sat, 24 Jul 2010 08:20:12 -0000 >Number: 148888 >Category: ports >Synopsis: [MAINTAINER] security/gpgme: Fix build without libassuan installed >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: Sat Jul 24 08:20:11 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Jason E. Hale >Release: FreeBSD 8.0-RELEASE i386 >Organization: none >Environment: System: FreeBSD mocha.verizon.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Fri Nov 27 18:56:06 EST 2009 root@mocha.verizon.net:/usr/obj/usr/src/sys/MOCHA8 i386 >Description: security/gpgme will fail to build if security/libassuan is not installed Fix build by making libassuan a LIB_DEPENDS for all cases. Reported by: pav >How-To-Repeat: Try to build security/gpgme using the GNUPG1 option without security/libassuan installed >Fix: Use attached diff. Remove: files/patch-src__engine-gpgconf.c (not needed since libassuan will always be required) --- 2010-07-24-gpgme.diff begins here --- diff -ruN gpgme.orig/Makefile gpgme/Makefile --- gpgme.orig/Makefile 2010-07-24 03:18:35.000000000 -0400 +++ gpgme/Makefile 2010-07-24 03:24:11.000000000 -0400 @@ -7,6 +7,7 @@ PORTNAME= gpgme PORTVERSION= 1.3.0 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_GNUPG} MASTER_SITE_SUBDIR= gpgme @@ -16,7 +17,8 @@ MAINTAINER= bsdkaffee@gmail.com COMMENT= A library to make access to GnuPG easier -LIB_DEPENDS= gpg-error.0:${PORTSDIR}/security/libgpg-error +LIB_DEPENDS= assuan.0:${PORTSDIR}/security/libassuan \ + gpg-error.0:${PORTSDIR}/security/libgpg-error USE_BZIP2= yes USE_AUTOTOOLS= libtool:22 @@ -52,7 +54,6 @@ CONFIGURE_ARGS+=--with-gpg=${LOCALBASE}/bin/gpg2 \ --with-gpgconf=${LOCALBASE}/bin/gpgconf .if exists(${LOCALBASE}/bin/gpgsm) -LIB_DEPENDS+= assuan.0:${PORTSDIR}/security/libassuan CONFIGURE_ARGS+=--with-gpgsm=${LOCALBASE}/bin/gpgsm .else CONFIGURE_ARGS+=--with-gpgsm=no @@ -69,7 +70,6 @@ .if defined(WITH_UISERVER) CONFIGURE_ARGS+=--enable-fd-passing -LIB_DEPENDS+= assuan.0:${PORTSDIR}/security/libassuan .endif verify: checksum diff -ruN gpgme.orig/files/patch-src__engine-gpgconf.c gpgme/files/patch-src__engine-gpgconf.c --- gpgme.orig/files/patch-src__engine-gpgconf.c 2010-07-24 03:18:35.000000000 -0400 +++ gpgme/files/patch-src__engine-gpgconf.c 1969-12-31 19:00:00.000000000 -0500 @@ -1,10 +0,0 @@ ---- ./src/engine-gpgconf.c.orig 2009-06-15 07:59:37.000000000 -0400 -+++ ./src/engine-gpgconf.c 2009-12-05 03:03:51.000000000 -0500 -@@ -38,7 +38,6 @@ - #include "priv-io.h" - #include "sema.h" - --#include "assuan.h" - #include "debug.h" - - #include "engine-backend.h" --- 2010-07-24-gpgme.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: