Name: perl-Net-Ping-External Version: 0.15 Release: 26%{?dist} Summary: Cross-platform interface to ICMP "ping" utilities License: GPL+ or Artistic URL: https://metacpan.org/release/Net-Ping-External Source0: https://cpan.metacpan.org/modules/by-module/Net/Net-Ping-External-%{version}.tar.gz # https://github.com/chorny/Net-Ping-External/issues/6 # Patch based on http://matthias.sdfeu.org/devel/net-ping-external-cmd-injection.patch Patch0: perl-Net-Ping-External-CVE-2008-7319.patch BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Net::Ping::External is a module which interfaces with the "ping" command on many systems. It presently provides a single function, ping(), that takes in a hostname and (optionally) a timeout and returns true if the host is alive, and false otherwise. Unless you have the ability (and willingness) to run your scripts as the superuser on your system, this module will probably provide more accurate results than Net::Ping will. %prep %setup -q -n Net-Ping-External-%{version} %patch0 -p1 -b .CVE-2008-7319 %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* for i in Changes README ToDo; do sed -i 's/\r//' "$i" done %check %{?_with_network_tests: make test } %files %doc Changes README ToDo %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.15-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 0.15-25 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.15-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.15-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.15-22 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.15-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.15-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 0.15-19 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.15-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.15-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 0.15-16 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.15-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.15-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 27 2018 Jitka Plesnikova - 0.15-13 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.15-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Nov 8 2017 Miloslav Trmač - 0.15-11 - Fix a command injection vulnerability (CVE-2008-7319) Resolves: #1510782 #1510785 * Thu Jul 27 2017 Fedora Release Engineering - 0.15-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.15-9 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.15-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.15-7 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.15-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.15-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 0.15-4 - Perl 5.22 rebuild * Wed Aug 27 2014 Jitka Plesnikova - 0.15-3 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Apr 19 2014 Miloslav Trmač - 0.15-1 - Update to 0.15 * Mon Nov 18 2013 Miloslav Trmač - 0.14-1 - Update to 0.14 * Sat Aug 03 2013 Fedora Release Engineering - 0.12-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 0.12-14 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.12-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.12-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 11 2012 Petr Pisar - 0.12-11 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.12-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Jun 20 2011 Marcela Mašláňová - 0.12-9 - Perl mass rebuild * Tue Jun 14 2011 Marcela Mašláňová - 0.12-8 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.12-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Dec 21 2010 Marcela Maslanova - 0.12-6 - 661697 rebuild for fixing problems with vendorach/lib * Tue May 04 2010 Marcela Maslanova - Mass rebuild with perl-5.12.0 - Drop no longer required references to BuildRoot * Mon Dec 7 2009 Stepan Kasal - 0.12-4 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 0.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Jul 30 2008 Miloslav Trmač 0.12-1 - Initial package.