aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-08-31 10:29:42 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-08-31 10:29:42 +0800
commit27bc6bc42447fef0cdf3adfb4644eb2f8f7708da (patch)
tree86b1fba371cb98c2be97289d4e354ef0c8aa2c8a
parent191b818a740451e506b0c6999680864dbb3e0258 (diff)
downloadfreebsd-ports-gnome-27bc6bc42447fef0cdf3adfb4644eb2f8f7708da.tar.gz
freebsd-ports-gnome-27bc6bc42447fef0cdf3adfb4644eb2f8f7708da.tar.zst
freebsd-ports-gnome-27bc6bc42447fef0cdf3adfb4644eb2f8f7708da.zip
- Update to 0.58
PR: ports/150127 Submitted by: Frederic Culot <frederic@culot.org> With Hat: perl@ Changes: http://search.cpan.org/dist/Crypt-SSLeay/Changes
-rw-r--r--security/p5-Crypt-SSLeay/Makefile11
-rw-r--r--security/p5-Crypt-SSLeay/distinfo6
-rw-r--r--security/p5-Crypt-SSLeay/files/patch-Makefile.PL13
-rw-r--r--security/p5-Crypt-SSLeay/files/patch-lib-Net-SSL.pm20
4 files changed, 7 insertions, 43 deletions
diff --git a/security/p5-Crypt-SSLeay/Makefile b/security/p5-Crypt-SSLeay/Makefile
index f392ac07426b..8efc6c1f8677 100644
--- a/security/p5-Crypt-SSLeay/Makefile
+++ b/security/p5-Crypt-SSLeay/Makefile
@@ -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 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@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 --git a/security/p5-Crypt-SSLeay/distinfo b/security/p5-Crypt-SSLeay/distinfo
index 29ffc839158d..965927f22353 100644
--- a/security/p5-Crypt-SSLeay/distinfo
+++ b/security/p5-Crypt-SSLeay/distinfo
@@ -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 --git a/security/p5-Crypt-SSLeay/files/patch-Makefile.PL b/security/p5-Crypt-SSLeay/files/patch-Makefile.PL
index 7ca4abb82c6e..e69de29bb2d1 100644
--- a/security/p5-Crypt-SSLeay/files/patch-Makefile.PL
+++ b/security/p5-Crypt-SSLeay/files/patch-Makefile.PL
@@ -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 --git a/security/p5-Crypt-SSLeay/files/patch-lib-Net-SSL.pm b/security/p5-Crypt-SSLeay/files/patch-lib-Net-SSL.pm
index fa29d7579fdd..e69de29bb2d1 100644
--- a/security/p5-Crypt-SSLeay/files/patch-lib-Net-SSL.pm
+++ b/security/p5-Crypt-SSLeay/files/patch-lib-Net-SSL.pm
@@ -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) {