aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2003-06-14 08:14:21 +0800
committerdougb <dougb@FreeBSD.org>2003-06-14 08:14:21 +0800
commit53112412a14d43281a7dd582bb4fa65de20d2c88 (patch)
treecee3fef7b6fba7810f7cdce356588acdb2df4c6f /net
parent73d49dd29e118f8a2a65483db5fddf478a7f1cc3 (diff)
downloadfreebsd-ports-gnome-53112412a14d43281a7dd582bb4fa65de20d2c88.tar.gz
freebsd-ports-gnome-53112412a14d43281a7dd582bb4fa65de20d2c88.tar.zst
freebsd-ports-gnome-53112412a14d43281a7dd582bb4fa65de20d2c88.zip
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.
Diffstat (limited to 'net')
-rw-r--r--net/p5-Net-DNS/Makefile3
-rw-r--r--net/p5-Net-DNS/distinfo2
-rw-r--r--net/p5-Net-DNS/files/patch-Makefile.Pl41
3 files changed, 23 insertions, 23 deletions
diff --git a/net/p5-Net-DNS/Makefile b/net/p5-Net-DNS/Makefile
index daa85219bbd0..0f9f15f04ec3 100644
--- a/net/p5-Net-DNS/Makefile
+++ b/net/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/net/p5-Net-DNS/distinfo b/net/p5-Net-DNS/distinfo
index 7eb8cab1f6cc..357e6b1030ae 100644
--- a/net/p5-Net-DNS/distinfo
+++ b/net/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/net/p5-Net-DNS/files/patch-Makefile.Pl b/net/p5-Net-DNS/files/patch-Makefile.Pl
index c17b347217f6..a1f36448325d 100644
--- a/net/p5-Net-DNS/files/patch-Makefile.Pl
+++ b/net/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);