From d8dd4b0d6d15cff6af2f4a7deecfa65b4fe451b9 Mon Sep 17 00:00:00 2001 From: bluhm Date: Sun, 18 Mar 2018 16:47:58 +0000 Subject: [PATCH] update p5-Net-SSLeay to 1.85 enable test for LibreSSL that was disabled for OpenSSL >= 1.1.0e --- security/p5-Net_SSLeay/Makefile | 10 +++++----- security/p5-Net_SSLeay/distinfo | 4 ++-- .../patches/patch-t_local_33_x509_create_cert_t | 16 ++++++++++++++++ 3 files changed, 23 insertions(+), 7 deletions(-) create mode 100644 security/p5-Net_SSLeay/patches/patch-t_local_33_x509_create_cert_t diff --git a/security/p5-Net_SSLeay/Makefile b/security/p5-Net_SSLeay/Makefile index e27b1b6863c..8d31abd6576 100644 --- a/security/p5-Net_SSLeay/Makefile +++ b/security/p5-Net_SSLeay/Makefile @@ -1,12 +1,12 @@ -# $OpenBSD: Makefile,v 1.68 2018/02/03 17:37:12 bluhm Exp $ +# $OpenBSD: Makefile,v 1.69 2018/03/18 16:47:58 bluhm Exp $ -COMMENT = perl module for using OpenSSL +COMMENT = perl module for using OpenSSL -DISTNAME = Net-SSLeay-1.84 +DISTNAME = Net-SSLeay-1.85 -CATEGORIES = security +CATEGORIES = security -HOMEPAGE = http://alioth.debian.org/projects/net-ssleay +HOMEPAGE = http://alioth.debian.org/projects/net-ssleay MAINTAINER = Alexander Bluhm diff --git a/security/p5-Net_SSLeay/distinfo b/security/p5-Net_SSLeay/distinfo index 0d4c6181d30..f1383050d67 100644 --- a/security/p5-Net_SSLeay/distinfo +++ b/security/p5-Net_SSLeay/distinfo @@ -1,2 +1,2 @@ -SHA256 (Net-SSLeay-1.84.tar.gz) = gj7Dy7QoMJ1qnlbzYqkwBpPOMhW3/t4Qmtt742H/8Xc= -SIZE (Net-SSLeay-1.84.tar.gz) = 418214 +SHA256 (Net-SSLeay-1.85.tar.gz) = nYGIufscrjvXkZecIFVJJdXpShONAEFPGmgUVJknsMg= +SIZE (Net-SSLeay-1.85.tar.gz) = 418349 diff --git a/security/p5-Net_SSLeay/patches/patch-t_local_33_x509_create_cert_t b/security/p5-Net_SSLeay/patches/patch-t_local_33_x509_create_cert_t new file mode 100644 index 00000000000..3bec00dc2e2 --- /dev/null +++ b/security/p5-Net_SSLeay/patches/patch-t_local_33_x509_create_cert_t @@ -0,0 +1,16 @@ +$OpenBSD: patch-t_local_33_x509_create_cert_t,v 1.3 2018/03/18 16:47:58 bluhm Exp $ + +Index: t/local/33_x509_create_cert.t +--- t/local/33_x509_create_cert.t.orig ++++ t/local/33_x509_create_cert.t +@@ -299,7 +299,9 @@ SKIP: { ### X509 certificate - unicode + + SKIP: + { +- skip 'd2i_X509_bio fails for openssl-1.1.0e and later', 1 unless Net::SSLeay::SSLeay < 0x1010005f; ++ skip 'd2i_X509_bio fails for openssl-1.1.0e and later', 1 ++ unless Net::SSLeay::SSLeay < 0x1010005f ++ or Net::SSLeay::constant("LIBRESSL_VERSION_NUMBER"); + ok(my $x509 = Net::SSLeay::d2i_X509_bio($bio2), "d2i_X509_bio"); + } + }