Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/p5-Crypt-SSLeay p5-Crypt-SSLeay: add patch fr...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fa963e181001
branches: trunk
changeset: 438684:fa963e181001
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Sep 08 12:19:10 2020 +0000
description:
p5-Crypt-SSLeay: add patch from issue tracker to improve chances with openssl 1.1
Using https://rt.cpan.org/Public/Bug/Display.html?id=118343
Bump PKGREVISION.
diffstat:
security/p5-Crypt-SSLeay/Makefile | 6 +---
security/p5-Crypt-SSLeay/distinfo | 3 +-
security/p5-Crypt-SSLeay/patches/patch-SSLeay.xs | 25 ++++++++++++++++++++++++
3 files changed, 29 insertions(+), 5 deletions(-)
diffs (65 lines):
diff -r caf77f8a997b -r fa963e181001 security/p5-Crypt-SSLeay/Makefile
--- a/security/p5-Crypt-SSLeay/Makefile Tue Sep 08 12:11:36 2020 +0000
+++ b/security/p5-Crypt-SSLeay/Makefile Tue Sep 08 12:19:10 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.39 2020/08/31 18:11:15 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2020/09/08 12:19:10 wiz Exp $
DISTNAME= Crypt-SSLeay-0.72
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 8
+PKGREVISION= 9
CATEGORIES= security perl5 www
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Crypt/}
@@ -14,8 +14,6 @@
DEPENDS+= p5-Path-Class>=0.26:../../devel/p5-Path-Class
DEPENDS+= p5-Try-Tiny>=0.19:../../devel/p5-Try-Tiny
-USE_LANGUAGES= c
-
PERL5_PACKLIST= auto/Crypt/SSLeay/.packlist
MAKE_ENV+= PERL_MM_USE_DEFAULT=1
diff -r caf77f8a997b -r fa963e181001 security/p5-Crypt-SSLeay/distinfo
--- a/security/p5-Crypt-SSLeay/distinfo Tue Sep 08 12:11:36 2020 +0000
+++ b/security/p5-Crypt-SSLeay/distinfo Tue Sep 08 12:19:10 2020 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.13 2017/06/06 14:22:36 ryoon Exp $
+$NetBSD: distinfo,v 1.14 2020/09/08 12:19:10 wiz Exp $
SHA1 (Crypt-SSLeay-0.72.tar.gz) = 1b39920947c33a88b19a9c8e61ccb135b56091f8
RMD160 (Crypt-SSLeay-0.72.tar.gz) = 11c78b3d06b58753a4c94905fc45fc129d3ccfef
SHA512 (Crypt-SSLeay-0.72.tar.gz) = af7a2878df94e116e9aad9a0f028f2e4f89074aaf31672915162f86e55211632d65c1cb00f3ebd25644d77adf8eecdd244dba6a004d93ab90289ab34fe4caaf4
Size (Crypt-SSLeay-0.72.tar.gz) = 129575 bytes
SHA1 (patch-Makefile.PL) = 620a517aa563bd9415b5d58926e9c5e7aaf56500
+SHA1 (patch-SSLeay.xs) = 2623fb04aef48a68b4ee804b6a43f3d6c71b9757
diff -r caf77f8a997b -r fa963e181001 security/p5-Crypt-SSLeay/patches/patch-SSLeay.xs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/p5-Crypt-SSLeay/patches/patch-SSLeay.xs Tue Sep 08 12:19:10 2020 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-SSLeay.xs,v 1.1 2020/09/08 12:19:10 wiz Exp $
+
+openssl 1.1 compat from https://rt.cpan.org/Public/Bug/Display.html?id=118343.
+
+--- SSLeay.xs.orig 2014-04-23 22:36:24.000000000 +0000
++++ SSLeay.xs
+@@ -149,15 +149,15 @@ SSL_CTX_new(packname, ssl_version)
+ ctx = SSL_CTX_new(SSLv23_client_method());
+ }
+ else if(ssl_version == 3) {
+- ctx = SSL_CTX_new(SSLv3_client_method());
++ ctx = SSL_CTX_new(TLS_client_method());
+ }
+ else {
+-#ifndef OPENSSL_NO_SSL2
++#if !defined(OPENSSL_NO_SSL2) && OPENSSL_VERSION_NUMBER < 0x10100000L
+ /* v2 is the default */
+ ctx = SSL_CTX_new(SSLv2_client_method());
+ #else
+ /* v3 is the default */
+- ctx = SSL_CTX_new(SSLv3_client_method());
++ ctx = SSL_CTX_new(TLS_client_method());
+ #endif
+ }
+
Home |
Main Index |
Thread Index |
Old Index