ppisar pushed to perl-POE-Component-IRC (master). "Make optional
features build-configurable"
by notifications@fedoraproject.org
From 370f540eb0e3ae6d3b05ba2c12e2f77b5000cec6 Mon Sep 17 00:00:00 2001
From: Petr Písař <ppisar(a)redhat.com>
Date: Sep 06 2017 12:19:51 +0000
Subject: Make optional features build-configurable
---
diff --git a/perl-POE-Component-IRC.spec b/perl-POE-Component-IRC.spec
index 0bb3fc4..0109e3f 100644
--- a/perl-POE-Component-IRC.spec
+++ b/perl-POE-Component-IRC.spec
@@ -1,3 +1,12 @@
+# Add support for DNS resolution
+%bcond_without perl_POE_Component_IRC_enables_dns
+# Enable IPv6 support
+%bcond_without perl_POE_Component_IRC_enables_ipv6
+# Enable SSL support
+%bcond_without perl_POE_Component_IRC_enables_ssl
+# Enable zlib compression
+%bcond_without perl_POE_Component_IRC_enables_zlib
+
Name: perl-POE-Component-IRC
Summary: A POE component for building IRC clients
Version: 6.90
@@ -30,8 +39,12 @@ BuildRequires: perl(IRC::Utils) >= 0.12
BuildRequires: perl(List::Util) >= 1.33
BuildRequires: perl(overload)
BuildRequires: perl(POE) >= 1.311
-BuildRequires: perl(POE::Component::Client::DNS)
-BuildRequires: perl(POE::Component::SSLify)
+%if %{with perl_POE_Component_IRC_enables_dns}
+BuildRequires: perl(POE::Component::Client::DNS) >= 0.99
+%endif
+%if %{with perl_POE_Component_IRC_enables_ssl}
+# POE::Component::SSLify not used at tests
+%endif
BuildRequires: perl(POE::Component::Syndicator)
BuildRequires: perl(POE::Driver::SysRW)
BuildRequires: perl(POE::Filter)
@@ -39,14 +52,18 @@ BuildRequires: perl(POE::Filter::IRCD) >= 2.42
BuildRequires: perl(POE::Filter::Line)
BuildRequires: perl(POE::Filter::Stackable)
BuildRequires: perl(POE::Filter::Stream)
-BuildRequires: perl(POE::Filter::Zlib::Stream)
+%if %{with perl_POE_Component_IRC_enables_zlib}
+BuildRequires: perl(POE::Filter::Zlib::Stream) >= 1.96
+%endif
BuildRequires: perl(POE::Wheel::FollowTail)
BuildRequires: perl(POE::Wheel::ReadWrite)
BuildRequires: perl(POE::Wheel::SocketFactory)
BuildRequires: perl(POSIX)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Socket)
+%if %{with perl_POE_Component_IRC_enables_ipv6}
BuildRequires: perl(Socket6)
+%endif
# Tests:
BuildRequires: perl(Crypt::PasswdMD5)
BuildRequires: perl(Data::Dumper)
@@ -56,7 +73,9 @@ BuildRequires: perl(lib)
# TODO: Unbundle Net::Netmask
BuildRequires: perl(POE::Component::Client::Ident::Agent)
# TODO: Unbundle POE::Component::Server::IRC
+%if %{with perl_POE_Component_IRC_enables_ipv6}
BuildRequires: perl(Socket::GetAddrInfo)
+%endif
BuildRequires: perl(Test::Differences) >= 0.61
BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(vars)
@@ -65,17 +84,25 @@ Requires: perl(IRC::Utils) >= 0.12
Requires: perl(List::Util) >= 1.33
Requires: perl(overload)
Requires: perl(POE) >= 1.311
-Requires: perl(POE::Component::Client::DNS)
-Requires: perl(POE::Component::SSLify)
+%if %{with perl_POE_Component_IRC_enables_dns}
+Recommends: perl(POE::Component::Client::DNS) >= 0.99
+%endif
+%if %{with perl_POE_Component_IRC_enables_ssl}
+Recommends: perl(POE::Component::SSLify)
+%endif
Requires: perl(POE::Driver::SysRW)
Requires: perl(POE::Filter::IRCD) >= 2.42
Requires: perl(POE::Filter::Line)
Requires: perl(POE::Filter::Stream)
-Requires: perl(POE::Filter::Zlib::Stream)
+%if %{with perl_POE_Component_IRC_enables_zlib}
+Recommends: perl(POE::Filter::Zlib::Stream) >= 1.96
+%endif
Requires: perl(POE::Wheel::FollowTail)
Requires: perl(POE::Wheel::ReadWrite)
Requires: perl(POE::Wheel::SocketFactory)
+%if %{with perl_POE_Component_IRC_enables_ipv6}
Requires: perl(Socket6)
+%endif
%{?perl_default_filter}
https://src.fedoraproject.org/rpms/perl-POE-Component-IRC/c/370f540eb0e3a...
6 years, 9 months
ppisar pushed to perl-POE-Component-IRC (master). "6.90 bump"
by notifications@fedoraproject.org
From 1e8eb2b1ab38b1a67610cf1b0079f9754f3ce871 Mon Sep 17 00:00:00 2001
From: Petr Písař <ppisar(a)redhat.com>
Date: Sep 06 2017 10:18:34 +0000
Subject: 6.90 bump
---
diff --git a/.gitignore b/.gitignore
index cb9e0ee..79552dc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,4 @@ POE-Component-IRC-6.14.tar.gz
/POE-Component-IRC-6.87.tar.gz
/POE-Component-IRC-6.68.tar.gz
/POE-Component-IRC-6.88.tar.gz
+/POE-Component-IRC-6.90.tar.gz
diff --git a/perl-POE-Component-IRC.spec b/perl-POE-Component-IRC.spec
index acc05d4..e9f047d 100644
--- a/perl-POE-Component-IRC.spec
+++ b/perl-POE-Component-IRC.spec
@@ -1,47 +1,42 @@
-# Note: The tests for this perl dist. are disabled by default, as they
+# The tests for this perl dist. are disabled by default, as they
# require network access and would thus fail in the buildsys' mock
# environments. To build locally while enabling tests, either:
#
-# rpmbuild ... --define '_with_network_tests 1' ...
-# rpmbuild ... --with network_tests ...
-# define _with_network_tests 1 in your ~/.rpmmacros
-#
-# Note that right now, the only way to run tests locally from a cvs sandbox
-# "make noarch" type scenario is the third one.
+%bcond_with perl_POE_Component_IRC_enables_network_test
Name: perl-POE-Component-IRC
Summary: A POE component for building IRC clients
-Version: 6.88
-Release: 9%{?dist}
+Version: 6.90
+Release: 1%{?dist}
License: GPL+ or Artistic
-Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/POE-Component-IRC-%{ve...
URL: http://search.cpan.org/dist/POE-Component-IRC
-Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
BuildArch: noarch
-BuildRequires: perl-interpreter
+BuildRequires: coreutils
+BuildRequires: make
BuildRequires: perl-generators
+BuildRequires: perl-interpreter
+BuildRequires: perl(:VERSION) >= 5.8.1
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+BuildRequires: sed
+%if %{with perl_POE_Component_IRC_enables_network_test}
+# Run-time:
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
-BuildRequires: perl(Data::Dumper)
-BuildRequires: perl(Digest::MD5)
BuildRequires: perl(Encode::Guess)
BuildRequires: perl(Exporter)
-BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31
BuildRequires: perl(Fcntl)
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Glob)
BuildRequires: perl(File::Spec::Functions)
-BuildRequires: perl(File::Temp)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IRC::Utils) >= 0.12
-BuildRequires: perl(lib)
-BuildRequires: perl(List::MoreUtils)
-BuildRequires: perl(List::Util)
+BuildRequires: perl(List::Util) >= 1.33
BuildRequires: perl(overload)
-BuildRequires: perl(POE) >= 1.287
-BuildRequires: perl(POE::Component::Client::Ident::Agent)
+BuildRequires: perl(POE) >= 1.311
BuildRequires: perl(POE::Component::Client::DNS)
BuildRequires: perl(POE::Component::SSLify)
BuildRequires: perl(POE::Component::Syndicator)
@@ -52,34 +47,49 @@ BuildRequires: perl(POE::Filter::Line)
BuildRequires: perl(POE::Filter::Stackable)
BuildRequires: perl(POE::Filter::Stream)
BuildRequires: perl(POE::Filter::Zlib::Stream)
-BuildRequires: perl(POE::Session)
BuildRequires: perl(POE::Wheel::FollowTail)
BuildRequires: perl(POE::Wheel::ReadWrite)
BuildRequires: perl(POE::Wheel::SocketFactory)
BuildRequires: perl(POSIX)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Socket)
-BuildRequires: perl(Socket::GetAddrInfo)
BuildRequires: perl(Socket6)
-BuildRequires: perl(strict)
-BuildRequires: perl(Test::Differences)
+# Tests:
+BuildRequires: perl(Crypt::PasswdMD5)
+BuildRequires: perl(Data::Dumper)
+BuildRequires: perl(Digest::MD5)
+BuildRequires: perl(File::Temp)
+BuildRequires: perl(lib)
+# TODO: Unbundle Net::Netmask
+BuildRequires: perl(POE::Component::Client::Ident::Agent)
+# TODO: Unbundle POE::Component::Server::IRC
+BuildRequires: perl(Socket::GetAddrInfo)
+BuildRequires: perl(Test::Differences) >= 0.61
BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(vars)
-BuildRequires: perl(warnings)
+%endif
+Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Requires: perl(IRC::Utils) >= 0.12
+Requires: perl(List::Util) >= 1.33
+Requires: perl(overload)
Requires: perl(POE) >= 1.311
+Requires: perl(POE::Component::Client::DNS)
+Requires: perl(POE::Component::SSLify)
Requires: perl(POE::Driver::SysRW)
Requires: perl(POE::Filter::IRCD) >= 2.42
Requires: perl(POE::Filter::Line)
Requires: perl(POE::Filter::Stream)
-Requires: perl(POE::Session)
+Requires: perl(POE::Filter::Zlib::Stream)
+Requires: perl(POE::Wheel::FollowTail)
Requires: perl(POE::Wheel::ReadWrite)
Requires: perl(POE::Wheel::SocketFactory)
-# Added during f19 development cycle
-Obsoletes: %{name}-tests <= 6.81
+Requires: perl(Socket6)
%{?perl_default_filter}
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((IRC::Utils|List::Util|POE|POE::Filter::IRCD)\\)$
+
%description
POE::Component::IRC is a POE component (who'd have guessed?) which acts as an
easily controllable IRC client for your other POE components and sessions. You
@@ -91,26 +101,33 @@ is to it. Cool, no?
%prep
%setup -q -n POE-Component-IRC-%{version}
chmod -c -x examples/*
+# Remove bundled modules
+rm -r t/inc/Crypt
+sed -i -e '/^t\/inc\/Crypt/d' MANIFEST
%build
-perl Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} %{buildroot}/*
%check
-# tests require network access, disabled by default
-%{?_with_network_tests: make test}
+%if %{with perl_POE_Component_IRC_enables_network_test}
+make test
+%endif
%files
-%doc Changes README* docs/ examples/
+%license LICENSE
+%doc Changes docs/ examples/
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
+* Wed Sep 06 2017 Petr Pisar <ppisar(a)redhat.com> - 6.90-1
+- 6.90 bump
+
* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 6.88-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
diff --git a/sources b/sources
index bc2d0d0..8b124d4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-dd4f69687b51483b48462751d50dbf0c POE-Component-IRC-6.88.tar.gz
+SHA512 (POE-Component-IRC-6.90.tar.gz) = c8106bf740a60dc075f99df40c96f30232f69f1369ea5f68ce10636ab0640536ef2c806d73e721f21c21043ab7c386a1e54e099241bd52070648ffc9fd010750
https://src.fedoraproject.org/rpms/perl-POE-Component-IRC/c/1e8eb2b1ab38b...
6 years, 9 months
ppisar pushed to perl-POE-Component-IRC (master). "Run tests always
(..more)"
by notifications@fedoraproject.org
From b3355ce0ab9f001a829e43e25f4e906f49fe56b7 Mon Sep 17 00:00:00 2001
From: Petr Písař <ppisar(a)redhat.com>
Date: Sep 06 2017 11:12:01 +0000
Subject: Run tests always
The client runs agains a simulated server.
---
diff --git a/perl-POE-Component-IRC.spec b/perl-POE-Component-IRC.spec
index e9f047d..0bb3fc4 100644
--- a/perl-POE-Component-IRC.spec
+++ b/perl-POE-Component-IRC.spec
@@ -1,9 +1,3 @@
-# The tests for this perl dist. are disabled by default, as they
-# require network access and would thus fail in the buildsys' mock
-# environments. To build locally while enabling tests, either:
-#
-%bcond_with perl_POE_Component_IRC_enables_network_test
-
Name: perl-POE-Component-IRC
Summary: A POE component for building IRC clients
Version: 6.90
@@ -21,7 +15,6 @@ BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
BuildRequires: sed
-%if %{with perl_POE_Component_IRC_enables_network_test}
# Run-time:
BuildRequires: perl(base)
BuildRequires: perl(Carp)
@@ -67,7 +60,6 @@ BuildRequires: perl(Socket::GetAddrInfo)
BuildRequires: perl(Test::Differences) >= 0.61
BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(vars)
-%endif
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Requires: perl(IRC::Utils) >= 0.12
Requires: perl(List::Util) >= 1.33
@@ -114,9 +106,7 @@ make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/*
%check
-%if %{with perl_POE_Component_IRC_enables_network_test}
make test
-%endif
%files
%license LICENSE
https://src.fedoraproject.org/rpms/perl-POE-Component-IRC/c/b3355ce0ab9f0...
6 years, 9 months
jplesnik pushed to perl-Protocol-WebSocket (f27). "0.21 bump"
by notifications@fedoraproject.org
From e1020ced4492f1a7533cf25cca932e0c1d23df31 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik(a)redhat.com>
Date: Sep 06 2017 08:05:34 +0000
Subject: 0.21 bump
---
diff --git a/.gitignore b/.gitignore
index 0843b40..3a141b2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/Protocol-WebSocket-0.18.tar.gz
/Protocol-WebSocket-0.19.tar.gz
/Protocol-WebSocket-0.20.tar.gz
+/Protocol-WebSocket-0.21.tar.gz
diff --git a/perl-Protocol-WebSocket.spec b/perl-Protocol-WebSocket.spec
index 3d2070b..fd432ef 100644
--- a/perl-Protocol-WebSocket.spec
+++ b/perl-Protocol-WebSocket.spec
@@ -1,6 +1,6 @@
Name: perl-Protocol-WebSocket
-Version: 0.20
-Release: 4%{?dist}
+Version: 0.21
+Release: 1%{?dist}
Summary: WebSocket protocol
License: GPL+ or Artistic
Group: Development/Libraries
@@ -82,6 +82,9 @@ PERL5LIB=test_simple_patch/lib ./Build test
%{_bindir}/*
%changelog
+* Wed Sep 06 2017 Jitka Plesnikova <jplesnik(a)redhat.com> - 0.21-1
+- 0.21 bump
+
* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.20-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
diff --git a/sources b/sources
index 234b310..daf9a17 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ef663082cd975ae8098dd3de144ee21c Protocol-WebSocket-0.20.tar.gz
+SHA512 (Protocol-WebSocket-0.21.tar.gz) = 020c935d83e7eb4e013bbb806dfe49919f7307c889deaa3d87c390b16e8fed2d4b86b305b18d70b02126b09132b3af2b1cf54781e9a3cffa21cc6a44dd4ee282
https://src.fedoraproject.org/rpms/perl-Protocol-WebSocket/c/e1020ced4492...
6 years, 9 months
jplesnik pushed to perl-Protocol-WebSocket (master). "0.21 bump"
by notifications@fedoraproject.org
From e1020ced4492f1a7533cf25cca932e0c1d23df31 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik(a)redhat.com>
Date: Sep 06 2017 08:05:34 +0000
Subject: 0.21 bump
---
diff --git a/.gitignore b/.gitignore
index 0843b40..3a141b2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/Protocol-WebSocket-0.18.tar.gz
/Protocol-WebSocket-0.19.tar.gz
/Protocol-WebSocket-0.20.tar.gz
+/Protocol-WebSocket-0.21.tar.gz
diff --git a/perl-Protocol-WebSocket.spec b/perl-Protocol-WebSocket.spec
index 3d2070b..fd432ef 100644
--- a/perl-Protocol-WebSocket.spec
+++ b/perl-Protocol-WebSocket.spec
@@ -1,6 +1,6 @@
Name: perl-Protocol-WebSocket
-Version: 0.20
-Release: 4%{?dist}
+Version: 0.21
+Release: 1%{?dist}
Summary: WebSocket protocol
License: GPL+ or Artistic
Group: Development/Libraries
@@ -82,6 +82,9 @@ PERL5LIB=test_simple_patch/lib ./Build test
%{_bindir}/*
%changelog
+* Wed Sep 06 2017 Jitka Plesnikova <jplesnik(a)redhat.com> - 0.21-1
+- 0.21 bump
+
* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.20-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
diff --git a/sources b/sources
index 234b310..daf9a17 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ef663082cd975ae8098dd3de144ee21c Protocol-WebSocket-0.20.tar.gz
+SHA512 (Protocol-WebSocket-0.21.tar.gz) = 020c935d83e7eb4e013bbb806dfe49919f7307c889deaa3d87c390b16e8fed2d4b86b305b18d70b02126b09132b3af2b1cf54781e9a3cffa21cc6a44dd4ee282
https://src.fedoraproject.org/rpms/perl-Protocol-WebSocket/c/e1020ced4492...
6 years, 9 months
pghmcfc pushed to perl-IO-Socket-SSL (f27). "Update to 2.051 (..more)"
by notifications@fedoraproject.org
From 7481a58e0f0fe5ce480b5e14aeb919e5373f13fd Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul(a)city-fan.org>
Date: Sep 05 2017 15:12:26 +0000
Subject: Update to 2.051
- New upstream release 2.051
- syswrite: If SSL_write sets SSL_ERROR_SYSCALL but not $! (as seen with
OpenSSL 1.1.0 on Windows), set $! to EPIPE to propagate a useful error up
(GH#62)
---
diff --git a/IO-Socket-SSL-2.047-use-system-default-SSL-version.patch b/IO-Socket-SSL-2.047-use-system-default-SSL-version.patch
deleted file mode 100644
index 2703290..0000000
--- a/IO-Socket-SSL-2.047-use-system-default-SSL-version.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- lib/IO/Socket/SSL.pm
-+++ lib/IO/Socket/SSL.pm
-@@ -102,7 +102,7 @@ my $algo2digest = do {
- # global defaults
- my %DEFAULT_SSL_ARGS = (
- SSL_check_crl => 0,
-- SSL_version => 'SSLv23:!SSLv3:!SSLv2', # consider both SSL3.0 and SSL2.0 as broken
-+ SSL_version => '',
- SSL_verify_callback => undef,
- SSL_verifycn_scheme => undef, # fallback cn verification
- SSL_verifycn_publicsuffix => undef, # fallback default list verification
-@@ -2251,7 +2251,7 @@ sub new {
-
- my $ssl_op = $DEFAULT_SSL_OP;
-
-- my $ver;
-+ my $ver = '';
- for (split(/\s*:\s*/,$arg_hash->{SSL_version})) {
- m{^(!?)(?:(SSL(?:v2|v3|v23|v2/3))|(TLSv1(?:_?[12])?))$}i
- or croak("invalid SSL_version specified");
---- lib/IO/Socket/SSL.pod
-+++ lib/IO/Socket/SSL.pod
-@@ -967,11 +967,12 @@ protocol to the specified version.
- All values are case-insensitive. Instead of 'TLSv1_1' and 'TLSv1_2' one can
- also use 'TLSv11' and 'TLSv12'. Support for 'TLSv1_1' and 'TLSv1_2' requires
- recent versions of Net::SSLeay and openssl.
-+The default SSL_version is defined by the underlying cryptographic library.
-
- Independent from the handshake format you can limit to set of accepted SSL
- versions by adding !version separated by ':'.
-
--The default SSL_version is 'SSLv23:!SSLv3:!SSLv2' which means, that the
-+For example, 'SSLv23:!SSLv3:!SSLv2' means that the
- handshake format is compatible to SSL2.0 and higher, but that the successful
- handshake is limited to TLS1.0 and higher, that is no SSL2.0 or SSL3.0 because
- both of these versions have serious security issues and should not be used
diff --git a/IO-Socket-SSL-2.051-use-system-default-SSL-version.patch b/IO-Socket-SSL-2.051-use-system-default-SSL-version.patch
new file mode 100644
index 0000000..2e53011
--- /dev/null
+++ b/IO-Socket-SSL-2.051-use-system-default-SSL-version.patch
@@ -0,0 +1,36 @@
+--- lib/IO/Socket/SSL.pm
++++ lib/IO/Socket/SSL.pm
+@@ -102,7 +102,7 @@ my $algo2digest = do {
+ # global defaults
+ my %DEFAULT_SSL_ARGS = (
+ SSL_check_crl => 0,
+- SSL_version => 'SSLv23:!SSLv3:!SSLv2', # consider both SSL3.0 and SSL2.0 as broken
++ SSL_version => '',
+ SSL_verify_callback => undef,
+ SSL_verifycn_scheme => undef, # fallback cn verification
+ SSL_verifycn_publicsuffix => undef, # fallback default list verification
+@@ -2253,7 +2253,7 @@ sub new {
+
+ my $ssl_op = $DEFAULT_SSL_OP;
+
+- my $ver;
++ my $ver = '';
+ for (split(/\s*:\s*/,$arg_hash->{SSL_version})) {
+ m{^(!?)(?:(SSL(?:v2|v3|v23|v2/3))|(TLSv1(?:_?[12])?))$}i
+ or croak("invalid SSL_version specified");
+--- lib/IO/Socket/SSL.pod
++++ lib/IO/Socket/SSL.pod
+@@ -967,11 +967,12 @@ protocol to the specified version.
+ All values are case-insensitive. Instead of 'TLSv1_1' and 'TLSv1_2' one can
+ also use 'TLSv11' and 'TLSv12'. Support for 'TLSv1_1' and 'TLSv1_2' requires
+ recent versions of Net::SSLeay and openssl.
++The default SSL_version is defined by the underlying cryptographic library.
+
+ Independent from the handshake format you can limit to set of accepted SSL
+ versions by adding !version separated by ':'.
+
+-The default SSL_version is 'SSLv23:!SSLv3:!SSLv2' which means, that the
++For example, 'SSLv23:!SSLv3:!SSLv2' means that the
+ handshake format is compatible to SSL2.0 and higher, but that the successful
+ handshake is limited to TLS1.0 and higher, that is no SSL2.0 or SSL3.0 because
+ both of these versions have serious security issues and should not be used
diff --git a/perl-IO-Socket-SSL.spec b/perl-IO-Socket-SSL.spec
index 9078c17..e5be3b3 100644
--- a/perl-IO-Socket-SSL.spec
+++ b/perl-IO-Socket-SSL.spec
@@ -1,12 +1,12 @@
Name: perl-IO-Socket-SSL
-Version: 2.050
+Version: 2.051
Release: 1%{?dist}
Summary: Perl library for transparent SSL
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/IO-Socket-SSL/
Source0: http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-%{version...
Patch0: IO-Socket-SSL-2.045-use-system-default-cipher-list.patch
-Patch1: IO-Socket-SSL-2.047-use-system-default-SSL-version.patch
+Patch1: IO-Socket-SSL-2.051-use-system-default-SSL-version.patch
BuildArch: noarch
# Module Build
BuildRequires: coreutils
@@ -111,6 +111,12 @@ make test
%{_mandir}/man3/IO::Socket::SSL::Utils.3*
%changelog
+* Tue Sep 5 2017 Paul Howarth <paul(a)city-fan.org> - 2.051-1
+- Update to 2.051
+ - syswrite: If SSL_write sets SSL_ERROR_SYSCALL but not $! (as seen with
+ OpenSSL 1.1.0 on Windows), set $! to EPIPE to propagate a useful error up
+ (GH#62)
+
* Fri Aug 18 2017 Paul Howarth <paul(a)city-fan.org> - 2.050-1
- Update to 2.050
- Removed unnecessary settings of SSL_version and SSL_cipher_list from tests
diff --git a/sources b/sources
index 439477c..32b6d97 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (IO-Socket-SSL-2.050.tar.gz) = 49edda46df64a6f09485843ddae81db674d9f8c8a1a0a10638567367ca544372f4ccf6ef062add2fa960819c582e14c3f50db7d19a67af2523a2e26111a06b66
+SHA512 (IO-Socket-SSL-2.051.tar.gz) = 36b7c8b0369297fdbddf48aebab5646248718f5692b358074f6de4858a4a952d8c9ac0e398e9023805f923bb52c3b9e0605d3cd5b39d67d7cf12d38aa9ee6e78
https://src.fedoraproject.org/rpms/perl-IO-Socket-SSL/c/7481a58e0f0fe5ce4...
6 years, 9 months
pghmcfc pushed to perl-IO-Socket-SSL (master). "Update to 2.051
(..more)"
by notifications@fedoraproject.org
From 7481a58e0f0fe5ce480b5e14aeb919e5373f13fd Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul(a)city-fan.org>
Date: Sep 05 2017 15:12:26 +0000
Subject: Update to 2.051
- New upstream release 2.051
- syswrite: If SSL_write sets SSL_ERROR_SYSCALL but not $! (as seen with
OpenSSL 1.1.0 on Windows), set $! to EPIPE to propagate a useful error up
(GH#62)
---
diff --git a/IO-Socket-SSL-2.047-use-system-default-SSL-version.patch b/IO-Socket-SSL-2.047-use-system-default-SSL-version.patch
deleted file mode 100644
index 2703290..0000000
--- a/IO-Socket-SSL-2.047-use-system-default-SSL-version.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- lib/IO/Socket/SSL.pm
-+++ lib/IO/Socket/SSL.pm
-@@ -102,7 +102,7 @@ my $algo2digest = do {
- # global defaults
- my %DEFAULT_SSL_ARGS = (
- SSL_check_crl => 0,
-- SSL_version => 'SSLv23:!SSLv3:!SSLv2', # consider both SSL3.0 and SSL2.0 as broken
-+ SSL_version => '',
- SSL_verify_callback => undef,
- SSL_verifycn_scheme => undef, # fallback cn verification
- SSL_verifycn_publicsuffix => undef, # fallback default list verification
-@@ -2251,7 +2251,7 @@ sub new {
-
- my $ssl_op = $DEFAULT_SSL_OP;
-
-- my $ver;
-+ my $ver = '';
- for (split(/\s*:\s*/,$arg_hash->{SSL_version})) {
- m{^(!?)(?:(SSL(?:v2|v3|v23|v2/3))|(TLSv1(?:_?[12])?))$}i
- or croak("invalid SSL_version specified");
---- lib/IO/Socket/SSL.pod
-+++ lib/IO/Socket/SSL.pod
-@@ -967,11 +967,12 @@ protocol to the specified version.
- All values are case-insensitive. Instead of 'TLSv1_1' and 'TLSv1_2' one can
- also use 'TLSv11' and 'TLSv12'. Support for 'TLSv1_1' and 'TLSv1_2' requires
- recent versions of Net::SSLeay and openssl.
-+The default SSL_version is defined by the underlying cryptographic library.
-
- Independent from the handshake format you can limit to set of accepted SSL
- versions by adding !version separated by ':'.
-
--The default SSL_version is 'SSLv23:!SSLv3:!SSLv2' which means, that the
-+For example, 'SSLv23:!SSLv3:!SSLv2' means that the
- handshake format is compatible to SSL2.0 and higher, but that the successful
- handshake is limited to TLS1.0 and higher, that is no SSL2.0 or SSL3.0 because
- both of these versions have serious security issues and should not be used
diff --git a/IO-Socket-SSL-2.051-use-system-default-SSL-version.patch b/IO-Socket-SSL-2.051-use-system-default-SSL-version.patch
new file mode 100644
index 0000000..2e53011
--- /dev/null
+++ b/IO-Socket-SSL-2.051-use-system-default-SSL-version.patch
@@ -0,0 +1,36 @@
+--- lib/IO/Socket/SSL.pm
++++ lib/IO/Socket/SSL.pm
+@@ -102,7 +102,7 @@ my $algo2digest = do {
+ # global defaults
+ my %DEFAULT_SSL_ARGS = (
+ SSL_check_crl => 0,
+- SSL_version => 'SSLv23:!SSLv3:!SSLv2', # consider both SSL3.0 and SSL2.0 as broken
++ SSL_version => '',
+ SSL_verify_callback => undef,
+ SSL_verifycn_scheme => undef, # fallback cn verification
+ SSL_verifycn_publicsuffix => undef, # fallback default list verification
+@@ -2253,7 +2253,7 @@ sub new {
+
+ my $ssl_op = $DEFAULT_SSL_OP;
+
+- my $ver;
++ my $ver = '';
+ for (split(/\s*:\s*/,$arg_hash->{SSL_version})) {
+ m{^(!?)(?:(SSL(?:v2|v3|v23|v2/3))|(TLSv1(?:_?[12])?))$}i
+ or croak("invalid SSL_version specified");
+--- lib/IO/Socket/SSL.pod
++++ lib/IO/Socket/SSL.pod
+@@ -967,11 +967,12 @@ protocol to the specified version.
+ All values are case-insensitive. Instead of 'TLSv1_1' and 'TLSv1_2' one can
+ also use 'TLSv11' and 'TLSv12'. Support for 'TLSv1_1' and 'TLSv1_2' requires
+ recent versions of Net::SSLeay and openssl.
++The default SSL_version is defined by the underlying cryptographic library.
+
+ Independent from the handshake format you can limit to set of accepted SSL
+ versions by adding !version separated by ':'.
+
+-The default SSL_version is 'SSLv23:!SSLv3:!SSLv2' which means, that the
++For example, 'SSLv23:!SSLv3:!SSLv2' means that the
+ handshake format is compatible to SSL2.0 and higher, but that the successful
+ handshake is limited to TLS1.0 and higher, that is no SSL2.0 or SSL3.0 because
+ both of these versions have serious security issues and should not be used
diff --git a/perl-IO-Socket-SSL.spec b/perl-IO-Socket-SSL.spec
index 9078c17..e5be3b3 100644
--- a/perl-IO-Socket-SSL.spec
+++ b/perl-IO-Socket-SSL.spec
@@ -1,12 +1,12 @@
Name: perl-IO-Socket-SSL
-Version: 2.050
+Version: 2.051
Release: 1%{?dist}
Summary: Perl library for transparent SSL
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/IO-Socket-SSL/
Source0: http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-%{version...
Patch0: IO-Socket-SSL-2.045-use-system-default-cipher-list.patch
-Patch1: IO-Socket-SSL-2.047-use-system-default-SSL-version.patch
+Patch1: IO-Socket-SSL-2.051-use-system-default-SSL-version.patch
BuildArch: noarch
# Module Build
BuildRequires: coreutils
@@ -111,6 +111,12 @@ make test
%{_mandir}/man3/IO::Socket::SSL::Utils.3*
%changelog
+* Tue Sep 5 2017 Paul Howarth <paul(a)city-fan.org> - 2.051-1
+- Update to 2.051
+ - syswrite: If SSL_write sets SSL_ERROR_SYSCALL but not $! (as seen with
+ OpenSSL 1.1.0 on Windows), set $! to EPIPE to propagate a useful error up
+ (GH#62)
+
* Fri Aug 18 2017 Paul Howarth <paul(a)city-fan.org> - 2.050-1
- Update to 2.050
- Removed unnecessary settings of SSL_version and SSL_cipher_list from tests
diff --git a/sources b/sources
index 439477c..32b6d97 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (IO-Socket-SSL-2.050.tar.gz) = 49edda46df64a6f09485843ddae81db674d9f8c8a1a0a10638567367ca544372f4ccf6ef062add2fa960819c582e14c3f50db7d19a67af2523a2e26111a06b66
+SHA512 (IO-Socket-SSL-2.051.tar.gz) = 36b7c8b0369297fdbddf48aebab5646248718f5692b358074f6de4858a4a952d8c9ac0e398e9023805f923bb52c3b9e0605d3cd5b39d67d7cf12d38aa9ee6e78
https://src.fedoraproject.org/rpms/perl-IO-Socket-SSL/c/7481a58e0f0fe5ce4...
6 years, 9 months