pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/p5-Crypt-SSLeay
Module Name: pkgsrc
Committed By: wiz
Date: Tue Sep 8 12:19:10 UTC 2020
Modified Files:
pkgsrc/security/p5-Crypt-SSLeay: Makefile distinfo
Added Files:
pkgsrc/security/p5-Crypt-SSLeay/patches: patch-SSLeay.xs
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 pkgsrc/security/p5-Crypt-SSLeay/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/security/p5-Crypt-SSLeay/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/security/p5-Crypt-SSLeay/patches/patch-SSLeay.xs
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/p5-Crypt-SSLeay/Makefile
diff -u pkgsrc/security/p5-Crypt-SSLeay/Makefile:1.39 pkgsrc/security/p5-Crypt-SSLeay/Makefile:1.40
--- pkgsrc/security/p5-Crypt-SSLeay/Makefile:1.39 Mon Aug 31 18:11:15 2020
+++ pkgsrc/security/p5-Crypt-SSLeay/Makefile Tue Sep 8 12:19:10 2020
@@ -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 @@ LICENSE= ${PERL5_LICENSE}
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
Index: pkgsrc/security/p5-Crypt-SSLeay/distinfo
diff -u pkgsrc/security/p5-Crypt-SSLeay/distinfo:1.13 pkgsrc/security/p5-Crypt-SSLeay/distinfo:1.14
--- pkgsrc/security/p5-Crypt-SSLeay/distinfo:1.13 Tue Jun 6 14:22:36 2017
+++ pkgsrc/security/p5-Crypt-SSLeay/distinfo Tue Sep 8 12:19:10 2020
@@ -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
Added files:
Index: pkgsrc/security/p5-Crypt-SSLeay/patches/patch-SSLeay.xs
diff -u /dev/null pkgsrc/security/p5-Crypt-SSLeay/patches/patch-SSLeay.xs:1.1
--- /dev/null Tue Sep 8 12:19:10 2020
+++ pkgsrc/security/p5-Crypt-SSLeay/patches/patch-SSLeay.xs Tue Sep 8 12:19:10 2020
@@ -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