summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2003-04-29 15:07:46 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2003-04-29 15:07:46 +0000
commit0a6d3130d02cf2998570a78eee61814c19013d82 (patch)
tree21c85ef6c6154e2c8d5144936e5c768607ebaffb /net
parentAdd option WITHOUT_NTLM. (diff)
Domain cache code not works - $domain was not set
Notes
Notes: svn path=/head/; revision=79874
Diffstat (limited to 'net')
-rw-r--r--net/p5-Net-XWhois/Makefile2
-rw-r--r--net/p5-Net-XWhois/files/patch-lib::Net::XWhois.pm10
2 files changed, 10 insertions, 2 deletions
diff --git a/net/p5-Net-XWhois/Makefile b/net/p5-Net-XWhois/Makefile
index 518f08b148cc..bdb32f30e981 100644
--- a/net/p5-Net-XWhois/Makefile
+++ b/net/p5-Net-XWhois/Makefile
@@ -7,7 +7,7 @@
PORTNAME= Net-XWhois
PORTVERSION= 0.90
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
diff --git a/net/p5-Net-XWhois/files/patch-lib::Net::XWhois.pm b/net/p5-Net-XWhois/files/patch-lib::Net::XWhois.pm
index ac970386ccf3..aeb6d348e8ed 100644
--- a/net/p5-Net-XWhois/files/patch-lib::Net::XWhois.pm
+++ b/net/p5-Net-XWhois/files/patch-lib::Net::XWhois.pm
@@ -1,5 +1,5 @@
--- lib/Net/XWhois.pm.orig Sun Oct 6 05:37:55 2002
-+++ lib/Net/XWhois.pm Tue Apr 29 09:54:06 2003
++++ lib/Net/XWhois.pm Tue Apr 29 19:01:59 2003
@@ -16,6 +16,7 @@
#
# Changes:
@@ -93,3 +93,11 @@
'tn' => 'whois.ripe.net', 'tr' => 'whois.ripe.net',
'tw' => 'whois.twnic.net',
'ua' => 'whois.ripe.net',
+@@ -557,6 +596,7 @@
+ $self->{ Domain }=~s/^www\.//; #trim leading www. if present; internic doesn't like it
+ print "looking up ", $self->{ Domain }, " on ", $self->{ Server }, "\n" if ($self->{ Verbose });
+
++ my $domain = $self->{ Domain };
+ #see if we already have a response in the cache, unless told not to
+ unless ( $self->{ Nocache } ) {
+ READCACHE: {