Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2007 23:03:45 +0000 (UTC)
From:      Piet Delport <pjd@satori.za.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        perky@FreeBSD.org
Subject:   ports/115532: [PATCH] security/py-openssl:  respect bsd.openssl.mk
Message-ID:  <20070814230345.CA520213C@thor.cheetah-is.co.za>
Resent-Message-ID: <200708142310.l7ENA2Sx092752@freefall.freebsd.org>

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

>Number:         115532
>Category:       ports
>Synopsis:       [PATCH] security/py-openssl:  respect bsd.openssl.mk
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 14 23:10:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
(Maintainer CCed.)

The port enables USE_OPENSSL but does not pass on the provided configuration
variables, leading to errors when (for example) both base and port versions of
OpenSSL are installed.

>How-To-Repeat:
>Fix:

--- py-openssl.patch begins here ---
diff -ruN /usr/ports/security/py-openssl/Makefile py-openssl/Makefile
--- /usr/ports/security/py-openssl/Makefile	Mon Jul 30 11:41:56 2007
+++ py-openssl/Makefile	Mon Aug 13 17:41:29 2007
@@ -23,4 +23,9 @@
 PYDISTUTILS_PKGNAME=	pyOpenSSL
 USE_OPENSSL=	yes
 
+do-configure:
+	@${ECHO_CMD} "[build_ext]" >> ${WRKSRC}/setup.cfg
+	@${ECHO_CMD} "include-dirs = ${OPENSSLINC}" >> ${WRKSRC}/setup.cfg
+	@${ECHO_CMD} "library-dirs = ${OPENSSLLIB}" >> ${WRKSRC}/setup.cfg
+
 .include <bsd.port.mk>
--- py-openssl.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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