|
|
|
@ -1,27 +1,24 @@
|
|
|
|
|
Name: perl-Net-DNS
|
|
|
|
|
Version: 1.29
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 1.15
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: DNS resolver modules for Perl
|
|
|
|
|
# Other files: MIT
|
|
|
|
|
# demo/mresolv: GPL+ or Artistic
|
|
|
|
|
## Not in a binary package
|
|
|
|
|
# contrib/find_zonecut: GPL+ or Artistic
|
|
|
|
|
# contrib/check_soa: GPL+ or Artistic
|
|
|
|
|
# lib/Net/DNS/RR/RT.pm: GPL+ or Artistic
|
|
|
|
|
License: (GPL+ or Artistic) and MIT
|
|
|
|
|
URL: https://metacpan.org/release/Net-DNS
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-%{version}.tar.gz
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://www.net-dns.org/
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/N/NL/NLNETLABS/Net-DNS-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# Build
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: glibc-common
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: sed
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
BuildRequires: perl(Getopt::Long)
|
|
|
|
|
# IO::Socket::IP or IO::Socket::INET
|
|
|
|
|
BuildRequires: perl(IO::Socket::IP) >= 0.38
|
|
|
|
|
BuildRequires: perl(IO::Socket)
|
|
|
|
|
# Runtime
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
@ -44,10 +41,11 @@ BuildRequires: perl(FileHandle)
|
|
|
|
|
BuildRequires: perl(integer)
|
|
|
|
|
BuildRequires: perl(IO::File)
|
|
|
|
|
# IO::Select is not used
|
|
|
|
|
# Prefer IO::Socket::IP over IO::Socket::INET for IPv6 support
|
|
|
|
|
BuildRequires: perl(MIME::Base64) >= 2.13
|
|
|
|
|
# Prefer Net::LibIDN2 over Net::LibIDN, both are optional
|
|
|
|
|
BuildRequires: perl(Net::LibIDN2) >= 1
|
|
|
|
|
BuildRequires: perl(IO::Socket::INET)
|
|
|
|
|
# IO::Socket::INET6 is optional
|
|
|
|
|
BuildRequires: perl(MIME::Base64) >= 2.11
|
|
|
|
|
# Net::LibIDN is optional
|
|
|
|
|
# Net::LibIDN2 is optional
|
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
|
# PerlIO is optional
|
|
|
|
|
# Scalar::Util is optional
|
|
|
|
@ -58,37 +56,18 @@ BuildRequires: perl(warnings)
|
|
|
|
|
# Win32::IPHelper is not needed
|
|
|
|
|
# Win32::TieRegistry is not needed
|
|
|
|
|
# Tests only
|
|
|
|
|
BuildRequires: perl(File::Find) >= 1.05
|
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
|
BuildRequires: perl(Test::Builder)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
# Optional tests:
|
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.45
|
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
|
# Build cycle: perl-Net-DNS-SEC → perl-Net-DNS
|
|
|
|
|
BuildRequires: perl(Net::DNS::SEC) >= 1.01
|
|
|
|
|
BuildRequires: perl(Net::DNS::SEC::RSA)
|
|
|
|
|
%endif
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
|
Suggests: perl(Config)
|
|
|
|
|
Requires: perl(Data::Dumper)
|
|
|
|
|
# Digest::GOST not available
|
|
|
|
|
Requires: perl(Digest::HMAC) >= 1.03
|
|
|
|
|
Requires: perl(Digest::MD5) >= 2.13
|
|
|
|
|
Requires: perl(Digest::SHA) >= 5.23
|
|
|
|
|
Requires: perl(Encode)
|
|
|
|
|
# Prefer IO::Socket::IP over IO::Socket::INET for IPv6 support
|
|
|
|
|
Recommends: perl(IO::Socket::IP) >= 0.38
|
|
|
|
|
Requires: perl(MIME::Base64) >= 2.13
|
|
|
|
|
# Net::DNS::Extlang not available
|
|
|
|
|
Suggests: perl(Net::DNS::SEC::DSA)
|
|
|
|
|
# Net::DNS::SEC::ECCGOST not available
|
|
|
|
|
Suggests: perl(Net::DNS::SEC::ECDSA)
|
|
|
|
|
Suggests: perl(Net::DNS::SEC::EdDSA)
|
|
|
|
|
Suggests: perl(Net::DNS::SEC::Private)
|
|
|
|
|
Suggests: perl(Net::DNS::SEC::RSA)
|
|
|
|
|
# Prefer Net::LibIDN2 over Net::LibIDN, both are optional
|
|
|
|
|
Suggests: perl(Net::LibIDN2) >= 1
|
|
|
|
|
Suggests: perl(Scalar::Util) >= 1.25
|
|
|
|
|
Requires: perl(MIME::Base64) >= 2.11
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
@ -113,9 +92,8 @@ its various sections. See RFC 1035 or DNS and BIND (Albitz & Liu) for details.
|
|
|
|
|
|
|
|
|
|
%package Nameserver
|
|
|
|
|
Summary: DNS server for Perl
|
|
|
|
|
License: MIT
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
|
Recommends: perl(IO::Socket::IP) >= 0.32
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
|
|
|
|
|
%description Nameserver
|
|
|
|
|
Instances of the "Net::DNS::Nameserver" class represent DNS server objects.
|
|
|
|
@ -123,17 +101,22 @@ Instances of the "Net::DNS::Nameserver" class represent DNS server objects.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Net-DNS-%{version}
|
|
|
|
|
chmod -x demo/*
|
|
|
|
|
perl -MConfig -i -pe 's{^#!/usr/local/bin/perl}{$Config{startperl}}' demo/*
|
|
|
|
|
sed -i -e '1 s,^#!/usr/local/bin/perl,#!%{__perl},' demo/*
|
|
|
|
|
for i in Changes; do
|
|
|
|
|
iconv -f iso8859-1 -t utf-8 "$i" > "${i}.conv"
|
|
|
|
|
touch -r "$i" "${i}.iconv"
|
|
|
|
|
mv -f "${i}.conv" "$i"
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export PERL_MM_USE_DEFAULT=yes
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 --no-online-tests
|
|
|
|
|
%{make_build}
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 --no-online-tests
|
|
|
|
|
make %{?_smp_mflags} OPTIMIZE="%{optflags}"
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%{make_install}
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name '*.bs' -a -size 0 -delete
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
chmod -R u+w %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
@ -155,78 +138,8 @@ make test
|
|
|
|
|
%{_mandir}/man3/Net::DNS::Nameserver*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Oct 19 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-6
|
|
|
|
|
- Resolves: rhbz#2126689
|
|
|
|
|
|
|
|
|
|
* Thu Oct 13 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-5
|
|
|
|
|
- Related: rhbz#2126689
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.29-4
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.29-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Dec 04 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-1
|
|
|
|
|
- 1.29 bump
|
|
|
|
|
|
|
|
|
|
* Thu Nov 12 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.28-1
|
|
|
|
|
- 1.28 bump
|
|
|
|
|
|
|
|
|
|
* Wed Nov 4 2020 Paul Howarth <paul@city-fan.org> - 1.27-2
|
|
|
|
|
- Drop erroneous UTF-8 encoding conversion of Changes file (#1869049)
|
|
|
|
|
|
|
|
|
|
* Mon Sep 14 2020 Petr Pisar <ppisar@redhat.com> - 1.27-1
|
|
|
|
|
- 1.27 bump
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-4
|
|
|
|
|
- Perl 5.32 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-3
|
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Oct 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-1
|
|
|
|
|
- 1.21 bump
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.20-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.20-3
|
|
|
|
|
- Perl 5.30 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.20-2
|
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
|
|
|
|
|
* Wed May 22 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.20-1
|
|
|
|
|
- 1.20 bump
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Nov 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.19-1
|
|
|
|
|
- 1.19 bump
|
|
|
|
|
|
|
|
|
|
* Wed Oct 03 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.18-1
|
|
|
|
|
- 1.18 bump
|
|
|
|
|
|
|
|
|
|
* Tue Aug 07 2018 Petr Pisar <ppisar@redhat.com> - 1.17-1
|
|
|
|
|
- 1.17 bump
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.15-2
|
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.15-1
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Wed Feb 14 2018 Paul Wouters <pwouters@redhat.com> - 1.15
|
|
|
|
|
- Resolves rhbz#1544065 Update to 1.15 - Maintenance only
|
|
|
|
|