From 993954cd6c4d52534c7d19a7cb06d6eb36fdfee5 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 17 May 2022 05:59:42 -0400 Subject: [PATCH] import perl-IO-Socket-IP-0.41-5.el9 --- .gitignore | 1 + .perl-IO-Socket-IP.metadata | 1 + SOURCES/Makefile.PL | 26 ++++ SPECS/perl-IO-Socket-IP.spec | 291 +++++++++++++++++++++++++++++++++++ 4 files changed, 319 insertions(+) create mode 100644 .gitignore create mode 100644 .perl-IO-Socket-IP.metadata create mode 100644 SOURCES/Makefile.PL create mode 100644 SPECS/perl-IO-Socket-IP.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..36b8003 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/IO-Socket-IP-0.41.tar.gz diff --git a/.perl-IO-Socket-IP.metadata b/.perl-IO-Socket-IP.metadata new file mode 100644 index 0000000..7cfe6b7 --- /dev/null +++ b/.perl-IO-Socket-IP.metadata @@ -0,0 +1 @@ +0618286bd209c37c7a7eee0f6348d3f122fbe464 SOURCES/IO-Socket-IP-0.41.tar.gz diff --git a/SOURCES/Makefile.PL b/SOURCES/Makefile.PL new file mode 100644 index 0000000..ed6bdd7 --- /dev/null +++ b/SOURCES/Makefile.PL @@ -0,0 +1,26 @@ +use strict; +use warnings; + +use ExtUtils::MakeMaker; + +WriteMakefile( + 'NAME' => 'IO::Socket::IP', + 'VERSION_FROM' => 'lib/IO/Socket/IP.pm', + 'ABSTRACT_FROM' => 'lib/IO/Socket/IP.pm', + 'PREREQ_PM' => { + 'base' => '0', + 'Carp' => '0', + 'constant' => '0', + 'Errno' => '0', + 'IO::Socket' => 0, + 'POSIX' => '0', + 'Socket' => '1.97', + 'strict' => '0', + 'warnings' => '0', + }, + 'TEST_REQUIRES' => { + 'IO::Socket::INET' => '0', + 'Test::More' => '0.88', + }, + 'INSTALLDIRS' => 'site', +); diff --git a/SPECS/perl-IO-Socket-IP.spec b/SPECS/perl-IO-Socket-IP.spec new file mode 100644 index 0000000..0497022 --- /dev/null +++ b/SPECS/perl-IO-Socket-IP.spec @@ -0,0 +1,291 @@ +# Run optional test +%if ! (0%{?rhel}) +%bcond_without perl_IO_Socket_IP_enables_optional_test +%else +%bcond_with perl_IO_Socket_IP_enables_optional_test +%endif + +Name: perl-IO-Socket-IP +Version: 0.41 +Release: 5%{?dist} +Summary: Drop-in replacement for IO::Socket::INET supporting both IPv4 and IPv6 +License: GPL+ or Artistic +URL: https://metacpan.org/release/IO-Socket-IP +Source0: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/IO-Socket-IP-%{version}.tar.gz +# IO-Socket-IP-0.41 moved from ExtUtils::MakeMaker to Module::Build. +# It will make problems, because IO::Socket::IP is a dual-lived package and +# needs to be built very early on Perl bootstrap, but Module::Build is not +# a core package and thus not available in the early stage of bootstrapping. +# For this reason, we create Makefile.PL and use it instead of Build.PL. +Source1: Makefile.PL +BuildArch: noarch +# Build +BuildRequires: coreutils +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +# Runtime +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Errno) +BuildRequires: perl(IO::Socket) +BuildRequires: perl(POSIX) +BuildRequires: perl(Socket) >= 1.97 +BuildRequires: perl(strict) +buildrequires: perl(warnings) +# Tests only +BuildRequires: perl(IO::Socket::INET) +BuildRequires: perl(Test::More) +%if %{with perl_IO_Socket_IP_enables_optional_test} && !%{defined perl_bootstrap} +# Optional tests only +BuildRequires: perl(Socket6) +BuildRequires: perl(Test::Pod) >= 1.00 +%endif +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) + +%{?perl_default_filter} + +%description +This module provides a protocol-independent way to use IPv4 and IPv6 +sockets, intended as a replacement for IO::Socket::INET. Most constructor +arguments and methods are provided in a backward-compatible way. + +%prep +%setup -q -n IO-Socket-IP-%{version} +cp %{SOURCE1} . +chmod -x lib/IO/Socket/IP.pm + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} + +%install +%{make_install} +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%license LICENSE +%doc Changes examples README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 0.41-5 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 0.41-4 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.41-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Sep 17 2020 Jitka Plesnikova - 0.41-2 +- Create Makefile.PL, use ExtUtils::MakeMaker instead of Module::Build + +* Wed Sep 16 2020 Jitka Plesnikova - 0.41-1 +- 0.41 bump + +* Tue Jul 28 2020 Fedora Release Engineering - 0.39-458 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jun 26 2020 Jitka Plesnikova - 0.39-457 +- Perl 5.32 re-rebuild of bootstrapped packages + +* Mon Jun 22 2020 Jitka Plesnikova - 0.39-456 +- Increase release to favour standalone package + +* Thu Jan 30 2020 Fedora Release Engineering - 0.39-441 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.39-440 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Jun 02 2019 Jitka Plesnikova - 0.39-439 +- Perl 5.30 re-rebuild of bootstrapped packages + +* Thu May 30 2019 Jitka Plesnikova - 0.39-438 +- Increase release to favour standalone package + +* Fri Feb 01 2019 Fedora Release Engineering - 0.39-419 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.39-418 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sat Jun 30 2018 Jitka Plesnikova - 0.39-417 +- Perl 5.28 re-rebuild of bootstrapped packages + +* Wed Jun 27 2018 Jitka Plesnikova - 0.39-416 +- Increase release to favour standalone package + +* Thu Feb 08 2018 Fedora Release Engineering - 0.39-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.39-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Jun 07 2017 Jitka Plesnikova - 0.39-3 +- Perl 5.26 re-rebuild of bootstrapped packages + +* Sat Jun 03 2017 Jitka Plesnikova - 0.39-2 +- Perl 5.26 rebuild + +* Tue Mar 07 2017 Jitka Plesnikova - 0.39-1 +- 0.39 bump + +* Sat Feb 11 2017 Fedora Release Engineering - 0.38-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Aug 09 2016 Jitka Plesnikova - 0.38-1 +- 0.38 bump + +* Tue Jul 12 2016 Petr Pisar - 0.37-367 +- Migrate from Module::Build to ExtUtils::MakeMaker +- Correct IO/Socket/IP.pm file mode + +* Wed May 18 2016 Jitka Plesnikova - 0.37-366 +- Perl 5.24 re-rebuild of bootstrapped packages + +* Sat May 14 2016 Jitka Plesnikova - 0.37-365 +- Increase release to favour standalone package + +* Thu Feb 04 2016 Fedora Release Engineering - 0.37-348 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 0.37-347 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Jun 10 2015 Jitka Plesnikova - 0.37-346 +- Perl 5.22 re-rebuild of bootstrapped packages + +* Thu Jun 04 2015 Jitka Plesnikova - 0.37-345 +- Increase release to favour standalone package + +* Thu Jun 04 2015 Jitka Plesnikova - 0.37-2 +- Perl 5.22 rebuild + +* Fri Mar 13 2015 Petr Šabata - 0.37-1 +- 0.37 bump + +* Fri Jan 30 2015 Petr Šabata - 0.36-1 +- 0.36 bump +- Win32 changes only + +* Mon Jan 05 2015 Petr Šabata - 0.35-1 +- 0.35 bugfix bump + +* Fri Dec 12 2014 Petr Pisar - 0.34-2 +- Do not build-require non-core Socket6 module when bootstrapping this core + module + +* Fri Dec 05 2014 Petr Šabata - 0.34-1 +- 0.34 bump, VMS bugfixes + +* Tue Nov 25 2014 Petr Šabata - 0.33-1 +- 0.33 bump + +* Thu Sep 18 2014 Petr Šabata - 0.32-1 +- 0.32 bump, implement connect timeout + +* Wed Aug 27 2014 Jitka Plesnikova - 0.31-2 +- Perl 5.20 rebuild + +* Wed Jul 16 2014 Petr Šabata - 0.31-1 +- 0.31 bump + +* Wed Jul 09 2014 Petr Pisar - 0.30-2 +- Fix multihomed SSL (bug #1116600) + +* Mon Jul 07 2014 Petr Pisar - 0.30-1 +- 0.30 bump + +* Sat Jun 07 2014 Fedora Release Engineering - 0.29-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Feb 26 2014 Petr Šabata - 0.29-1 +- 0.29 bump + +* Wed Feb 12 2014 Petr Šabata - 0.28-1 +- 0.28 bump + +* Tue Jan 21 2014 Petr Šabata - 0.27-1 +- 0.27 bump, test suite enhancements only + +* Fri Jan 17 2014 Petr Šabata - 0.26-1 +- 0.26 bump + +* Fri Sep 20 2013 Jitka Plesnikova - 0.24-1 +- 0.24 bump + +* Mon Sep 16 2013 Petr Šabata - 0.23-1 +- 0.23 bump; smarter SO_REUSEPORT tests + +* Sat Aug 03 2013 Fedora Release Engineering - 0.22-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 31 2013 Petr Šabata - 0.22-1 +- 0.22 bump +- Test suite bugfix release + +* Thu Jul 18 2013 Petr Šabata - 0.21-3 +- Disable the SO_REUSEPORT test; koji builders don't support this feature yet + +* Thu Jul 18 2013 Petr Pisar - 0.21-2 +- Perl 5.18 rebuild + +* Mon Apr 29 2013 Petr Šabata - 0.21-1 +- 0.21 bump + +* Wed Apr 17 2013 Petr Šabata - 0.20-1 +- 0.20 bump + +* Tue Mar 12 2013 Petr Šabata - 0.19-1 +- 0.19 bump + +* Thu Feb 14 2013 Fedora Release Engineering - 0.18-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Nov 30 2012 Petr Šabata - 0.18-1 +- 0.18 bump + +* Thu Nov 15 2012 Petr Šabata - 0.17-2 +- Fix a typo, sort the deps + +* Wed Aug 22 2012 Petr Šabata - 0.17-1 +- 0.17 bump + +* Fri Jul 20 2012 Fedora Release Engineering - 0.16-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jun 28 2012 Petr Pisar - 0.16-2 +- Perl 5.16 rebuild + +* Mon Jun 25 2012 Petr Šabata - 0.16-1 +- 0.16 (IO::Socket::INET compatibility enhancement) + +* Thu Jun 21 2012 Petr Šabata - 0.15-1 +- 0.15 bump + +* Tue Jun 19 2012 Petr Šabata - 0.14-1 +- 0.14 bump + +* Mon Jun 11 2012 Petr Pisar - 0.11-2 +- Perl 5.16 rebuild + +* Wed Jun 06 2012 Petr Šabata - 0.11-1 +- 0.11 bump + +* Fri May 11 2012 Petr Šabata - 0.10-1 +- 0.10 bump + +* Wed Mar 14 2012 Petr Šabata - 0.09-1 +- 0.09 bump + +* Fri Jan 27 2012 Petr Šabata 0.08-1 +- Specfile autogenerated by cpanspec 1.78.