guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: perl-io-socket-ssl: Update to 2.068.


From: guix-commits
Subject: 01/02: gnu: perl-io-socket-ssl: Update to 2.068.
Date: Sun, 20 Dec 2020 11:35:52 -0500 (EST)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 2191d88d1b6995402392566bbe59427cc55776a0
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Dec 20 17:16:39 2020 +0100

    gnu: perl-io-socket-ssl: Update to 2.068.
    
    * gnu/packages/patches/perl-io-socket-ssl-openssl-1.0.2f-fix.patch: Delete 
file.
    * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
    * gnu/packages/web.scm (perl-io-socket-ssl): Update to 2.068.
    [source](patches): Remove.
---
 gnu/local.mk                                       |  1 -
 .../perl-io-socket-ssl-openssl-1.0.2f-fix.patch    | 33 ----------------------
 gnu/packages/web.scm                               |  6 ++--
 3 files changed, 2 insertions(+), 38 deletions(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index f5eca77..5e7de58 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1449,7 +1449,6 @@ dist_patch_DATA =                                         
\
   %D%/packages/patches/perl-autosplit-default-time.patch       \
   %D%/packages/patches/perl-cross.patch                                \
   %D%/packages/patches/perl-finance-quote-unuse-mozilla-ca.patch \
-  %D%/packages/patches/perl-io-socket-ssl-openssl-1.0.2f-fix.patch \
   %D%/packages/patches/perl-net-amazon-s3-moose-warning.patch  \
   %D%/packages/patches/perl-net-dns-resolver-programmable-fix.patch    \
   %D%/packages/patches/perl-no-sys-dirs.patch                  \
diff --git a/gnu/packages/patches/perl-io-socket-ssl-openssl-1.0.2f-fix.patch 
b/gnu/packages/patches/perl-io-socket-ssl-openssl-1.0.2f-fix.patch
deleted file mode 100644
index f2166ae..0000000
--- a/gnu/packages/patches/perl-io-socket-ssl-openssl-1.0.2f-fix.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Work around a problem arising from the update to OpenSSL 1.0.2f, based on the
-following upstream commit:
-
-  
https://github.com/noxxi/p5-io-socket-ssl/commit/6e23ee4a433f83f1065bd2467255eba5ee9b1ddd
-
-Attempting to update to IO-Socket-SSL-2.023, which includes this commit,
-caused other test failures.  See:
-
-  https://lists.gnu.org/archive/html/guix-devel/2016-01/msg01032.html
-
-Description from the upstream commit:
-
-  OpenSSL 1.0.2f changed the behavior of SSL shutdown in case the TLS 
connection
-  was not fully established (commit: f73c737c7ac908c5d6407c419769123392a3b0a9).
-  This somehow resulted in Net::SSLeay::shutdown returning 0 (i.e. keep trying)
-  which caused an endless loop. It will now ignore this result in case the TLS
-  connection was not yet established and consider the TLS connection closed
-  instead.
-
---- IO-Socket-SSL-2.002/lib/IO/Socket/SSL.pm.orig      2014-10-21 
16:51:16.000000000 -0400
-+++ IO-Socket-SSL-2.002/lib/IO/Socket/SSL.pm   2016-01-31 15:07:14.971099894 
-0500
-@@ -1213,6 +1213,11 @@
-                   # shutdown complete
-                   last;
-               }
-+              if ((${*$self}{'_SSL_opened'}||0) <= 0) {
-+                  # not really open, thus don't expect shutdown to return
-+                  # something meaningful
-+                  last;
-+              }
- 
-               # initiate or complete shutdown
-               local $SIG{PIPE} = 'IGNORE';
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index e072f56..aa66ba4 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -3669,16 +3669,14 @@ and IPv6 sockets, intended as a replacement for 
IO::Socket::INET.")
 (define-public perl-io-socket-ssl
   (package
     (name "perl-io-socket-ssl")
-    (version "2.066")
+    (version "2.068")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
                                   "IO-Socket-SSL-" version ".tar.gz"))
               (sha256
                (base32
-                "1kgbws7dwp2hh16qid7169dfkhmcwg7dz9ffbm6k0id5h53hciqd"))
-              (patches (search-patches
-                        "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
+                "1ycgzg1l7p07y5wc0vzgnj122vm51p5aqpi4s56pp0piaq0gq824"))))
     (build-system perl-build-system)
     (propagated-inputs
      `(("perl-net-ssleay" ,perl-net-ssleay)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]