From 6391d3a0072752af1eaedd9eac55f957ba944f2c Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Sat, 24 Jun 2017 12:43:24 +0100
Subject: Update to 7.14

- New upstream release 7.14
  - Fix a crash bug in AnyEvent::Handle with openssl 1.1.0
  - AnyEvent::Handle->keepalive was documented (and defined) twice
  - AnyEvent::Socket::tcp_bind/tcp_server would immediately unlink a unix
    listening socket unless a guard is used; change this so that no clean-up
    will be performed unless a guard is used and document this more clearly
  - Make tcp_bind/tcp_server error messages more regular
  - Fix building on Perl without '.' in @INC
  - Add TCP_FASTOPEN/MSG_FASTOPEN and MSG_NOSIGNAL/MSG_MORE/MSG_DONTWAIT to
    constants
  - Update warnings to common::sense 3.74 standards
---
 ...3-Fix-building-on-Perl-without-dot-in-INC.patch | 12 -----------
 AnyEvent-7.13-ssl.patch                            | 13 -----------
 perl-AnyEvent.spec                                 | 25 +++++++++++++---------
 sources                                            |  2 +-
 4 files changed, 16 insertions(+), 36 deletions(-)
 delete mode 100644 AnyEvent-7.13-Fix-building-on-Perl-without-dot-in-INC.patch
 delete mode 100644 AnyEvent-7.13-ssl.patch

diff --git a/AnyEvent-7.13-Fix-building-on-Perl-without-dot-in-INC.patch 
b/AnyEvent-7.13-Fix-building-on-Perl-without-dot-in-INC.patch
deleted file mode 100644
index f48417b..0000000
--- a/AnyEvent-7.13-Fix-building-on-Perl-without-dot-in-INC.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up AnyEvent-7.13/Makefile.PL.orig AnyEvent-7.13/Makefile.PL
---- AnyEvent-7.13/Makefile.PL.orig     2017-05-17 14:33:30.966186261 +0200
-+++ AnyEvent-7.13/Makefile.PL  2017-05-17 14:34:13.414007081 +0200
-@@ -22,7 +22,7 @@ print <<EOF;
- 
- EOF
- 
--do "constants.pl.PL"
-+do "./constants.pl.PL"
-    or die "cannot execute constants.pl.PL: $@";
- 
- WriteMakefile(
diff --git a/AnyEvent-7.13-ssl.patch b/AnyEvent-7.13-ssl.patch
deleted file mode 100644
index b06208b..0000000
--- a/AnyEvent-7.13-ssl.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Fix for CPAN RT#118584 from Mike McCauley (Net::SSLeay upstream)
-
---- lib/AnyEvent/Handle.pm
-+++ lib/AnyEvent/Handle.pm
-@@ -2224,7 +2224,7 @@ sub starttls {
- #   Net::SSLeay::CTX_set_mode ($ssl,
- #      (eval { local $SIG{__DIE__}; Net::SSLeay::MODE_ENABLE_PARTIAL_WRITE () 
} || 1)
- #      | (eval { local $SIG{__DIE__}; 
Net::SSLeay::MODE_ACCEPT_MOVING_WRITE_BUFFER () } || 2));
--   Net::SSLeay::CTX_set_mode ($tls, 1|2);
-+   Net::SSLeay::set_mode ($tls, 1|2);
- 
-    $self->{_rbio} = Net::SSLeay::BIO_new (Net::SSLeay::BIO_s_mem ());
-    $self->{_wbio} = Net::SSLeay::BIO_new (Net::SSLeay::BIO_s_mem ());
diff --git a/perl-AnyEvent.spec b/perl-AnyEvent.spec
index e5830b4..d8d1363 100644
--- a/perl-AnyEvent.spec
+++ b/perl-AnyEvent.spec
@@ -7,15 +7,13 @@
 %global have_weak_deps 0%{?fedora} > 20 || 0%{?rhel} > 7
 
 Name:           perl-AnyEvent
-Version:        7.13
-Release:        8%{?dist}
+Version:        7.14
+Release:        1%{?dist}
 Summary:        Framework for multiple event loops
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/AnyEvent/
 Source0:        
http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-%{version}%{?subver}.tar.gz
-Patch0:         AnyEvent-7.13-ssl.patch
-Patch1:         AnyEvent-7.13-Fix-building-on-Perl-without-dot-in-INC.patch
 
 # Build requirements
 BuildRequires:  coreutils
@@ -139,12 +137,6 @@ time).
 %prep
 %setup -q -n AnyEvent-%{version}%{?subver}
 
-# Fix segfault in SSL handling that manifests on OpenSSL 1.1.0 x86_64
-%patch0
-
-# Fix building on Perl without '.' in @INC
-%patch1 -p1
-
 
 %build
 PERL_CANARY_STABILITY_NOPROMPT=1 perl Makefile.PL INSTALLDIRS=vendor
@@ -201,6 +193,19 @@ make test
 
 
 %changelog
+* Sat Jun 24 2017 Paul Howarth <p...@city-fan.org> - 7.14-1
+- Update to 7.14
+  - Fix a crash bug in AnyEvent::Handle with openssl 1.1.0
+  - AnyEvent::Handle->keepalive was documented (and defined) twice
+  - AnyEvent::Socket::tcp_bind/tcp_server would immediately unlink a unix
+    listening socket unless a guard is used; change this so that no clean-up
+    will be performed unless a guard is used and document this more clearly
+  - Make tcp_bind/tcp_server error messages more regular
+  - Fix building on Perl without '.' in @INC
+  - Add TCP_FASTOPEN/MSG_FASTOPEN and MSG_NOSIGNAL/MSG_MORE/MSG_DONTWAIT to
+    constants
+  - Update warnings to common::sense 3.74 standards
+
 * Wed Jun 07 2017 Jitka Plesnikova <jples...@redhat.com> - 7.13-8
 - Perl 5.26 re-rebuild of bootstrapped packages
 
diff --git a/sources b/sources
index 0a77655..8cf51d1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-70eea152cf4686f8f351aa8bc96157f9  AnyEvent-7.13.tar.gz
+SHA512 (AnyEvent-7.14.tar.gz) = 
98e7b9e06cf74b99d3407a25b60f3b825fceed3bae43505e1fb90785e24bd88ae25955cff25d29b4cc96957db7f4f5203d19ad2365abb4e3a3227fd91a16fb25
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-AnyEvent.git/commit/?h=f26&id=6391d3a0072752af1eaedd9eac55f957ba944f2c
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to