From 9e2ff34bf42c2c562f01d7fd3d81b2825cbd810d Mon Sep 17 00:00:00 2001 From: Peter Budai Date: Sat, 30 Jan 2021 18:15:28 +0100 Subject: [PATCH] perl-Net-SSLeay: Update to 1.90 --- perl-Net-SSLeay/Net-SSLeay-1.55.patch | 32 +++++++++++++-------------- perl-Net-SSLeay/PKGBUILD | 8 +++---- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/perl-Net-SSLeay/Net-SSLeay-1.55.patch b/perl-Net-SSLeay/Net-SSLeay-1.55.patch index 2976786c..66ebde28 100644 --- a/perl-Net-SSLeay/Net-SSLeay-1.55.patch +++ b/perl-Net-SSLeay/Net-SSLeay-1.55.patch @@ -1,24 +1,24 @@ diff -Naur Net-SSLeay-1.55/t/local/61_threads-cb-crash.t Net-SSLeay-1.55-patched/t/local/61_threads-cb-crash.t --- Net-SSLeay-1.55/t/local/61_threads-cb-crash.t 2012-04-06 01:29:23.000000000 +0400 +++ Net-SSLeay-1.55-patched/t/local/61_threads-cb-crash.t 2013-11-14 13:22:49.414800000 +0400 -@@ -9,7 +9,7 @@ - }; +@@ -7,7 +7,7 @@ - #XXX-TODO perhaps perl+ithreads related issue (needs more investigation) --plan skip_all => "this test sometimes crashes on cygwin" if $^O eq 'cygwin'; -+plan skip_all => "this test sometimes crashes on cygwin" if $^O eq 'cygwin' or $^O eq 'msys'; - - # NOTE: expect warnings about threads still running under perl 5.8 and threads 1.71 - plan tests => 1; + if (not can_thread()) { + plan skip_all => "Threads not supported on this system"; +-} elsif ($^O eq 'cygwin') { ++} elsif ($^O eq 'cygwin' or $^O eq 'msys') { + # XXX-TODO perhaps perl+ithreads related issue (needs more investigation) + plan skip_all => "this test sometimes crashes on Cygwin"; + } else { diff -Naur Net-SSLeay-1.55/t/local/62_threads-ctx_new-deadlock.t Net-SSLeay-1.55-patched/t/local/62_threads-ctx_new-deadlock.t --- Net-SSLeay-1.55/t/local/62_threads-ctx_new-deadlock.t 2012-04-06 01:29:23.000000000 +0400 +++ Net-SSLeay-1.55-patched/t/local/62_threads-ctx_new-deadlock.t 2013-11-14 13:23:01.177200000 +0400 -@@ -9,7 +9,7 @@ - }; - - #XXX-TODO perhaps perl+ithreads related issue (needs more investigation) --plan skip_all => "this test sometimes crashes on cygwin" if $^O eq 'cygwin'; -+plan skip_all => "this test sometimes crashes on cygwin" if $^O eq 'cygwin' or $^O eq 'msys'; - - plan tests => 1; +@@ -7,7 +7,7 @@ + if (not can_thread()) { + plan skip_all => "Threads not supported on this system"; +-} elsif ($^O eq 'cygwin') { ++} elsif ($^O eq 'cygwin' or $^O eq 'msys') { + #XXX-TODO perhaps perl+ithreads related issue (needs more investigation) + plan skip_all => "this test sometimes crashes on Cygwin"; + } else { diff --git a/perl-Net-SSLeay/PKGBUILD b/perl-Net-SSLeay/PKGBUILD index b14aedfc..fe166466 100644 --- a/perl-Net-SSLeay/PKGBUILD +++ b/perl-Net-SSLeay/PKGBUILD @@ -2,8 +2,8 @@ _realname=Net-SSLeay pkgname=perl-${_realname} -pkgver=1.89_01 -pkgrel=3 +pkgver=1.90 +pkgrel=1 pkgdesc="Perl extension for using OpenSSL" arch=('i686' 'x86_64') license=('custom:BSD') @@ -16,8 +16,8 @@ replaces=('net-ssleay') provides=('net-ssleay') source=("https://cpan.metacpan.org/authors/id/C/CH/CHRISN/${_realname}-${pkgver}.tar.gz" 'Net-SSLeay-1.55.patch') -sha256sums=('9fa58a740565bf6032188fee57bec38f441c1b359f8927834ab4ea860767581e' - 'a81e528372aeae3d47585260e317f40f80d786fe56d295a1b0c63e90275159d3') +sha256sums=('f8696cfaca98234679efeedc288a9398fcf77176f1f515dbc589ada7c650dc93' + 'a38e04f08fd71bbafad3c56cdbee73240d0645e231baf13f033723a837022166') prepare() { cd ${srcdir}/${_realname}-${pkgver}