ports/150127: Update port: security/p5-Crypt-SSLeay
Frederic Culot
frederic at culot.org
Mon Aug 30 18:00:10 UTC 2010
>Number: 150127
>Category: ports
>Synopsis: Update port: security/p5-Crypt-SSLeay
>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: Mon Aug 30 18:00:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Frederic Culot
>Release: FreeBSD 8.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD 0xd0.org 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
- update to 0.58
- MIME::Base64 added to BUILD_DEPENDS (vendor added this dependency in 0.57_03)
- files/patch-Makefile.PL removed and replaced by '--no-live-tests' configure argument in Makefile
- files/patch-lib-Net-SSL.pm removed (patch committed upstream, see
https://rt.cpan.org/Public/Bug/Display.html?id=33954)
- post-patch target removed from Makefile (SSL.pm.orig removed upstream)
Changes: http://search.cpan.org/dist/Crypt-SSLeay/Changes
>How-To-Repeat:
>Fix:
diff -ruN p5-Crypt-SSLeay.bak/Makefile p5-Crypt-SSLeay/Makefile
--- p5-Crypt-SSLeay.bak/Makefile 2010-08-30 19:08:30.375512452 +0200
+++ p5-Crypt-SSLeay/Makefile 2010-08-30 19:36:47.870662534 +0200
@@ -6,8 +6,7 @@
#
PORTNAME= Crypt-SSLeay
-PORTVERSION= 0.57
-PORTREVISION= 1
+PORTVERSION= 0.58
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -15,17 +14,15 @@
MAINTAINER= perl at FreeBSD.org
COMMENT= Perl5 interface to allow p5-libwww LWP to make https connections
-BUILD_DEPENDS= ${SITE_PERL}/URI/URL.pm:${PORTSDIR}/net/p5-URI
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
+ ${SITE_PERL}/URI/URL.pm:${PORTSDIR}/net/p5-URI
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-CONFIGURE_ARGS+= --lib=${OPENSSLBASE}
+CONFIGURE_ARGS+= --lib=${OPENSSLBASE} --no-live-tests
MAKE_ARGS+= PASTHRU_INC=-I${OPENSSLINC}
USE_OPENSSL= yes
MAN3= Crypt::SSLeay.3 Net::SSL.3
-post-patch:
- ${RM} ${WRKSRC}/lib/Net/SSL.pm.orig
-
.include <bsd.port.mk>
diff -ruN p5-Crypt-SSLeay.bak/distinfo p5-Crypt-SSLeay/distinfo
--- p5-Crypt-SSLeay.bak/distinfo 2010-08-30 19:08:30.375512452 +0200
+++ p5-Crypt-SSLeay/distinfo 2010-08-30 19:12:10.755423307 +0200
@@ -1,3 +1,3 @@
-MD5 (Crypt-SSLeay-0.57.tar.gz) = 82264180f5911dce33dbd85e24b1f36b
-SHA256 (Crypt-SSLeay-0.57.tar.gz) = 14e880ce3d007457f193056d9f373024fc59d1c7fc5f6990db69789a922f11b8
-SIZE (Crypt-SSLeay-0.57.tar.gz) = 122980
+MD5 (Crypt-SSLeay-0.58.tar.gz) = fbf3d12e58462cee00ea63239c0b13c7
+SHA256 (Crypt-SSLeay-0.58.tar.gz) = 1e714c5bcb28bc2547619a9b11e5b270a3c34113f85f091cd72556ae9805e02e
+SIZE (Crypt-SSLeay-0.58.tar.gz) = 123845
diff -ruN p5-Crypt-SSLeay.bak/files/patch-Makefile.PL p5-Crypt-SSLeay/files/patch-Makefile.PL
--- p5-Crypt-SSLeay.bak/files/patch-Makefile.PL 2010-08-30 19:08:30.375512452 +0200
+++ p5-Crypt-SSLeay/files/patch-Makefile.PL 1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
---- Makefile.PL.orig 2007-07-16 19:19:15.000000000 +0200
-+++ Makefile.PL 2007-07-16 19:20:09.000000000 +0200
-@@ -271,9 +271,7 @@
- these tests may fail (through no fault of the code).
-
- INFO
-- my $network_tests = prompt
-- "Do you want to run the live tests (y/N) ?",
-- 'N';
-+ my $network_tests = 'N';
- print OUT "network_tests ", ($network_tests =~ /y/i) ? 1 : 0, "\n";
- close OUT;
- }
diff -ruN p5-Crypt-SSLeay.bak/files/patch-lib-Net-SSL.pm p5-Crypt-SSLeay/files/patch-lib-Net-SSL.pm
--- p5-Crypt-SSLeay.bak/files/patch-lib-Net-SSL.pm 2010-08-30 19:08:30.365063917 +0200
+++ p5-Crypt-SSLeay/files/patch-lib-Net-SSL.pm 1970-01-01 01:00:00.000000000 +0100
@@ -1,20 +0,0 @@
---- lib/Net/SSL.pm.orig 2007-09-17 12:56:52.000000000 -0700
-+++ lib/Net/SSL.pm 2010-05-19 11:23:50.000000000 -0700
-@@ -361,8 +361,15 @@
-
- $connect_string .= $CRLF;
- $self->SUPER::send($connect_string);
-- my $header;
-- my $n = $self->SUPER::sysread($header, 8192);
-+ my $header = "";
-+ my $timeout;
-+ while ($header !~ m{HTTP/\d+\.\d+\s+200\s+.*\r\n\r\n}s) {
-+ $timeout = $self->timeout(5) unless length $header;
-+ my $n = $self->SUPER::sysread($header, 8192, length $header);
-+ last if $n <= 0;
-+ }
-+ $self->timeout($timeout) if defined $timeout;
-+
- my $conn_ok = ($header =~ /HTTP\/\d+\.\d+\s+200\s+/is) ? 1 : 0;
-
- if (not $conn_ok) {
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list