|
|
@ -1,23 +1,23 @@
|
|
|
|
%if 0%{?rhel} >= 9
|
|
|
|
%if 0%{?rhel} >= 9
|
|
|
|
%bcond_with perl_IO_Socket_SSL_test_unused_idn
|
|
|
|
%bcond_with perl_IO_Socket_SSL_test_unused_idn
|
|
|
|
%bcond_with perl_IO_Socket_SSL_test_IO_Socket_INET6
|
|
|
|
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%bcond_without perl_IO_Socket_SSL_test_unused_idn
|
|
|
|
%bcond_without perl_IO_Socket_SSL_test_unused_idn
|
|
|
|
%bcond_without perl_IO_Socket_SSL_test_IO_Socket_INET6
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%bcond_without perl_IO_Socket_SSL_test_IO_Socket_INET6
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-IO-Socket-SSL
|
|
|
|
Name: perl-IO-Socket-SSL
|
|
|
|
Version: 2.085
|
|
|
|
Version: 2.073
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Perl library for transparent SSL
|
|
|
|
Summary: Perl library for transparent SSL
|
|
|
|
License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND MPL-2.0
|
|
|
|
License: (GPL+ or Artistic) and MPLv2.0
|
|
|
|
URL: https://metacpan.org/release/IO-Socket-SSL
|
|
|
|
URL: https://metacpan.org/release/IO-Socket-SSL
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/IO/IO-Socket-SSL-%{version}.tar.gz
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/IO/IO-Socket-SSL-%{version}.tar.gz
|
|
|
|
Patch0: IO-Socket-SSL-2.084-use-system-default-cipher-list.patch
|
|
|
|
Patch0: IO-Socket-SSL-2.068-use-system-default-cipher-list.patch
|
|
|
|
Patch1: IO-Socket-SSL-2.084-use-system-default-SSL-version.patch
|
|
|
|
Patch1: IO-Socket-SSL-2.068-use-system-default-SSL-version.patch
|
|
|
|
# A test for Enable-Post-Handshake-Authentication-TLSv1.3-feature.patch,
|
|
|
|
# A test for Enable-Post-Handshake-Authentication-TLSv1.3-feature.patch,
|
|
|
|
# bug #1632660, requires openssl tool
|
|
|
|
# bug #1632660, requires openssl tool
|
|
|
|
Patch2: IO-Socket-SSL-2.080-Test-client-performs-Post-Handshake-Authentication.patch
|
|
|
|
Patch2: IO-Socket-SSL-2.066-Test-client-performs-Post-Handshake-Authentication.patch
|
|
|
|
|
|
|
|
Patch3: IO-Socket-SSL-2.068-openssl-1.1.1e.patch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
# Module Build
|
|
|
|
# Module Build
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: coreutils
|
|
|
@ -62,7 +62,8 @@ BuildRequires: perl(Net::LibIDN)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
BuildRequires: procps
|
|
|
|
BuildRequires: procps
|
|
|
|
# Dependencies
|
|
|
|
# Runtime
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: openssl-libs >= 0.9.8
|
|
|
|
Requires: openssl-libs >= 0.9.8
|
|
|
|
Requires: perl(Config)
|
|
|
|
Requires: perl(Config)
|
|
|
|
Requires: perl(HTTP::Tiny)
|
|
|
|
Requires: perl(HTTP::Tiny)
|
|
|
@ -83,16 +84,20 @@ mod_perl.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n IO-Socket-SSL-%{version}
|
|
|
|
%setup -q -n IO-Socket-SSL-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Allow building with OpenSSL 1.1.1e as the Fedora package has the
|
|
|
|
|
|
|
|
# problematic EOF handling change reverted
|
|
|
|
|
|
|
|
%patch3
|
|
|
|
|
|
|
|
|
|
|
|
# Use system-wide default cipher list to support use of system-wide
|
|
|
|
# Use system-wide default cipher list to support use of system-wide
|
|
|
|
# crypto policy (#1076390, #1127577, CPAN RT#97816)
|
|
|
|
# crypto policy (#1076390, #1127577, CPAN RT#97816)
|
|
|
|
# https://fedoraproject.org/wiki/Changes/CryptoPolicy
|
|
|
|
# https://fedoraproject.org/wiki/Changes/CryptoPolicy
|
|
|
|
%patch -P 0
|
|
|
|
%patch0
|
|
|
|
|
|
|
|
|
|
|
|
# Use system-default SSL version too
|
|
|
|
# Use system-default SSL version too
|
|
|
|
%patch -P 1
|
|
|
|
%patch1
|
|
|
|
|
|
|
|
|
|
|
|
# Add a test for PHA
|
|
|
|
# Add a test for PHA
|
|
|
|
%patch -P 2 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
NO_NETWORK_TESTING=1 perl Makefile.PL \
|
|
|
|
NO_NETWORK_TESTING=1 perl Makefile.PL \
|
|
|
@ -109,7 +114,7 @@ NO_NETWORK_TESTING=1 perl Makefile.PL \
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
# GPL-1.0-or-later OR Artistic-1.0-Perl
|
|
|
|
# GPL+ or Artistic
|
|
|
|
%doc BUGS Changes README docs/ example/
|
|
|
|
%doc BUGS Changes README docs/ example/
|
|
|
|
%dir %{perl_vendorlib}/IO/
|
|
|
|
%dir %{perl_vendorlib}/IO/
|
|
|
|
%dir %{perl_vendorlib}/IO/Socket/
|
|
|
|
%dir %{perl_vendorlib}/IO/Socket/
|
|
|
@ -121,141 +126,29 @@ make test
|
|
|
|
%{_mandir}/man3/IO::Socket::SSL.3*
|
|
|
|
%{_mandir}/man3/IO::Socket::SSL.3*
|
|
|
|
%{_mandir}/man3/IO::Socket::SSL::Intercept.3*
|
|
|
|
%{_mandir}/man3/IO::Socket::SSL::Intercept.3*
|
|
|
|
%{_mandir}/man3/IO::Socket::SSL::Utils.3*
|
|
|
|
%{_mandir}/man3/IO::Socket::SSL::Utils.3*
|
|
|
|
# MPL-2.0
|
|
|
|
# MPLv2.0
|
|
|
|
%{perl_vendorlib}/IO/Socket/SSL/PublicSuffix.pm
|
|
|
|
%{perl_vendorlib}/IO/Socket/SSL/PublicSuffix.pm
|
|
|
|
%{_mandir}/man3/IO::Socket::SSL::PublicSuffix.3*
|
|
|
|
%{_mandir}/man3/IO::Socket::SSL::PublicSuffix.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2.085-3
|
|
|
|
* Tue Jan 04 2022 Michal Josef Špaček <mspacek@redhat.com> - 2.073-1
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
- Update to 2.073, which has official support for OpenSSL 3.0.0
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
Related: rhbz#1968046
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2.085-2
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.070-6
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.085-2
|
|
|
|
* Wed Jun 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.070-5
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
- Rebuilt for RHEL 9 BETA for openssl 3.0
|
|
|
|
|
|
|
|
Related: rhbz#1971065
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 23 2024 Paul Howarth <paul@city-fan.org> - 2.085-1
|
|
|
|
* Tue Jun 08 2021 Michal Josef Špaček <mspacek@redhat.com> - 2.070-4
|
|
|
|
- Update to 2.085
|
|
|
|
- Remove failing tests in openssl 3.0.0-alpha16. Related: rhbz#1968046
|
|
|
|
- Fix test that failed due to behavior changes in OpenSSL 3.2 (GH#147)
|
|
|
|
- Provisional for mass rebuild of openssl3.
|
|
|
|
- Update PublicSuffix
|
|
|
|
|
|
|
|
- Add examples for TLS JA3/JA4 fingerprinting to tls_fingerprint/
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.070-3
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.084-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 7 2023 Paul Howarth <paul@city-fan.org> - 2.084-1
|
|
|
|
|
|
|
|
- Update to 2.084
|
|
|
|
|
|
|
|
- Various fixes for edge cases and build: GH#136, GH#141, GH#142, GH#143,
|
|
|
|
|
|
|
|
GH#145
|
|
|
|
|
|
|
|
- Update documentation to reflect default SSL_version
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.083-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 27 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2.083-2
|
|
|
|
|
|
|
|
- Disable optional IO::Socket::INET6 tests on ELN
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 18 2023 Paul Howarth <paul@city-fan.org> - 2.083-1
|
|
|
|
|
|
|
|
- Update to 2.083
|
|
|
|
|
|
|
|
- Fix t/protocol_version.t for OpenSSL versions that don't support SECLEVEL
|
|
|
|
|
|
|
|
(regression from GH#122)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 18 2023 Paul Howarth <paul@city-fan.org> - 2.082-1
|
|
|
|
|
|
|
|
- Update to 2.082
|
|
|
|
|
|
|
|
- SSL_version default now TLS 1.2+ since TLS 1.1 and lower are deprecated
|
|
|
|
|
|
|
|
(GH#122)
|
|
|
|
|
|
|
|
- Fix output of alert string when debugging (GH#132)
|
|
|
|
|
|
|
|
- Improve regex for hostname validation (GH#130, GH#126)
|
|
|
|
|
|
|
|
- Add can_ciphersuites subroutine for feature checking (GH#127)
|
|
|
|
|
|
|
|
- Utils::CERT_create - die if unexpected arguments are given instead of
|
|
|
|
|
|
|
|
ignoring these
|
|
|
|
|
|
|
|
- Avoid use of deprecated patch syntax
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 25 2023 Paul Howarth <paul@city-fan.org> - 2.081-1
|
|
|
|
|
|
|
|
- Update to 2.081
|
|
|
|
|
|
|
|
- New function set_msg_callback for user defined callback on each SSL message
|
|
|
|
|
|
|
|
- Showcase function in example/ssl_client.pl and example/ssl_server.pl for
|
|
|
|
|
|
|
|
computing JA3S/JA3 fingerprints
|
|
|
|
|
|
|
|
- Fix tracing added in 2.076 to no longer include SSL3_RT_HEADER (noise)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.080-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 18 2023 Paul Howarth <paul@city-fan.org> - 2.080-1
|
|
|
|
|
|
|
|
- Update to 2.080
|
|
|
|
|
|
|
|
- Move test certificates into t/ directory where they belong
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 16 2023 Paul Howarth <paul@city-fan.org> - 2.079-1
|
|
|
|
|
|
|
|
- Update to 2.079
|
|
|
|
|
|
|
|
- Properly extract IPv6 address for verification from PeerAddr if
|
|
|
|
|
|
|
|
not explicitly given as SSL_verifycn_name (GH#123)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Dec 12 2022 Paul Howarth <paul@city-fan.org> - 2.078-1
|
|
|
|
|
|
|
|
- Update to 2.078
|
|
|
|
|
|
|
|
- Revert decision from 2014 to not verify hostname by default if hostname is
|
|
|
|
|
|
|
|
IP address but no explicit verification scheme given (GH#121)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 21 2022 Paul Howarth <paul@city-fan.org> - 2.077-1
|
|
|
|
|
|
|
|
- Update to 2.077
|
|
|
|
|
|
|
|
- Fix memory leak in session cache (GH#118)
|
|
|
|
|
|
|
|
- More race conditions in tests fixed (GH#97)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 14 2022 Paul Howarth <paul@city-fan.org> - 2.076-1
|
|
|
|
|
|
|
|
- Update to 2.076
|
|
|
|
|
|
|
|
- Added curl like tracing (based on GH#117)
|
|
|
|
|
|
|
|
- Fixed race condition in t/sni_verify.t (GH#97)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Sep 3 2022 Paul Howarth <paul@city-fan.org> - 2.075-1
|
|
|
|
|
|
|
|
- Update to 2.075
|
|
|
|
|
|
|
|
- Treat SSL_write returning 0 same as previously -1, as suggested by both
|
|
|
|
|
|
|
|
OpenSSL and LibreSSL documentation
|
|
|
|
|
|
|
|
- Propagate error from SSL_shutdown, unless the shutdown is caused by an outer
|
|
|
|
|
|
|
|
SSL error, in which case keep the original error
|
|
|
|
|
|
|
|
- Small test fixes
|
|
|
|
|
|
|
|
- Use SPDX-format license tag
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.074-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2.074-3
|
|
|
|
|
|
|
|
- Perl 5.36 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.074-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jan 8 2022 Paul Howarth <paul@city-fan.org> - 2.074-1
|
|
|
|
|
|
|
|
- Update to 2.074
|
|
|
|
|
|
|
|
- Add SSL_ciphersuites option for TLS 1.3 ciphers
|
|
|
|
|
|
|
|
- No longer use own default for ciphers: instead, use system default but
|
|
|
|
|
|
|
|
disable some weak ciphers that might still be enabled on older systems
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Dec 23 2021 Paul Howarth <paul@city-fan.org> - 2.073-1
|
|
|
|
|
|
|
|
- Update to 2.073
|
|
|
|
|
|
|
|
- Fix behavior and tests for OpenSSL 3.0.1
|
|
|
|
|
|
|
|
- Fix GH#110 - prevent internal error warning in some cases
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 2.072-2
|
|
|
|
|
|
|
|
- Rebuilt with OpenSSL 3.0.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 17 2021 Paul Howarth <paul@city-fan.org> - 2.072-1
|
|
|
|
|
|
|
|
- Update to 2.072
|
|
|
|
|
|
|
|
- Add PEM_certs2file and PEM_file2certs in IO::Socket::SSL::Utils based on
|
|
|
|
|
|
|
|
idea in GH#101
|
|
|
|
|
|
|
|
- certs/*.p12 used for testing should now work with OpenSSL 3.0 too (GH#108)
|
|
|
|
|
|
|
|
- Update public suffix database
|
|
|
|
|
|
|
|
- Drop patch for building with OpenSSL 1.1.1e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.071-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 25 2021 Paul Howarth <paul@city-fan.org> - 2.071-1
|
|
|
|
|
|
|
|
- Update to 2.071
|
|
|
|
|
|
|
|
- Fix t/nonblock.t race on some systems (fixes GH#102, maybe GH#98 too)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.070-3
|
|
|
|
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 19 2021 Petr Pisar <ppisar@redhat.com> - 2.070-2
|
|
|
|
* Fri Mar 19 2021 Petr Pisar <ppisar@redhat.com> - 2.070-2
|
|
|
|
- Disable optional libidn tests on ELN
|
|
|
|
- Disable optional libidn tests on ELN
|
|
|
|