From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Sep 7 06:30:12 2011 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 A85E210656DA for ; Wed, 7 Sep 2011 06:30: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 6E9648FC21 for ; Wed, 7 Sep 2011 06:30: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 p876UCxT012667 for ; Wed, 7 Sep 2011 06:30:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p876UCH2012666; Wed, 7 Sep 2011 06:30:12 GMT (envelope-from gnats) Resent-Date: Wed, 7 Sep 2011 06:30:12 GMT Resent-Message-Id: <201109070630.p876UCH2012666@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, John Marshall Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4CDB1065676 for ; Wed, 7 Sep 2011 06:22:34 +0000 (UTC) (envelope-from john.marshall@riverwillow.com.au) Received: from mail1.riverwillow.net.au (mail1.riverwillow.net.au [203.58.93.36]) by mx1.freebsd.org (Postfix) with ESMTP id 3C21E8FC0C for ; Wed, 7 Sep 2011 06:22:33 +0000 (UTC) Received: from rwpc13.mby.riverwillow.net.au (rwpc13.mby.riverwillow.net.au [172.25.24.200]) (authenticated bits=0) by mail1.riverwillow.net.au (8.14.5/8.14.5) with ESMTP id p876MSul007180 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 7 Sep 2011 16:22:29 +1000 (AEST) Received: from rwpc13.mby.riverwillow.net.au (john@localhost [127.0.0.1]) by rwpc13.mby.riverwillow.net.au (8.14.5/8.14.5) with ESMTP id p876MS2g051007 for ; Wed, 7 Sep 2011 16:22:28 +1000 (AEST) (envelope-from john.marshall@riverwillow.com.au) Received: (from john@localhost) by rwpc13.mby.riverwillow.net.au (8.14.5/8.14.5/Submit) id p876MSK0051006; Wed, 7 Sep 2011 16:22:28 +1000 (AEST) (envelope-from john) Message-Id: <201109070622.p876MSK0051006@rwpc13.mby.riverwillow.net.au> Date: Wed, 7 Sep 2011 16:22:28 +1000 (AEST) From: John Marshall To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/160535: [PATCH] security/gnupg 2.0.18 will not use libcurl X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Marshall List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2011 06:30:12 -0000 >Number: 160535 >Category: ports >Synopsis: [PATCH] security/gnupg 2.0.18 will not use libcurl >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Sep 07 06:30:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: John Marshall >Release: FreeBSD 8.2-STABLE i386 >Organization: Riverwillow Pty Ltd >Environment: System: FreeBSD rwpc13 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Aug 13 07:41:35 AEST 2011 root@rwpc13:/build/obj/build/src/sys/RWPC13 i386 >Description: There is an error in the gnupg 2.0.18 configure test for libcurl which results in configure always failing to find a usable libcurl. This doesn't break the build because it falls back to using the GnuPG 'curl-shim'. >How-To-Repeat: - Ensure WITH_CURL=true (default) - make configure - Review work/gnupg-2.0.18/config.log configure:9374: checking whether libcurl is usable ---< snip >-- configure:9421: result: no >Fix: The attached patch alters the port to patch the distribution's configure script to correct the error in the libcurl test program. The problem has been reported to the GnuPG folks. - Bump PORTREVISION - Add File: files/patch-configure --- gnupg_2.0.18.diff begins here --- diff -urN security/gnupg.orig/Makefile security/gnupg/Makefile --- security/gnupg.orig/Makefile 2011-08-05 10:35:25.000000000 +1000 +++ security/gnupg/Makefile 2011-09-07 11:13:59.000000000 +1000 @@ -7,6 +7,7 @@ PORTNAME= gnupg PORTVERSION= 2.0.18 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_GNUPG} MASTER_SITE_SUBDIR= gnupg diff -urN security/gnupg.orig/files/patch-configure security/gnupg/files/patch-configure --- security/gnupg.orig/files/patch-configure 1970-01-01 10:00:00.000000000 +1000 +++ security/gnupg/files/patch-configure 2011-09-07 09:31:10.000000000 +1000 @@ -0,0 +1,11 @@ +--- configure.orig 2011-09-07 09:26:46.000000000 +1000 ++++ configure 2011-09-07 09:29:32.000000000 +1000 +@@ -9384,7 +9384,7 @@ + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-include ++#include + int + main () + { --- gnupg_2.0.18.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: