diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-01-20 20:12:03 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-01-20 20:12:03 +0000 |
commit | 143f08478b48cd6ee6c644d802b559e29425bce9 (patch) | |
tree | 97aa53fd645ba05238a54665d33d9a76fc5d6b9e | |
parent | 1cb36aae410762e53a15808a870443f6997255fd (diff) | |
download | ports-143f08478b48cd6ee6c644d802b559e29425bce9.tar.gz ports-143f08478b48cd6ee6c644d802b559e29425bce9.zip |
Update to 1.88
Notes
Notes:
svn path=/head/; revision=523678
-rw-r--r-- | security/p5-Net-SSLeay/Makefile | 9 | ||||
-rw-r--r-- | security/p5-Net-SSLeay/distinfo | 6 | ||||
-rw-r--r-- | security/p5-Net-SSLeay/files/patch-Makefile.PL | 20 | ||||
-rw-r--r-- | security/p5-Net-SSLeay/files/patch-SSLeay.pm | 11 | ||||
-rw-r--r-- | security/p5-Net-SSLeay/files/patch-libressl-2.9 | 67 |
5 files changed, 28 insertions, 85 deletions
diff --git a/security/p5-Net-SSLeay/Makefile b/security/p5-Net-SSLeay/Makefile index b679bf1a5230..403982a5b28e 100644 --- a/security/p5-Net-SSLeay/Makefile +++ b/security/p5-Net-SSLeay/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= Net-SSLeay -PORTVERSION= 1.85 +PORTVERSION= 1.88 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -16,16 +16,17 @@ TEST_DEPENDS= p5-Test-Exception>=0:devel/p5-Test-Exception \ p5-Test-NoWarnings>=0:devel/p5-Test-NoWarnings \ p5-Test-Warn>=0:devel/p5-Test-Warn -OPTIONS_DEFINE= EXAMPLES - -CONFIGURE_ENV= OPENSSL_PREFIX=${OPENSSLBASE} USES= perl5 shebangfix ssl USE_PERL5= configure +CONFIGURE_ENV= OPENSSL_PREFIX=${OPENSSLBASE} + PORTEXAMPLES= * SHEBANG_FILES= examples/*.pl +OPTIONS_DEFINE= EXAMPLES + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Net/SSLeay/SSLeay.so diff --git a/security/p5-Net-SSLeay/distinfo b/security/p5-Net-SSLeay/distinfo index 0ecec13aee1d..3b7e2b3ea05c 100644 --- a/security/p5-Net-SSLeay/distinfo +++ b/security/p5-Net-SSLeay/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1521036337 -SHA256 (Net-SSLeay-1.85.tar.gz) = 9d8188b9fb1cae3bd791979c20554925d5e94a138d00414f1a6814549927b0c8 -SIZE (Net-SSLeay-1.85.tar.gz) = 418349 +TIMESTAMP = 1579531374 +SHA256 (Net-SSLeay-1.88.tar.gz) = 2000da483c8471a0b61e06959e92a6fca7b9e40586d5c828de977d3d2081cfdd +SIZE (Net-SSLeay-1.88.tar.gz) = 436215 diff --git a/security/p5-Net-SSLeay/files/patch-Makefile.PL b/security/p5-Net-SSLeay/files/patch-Makefile.PL new file mode 100644 index 000000000000..77ef8cf9be5a --- /dev/null +++ b/security/p5-Net-SSLeay/files/patch-Makefile.PL @@ -0,0 +1,20 @@ +--- Makefile.PL.orig 2019-05-06 14:37:59 UTC ++++ Makefile.PL +@@ -12,11 +12,12 @@ use Symbol qw(gensym); + # the Net-SSLeay loadable object on Windows + my $win_link_statically = 0; + +-my $tests = prompt( +- "Do you want to run external tests?\n". +- "These tests *will* *fail* if you do not have network connectivity.", +- 'n', +-) =~ /^y/i ? 't/*/*.t t/*/*/*.t' : 't/local/*.t t/handle/local/*.t'; ++# my $tests = prompt( ++# "Do you want to run external tests?\n". ++# "These tests *will* *fail* if you do not have network connectivity.", ++# 'n', ++# ) =~ /^y/i ? 't/*/*.t t/*/*/*.t' : 't/local/*.t t/handle/local/*.t'; ++my $tests = 't/local/*.t t/handle/local/*.t'; + + my %eumm_args = ( + NAME => 'Net::SSLeay', diff --git a/security/p5-Net-SSLeay/files/patch-SSLeay.pm b/security/p5-Net-SSLeay/files/patch-SSLeay.pm deleted file mode 100644 index c18be4adfe11..000000000000 --- a/security/p5-Net-SSLeay/files/patch-SSLeay.pm +++ /dev/null @@ -1,11 +0,0 @@ ---- inc/Module/Install/PRIVATE/Net/SSLeay.pm.orig 2009-08-24 12:42:03 UTC -+++ inc/Module/Install/PRIVATE/Net/SSLeay.pm -@@ -45,7 +45,7 @@ - - $self->makemaker_args( CCCDLFLAGS => $opts->{cccdlflags} ); - -- if ( $self->prompt( -+ if ( 0 && $self->prompt( #don't require interaction during install - "Do you want to run external tests?\n". - "These tests *will* *fail* if you do not have network connectivity.", - 'n', diff --git a/security/p5-Net-SSLeay/files/patch-libressl-2.9 b/security/p5-Net-SSLeay/files/patch-libressl-2.9 deleted file mode 100644 index 6bf0fb4827f7..000000000000 --- a/security/p5-Net-SSLeay/files/patch-libressl-2.9 +++ /dev/null @@ -1,67 +0,0 @@ -$OpenBSD: patch-SSLeay_xs,v 1.15 2018/11/07 01:55:42 bluhm Exp $ - -https://github.com/radiator-software/p5-net-ssleay/pull/96 -https://github.com/radiator-software/p5-net-ssleay/pull/95 -https://github.com/radiator-software/p5-net-ssleay/pull/94 - -Index: SSLeay.xs ---- SSLeay.xs.orig -+++ SSLeay.xs -@@ -2766,7 +2766,7 @@ RAND_write_file(file_name) - - #define REM40 "Minimal X509 stuff..., this is a bit ugly and should be put in its own modules Net::SSLeay::X509.pm" - --#if OPENSSL_VERSION_NUMBER >= 0x1000200fL && !defined(LIBRESSL_VERSION_NUMBER) -+#if OPENSSL_VERSION_NUMBER >= 0x1000200fL - - int - X509_check_host(X509 *cert, const char *name, unsigned int flags = 0, SV *peername = &PL_sv_undef) -@@ -4366,7 +4366,7 @@ TLSv1_2_client_method() - #endif - - --#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || (LIBRESSL_VERSION_NUMBER >= 0x20020002L) -+#if OPENSSL_VERSION_NUMBER >= 0x10100000L - - const SSL_METHOD * - TLS_method() -@@ -4377,10 +4377,10 @@ TLS_server_method() - const SSL_METHOD * - TLS_client_method() - --#endif /* OpenSSL 1.1.0 or LibreSSL 2.2.2 */ -+#endif /* OpenSSL 1.1.0 */ - - --#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || (LIBRESSL_VERSION_NUMBER >= 0x2060000fL) -+#if OPENSSL_VERSION_NUMBER >= 0x10100000L - - int - SSL_CTX_set_min_proto_version(ctx, version) -@@ -4402,7 +4402,7 @@ SSL_set_max_proto_version(ssl, version) - SSL * ssl - int version - --#endif /* OpenSSL 1.1.0 or LibreSSL 2.6.0 */ -+#endif /* OpenSSL 1.1.0 */ - - - #if OPENSSL_VERSION_NUMBER >= 0x1010007fL && !defined(LIBRESSL_VERSION_NUMBER) -@@ -5612,7 +5612,7 @@ SSL_get_client_random(s) - - #endif - --#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) -+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || (LIBRESSL_VERSION_NUMBER >= 0x2070000fL) - - void - SSL_get_server_random(s) -@@ -5643,7 +5643,7 @@ int - SSL_get_keyblock_size(s) - SSL * s - CODE: --#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) -+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || (LIBRESSL_VERSION_NUMBER >= 0x2070000fL) - const SSL_CIPHER *ssl_cipher; - int cipher = NID_undef, digest = NID_undef, mac_secret_size = 0; - const EVP_CIPHER *c = NULL; |