summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2003-06-14 00:14:21 +0000
committerDoug Barton <dougb@FreeBSD.org>2003-06-14 00:14:21 +0000
commit8b18ba997063dcbafd12a5726a4f9cc0f774d54f (patch)
tree61bb2ee73928f6c4ff949dc158ab28d6f0023071 /dns
parentA getopt(1) replacement that supports GNU-style long options (diff)
Update to version 0.38. Versions 0.3[567] all had various bugs with
either the Makefile.PL script, or other, and offered nothing new of interest. This version has a more efficient dn_expand method, and adds a warning that Resolver::axfr_old() is deprecated.
Notes
Notes: svn path=/head/; revision=82965
Diffstat (limited to 'dns')
-rw-r--r--dns/p5-Net-DNS/Makefile3
-rw-r--r--dns/p5-Net-DNS/distinfo2
-rw-r--r--dns/p5-Net-DNS/files/patch-Makefile.Pl41
3 files changed, 23 insertions, 23 deletions
diff --git a/dns/p5-Net-DNS/Makefile b/dns/p5-Net-DNS/Makefile
index daa85219bbd0..0f9f15f04ec3 100644
--- a/dns/p5-Net-DNS/Makefile
+++ b/dns/p5-Net-DNS/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Net-DNS
-PORTVERSION= 0.34
+PORTVERSION= 0.38
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
@@ -19,6 +19,7 @@ COMMENT= Perl5 interface to the DNS resolver, and dymanic updates
RUN_DEPENDS= ${SITE_PERL}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC
PERL_CONFIGURE= yes
+CONFIGURE_ARGS+=--pm
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
diff --git a/dns/p5-Net-DNS/distinfo b/dns/p5-Net-DNS/distinfo
index 7eb8cab1f6cc..357e6b1030ae 100644
--- a/dns/p5-Net-DNS/distinfo
+++ b/dns/p5-Net-DNS/distinfo
@@ -1 +1 @@
-MD5 (Net-DNS-0.34.tar.gz) = ef979460d952665f67d2c8474763156e
+MD5 (Net-DNS-0.38.tar.gz) = b33ebbd53029264816ca9fa894b59419
diff --git a/dns/p5-Net-DNS/files/patch-Makefile.Pl b/dns/p5-Net-DNS/files/patch-Makefile.Pl
index c17b347217f6..a1f36448325d 100644
--- a/dns/p5-Net-DNS/files/patch-Makefile.Pl
+++ b/dns/p5-Net-DNS/files/patch-Makefile.Pl
@@ -1,15 +1,13 @@
---- Makefile.PL.orig Mon Aug 5 13:06:55 2002
-+++ Makefile.PL Tue Aug 6 17:09:56 2002
-@@ -13,29 +13,29 @@
-
+--- Makefile.PL.orig Thu Jun 5 16:42:58 2003
++++ Makefile.PL Fri Jun 13 16:38:15 2003
+@@ -82,30 +82,30 @@
# Check if we have internet connection
- # (I lifted this code from LWP... many thanks for this and more!)
--require IO::Socket;
+ # (I lifted this code from LWP... )
+ #
-my $s = IO::Socket::INET->new(
- PeerAddr => "www.google.com:80",
- Timeout => 10,
-);
-+#require IO::Socket;
+#my $s = IO::Socket::INET->new(
+# PeerAddr => "www.google.com:80",
+# Timeout => 10,
@@ -17,12 +15,19 @@
-if ($s) {
- close($s);
--
++#if ($s) {
++# close($s);
++#
++# print <<EOT;
+
- print <<EOT;
--
++#You appear to be directly connected to the Internet. I have some tests
++#that try to query live nameservers.
+
-You appear to be directly connected to the Internet. I have some tests
-that try to query live nameservers.
--
++#EOT
+
-EOT
-
- if (prompt("Do you want to enable these tests?", "y") =~ /^y/i) {
@@ -31,24 +36,18 @@
- } else {
- unlink("t/online.enabled"); # just to be shure...
- }
+-} else {
+- unlink("t/online.enabled"); # just to be shure...
-}
-+#if ($s) {
-+# close($s);
-+#
-+# print <<EOT;
-+#
-+#You appear to be directly connected to the Internet. I have some tests
-+#that try to query live nameservers.
-+#
-+#EOT
-+#
+# if (prompt("Do you want to enable these tests?", "y") =~ /^y/i) {
+# open(ENABLED, ">t/online.enabled") || die "Can't touch ./t/online.enabled $!";
+# close(ENABLED);
+# } else {
+# unlink("t/online.enabled"); # just to be shure...
+# }
++#} else {
++# unlink("t/online.enabled"); # just to be shure...
+#}
- WriteMakefile(
+ WriteMakefile(%Makefile);