ports/185604: update for security/p5-Net-SSLeay to version 1.56, support for OpenSSL from ports
Philipp Wuensche
cryx-freebsd at h3q.com
Thu Jan 9 10:20:02 UTC 2014
>Number: 185604
>Category: ports
>Synopsis: update for security/p5-Net-SSLeay to version 1.56, support for OpenSSL from ports
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 09 10:20:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Philipp Wuensche
>Release: 9.2
>Organization:
>Environment:
>Description:
Update to 1.56, Changes: http://cpansearch.perl.org/src/MIKEM/Net-SSLeay-1.56/Changes
Add the OPENSSL_PORT option to allow usage of OpenSSL from ports.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 339212)
+++ Makefile (working copy)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= Net-SSLeay
-PORTVERSION= 1.55
+PORTVERSION= 1.56
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,8 +14,12 @@
p5-Test-NoWarnings>=0:${PORTSDIR}/devel/p5-Test-NoWarnings \
p5-Test-Warn>=0:${PORTSDIR}/devel/p5-Test-Warn
-OPTIONS_DEFINE= EXAMPLES
+OPTIONS_DEFINE= \
+ EXAMPLES \
+ OPENSSL_PORT
+OPENSSL_PORT_DESC= Use OpenSSL from ports
+
USES= perl5
USE_PERL5= configure
CONFIGURE_ENV= OPENSSL_PREFIX=${OPENSSLBASE}
@@ -26,6 +30,10 @@
.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MOPENSSL_PORT}
+WITH_OPENSSL_PORT= yes
+.endif
+
post-patch:
.if ${PORT_OPTIONS:MEXAMPLES}
@${REINPLACE_CMD} -e '1 s|/usr/bin/perl|${PERL}|' ${WRKSRC}/examples/*.pl
Index: distinfo
===================================================================
--- distinfo (revision 339212)
+++ distinfo (working copy)
@@ -1,2 +1,2 @@
-SHA256 (Net-SSLeay-1.55.tar.gz) = 8cd5f09722e07b4e436102cb3a4b93623d753c171665ca9752c3b39a62ea3a79
-SIZE (Net-SSLeay-1.55.tar.gz) = 394657
+SHA256 (Net-SSLeay-1.56.tar.gz) = 9f65cf3836d559c849a8a5608d98a4c823619874f3916fd8860417d1090da9c5
+SIZE (Net-SSLeay-1.56.tar.gz) = 398558
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list