Name: perl-Net-DNS Version: 0.72 Release: 6%{?dist} Summary: DNS resolver modules for Perl # lib/Net/DNS/RR/OPT.pm: MIT # netdns.c: ISC and MIT and BSD # rest: GPL+ or Artistic License: (GPL+ or Artistic) and BSD and ISC and MIT 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 # "memory leak in 0.72 of perl-Net-DNS", rhbz#1207802, rt#84601 Patch0: Net-DNS-0.72-Memory-leak.patch BuildRequires: %{_bindir}/iconv BuildRequires: perl BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Getopt::Long) BuildRequires: perl(IO::Socket) BuildRequires: perl(strict) # Run-time: BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(constant) BuildRequires: perl(Data::Dumper) %if ! (0%{?rhel} >= 7) # Digest::BubbleBabble is optional BuildRequires: perl(Digest::BubbleBabble) %endif BuildRequires: perl(Digest::HMAC_MD5) >= 1 # Digest::SHA is not used # DynaLoader not used BuildRequires: perl(Encode) BuildRequires: perl(Exporter) BuildRequires: perl(FileHandle) BuildRequires: perl(integer) BuildRequires: perl(IO::Select) BuildRequires: perl(IO::Socket::INET) # IO::Socket::INET6 is optional BuildRequires: perl(IO::Socket::INET6) BuildRequires: perl(MIME::Base64) >= 2.11 # Net::LibIDN is optional BuildRequires: perl(Net::LibIDN) BuildRequires: perl(overload) BuildRequires: perl(Socket) BuildRequires: perl(vars) # Win32::IPHelper is not needed # Win32::TieRegistry is not needed BuildRequires: perl(XSLoader) # Tests: BuildRequires: perl(File::Spec) BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::More) >= 0.18 # Optional tests: BuildRequires: perl(Test::Pod) >= 0.95 Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Digest::HMAC_MD5) >= 1 Requires: perl(Encode) Requires: perl(Exporter) Requires: perl(MIME::Base64) >= 2.11 Requires: perl(XSLoader) %{?perl_default_filter} # Do not export under-specified dependencies %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Digest::HMAC_MD5|MIME::Base64)\\)$ # Do not export under-specified provides %global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\((Net::DNS::Text)\\)$ %description Net::DNS is a collection of Perl modules that act as a Domain Name System (DNS) resolver. It allows the programmer to perform DNS queries that are beyond the capabilities of gethostbyname and gethostbyaddr. The programmer should be somewhat familiar with the format of a DNS packet and its various sections. See RFC 1035 or DNS and BIND (Albitz & Liu) for details. %package Nameserver Summary: DNS server for Perl Group: Development/Libraries License: GPL+ or Artistic %description Nameserver Instances of the "Net::DNS::Nameserver" class represent DNS server objects. %prep %setup -q -n Net-DNS-%{version} %patch0 chmod -x 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-online-tests make %{?_smp_mflags} OPTIMIZE="%{optflags}" %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' chmod -R u+w %{buildroot}/* %check make test %files %doc README Changes TODO demo %{perl_vendorarch}/Net/ %exclude %{perl_vendorarch}/Net/DNS/Resolver/cygwin.pm %exclude %{perl_vendorarch}/Net/DNS/Resolver/MSWin32.pm %{perl_vendorarch}/auto/Net/ %{_mandir}/man3/Net::DNS*.3* %exclude %{_mandir}/man3/Net::DNS::Resolver::cygwin.3* %exclude %{_mandir}/man3/Net::DNS::Resolver::MSWin32.3* # perl-Net-DNS-Nameserver %exclude %{perl_vendorarch}/Net/DNS/Nameserver.pm %exclude %{_mandir}/man3/Net::DNS::Nameserver* %files Nameserver %{perl_vendorarch}/Net/DNS/Nameserver.pm %{_mandir}/man3/Net::DNS::Nameserver* %changelog * Tue Mar 08 2016 Petr Šabata - 0.72-6 - Fix a memory leak, rhbz#1207802, rt#81942 * Fri Jan 24 2014 Daniel Mach - 0.72-5 - Mass rebuild 2014-01-24 * Fri Dec 27 2013 Daniel Mach - 0.72-4 - Mass rebuild 2013-12-27 * Wed May 22 2013 Petr Pisar - 0.72-3 - Add BSD, ISC, and MIT to licenses - Specify all dependencies * Thu Feb 14 2013 Fedora Release Engineering - 0.72-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jan 03 2013 Petr Pisar - 0.72-1 - 0.72 bump * Mon Dec 17 2012 Petr Šabata - 0.71-1 - 0.71 bump * Fri Dec 07 2012 Petr Pisar - 0.70-1 - 0.70 bump * Thu Dec 06 2012 Paul Howarth - 0.69-2 - Fix renamed Win32 excludes * Thu Dec 06 2012 Petr Šabata - 0.69-1 - 0.69 bump - Update source URL * Fri Aug 10 2012 Petr Pisar - 0.68-5 - Digest::BubbleBabble is not available in RHEL >= 7 * Fri Aug 10 2012 Petr Pisar - 0.68-4 - Correct dependencies * Fri Jul 20 2012 Fedora Release Engineering - 0.68-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jun 13 2012 Petr Pisar - 0.68-2 - Perl 5.16 rebuild * Thu Feb 02 2012 Petr Šabata - 0.68-1 - 0.68 bump - Spec cleanup - Package 'demo' as documentation * Fri Jan 13 2012 Fedora Release Engineering - 0.67-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Nov 16 2011 Marcela Mašláňová - 0.67-1 - update to 0.67 * Wed Jul 20 2011 Petr Sabata - 0.66-4 - Perl mass rebuild * Fri Jun 03 2011 Petr Sabata - 0.66-3 - Introduce IPv6 support and prevent interactive build (#710375) * Tue Feb 08 2011 Fedora Release Engineering - 0.66-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Oct 25 2010 Marcela Mašláňová - 0.66-1 - update * Tue May 04 2010 Marcela Maslanova - 0.65-3 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.65-2 - rebuild against perl 5.10.1 * Thu Sep 17 2009 Warren Togami - 0.65-1 - 0.65 * Sun Jul 26 2009 Fedora Release Engineering - 0.63-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.63-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon May 12 2008 Marcela Maslanova - 0.63-4 - 437681 remove previous patch and use upstream patch, which should solve all problems with noisy logs. * Wed Apr 9 2008 Tom "spot" Callaway - 0.63-3 - fix patch to not require Socket6 * Wed Apr 9 2008 Tom "spot" Callaway - 0.63-2 - fix AF_INET6/PF_INET6 redefine noise (bz 437681) * Wed Mar 19 2008 Marcela Maslanova - 0.63-1 - upgrade on new upstream version which fix CVE-2007-6341 - no security impact. * Wed Feb 27 2008 Tom "spot" Callaway - 0.61-7 - Rebuild for perl 5.10 (again) * Tue Feb 19 2008 Fedora Release Engineering - 0.61-6 - Autorebuild for GCC 4.3 * Thu Jan 31 2008 Tom "spot" Callaway - 0.61-5 - rebuild for new perl * Fri Dec 21 2007 Paul Howarth - 0.61-4 - Fix file ownership for Nameserver subpackage - Fix argument order for find with -depth * Fri Dec 14 2007 Robin Norwood - 0.61-3 - Split Nameserver.pm into subpackage, per recommendation from upstream maintainer Dick Franks. - Separates the server bits from the client bits. - Removes the dependancy on perl(Net::IP) from perl-Net-DNS - Add BR for perl(Test::Pod) and perl(Digest::BubbleBabble) * Wed Oct 24 2007 Robin Norwood - 0.61-2 - Update license tag - Convert Changes to utf-8 * Thu Aug 09 2007 Robin Norwood - 0.61-1 - Update to latest upstream version * Sat Jun 23 2007 Robin Norwood - 0.60-1 - Upgrade to latest upstream version - 0.60 * Thu Apr 05 2007 Robin Norwood - 0.59-2 - Resolves: bz#226270 - Fixed issues brought up during package review - BuildRequires should not require perl, and fixed the format. - Fixed the BuildRoot * Wed Sep 27 2006 Robin Norwood - 0.59-1 - Upgrade to upstream version 0.59 per bug #208315 * Mon Jul 17 2006 Jason Vas Dias - 0.58-1.fc6 - Upgrade to upstream version 0.58 * Wed Jul 12 2006 Jesse Keating - 0.57-1.1 - rebuild * Wed Mar 08 2006 Jason Vas Dias - 0.57-1 - Upgrade to upstream version 0.57 * Fri Feb 10 2006 Jesse Keating - 0.55-1.1.2 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 0.55-1.1.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Feb 03 2006 Jason Vas Dias - 0.55-1.1 - rebuild for new perl-5.8.8 * Mon Dec 19 2005 Jason Vas Dias - 0.55-1 - Upgrade to upstream version 0.55 * Fri Dec 16 2005 Jesse Keating - rebuilt for new gcc * Fri Dec 16 2005 Jesse Keating - rebuilt for new gcj * Sun Oct 30 2005 Warren Togami - 0.53-1 - 0.53 buildreq perl-Net-IP * Sat Apr 9 2005 Ville Skyttä - 0.49-2 - Explicitly disable tests requiring network access at build time. - Exclude Win32 and Cygwin specific modules. - More specfile cleanups. - Honor $RPM_OPT_FLAGS. * Sat Apr 02 2005 Robert Scheck 0.49-1 - upgrade to 0.49 and spec file cleanup (#153186) * Thu Mar 17 2005 Warren Togami 0.48-3 - reinclude ia64, thanks jvdias * Tue Mar 15 2005 Warren Togami 0.48-2 - exclude ia64 for now due to Bug #151127 * Mon Oct 11 2004 Warren Togami 0.48-1 - #119983 0.48 fixes bugs * Wed Sep 22 2004 Chip Turner 0.45-4 - rebuild * Thu Apr 29 2004 Chip Turner 0.45-3 - fix bug 122039 -- add filter-depends.sh to remove Win32 deps * Fri Apr 23 2004 Chip Turner 0.45-1 - bump, no longer noarch * Fri Feb 13 2004 Chip Turner 0.45-1 - update to 0.45 * Mon Oct 20 2003 Chip Turner 0.31-3.2 - fix interactive build issue * Mon Jan 27 2003 Chip Turner - version bump and rebuild * Tue Dec 10 2002 Chip Turner - update to latest version from CPAN * Tue Aug 6 2002 Chip Turner - automated release bump and build * Tue Aug 6 2002 Chip Turner - update to 0.26 * Thu Jun 27 2002 Chip Turner - description update * Sat Jun 15 2002 cturner@redhat.com - Specfile autogenerated