Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2013 18:16:35 GMT
From:      Sébastien Santoro <dereckson@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/184376: [patch] [security/gnupg] Dependency issue: libgpg-error must be 1.11+
Message-ID:  <201311291816.rATIGZgs097073@oldred.freebsd.org>
Resent-Message-ID: <201311291820.rATIK3PL024967@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         184376
>Category:       ports
>Synopsis:       [patch] [security/gnupg] Dependency issue: libgpg-error must be 1.11+
>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:   Fri Nov 29 18:20:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Sébastien Santoro
>Release:        n/a
>Organization:
>Environment:
n/a
>Description:
During security/gnupg configure operation:

configure:                                                                        ***
*** You need libgpg-error to build this program.
**  This library is for example available at
***   ftp://ftp.gnupg.org/gcrypt/libgpg-error
*** (at least version 1.11 is required.)
***
configure: error:
***
*** Required libraries not found. Please consult the above messages
*** and install them before running configure again.
***
===>  Script "configure" failed unexpectedly.

>How-To-Repeat:
- Install a version prior to 1.11 of libgpg-error
- Install security/gnupg port
>Fix:
Patch is offered to solve the issue.

- removing gnupg-error from LIB_DEPENDS
- adding a BUILD_DEPENDS libgpg-error>=1.11 instruction


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 335209)
+++ Makefile	(working copy)
@@ -11,17 +11,17 @@
 MAINTAINER=	kuriyama@FreeBSD.org
 COMMENT=	The GNU Privacy Guard
 
+LIB_DEPENDS=	assuan:${PORTSDIR}/security/libassuan \
+		gcrypt:${PORTSDIR}/security/libgcrypt \
+		ksba:${PORTSDIR}/security/libksba \
+		pth:${PORTSDIR}/devel/pth
+BUILD_DEPENDS=  libgpg-error>=1.11:${PORTSDIR}/security/libgpg-error
+
 LICENSE=	GPLv3 LGPL3
 LICENSE_COMB=	multi
 LICENSE_FILE_GPLv3=	${WRKSRC}/COPYING
 LICENSE_FILE_LGPL3=	${WRKSRC}/COPYING.LIB
 
-LIB_DEPENDS=	assuan:${PORTSDIR}/security/libassuan \
-		gcrypt:${PORTSDIR}/security/libgcrypt \
-		gpg-error:${PORTSDIR}/security/libgpg-error \
-		ksba:${PORTSDIR}/security/libksba \
-		pth:${PORTSDIR}/devel/pth
-
 USE_BZIP2=	YES
 GNU_CONFIGURE=	YES
 USES=		gmake iconv


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311291816.rATIGZgs097073>