This commit is contained in:
Warren Togami 2009-09-17 15:36:57 +00:00
parent acb16f05b4
commit 0b02bc9db6
5 changed files with 7 additions and 70 deletions

View File

@ -1 +1 @@
Net-DNS-0.63.tar.gz
Net-DNS-0.65.tar.gz

View File

@ -1,24 +0,0 @@
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;
+ Socket6->import(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;

View File

@ -1,40 +0,0 @@
diff -up Net-DNS-0.63/lib/Net/DNS.pm.old Net-DNS-0.63/lib/Net/DNS.pm
--- Net-DNS-0.63/lib/Net/DNS.pm.old 2008-02-08 16:25:54.000000000 +0100
+++ Net-DNS-0.63/lib/Net/DNS.pm 2008-05-12 10:26:14.000000000 +0200
@@ -38,17 +38,32 @@ use vars qw(
BEGIN {
- require DynaLoader;
- require Exporter;
- @ISA = qw(Exporter DynaLoader);
+ require Exporter;
+ @ISA = qw(Exporter );
+# these need to live here because of dependencies further on.
+ @EXPORT = qw(mx yxrrset nxrrset yxdomain nxdomain rr_add rr_del);
+ @EXPORT_OK= qw(name2labels wire2presentation rrsort stripdot);
$VERSION = '0.63';
$SVNVERSION = (qw$LastChangedRevision: 710 $)[1];
$HAVE_XS = eval {
local $SIG{'__DIE__'} = 'DEFAULT';
- __PACKAGE__->bootstrap(); 1
+
+
+ eval {
+ require XSLoader;
+ XSLoader::load('Net::DNS', $VERSION);
+ 1;
+ } or do {
+
+ require DynaLoader;
+ push @ISA, 'DynaLoader';
+ bootstrap Net::DNS $VERSION;
+ 1;
+ };
+
} ? 1 : 0;
}

View File

@ -1,12 +1,11 @@
Name: perl-Net-DNS
Version: 0.63
Release: 6%{?dist}
Version: 0.65
Release: 1%{?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-upstream.patch
BuildRequires: perl(Digest::HMAC), perl(ExtUtils::MakeMaker), perl(Test::More), perl(Net::IP)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Digest::BubbleBabble)
@ -36,7 +35,6 @@ objects.
%prep
%setup -q -n Net-DNS-%{version}
%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor --no-online-tests
@ -82,6 +80,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Sep 17 2009 Warren Togami <wtogami@redhat.com> - 0.65-1
- 0.65
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.63-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

View File

@ -1 +1 @@
c46aad24af44d424a972bb59c3aa5f37 Net-DNS-0.63.tar.gz
54e5a12a20de39b954a93723927ac789 Net-DNS-0.65.tar.gz