summaryrefslogtreecommitdiff
path: root/net/jwhois
diff options
context:
space:
mode:
authorkleink <kleink>2003-10-18 20:32:32 +0000
committerkleink <kleink>2003-10-18 20:32:32 +0000
commit056e066959a950775c5c279584b51c9b1e7d5057 (patch)
treee464e9fa8fb12f40afa7d956b77b3cf09db6e311 /net/jwhois
parent06e44599a2d7f5a172d0d630c98016a861d1234c (diff)
downloadpkgsrc-056e066959a950775c5c279584b51c9b1e7d5057.tar.gz
Add hooks for IPv6 Sub-TLA assignments, bringing us to jwhois-3.2.2nb1.
These changes were submitted to the jwhois maintainers as bug #6007. Approved by: salo.
Diffstat (limited to 'net/jwhois')
-rw-r--r--net/jwhois/Makefile3
-rw-r--r--net/jwhois/distinfo3
-rw-r--r--net/jwhois/patches/patch-ac30
3 files changed, 34 insertions, 2 deletions
diff --git a/net/jwhois/Makefile b/net/jwhois/Makefile
index 6ef2a8f8d5f..44b76d5ebb5 100644
--- a/net/jwhois/Makefile
+++ b/net/jwhois/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.29 2003/09/16 09:24:57 agc Exp $
+# $NetBSD: Makefile,v 1.30 2003/10/18 20:32:32 kleink Exp $
#
DISTNAME= jwhois-3.2.2
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GNU:=jwhois/}
diff --git a/net/jwhois/distinfo b/net/jwhois/distinfo
index 795b683de5a..bfd59ebe367 100644
--- a/net/jwhois/distinfo
+++ b/net/jwhois/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2003/09/16 09:24:57 agc Exp $
+$NetBSD: distinfo,v 1.10 2003/10/18 20:32:32 kleink Exp $
SHA1 (jwhois-3.2.2.tar.gz) = ca69b017e19d378affd7cdc3a980f2209cb1caab
Size (jwhois-3.2.2.tar.gz) = 385390 bytes
SHA1 (patch-aa) = 649e4ff47b7ae8985573cd4bc53954d3cd4d5fe3
SHA1 (patch-ab) = e2b35b66adae6caba8a778194ff0238a31006b0b
+SHA1 (patch-ac) = 1b7b80ee52afaf110c761552a6fce76d4b60a5af
diff --git a/net/jwhois/patches/patch-ac b/net/jwhois/patches/patch-ac
new file mode 100644
index 00000000000..967737abb31
--- /dev/null
+++ b/net/jwhois/patches/patch-ac
@@ -0,0 +1,30 @@
+$NetBSD: patch-ac,v 1.1 2003/10/18 20:32:32 kleink Exp $
+
+--- example/jwhois.conf.orig 2003-10-17 21:38:46.000000000 +0200
++++ example/jwhois.conf 2003-10-17 21:38:57.000000000 +0200
+@@ -55,7 +55,24 @@
+ "^[0-9]+\\.[0-9]+\\.[0-9]+/[0-9]+-[0-9]+$" = "whois.nic.br";
+
+ #
+- # Redirect IPv6 numbers to the correct host
++ # Sub-TLA Assignments
++ # see http://www.iana.org/assignments/ipv6-tla-assignments
++ #
++ "^2001:0?[01][A-F0-9][A-F0-9]:.+" = "whois.iana.org";
++ "^2001:0?[23][A-F0-9][A-F0-9]:.+" = "whois.apnic.net";
++ "^2001:0?[45][A-F0-9][A-F0-9]:.+" = "whois.arin.net";
++ "^2001:0?[67][A-F0-9][A-F0-9]:.+" = "whois.ripe.net";
++ "^2001:0?[89][A-F0-9][A-F0-9]:.+" = "whois.ripe.net";
++ "^2001:0?[AB][A-F0-9][A-F0-9]:.+" = "whois.ripe.net";
++ "^2001:0?[CD][A-F0-9][A-F0-9]:.+" = "whois.apnic.net";
++ "^2001:0?[EF][A-F0-9][A-F0-9]:.+" = "whois.apnic.net";
++ "^2001:1[23][A-F0-9][A-F0-9]:.+" = "whois.lacnic.net";
++ "^2001:1[45][A-F0-9][A-F0-9]:.+" = "whois.ripe.net";
++ "^2001:1[67][A-F0-9][A-F0-9]:.+" = "whois.ripe.net";
++ "^2001:1[89][A-F0-9][A-F0-9]:.+" = "whois.arin.net";
++
++ #
++ # Historical IPv6 catch-all
+ #
+ ".*:.*" = "whois.6bone.net";
+