Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > by-pkgid > eaf226f4357223790f617cae99d7ef65 > files > 5

perl-Net-DNS-0.59-1.2mdv2007.1.src.rpm

%define module	Net-DNS
%define name	perl-%{module}
%define version	0.59
%define subrel 2
%define release	%mkrel 1

Name:		%{name}
Version:	%{version}
Release:	%{release}
Summary:	Perl interface to the DNS resolver
License:	GPL or Artistic
Group:		Development/Perl
URL:		http://search.cpan.org/dist/%{module}
Source:		http://www.cpan.org/modules/by-module/Net/%{module}-%{version}.tar.bz2
Patch0:		perl-Net-DNS-0.59-CVE-2007-3409.patch
Patch1:		perl-Net-DNS-0.48-randomize-id.patch
Patch2:		perl-Net-DNS-deb-CVE-2007-6341.patch
BuildRequires:	perl-devel
BuildRequires:	perl(Digest::HMAC)
BuildRequires:	perl(Net::IP)
BuildRoot:	%{_tmppath}/%{name}-%{version}

%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.

%prep
%setup -q -n %{module}-%{version} 
%patch0 -p1 -b .cve-2007-3409
%patch1 -p1 -b .cve-2007-3377
%patch2 -p1 -b .cve-2007-6341

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null
%make

%check
%{__make} test

%install
rm -rf %{buildroot}
%makeinstall_std

%clean 
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README Changes
%{_mandir}/*/*
%{perl_vendorarch}/auto/Net
%{perl_vendorarch}/Net


%changelog
* Thu Mar 20 2008 Vincent Danen <vdanen@mandriva.com> 0.59-1.2mdv2007.1
- P2: security fix for CVE-2007-6341

* Thu Jul 12 2007 Vincent Danen <vdanen@mandriva.com> 0.59-1.1mdv2007.1
- P0: security fix for CVE-2007-3409
- P1: security fix for CVE-2007-3377

* Tue Nov 14 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.59-1mdv2007.0
+ Revision: 84016
- new version
- Import perl-Net-DNS



* Mon Jul 10 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.58-1mdv2007.0
- New version 0.58

* Wed Mar 01 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.57-1mdk
- New release 0.57

* Thu Dec 15 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.55-1mdk
- New release 0.55

* Wed Dec 14 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.54-1mdk
- New release 0.54

* Mon Oct 03 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.53-1mdk
- new version
- %%mkrel

* Tue Sep 27 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.52-2mdk
- rpmbuildupate aware
- spec cleanup
- better summary and description
- drop useless requires exception

* Fri Jul 15 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.52-1mdk
- 0.52

* Thu Jun 23 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.51-2mdk
- BuildRequires perl-Net-IP

* Tue Jun 14 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.51-1mdk
- 0.51

* Mon May 02 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.49-1mdk
- 0.49

* Tue Nov 16 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.48-3mdk
- rebuild for new perl

* Mon Aug 30 2004 Christiaan Welvaart <cjw@daneel.dyndns.org> 0.48-2mdk
- add BuildRequires: perl-Digest-HMAC

* Mon Aug 23 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.48-1mdk
- 0.48.
- Add make test.

* Thu Apr 15 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.47-1mdk
- 0.47.

* Fri Aug 22 2003 François Pons <fpons@mandrakesoft.com> 0.39-2mdk
- added requires exceptions on perl(Win32::Registry).

* Thu Aug 21 2003 François Pons <fpons@mandrakesoft.com> 0.39-1mdk
- removed noarch as there is now a shared object.
- 0.39.

* Thu Aug 14 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.34-3mdk
- rebuild for new perl
- don't use PREFIX
- use %%makeinstall_std macro

* Tue May 27 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.34-2mdk
- rebuild for new auto{prov,req}

* Fri Apr 18 2003 François Pons <fpons@mandrakesoft.com> 0.34-1mdk
- 0.34.

* Fri Jan 17 2003 François Pons <fpons@mandrakesoft.com> 0.33-1mdk
- 0.33.

* Thu Jan 16 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.30-2mdk
- build release

* Wed Nov 13 2002 Oden Eriksson <oden.eriksson@linux-mandrake.com> 0.30-1mdk
- new version

* Wed Jul 10 2002 Pixel <pixel@mandrakesoft.com> 0.14-2mdk
- rebuild for perl 5.8.0

* Fri Mar 01 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.14-1mdk
- 0.14

* Mon Nov 26 2001 Oden Eriksson <oden.eriksson@linux-mandrake.com> 0.12-1mdk
- initial cooker contrib.