rpms/perl-Net-DNS/devel perl-Net-DNS-bz437681.patch, NONE, 1.1 perl-Net-DNS.spec, 1.40, 1.41
Tom Callaway (spot)
fedora-extras-commits at redhat.com
Wed Apr 9 14:37:47 UTC 2008
Author: spot
Update of /cvs/pkgs/rpms/perl-Net-DNS/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17912
Modified Files:
perl-Net-DNS.spec
Added Files:
perl-Net-DNS-bz437681.patch
Log Message:
fix AF_INET6/PF_INET6 redefine noise (bz 437681)
perl-Net-DNS-bz437681.patch:
--- NEW FILE perl-Net-DNS-bz437681.patch ---
diff -up Net-DNS-0.63/lib/Net/DNS/Resolver/Base.pm.BAD Net-DNS-0.63/lib/Net/DNS/Resolver/Base.pm
--- Net-DNS-0.63/lib/Net/DNS/Resolver/Base.pm.BAD 2008-04-09 10:19:50.000000000 -0400
+++ Net-DNS-0.63/lib/Net/DNS/Resolver/Base.pm 2008-04-09 10:20:15.000000000 -0400
@@ -62,7 +62,7 @@ BEGIN {
# INET6 prior to 2.01 will not work; sorry.
eval {require IO::Socket::INET6; IO::Socket::INET6->VERSION("2.00");}
) {
- import Socket6;
+ use Socket6 (qw(getaddrinfo));
$has_inet6=1;
}else{
$has_inet6=0;
diff -up Net-DNS-0.63/lib/Net/DNS/Nameserver.pm.BAD Net-DNS-0.63/lib/Net/DNS/Nameserver.pm
--- Net-DNS-0.63/lib/Net/DNS/Nameserver.pm.BAD 2008-04-09 10:23:49.000000000 -0400
+++ Net-DNS-0.63/lib/Net/DNS/Nameserver.pm 2008-04-09 10:31:14.000000000 -0400
@@ -33,7 +33,7 @@ BEGIN {
} elsif ( eval {require Socket6;} &&
# INET6 earlier than V2.01 will not work; sorry.
eval {require IO::Socket::INET6; IO::Socket::INET6->VERSION("2.01");} ) {
- import Socket6;
+ import IO::Socket::INET6;
$has_inet6 = 1;
} else {
$has_inet6=0;
Index: perl-Net-DNS.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Net-DNS/devel/perl-Net-DNS.spec,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- perl-Net-DNS.spec 19 Mar 2008 09:09:14 -0000 1.40
+++ perl-Net-DNS.spec 9 Apr 2008 14:36:32 -0000 1.41
@@ -1,11 +1,12 @@
Name: perl-Net-DNS
Version: 0.63
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: DNS resolver modules for Perl
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://www.net-dns.org/
Source0: http://www.cpan.org/authors/id/O/OL/OLAF/Net-DNS-%{version}.tar.gz
+Patch0: perl-Net-DNS-bz437681.patch
BuildRequires: perl(Digest::HMAC), perl(ExtUtils::MakeMaker), perl(Test::More), perl(Net::IP)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Digest::BubbleBabble)
@@ -35,6 +36,7 @@
%prep
%setup -q -n Net-DNS-%{version}
+%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor --no-online-tests
@@ -80,6 +82,9 @@
%changelog
+* Wed Apr 9 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.63-2
+- fix AF_INET6/PF_INET6 redefine noise (bz 437681)
+
* Wed Mar 19 2008 Marcela Maslanova <mmaslano at redhat.com> - 0.63-1
- upgrade on new upstream version which fix CVE-2007-6341 - no security impact.
More information about the fedora-extras-commits
mailing list