diff options
author | ache <ache@FreeBSD.org> | 2002-03-05 20:22:57 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-03-05 20:22:57 +0800 |
commit | b1e2f7dc6d94a88667fc671a3fa217ab62abd130 (patch) | |
tree | 49600db270e2a4c267b965724d21b0f2bae0e760 /net | |
parent | e5ba149b18947010ccea0043412e23d0b23316c7 (diff) | |
download | freebsd-ports-gnome-b1e2f7dc6d94a88667fc671a3fa217ab62abd130.tar.gz freebsd-ports-gnome-b1e2f7dc6d94a88667fc671a3fa217ab62abd130.tar.zst freebsd-ports-gnome-b1e2f7dc6d94a88667fc671a3fa217ab62abd130.zip |
Fix for *.su/*.ru domains
Diffstat (limited to 'net')
-rw-r--r-- | net/p5-Net-XWhois/Makefile | 4 | ||||
-rw-r--r-- | net/p5-Net-XWhois/files/patch-lib::Net::XWhois.pm | 46 |
2 files changed, 50 insertions, 0 deletions
diff --git a/net/p5-Net-XWhois/Makefile b/net/p5-Net-XWhois/Makefile index 285213f3ae9e..4020734236b0 100644 --- a/net/p5-Net-XWhois/Makefile +++ b/net/p5-Net-XWhois/Makefile @@ -7,6 +7,7 @@ PORTNAME= Net-XWhois PORTVERSION= 0.82 +PORTREVISION= 1 CATEGORIES= net perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Net @@ -19,4 +20,7 @@ PERL_CONFIGURE= YES MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= Net::XWhois.3 +post-patch: + @find ${WRKSRC} -type f -name "*.orig" -exec rm -f "{}" ";" + .include <bsd.port.mk> diff --git a/net/p5-Net-XWhois/files/patch-lib::Net::XWhois.pm b/net/p5-Net-XWhois/files/patch-lib::Net::XWhois.pm new file mode 100644 index 000000000000..405aa0c3c0f9 --- /dev/null +++ b/net/p5-Net-XWhois/files/patch-lib::Net::XWhois.pm @@ -0,0 +1,46 @@ +--- lib/Net/XWhois.pm.orig Sat Jul 14 11:30:30 2001 ++++ lib/Net/XWhois.pm Tue Mar 5 15:18:05 2002 +@@ -124,6 +124,22 @@ + nameservers => 'Name servers:[\s\n]+(\S+)[\s\n]+(\S+)', + }, + ++ RIPN => { ++ name => 'domain:\s+(\S+)\n', ++ registrants => 'descr:\s+(.+?)\n', ++ contact_admin => 'admin-o:\s+(.*?)\s*\n', ++ contact_tech => 'tech-c:\s+(.*?)\s*\n', ++ nameservers => 'nserver:\s+(\S+)', ++ status => 'state:\s+(.*?)\s*\n', ++ changed => 'changed:\s+(.*?)\s*\n', ++ source => 'source:\s+(.*?)\s*\n', ++ person => 'person:\s+(.*?)\s*\n', ++ address => 'address:\s+(.+?)\n', ++ phone => 'phone:\s+(.+?)\n', ++ fax_no => 'fax-no:\s+(.+?)\n', ++ contact_emails => 'e-mail:\s+(.+?)\n', ++ }, ++ + NOMINET => { + name => 'omain Name:\s+(\S+)', + registrant => 'egistered For:\s*(.*?)\n', +@@ -202,6 +218,7 @@ + + my %WHOIS_PARSER = ( + 'whois.ripe.net' => 'RPSL', ++ 'whois.ripn.net' => 'RIPN', + 'whois.nic.mil' => 'INTERNIC', + 'whois.nic.ad.jp' => 'JAPAN', + 'whois.domainz.net.nz' => 'GENERIC', +@@ -254,10 +271,10 @@ + 'no' => 'whois.norid.no', 'nz' => 'whois.domainz.net.nz', + 'org' => 'whois.internic.net', + 'pl' => 'whois.ripe.net', 'pt' => 'whois.ripe.net', +- 'ro' => 'whois.ripe.net', 'ru' => 'whois.ripe.net', ++ 'ro' => 'whois.ripe.net', 'ru' => 'whois.ripn.net', + 'se' => 'whois.ripe.net', 'sg' => 'whois.nic.net.sg', + 'si' => 'whois.ripe.net', 'sk' => 'whois.ripe.net', +- 'sm' => 'whois.ripe.net', 'su' => 'whois.ripe.net', ++ 'sm' => 'whois.ripe.net', 'su' => 'whois.ripn.net', + 'tn' => 'whois.ripe.net', 'tr' => 'whois.ripe.net', + 'tw' => 'whois.twnic.net', + 'ua' => 'whois.ripe.net', |