head 1.13; access; symbols pkgsrc-2026Q1:1.13.0.108 pkgsrc-2026Q1-base:1.13 pkgsrc-2025Q4:1.13.0.106 pkgsrc-2025Q4-base:1.13 pkgsrc-2025Q3:1.13.0.104 pkgsrc-2025Q3-base:1.13 pkgsrc-2025Q2:1.13.0.102 pkgsrc-2025Q2-base:1.13 pkgsrc-2025Q1:1.13.0.100 pkgsrc-2025Q1-base:1.13 pkgsrc-2024Q4:1.13.0.98 pkgsrc-2024Q4-base:1.13 pkgsrc-2024Q3:1.13.0.96 pkgsrc-2024Q3-base:1.13 pkgsrc-2024Q2:1.13.0.94 pkgsrc-2024Q2-base:1.13 pkgsrc-2024Q1:1.13.0.92 pkgsrc-2024Q1-base:1.13 pkgsrc-2023Q4:1.13.0.90 pkgsrc-2023Q4-base:1.13 pkgsrc-2023Q3:1.13.0.88 pkgsrc-2023Q3-base:1.13 pkgsrc-2023Q2:1.13.0.86 pkgsrc-2023Q2-base:1.13 pkgsrc-2023Q1:1.13.0.84 pkgsrc-2023Q1-base:1.13 pkgsrc-2022Q4:1.13.0.82 pkgsrc-2022Q4-base:1.13 pkgsrc-2022Q3:1.13.0.80 pkgsrc-2022Q3-base:1.13 pkgsrc-2022Q2:1.13.0.78 pkgsrc-2022Q2-base:1.13 pkgsrc-2022Q1:1.13.0.76 pkgsrc-2022Q1-base:1.13 pkgsrc-2021Q4:1.13.0.74 pkgsrc-2021Q4-base:1.13 pkgsrc-2021Q3:1.13.0.72 pkgsrc-2021Q3-base:1.13 pkgsrc-2021Q2:1.13.0.70 pkgsrc-2021Q2-base:1.13 pkgsrc-2021Q1:1.13.0.68 pkgsrc-2021Q1-base:1.13 pkgsrc-2020Q4:1.13.0.66 pkgsrc-2020Q4-base:1.13 pkgsrc-2020Q3:1.13.0.64 pkgsrc-2020Q3-base:1.13 pkgsrc-2020Q2:1.13.0.60 pkgsrc-2020Q2-base:1.13 pkgsrc-2020Q1:1.13.0.40 pkgsrc-2020Q1-base:1.13 pkgsrc-2019Q4:1.13.0.62 pkgsrc-2019Q4-base:1.13 pkgsrc-2019Q3:1.13.0.58 pkgsrc-2019Q3-base:1.13 pkgsrc-2019Q2:1.13.0.56 pkgsrc-2019Q2-base:1.13 pkgsrc-2019Q1:1.13.0.54 pkgsrc-2019Q1-base:1.13 pkgsrc-2018Q4:1.13.0.52 pkgsrc-2018Q4-base:1.13 pkgsrc-2018Q3:1.13.0.50 pkgsrc-2018Q3-base:1.13 pkgsrc-2018Q2:1.13.0.48 pkgsrc-2018Q2-base:1.13 pkgsrc-2018Q1:1.13.0.46 pkgsrc-2018Q1-base:1.13 pkgsrc-2017Q4:1.13.0.44 pkgsrc-2017Q4-base:1.13 pkgsrc-2017Q3:1.13.0.42 pkgsrc-2017Q3-base:1.13 pkgsrc-2017Q2:1.13.0.38 pkgsrc-2017Q2-base:1.13 pkgsrc-2017Q1:1.13.0.36 pkgsrc-2017Q1-base:1.13 pkgsrc-2016Q4:1.13.0.34 pkgsrc-2016Q4-base:1.13 pkgsrc-2016Q3:1.13.0.32 pkgsrc-2016Q3-base:1.13 pkgsrc-2016Q2:1.13.0.30 pkgsrc-2016Q2-base:1.13 pkgsrc-2016Q1:1.13.0.28 pkgsrc-2016Q1-base:1.13 pkgsrc-2015Q4:1.13.0.26 pkgsrc-2015Q4-base:1.13 pkgsrc-2015Q3:1.13.0.24 pkgsrc-2015Q3-base:1.13 pkgsrc-2015Q2:1.13.0.22 pkgsrc-2015Q2-base:1.13 pkgsrc-2015Q1:1.13.0.20 pkgsrc-2015Q1-base:1.13 pkgsrc-2014Q4:1.13.0.18 pkgsrc-2014Q4-base:1.13 pkgsrc-2014Q3:1.13.0.16 pkgsrc-2014Q3-base:1.13 pkgsrc-2014Q2:1.13.0.14 pkgsrc-2014Q2-base:1.13 pkgsrc-2014Q1:1.13.0.12 pkgsrc-2014Q1-base:1.13 pkgsrc-2013Q4:1.13.0.10 pkgsrc-2013Q4-base:1.13 pkgsrc-2013Q3:1.13.0.8 pkgsrc-2013Q3-base:1.13 pkgsrc-2013Q2:1.13.0.6 pkgsrc-2013Q2-base:1.13 pkgsrc-2013Q1:1.13.0.4 pkgsrc-2013Q1-base:1.13 pkgsrc-2012Q4:1.13.0.2 pkgsrc-2012Q4-base:1.13 pkgsrc-2012Q3:1.12.0.30 pkgsrc-2012Q3-base:1.12 pkgsrc-2012Q2:1.12.0.28 pkgsrc-2012Q2-base:1.12 pkgsrc-2012Q1:1.12.0.26 pkgsrc-2012Q1-base:1.12 pkgsrc-2011Q4:1.12.0.24 pkgsrc-2011Q4-base:1.12 pkgsrc-2011Q3:1.12.0.22 pkgsrc-2011Q3-base:1.12 pkgsrc-2011Q2:1.12.0.20 pkgsrc-2011Q2-base:1.12 pkgsrc-2011Q1:1.12.0.18 pkgsrc-2011Q1-base:1.12 pkgsrc-2010Q4:1.12.0.16 pkgsrc-2010Q4-base:1.12 pkgsrc-2010Q3:1.12.0.14 pkgsrc-2010Q3-base:1.12 pkgsrc-2010Q2:1.12.0.12 pkgsrc-2010Q2-base:1.12 pkgsrc-2010Q1:1.12.0.10 pkgsrc-2010Q1-base:1.12 pkgsrc-2009Q4:1.12.0.8 pkgsrc-2009Q4-base:1.12 pkgsrc-2009Q3:1.12.0.6 pkgsrc-2009Q3-base:1.12 pkgsrc-2009Q2:1.12.0.4 pkgsrc-2009Q2-base:1.12 pkgsrc-2009Q1:1.12.0.2 pkgsrc-2009Q1-base:1.12 pkgsrc-2008Q4:1.11.0.34 pkgsrc-2008Q4-base:1.11 pkgsrc-2008Q3:1.11.0.32 pkgsrc-2008Q3-base:1.11 cube-native-xorg:1.11.0.30 cube-native-xorg-base:1.11 pkgsrc-2008Q2:1.11.0.28 pkgsrc-2008Q2-base:1.11 cwrapper:1.11.0.26 pkgsrc-2008Q1:1.11.0.24 pkgsrc-2008Q1-base:1.11 pkgsrc-2007Q4:1.11.0.22 pkgsrc-2007Q4-base:1.11 pkgsrc-2007Q3:1.11.0.20 pkgsrc-2007Q3-base:1.11 pkgsrc-2007Q2:1.11.0.18 pkgsrc-2007Q2-base:1.11 pkgsrc-2007Q1:1.11.0.16 pkgsrc-2007Q1-base:1.11 pkgsrc-2006Q4:1.11.0.14 pkgsrc-2006Q4-base:1.11 pkgsrc-2006Q3:1.11.0.12 pkgsrc-2006Q3-base:1.11 pkgsrc-2006Q2:1.11.0.10 pkgsrc-2006Q2-base:1.11 pkgsrc-2006Q1:1.11.0.8 pkgsrc-2006Q1-base:1.11 pkgsrc-2005Q4:1.11.0.6 pkgsrc-2005Q4-base:1.11 pkgsrc-2005Q3:1.11.0.4 pkgsrc-2005Q3-base:1.11 pkgsrc-2005Q2:1.11.0.2 pkgsrc-2005Q2-base:1.11 pkgsrc-2005Q1:1.6.0.2 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.2.0.18 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.16 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.14 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.12 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.10 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.2.0.6 netbsd-1-6-1-base:1.2 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.2 netbsd-1-4-PATCH003:1.2 netbsd-1-4-PATCH002:1.1.1.1 comdex-fall-1999:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.13 date 2012.10.23.20.49.38; author shattered; state Exp; branches; next 1.12; 1.12 date 2009.01.09.16.20.20; author shattered; state Exp; branches; next 1.11; 1.11 date 2005.05.24.07.43.08; author kleink; state Exp; branches; next 1.10; 1.10 date 2005.04.19.21.05.27; author kleink; state Exp; branches; next 1.9; 1.9 date 2005.04.13.23.03.59; author kleink; state Exp; branches; next 1.8; 1.8 date 2005.04.11.16.07.06; author kleink; state Exp; branches; next 1.7; 1.7 date 2005.04.11.15.38.16; author taca; state Exp; branches; next 1.6; 1.6 date 2005.01.29.17.45.35; author kim; state Exp; branches 1.6.2.1; next 1.5; 1.5 date 2005.01.27.20.38.02; author kleink; state Exp; branches; next 1.4; 1.4 date 2005.01.12.23.06.50; author kleink; state Exp; branches; next 1.3; 1.3 date 2005.01.12.04.42.18; author kim; state Exp; branches; next 1.2; 1.2 date 2000.08.12.06.29.14; author jlam; state Exp; branches; next 1.1; 1.1 date 99.10.05.14.17.15; author kim; state Exp; branches 1.1.1.1; next ; 1.6.2.1 date 2005.04.21.16.46.20; author salo; state Exp; branches; next ; 1.1.1.1 date 99.10.05.14.17.15; author kim; state Exp; branches; next ; desc @@ 1.13 log @Fix connection failures to WHOIS servers with IPv6 addresses from hosts without IPv6 connectivity. Patch taken from Debian bug report 542148. Also delint. @ text @$NetBSD: patch-aa,v 1.12 2009/01/09 16:20:20 shattered Exp $ --- example/jwhois.conf.orig 2007-03-26 09:12:08.000000000 +0000 +++ example/jwhois.conf @@@@ -94,6 +96,7 @@@@ whois-servers { "\\.no\\.com$" = "whois.centralnic.net"; "\\.qc\\.com$" = "whois.centralnic.net"; "\\.ru\\.com$" = "whois.centralnic.net"; + "\\.ru\\.net$" = "whois.relcom.ru"; "\\.sa\\.com$" = "whois.centralnic.net"; "\\.se\\.com$" = "whois.centralnic.net"; "\\.se\\.net$" = "whois.centralnic.net"; @@@@ -244,6 +256,9 @@@@ whois-servers { "\\.pw$" = "whois.nic.pw"; "\\.re$" = "whois.nic.re"; "\\.ro$" = "whois.rotld.ro"; + "\\.int.ru$" = "whois.int.ru"; + "\\.msk.ru$" = "whois.relcom.ru"; + "\\.spb.ru$" = "whois.relcom.ru"; "\\.ru$" = "whois.ripn.net"; "\\.rw$" = "www.nic.rw"; "\\.sa$" = "saudinic.net.sa"; @@@@ -256,6 +271,8 @@@@ whois-servers { "\\.sm$" = "whois.ripe.net"; "\\.sr$" = "whois.register.sr"; "\\.st$" = "whois.nic.st"; + "\\.msk.su$" = "whois.relcom.ru"; + "\\.spb.su$" = "whois.relcom.ru"; "\\.su$" = "whois.ripn.net"; "\\.tc$" = "whois.adamsnames.tc"; "\\.tf$" = "whois.afnic.fr"; @@@@ -490,6 +507,8 @@@@ cidr-blocks { "158.190.0.0/15" = "whois.ripe.net"; "158.192.0.0/14" = "whois.ripe.net"; "158.196.0.0/15" = "whois.ripe.net"; + "158.248.0.0/15" = "whois.ripe.net"; + "158.250.0.0/16" = "whois.ripe.net"; "159.147.0.0/16" = "whois.ripe.net"; "159.148.0.0/15" = "whois.ripe.net"; "160.216.0.0/14" = "whois.ripe.net"; @@@@ -947,7 +970,7 @@@@ server-options { # By default, the location of the database is /usr/local/var/jwhois.db and the # default expire time is 7 days, but you can change those below. # -#cachefile = "/var/lib/jwhois.db"; +#cachefile = "/var/db/jwhois.db"; # # This is the time after which an entry expires from the cache in hours. @@@@ -963,7 +986,7 @@@@ server-options { # # Path to the browser to use for HTTP servers. # -browser-pathname = "/usr/bin/lynx"; +browser-pathname = "@@PREFIX@@/bin/lynx"; # # Command line argument to browser to get output on stdout. @ 1.12 log @Update to 4.0, from PR 38500. Changes: * Many WHOIS data updates and translation updates; 4 new translations * Reset euid and egid to uid and gid before calling the user specified browser * Added support for libidn * Added patch to support conversion of whois server output to local charset. * Changed to GNU GPL v3 Local change: WHOIS servers for some geographical subdomains in .ru and .su TLDs. OK by wiz@@. @ text @d1 1 a1 1 $NetBSD$ d55 1 a55 1 +browser-pathname = "/usr/pkg/bin/lynx"; @ 1.11 log @Incorporate today's allocation of 2400:0000::/19 to APNIC, bringing us to jwhois-3.2.2nb18. @ text @d3 40 a42 143 --- example/jwhois.conf.orig 2003-06-30 19:16:45.000000000 +0200 +++ example/jwhois.conf 2005-05-24 09:40:34.000000000 +0200 @@@@ -55,7 +55,54 @@@@ "^[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"; + "^2001:1[AB][A-F0-9][A-F0-9]:.+" = "whois.ripe.net"; + "^2001:1[CD][A-F0-9][A-F0-9]:.+" = "whois.ripe.net"; + "^2001:1[EF][A-F0-9][A-F0-9]:.+" = "whois.ripe.net"; + "^2001:2[A-F0-9][A-F0-9][A-F0-9]:.+" = "whois.ripe.net"; + "^2001:3[A-B0-9][A-F0-9][A-F0-9]:.+" = "whois.ripe.net"; + "^2001:4[01][A-F0-9][A-F0-9]:.+" = "whois.ripe.net"; + "^2001:4[23][A-F0-9][A-F0-9]:.+" = "whois.arin.net"; + "^2001:4[45][A-F0-9][A-F0-9]:.+" = "whois.apnic.net"; + "^2001:4[67][A-F0-9][A-F0-9]:.+" = "whois.ripe.net"; + "^2001:4[89][A-F0-9][A-F0-9]:.+" = "whois.arin.net"; + "^2001:4[AB][A-F0-9][A-F0-9]:.+" = "whois.ripe.net"; + "^2001:4[CD][A-F0-9][A-F0-9]:.+" = "whois.ripe.net"; + # ... + "^2001:5[A-F0-9][A-F0-9][A-F0-9]:.+" = "whois.ripe.net"; + # ... + "^2001:[89][A-F0-9][A-F0-9][A-F0-9]:.+" = "whois.apnic.net"; + # ... + "^2003:[0?1-3][A-F0-9][A-F0-9][A-F0-9]:.+" = "whois.ripe.net"; + # ... + "^2400:[0?1][A-F0-9][A-F0-9][A-F0-9]:.+" = "whois.apnic.net"; + # ... + "^2600:0[0?1-3][A-F0-9][A-F0-9][A-F0-9]:.+" = "whois.arin.net"; + # ... + "^2604:0[0?1-3][A-F0-9][A-F0-9][A-F0-9]:.+" = "whois.arin.net"; + # ... + "^2608:0[0?1-3][A-F0-9][A-F0-9][A-F0-9]:.+" = "whois.arin.net"; + # ... + "^260C:0[0?1-3][A-F0-9][A-F0-9][A-F0-9]:.+" = "whois.arin.net"; + # ... + "^2A00:0[0-7][A-F0-9][A-F0-9]:.+" = "whois.ripe.net"; + + # + # Historical IPv6 catch-all # ".*:.*" = "whois.6bone.net"; @@@@ -147,7 +194,7 @@@@ "\\.ee$" = "whois.eenet.ee"; "\\.eg$" = "whois.ripe.net"; "\\.es$" = "www.nic.es"; - "\\.fi$" = "cgi.ficora.fi"; + "\\.fi$" = "whois.ficora.fi"; "\\.fj$" = "whois.usp.ac.fj"; "\\.fm$" = "www.dot.fm"; "\\.fo$" = "whois.ripe.net"; @@@@ -176,7 +223,7 @@@@ "\\.it$" = "whois.nic.it"; "\\.je$" = "whois.isles.net"; "\\.jp$" { - whois-server = "whois.nic.ad.jp"; + whois-server = "whois.jprs.jp"; query-format = "$* /e"; } "\\.kg$" = "whois.domain.kg"; @@@@ -242,7 +289,7 @@@@ "\\.to$" = "whois.tonic.to"; "\\.tr$" = "whois.metu.edu.tr"; "\\.tt$" = "www.nic.tt"; - "\\.tv$" = "whois.tv"; + "\\.tv$" = "whois.nic.tv"; "\\.tw$" = "whois.twnic.net"; "\\.ua$" = "whois.com.ua"; "\\.ug$" = "whois.co.ug"; @@@@ -365,12 +412,25 @@@@ "211.192.0.0/13" = "whois.nic.or.kr"; "24.232.0.0/16" = "whois.lacnic.net"; + "41.0.0.0/8" = "whois.afrinic.net"; "43.0.0.0/8" = "whois.v6nic.net"; + "58.0.0.0/8" = "whois.apnic.net"; + "59.0.0.0/8" = "whois.apnic.net"; + "60.0.0.0/8" = "whois.apnic.net"; "61.0.0.0/8" = "whois.apnic.net"; "62.0.0.0/8" = "whois.ripe.net"; "80.0.0.0/8" = "whois.ripe.net"; "81.0.0.0/8" = "whois.ripe.net"; "82.0.0.0/8" = "whois.ripe.net"; + "83.0.0.0/8" = "whois.ripe.net"; + "84.0.0.0/8" = "whois.ripe.net"; + "85.0.0.0/8" = "whois.ripe.net"; + "86.0.0.0/8" = "whois.ripe.net"; + "87.0.0.0/8" = "whois.ripe.net"; + "88.0.0.0/8" = "whois.ripe.net"; + "124.0.0.0/8" = "whois.apnic.net"; + "125.0.0.0/8" = "whois.apnic.net"; + "126.0.0.0/8" = "whois.apnic.net"; "150.217.0.0/16" = "whois.ripe.net"; "151.3.0.0/16" = "whois.ripe.net"; "151.4.0.0/15" = "whois.ripe.net"; @@@@ -491,6 +551,10 @@@@ whois-redirect = ".*Whois Server: \\(.*\\)"; } + "whois\\.nic\\.tv" { + whois-redirect = ".*Whois Server: \\(.*\\)"; + } + "whois\\.apnic\\.net" { whois-redirect = ".*http://\\(whois\\.nic\\.or\\.kr\\)/"; whois-redirect = ".*at \\([Ww][Hh][Oo][Ii][Ss]\\.[A-Za-z]*\\.[Nn][Ee][Tt]\\)"; @@@@ -693,14 +757,6 @@@@ form-element = "whois"; } - "cgi\\.ficora\\.fi" { - http = "true"; - http-method = "GET"; - http-action = "/wwwbin/domains.pl"; - form-element = "search"; - form-extra = "language=eng"; - } - "whois\\.lacnic\\.net" { whois-redirect = ".*\\(whois.nic.br\\)"; whois-redirect = ".*\\(whois.registro.br\\)"; @@@@ -724,10 +780,10 @@@@ # # The cache feature is used to provide a local cache with Whois information. -# By default, the location of the database is /usr/local/var/jwhois.db and the +# By default, the location of the database is /var/db/jwhois.db and the d50 1 a50 1 @@@@ -743,7 +799,7 @@@@ @ 1.10 log @Upgrade to jwhois-3.2.2nb17, incorporating today's allocations: 2A00:0000::/21 RIPE NCC 2600:0000::/22 ARIN 2604:0000::/22 ARIN 2608:0000::/22 ARIN 260C:0000::/22 ARIN @ text @d4 2 a5 2 +++ example/jwhois.conf 2005-04-19 22:59:57.000000000 +0200 @@@@ -55,7 +55,52 @@@@ d40 1 a40 1 + "^2001:[89A][A-F0-9][A-F0-9][A-F0-9]:.+" = "whois.apnic.net"; d44 2 d61 1 a61 1 @@@@ -147,7 +192,7 @@@@ d70 1 a70 1 @@@@ -176,7 +221,7 @@@@ d79 1 a79 1 @@@@ -242,7 +287,7 @@@@ d88 1 a88 1 @@@@ -365,12 +410,25 @@@@ d114 1 a114 1 @@@@ -491,6 +549,10 @@@@ d125 1 a125 1 @@@@ -693,14 +755,6 @@@@ d140 1 a140 1 @@@@ -724,10 +778,10 @@@@ d153 1 a153 1 @@@@ -743,7 +797,7 @@@@ @ 1.9 log @Update to jwhois-3.2.2nb16: 41/8 allocated to AfriNIC. @ text @d4 2 a5 2 +++ example/jwhois.conf 2005-04-14 01:00:39.000000000 +0200 @@@@ -55,7 +55,42 @@@@ d43 10 d59 1 a59 1 @@@@ -147,7 +182,7 @@@@ d68 1 a68 1 @@@@ -176,7 +211,7 @@@@ d77 1 a77 1 @@@@ -242,7 +277,7 @@@@ d86 1 a86 1 @@@@ -365,12 +400,25 @@@@ d112 1 a112 1 @@@@ -491,6 +539,10 @@@@ d123 1 a123 1 @@@@ -693,14 +745,6 @@@@ d138 1 a138 1 @@@@ -724,10 +768,10 @@@@ d151 1 a151 1 @@@@ -743,7 +787,7 @@@@ @ 1.8 log @58/8-60/8 -> APNIC; ride today's PKGREVISION bump. @ text @d1 2 d4 1 a4 1 +++ example/jwhois.conf 2005-04-11 18:02:28.000000000 +0200 d76 2 a77 1 @@@@ -366,11 +401,23 @@@@ d80 1 d102 1 a102 1 @@@@ -491,6 +538,10 @@@@ d113 1 a113 1 @@@@ -693,14 +744,6 @@@@ d128 1 a128 1 @@@@ -724,10 +767,10 @@@@ d141 1 a141 1 @@@@ -743,7 +786,7 @@@@ @ 1.7 log @Change whois server for jp domain; whois.nic.ad.jp => whois.jprs.jp. (whois.nic.ad.jp is still valid for IP address.) Bump PKGREVISION. @ text @d1 3 a3 5 $NetBSD: patch-aa,v 1.6 2005/01/29 17:45:35 kim Exp $ --- example/jwhois.conf.orig 2003-07-01 02:16:45.000000000 +0900 +++ example/jwhois.conf @@@@ -55,7 +55,42 @@@@ whois-servers { d47 1 a47 1 @@@@ -147,7 +182,7 @@@@ whois-servers { d56 1 a56 1 @@@@ -176,7 +211,7 @@@@ whois-servers { d65 1 a65 1 @@@@ -242,7 +277,7 @@@@ whois-servers { d74 9 a82 1 @@@@ -371,6 +406,15 @@@@ cidr-blocks { d98 1 a98 1 @@@@ -491,6 +535,10 @@@@ server-options { d109 1 a109 1 @@@@ -693,14 +741,6 @@@@ server-options { d124 1 a124 1 @@@@ -724,10 +764,10 @@@@ server-options { d137 1 a137 1 @@@@ -743,7 +783,7 @@@@ server-options { @ 1.6 log @Update .tv handling. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- example/jwhois.conf.orig 2003-06-30 13:16:45.000000000 -0400 +++ example/jwhois.conf 2005-01-29 12:36:50.000000000 -0500 @@@@ -55,7 +55,42 @@@@ d49 1 a49 1 @@@@ -147,7 +182,7 @@@@ d58 10 a67 1 @@@@ -242,7 +277,7 @@@@ d76 1 a76 1 @@@@ -371,6 +406,15 @@@@ d92 1 a92 1 @@@@ -491,6 +535,10 @@@@ d103 1 a103 1 @@@@ -693,14 +741,6 @@@@ d118 1 a118 1 @@@@ -724,10 +764,10 @@@@ d131 1 a131 1 @@@@ -743,7 +783,7 @@@@ @ 1.6.2.1 log @Pullup ticket 463 - requested by Takahiro Kambe jwhois update Revisions pulled up: - pkgsrc/net/jwhois/Makefile 1.50, 1.52-1.53 - pkgsrc/net/jwhois/distinfo 1.25-1.28 - pkgsrc/net/jwhois/patches/patch-aa 1.7-1.10 Module Name: pkgsrc Committed By: taca Date: Mon Apr 11 15:38:16 UTC 2005 Modified Files: pkgsrc/net/jwhois: Makefile distinfo pkgsrc/net/jwhois/patches: patch-aa Log Message: Change whois server for jp domain; whois.nic.ad.jp => whois.jprs.jp. (whois.nic.ad.jp is still valid for IP address.) Bump PKGREVISION. --- Module Name: pkgsrc Committed By: kleink Date: Mon Apr 11 16:07:06 UTC 2005 Modified Files: pkgsrc/net/jwhois: distinfo pkgsrc/net/jwhois/patches: patch-aa Log Message: 58/8-60/8 -> APNIC; ride today's PKGREVISION bump. --- Module Name: pkgsrc Committed By: kleink Date: Wed Apr 13 23:04:00 UTC 2005 Modified Files: pkgsrc/net/jwhois: Makefile distinfo pkgsrc/net/jwhois/patches: patch-aa Log Message: Update to jwhois-3.2.2nb16: 41/8 allocated to AfriNIC. --- Module Name: pkgsrc Committed By: kleink Date: Tue Apr 19 21:05:27 UTC 2005 Modified Files: pkgsrc/net/jwhois: Makefile distinfo pkgsrc/net/jwhois/patches: patch-aa Log Message: Upgrade to jwhois-3.2.2nb17, incorporating today's allocations: 2A00:0000::/21 RIPE NCC 2600:0000::/22 ARIN 2604:0000::/22 ARIN 2608:0000::/22 ARIN 260C:0000::/22 ARIN @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.10 2005/04/19 21:05:27 kleink Exp $ d3 3 a5 3 --- example/jwhois.conf.orig 2003-06-30 19:16:45.000000000 +0200 +++ example/jwhois.conf 2005-04-19 22:59:57.000000000 +0200 @@@@ -55,7 +55,52 @@@@ a42 10 + # ... + "^2600:0[0?1-3][A-F0-9][A-F0-9][A-F0-9]:.+" = "whois.arin.net"; + # ... + "^2604:0[0?1-3][A-F0-9][A-F0-9][A-F0-9]:.+" = "whois.arin.net"; + # ... + "^2608:0[0?1-3][A-F0-9][A-F0-9][A-F0-9]:.+" = "whois.arin.net"; + # ... + "^260C:0[0?1-3][A-F0-9][A-F0-9][A-F0-9]:.+" = "whois.arin.net"; + # ... + "^2A00:0[0-7][A-F0-9][A-F0-9]:.+" = "whois.ripe.net"; d49 1 a49 1 @@@@ -147,7 +192,7 @@@@ d58 1 a58 10 @@@@ -176,7 +221,7 @@@@ "\\.it$" = "whois.nic.it"; "\\.je$" = "whois.isles.net"; "\\.jp$" { - whois-server = "whois.nic.ad.jp"; + whois-server = "whois.jprs.jp"; query-format = "$* /e"; } "\\.kg$" = "whois.domain.kg"; @@@@ -242,7 +287,7 @@@@ d67 1 a67 11 @@@@ -365,12 +410,25 @@@@ "211.192.0.0/13" = "whois.nic.or.kr"; "24.232.0.0/16" = "whois.lacnic.net"; + "41.0.0.0/8" = "whois.afrinic.net"; "43.0.0.0/8" = "whois.v6nic.net"; + "58.0.0.0/8" = "whois.apnic.net"; + "59.0.0.0/8" = "whois.apnic.net"; + "60.0.0.0/8" = "whois.apnic.net"; "61.0.0.0/8" = "whois.apnic.net"; "62.0.0.0/8" = "whois.ripe.net"; d83 1 a83 1 @@@@ -491,6 +549,10 @@@@ d94 1 a94 1 @@@@ -693,14 +755,6 @@@@ d109 1 a109 1 @@@@ -724,10 +778,10 @@@@ d122 1 a122 1 @@@@ -743,7 +797,7 @@@@ @ 1.5 log @Reflect today's allocation of 124/8, 125/8 and 126/8 to APNIC. Bump to jwhois-3.2.2nb12. @ text @d3 2 a4 2 --- example/jwhois.conf.orig 2003-06-30 19:16:45.000000000 +0200 +++ example/jwhois.conf 2005-01-27 21:33:30.000000000 +0100 d58 9 d83 27 a109 1 @@@@ -724,10 +768,10 @@@@ d122 1 a122 1 @@@@ -743,7 +787,7 @@@@ @ 1.4 log @Incorporate Jan 12's allocation of 2003:0000::/18 to the RIPE NCC; ride today's PKGREVISION bump. @ text @d4 1 a4 1 +++ example/jwhois.conf 2005-01-12 23:58:07.000000000 +0100 d58 1 a58 1 @@@@ -371,6 +406,12 @@@@ d68 3 d74 1 a74 1 @@@@ -724,10 +765,10 @@@@ d87 1 a87 1 @@@@ -743,7 +784,7 @@@@ @ 1.3 log @Merge patch-ac into patch-aa (both patch the same file). Fix .fi lookup (there is a whois server since 2005-01-11). Point the default browser path to pkgsrc lynx. @ text @d3 3 a5 3 --- example/jwhois.conf.orig 2003-06-30 13:16:45.000000000 -0400 +++ example/jwhois.conf 2005-01-11 23:37:15.000000000 -0500 @@@@ -55,7 +55,40 @@@@ d41 2 d49 1 a49 1 @@@@ -147,7 +180,7 @@@@ d58 1 a58 1 @@@@ -371,6 +404,12 @@@@ d71 1 a71 1 @@@@ -724,10 +763,10 @@@@ d84 1 a84 1 @@@@ -743,7 +782,7 @@@@ @ 1.2 log @Update jwhois to 2.4.1. Update taken from PR#10772 by Wolfgang Rupprecht with substantial modifications. Changes from version 2.1: * Made it possible to use queries of the type foo@@HOST * Lots of information added to the example configuration file * Fixed a nasty bug that sometimes caused two extra bytes of output to be appended * Fixed the sample jwhois.conf * Added distribution of debian/ and macros/ * Support for redirection of a query to another server based on returned content from another * Support for cache functionality * Bugfixes for little-endian machines * Configuration parser rewritten -- you must now use \\ to get a single \. * ${datadir} no longer searched for global configuration file * i18n support added * Must enclose struct foo in " * Support for specifying CIDR blocks in the configuration file. * More advanced features added to the configuration file. * Port number separated from host names and IP numbers with space instead of colon in configuration file. * Support for IPv6 hosts @ text @d3 67 a69 3 --- example/jwhois.conf.orig Tue Jan 25 10:19:58 2000 +++ example/jwhois.conf Fri Aug 11 23:50:21 2000 @@@@ -209,10 +209,10 @@@@ d82 9 @ 1.1 log @Initial revision @ text @d3 3 a5 9 --- src/jwhois.c.orig Sun Sep 26 06:03:17 1999 +++ src/jwhois.c Tue Oct 5 09:48:03 1999 @@@@ -138,6 +138,7 @@@@ { struct jconfig *j; struct re_pattern_buffer rpb; + struct servent *sp = NULL; char *error, *host = DEFAULTHOST, *ret, *tmphost; int ind, port; d7 11 a17 17 @@@@ -165,7 +166,15 @@@@ } jconfig_end(); - port = htons(IPPORT_WHOIS); +#ifndef IPPORT_WHOIS +# define IPPORT_WHOIS 43 +#endif + + if ((sp = getservbyname("whois", "tcp")) == NULL) + port = htons(IPPORT_WHOIS); + else + port = sp->s_port; + if (strchr(host, ':')) { tmphost = (char *)strchr(host, ':'); @ 1.1.1.1 log @jwhois-2.1, a configurable whois client. forget about all those separate registries! @ text @@