[-]
[+]
|
Changed |
whois.changes
|
|
[-]
[+]
|
Changed |
whois.spec
^
|
|
[-]
[+]
|
Deleted |
whois-5.0.6-no.patch
^
|
@@ -1,11 +0,0 @@
---- po/Makefile.orig 2010-01-27 13:41:24.000000000 +0100
-+++ po/Makefile 2010-06-17 21:22:59.202549830 +0200
-@@ -6,7 +6,7 @@
-
- PACKAGE = whois
-
--CATALOGS = cs.mo de.mo el.mo es.mo eu.mo fi.mo fr.mo it.mo ja.mo no.mo pl.mo pt_BR.mo ru.mo zh_CN.mo
-+CATALOGS = cs.mo de.mo el.mo es.mo eu.mo fi.mo fr.mo it.mo ja.mo nb.mo pl.mo pt_BR.mo ru.mo zh_CN.mo
-
- POTFILES=../whois.c ../mkpasswd.c
-
|
[-]
[+]
|
Deleted |
whois_5.0.16.tar.bz2/as32_del.h
^
|
@@ -1,5 +0,0 @@
-{ 131072, 196607, "whois.apnic.net" }, /* 2.0 2.65535 */
-{ 196608, 262143, "whois.ripe.net" }, /* 3.0 3.65535 */
-{ 262144, 327679, "whois.lacnic.net" }, /* 4.0 4.65535 */
-{ 327680, 393215, "whois.afrinic.net" }, /* 5.0 5.65535 */
-{ 393216, 458751, "whois.arin.net" }, /* 6.0 6.65535 */
|
|
Deleted |
whois_5.0.18.tar.bz2
^
|
[-]
[+]
|
Changed |
whois_5.0.20.tar.bz2/Makefile
^
|
@@ -63,10 +63,10 @@
$(CC) $(CPPFLAGS) $(CFLAGS) -c $<
whois: $(whois_OBJECTS)
- $(CC) $(LDFLAGS) -o $@ $^ $(whois_LDADD) $(LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(whois_LDADD) $(LIBS)
mkpasswd: $(mkpasswd_OBJECTS)
- $(CC) $(LDFLAGS) -o $@ $^ $(mkpasswd_LDADD) $(LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(mkpasswd_LDADD) $(LIBS)
##############################################################################
as_del.h: as_del_list make_as_del.pl
@@ -109,8 +109,8 @@
rm -f po/whois.pot
clean:
- rm -f Makefile.depend as_del.h ip_del.h ip6_del.h tld_serv.h \
- servers_charset.h *.o whois mkpasswd
+ rm -f Makefile.depend as_del.h as32_del.h ip_del.h ip6_del.h \
+ tld_serv.h servers_charset.h *.o whois mkpasswd
rm -f po/*.mo
pos:
|
[-]
[+]
|
Changed |
whois_5.0.20.tar.bz2/config.h
^
|
@@ -1,5 +1,5 @@
/* Program version */
-#define VERSION "5.0.16"
+#define VERSION "5.0.20"
/* Configurable features */
|
[-]
[+]
|
Changed |
whois_5.0.20.tar.bz2/data.h
^
|
@@ -31,7 +31,7 @@
const char *hide_strings[] = {
"NOTICE AND TERMS OF USE: You", "", /* NetSol */
"TERMS OF USE: You are not", "", /* crsnic */
- "NOTICE: Access to .ORG WHOIS", "",
+ "Access to .ORG WHOIS information", "",
"NOTICE: Access to the .aero", "",
"This Registry database contains ONLY .EDU", "type: help", /* edu */
"% .eu Whois Server", "% of the database",
|
[-]
[+]
|
Changed |
whois_5.0.20.tar.bz2/debian/changelog
^
|
@@ -1,3 +1,44 @@
+whois (5.0.20) unstable; urgency=low
+
+ * Updated the .by, .ng, .om, .sm, .tn, .ug and .vn TLD servers.
+ (Closes: #689486)
+ * Added the .bw, .td, .xn--mgb9awbf (عمان., Oman), .xn--mgberp4a5d4ar
+ (.السعودية, Saudi Arabia) and .xn--mgbx4cd0ab (ﻢﻠﻴﺴﻳﺍ., Malaysia)
+ TLD servers.
+ * Removed the .kp, .mc, .rw and .xn--mgba3a4f16a (ایران., Iran) TLD servers.
+
+ -- Marco d'Itri <md@linux.it> Sun, 07 Oct 2012 01:25:05 +0200
+
+whois (5.0.19) unstable; urgency=low
+
+ * Added the .post TLD server.
+ * Updated the .co.za SLD servers. (Closes: #687094)
+ * Added the .alt.za, .net.za and .web.za SLD servers.
+ * whois.ua changed (?) the encoding to utf-8. (Closes: #686715)
+ * Fixed the parsing of 6to4 addresses like whois 2002:xxxx::. (LP#967311)
+ * Modified the package version check in debian/rules to help Ubuntu
+ maintainers. (Closes: #684526)
+
+ -- Marco d'Itri <md@linux.it> Mon, 17 Sep 2012 21:41:29 +0200
+
+whois (5.0.18) unstable; urgency=low
+
+ * Updated the .ae and .xn--mgbaam7a8h (.امارات, United Arabs Emirates)
+ TLDs.
+ * Updated the server charset table for .fr and .it.
+
+ -- Marco d'Itri <md@linux.it> Sun, 22 Jul 2012 20:35:18 +0200
+
+whois (5.0.17) unstable; urgency=medium
+
+ * Updated the .bi, .fo, .gr and .gt TLD servers.
+ * Changed the version check in debian/rules to support Ubuntu backports.
+ (Closes: #671097)
+ * Removed support for recursion of .org queries, it has been a thick
+ registry since 2005. (Closes: #678734)
+
+ -- Marco d'Itri <md@linux.it> Mon, 25 Jun 2012 03:34:36 +0200
+
whois (5.0.16) unstable; urgency=medium
* Added the .xn--80ao21a (.ҚАЗ, Kazakhstan) TLD server.
|
[-]
[+]
|
Changed |
whois_5.0.20.tar.bz2/debian/rules
^
|
@@ -4,9 +4,9 @@
DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
-D := $(shell pwd)/debian/whois
+D := $(CURDIR)/debian/whois
-VERSION := $(shell dpkg-parsechangelog | sed -n 's/ubuntu[0-9]*$$//; s/\+.*$$//; /^Version/s/.* //p')
+VERSION := $(shell dpkg-parsechangelog | sed -n 's/~*ubuntu[0-9]*.*$$//; s/\+.*$$//; /^Version/s/.* //p')
build:
dh_testdir
|
[-]
[+]
|
Changed |
whois_5.0.20.tar.bz2/make_tld_serv.pl
^
|
@@ -15,7 +15,6 @@
$b =~ s/^W(?:EB)?\s+/\\x01/;
$b =~ s/^VERISIGN\s+/\\x04/;
$b = "\\x03" if $b eq 'NONE';
- $b = "\\x07" if $b eq 'PIR';
$b = "\\x08" if $b eq 'AFILIAS';
$b = "\\x0C" if $b eq 'ARPA';
print qq( "$a",\t"$b",\n);
|
[-]
[+]
|
Changed |
whois_5.0.20.tar.bz2/servers_charset_list
^
|
@@ -3,7 +3,7 @@
whois.cat utf-8 -C UTF-8
whois.museum utf-8 -C UTF-8
-whois.aeda.ae utf-8
+whois.aeda.net.ae utf-8
whois.nic.br iso-8859-1
whois.cira.ca iso-8859-1
whois.nic.ch utf-8
@@ -17,12 +17,14 @@
whois.eenet.ee iso-8859-1
whois.eu utf-8
whois.ficora.fi iso-8859-1
-whois.nic.fr iso-8859-1
+whois.nic.fo utf-8
+whois.nic.fr utf-8
whois.hkirc.hk utf-8
whois.nic.hr utf-8
whois.nic.hu iso-8859-1
whois.nic.ir utf-8
whois.isnic.is iso-8859-1
+whois.nic.it utf-8
whois.jprs.jp iso-2022-jp
whois.nic.ad.jp iso-2022-jp
whois.nic.or.kr euc-kr
@@ -46,6 +48,7 @@
whois.nic.tr utf-8
whois.twnic.net.tw utf-8
whois.pp.ua utf-8
-whois.ua koi8-u
+whois.tn windows-1252
+whois.ua utf-8
whois.nic.org.uy utf-8
|
[-]
[+]
|
Changed |
whois_5.0.20.tar.bz2/tld_serv_list
^
|
@@ -1,4 +1,5 @@
# http://www.iana.org/domains/root/db/
+# http://www.icann.org/en/resources/idn/fast-track/string-evaluation-completion
# NIC? means I have not been able to find the registry
.br.com whois.centralnic.net
@@ -30,7 +31,7 @@
.eu.org whois.eu.org
.za.org whois.za.org
-.org PIR
+.org whois.pir.org
.edu whois.educause.net
.gov whois.nic.gov
@@ -51,6 +52,7 @@
.mobi whois.dotmobiregistry.net
.museum whois.museum
.name whois.nic.name
+.post whois.dotpostregistry.net
.pro whois.registrypro.pro
.tel whois.nic.tel
.travel whois.nic.travel
@@ -58,7 +60,7 @@
.ac whois.nic.ac
.ad NONE # www.nic.ad
-.ae whois.aeda.ae
+.ae whois.aeda.net.ae
.af whois.nic.af
.ag whois.nic.ag
.ai whois.ai
@@ -72,17 +74,17 @@
.priv.at whois.nic.priv.at # "unofficial" SLD
.at whois.nic.at
.au whois.ausregistry.net.au
-.aw NONE # http://www.setarnet.aw/domreg.html
+.aw NONE # http://setar.aw/internet/domain-registration.html
.ax NONE # www.ax
-.az WEB http://www.nic.az/AzCheck.htm
+.az WEB http://www.nic.az/
.ba WEB http://www.nic.ba/stream/whois/
.bb WEB http://whois.telecoms.gov.bb/search_domain.php
.bd WEB http://whois.btcl.net.bd/
.be whois.dns.be
-.bf NONE # http://www.artel.bf/ http://www.onatel.bf/internet/domaine.htm
+.bf NONE # http://www.arce.bf/ http://www.onatel.bf/internet/domaine.htm
.bg whois.register.bg
.bh NONE # www.inet.com.bh
-.bi WEB http://whois.nic.bi/register/whois.hei # whois.nic.bi wrong referral?
+.bi WEB https://whois.nic.bi/whois.php # whois.nic.bi wrong referral?
.bj whois.nic.bj
#.bl
.bm WEB http://207.228.133.14/cgi-bin/lansaweb?procfun+BMWHO+BMWHO2+WHO
@@ -93,8 +95,8 @@
.bs WEB http://www.nic.bs/cgi-bin/search.pl
.bt WEB http://www.nic.bt/
.bv NONE # http://www.norid.no/domenenavnbaser/bv-sj.html
-.by WEB http://www.tld.by/indexeng.html
-.bw NONE # NIC? btc.bw www.info.bw/resource/local/index.shtml
+.by whois.cctld.by
+.bw WEB http://www.whois.bw/
.bz AFILIAS
.co.ca whois.co.ca
.ca whois.cira.ca
@@ -130,13 +132,13 @@
#.eh
.er NONE # http://www.afridns.org/er/tld_er.txt
.es WEB https://www.nic.es/
-.et NONE # http://www.telecom.net.et/EthioInternet/domainname.html
+.et NONE # http://www.ethionet.et/
.eu whois.eu
.fi whois.ficora.fi
.fj whois.usp.ac.fj
.fk NONE # http://www.fidc.co.fk/
-.fm WEB http://www.dot.fm/whois.html
-.fo whois.ripe.net # www.nic.fo
+.fm WEB http://dot.fm/whois.html
+.fo whois.nic.fo
.fr whois.nic.fr
.ga NONE # www.nic.ga
.gb NONE
@@ -151,11 +153,11 @@
.gn NONE # http://www.psg.com/dns/gn/
.gp WEB https://www.dom-enic.com/whois.html
.gq NONE # NO NIC http://www.getesa.gq/
-.gr WEB https://grweb.ics.forth.gr/whois_en.jsp
+.gr WEB https://grweb.ics.forth.gr/Whois?lang=en
.gs whois.nic.gs
-.gt WEB http://www.gt/whois.html
+.gt WEB http://www.gt/who_is.html
.gu WEB http://gadao.gov.gu/domainsearch.htm
-.gw NONE # NIC? www.nic.gw www.gwregister.com
+.gw NONE # currently no registry
.gy whois.registry.gy
.hk whois.hkirc.hk
.hm whois.registry.hm
@@ -169,12 +171,12 @@
.im whois.nic.im
.in whois.registry.in # afilias
.io whois.nic.io
-.iq NONE # http://www.cmc.iq/english/iq/iqregister1.htm
+.iq NONE # http://www.cmc.iq/en/iq.html
.ir whois.nic.ir
.is whois.isnic.is
.it whois.nic.it
.je whois.je
-.jm NONE # NIC? uwimona.edu.jm http://nic.jm
+.jm NONE # http://myspot.mona.uwi.edu/mits/
.jo WEB http://www.dns.jo/Whois.aspx
.jp whois.jprs.jp
.ke whois.kenic.or.ke
@@ -183,7 +185,7 @@
.ki whois.nic.mu
.km NONE # www.domaine.km
.kn WEB http://www.nic.kn/
-.kp whois.kcce.kp
+.kp NONE # NIC? http://www.star.co.kp/
.kr whois.kr
.kw WEB http://www.kw/
.ky WEB http://kynseweb.messagesecure.com/kywebadmin/ # http://www.icta.ky/
@@ -200,14 +202,14 @@
.lv whois.nic.lv
.ly whois.nic.ly
.ma whois.iam.net.ma # www.nic.ma
-.mc whois.ripe.net
+.mc NONE # www.nic.mc
.md WEB http://www.dns.md/wh1.php # whois.nic.md is restricted
.me whois.meregistry.net # afilias
#.mf
.mg whois.nic.mg
.mh NONE # www.nic.net.mh
.mk WEB http://dns.marnet.net.mk/registar.php
-.ml NONE # NIC? www.sotelma.ml
+.ml NONE # NIC? nic.ml www.sotelma.ml
.mm NONE # www.nic.mm
.mn AFILIAS
.mo WEB http://www.monic.net.mo/ # whois.monic.mo is restricted
@@ -226,7 +228,7 @@
.nc whois.cctld.nc
.ne NONE # NIC? http://www.intnet.ne
.nf whois.nic.nf
-.ng whois.register.net.ng
+.ng whois.nic.net.ng
.ni WEB http://www.nic.ni/
.nl whois.domain-registry.nl
.no whois.norid.no
@@ -234,12 +236,12 @@
.nr WEB http://www.cenpac.net.nr/dns/whois.html
.nu whois.nic.nu
.nz whois.srs.net.nz
-.om WEB http://www.omnic.om/onlineUser/WHOISLookup.jsp
+.om whois.registry.om
.pa WEB http://www.nic.pa/
.pe kero.yachay.pe
.pf NONE # http://www.opt.pf/home/
-.pg NONE # http://www.npi.gov.pg/DNS/DNS-Application-form.htm
-.ph WEB http://www.dot.ph/
+.pg NONE # http://www.unitech.ac.pg/
+.ph WEB http://www.dot.ph/whois
.pk WEB http://www.pknic.net.pk/
.co.pl whois.co.pl # "unofficial" SLD
.pl whois.dns.pl
@@ -256,11 +258,11 @@
.rs whois.rnids.rs
.edu.ru whois.informika.ru
.ru whois.tcinet.ru
-.rw WEB http://www.nic.rw/cgi-bin/whois.pl
+.rw NONE # http://www.ricta.org.rw/
.sa whois.nic.net.sa
.sb whois.coccaregistry.net
.sc AFILIAS # www.nic.sc
-.sd NONE # http://isoc.sd/ (CHECK LATER)
+.sd NONE # http://isoc.sd/sis/index.php/sd-domain
.se whois.nic-se.se
.sg whois.nic.net.sg
.sh whois.nic.sh
@@ -268,7 +270,7 @@
.sj NONE # http://www.norid.no/domenenavnbaser/bv-sj.html
.sk whois.sk-nic.sk
.sl whois.nic.sl
-.sm whois.ripe.net
+.sm whois.nic.sm
.sn whois.nic.sn
.so whois.nic.so
.sr NONE # www.register.sr
@@ -280,7 +282,7 @@
.sy whois.tld.sy
.sz NONE # http://www.sispa.org.sz/
.tc whois.adamsnames.tc
-.td NONE # http://www.nic.td/
+.td WEB http://www.nic.td/
.tf whois.nic.tf
.tg WEB http://www.nic.tg/
.th whois.thnic.co.th
@@ -288,7 +290,7 @@
.tk whois.dot.tk
.tl whois.nic.tl
.tm whois.nic.tm
-.tn WEB http://whois.ati.tn/
+.tn whois.tn
.to whois.tonic.to
.tp NONE # phase out in progress
.tr whois.nic.tr
@@ -300,7 +302,7 @@
.co.ua whois.co.ua
.pp.ua whois.pp.ua
.ua whois.ua
-.ug www.registry.co.ug # this is a whois server too
+.ug whois.co.ug
.ac.uk whois.ja.net
.bl.uk NONE
.british-library.uk NONE
@@ -316,27 +318,29 @@
#.um
.fed.us whois.nic.gov
.us whois.nic.us
-.com.uy WEB https://nic.anteldata.com.uy/dns/
+.com.uy WEB https://nic.anteldata.com.uy/dns/consultaWhois/whois.action
.uy whois.nic.org.uy
.uz whois.cctld.uz
-.va whois.ripe.net
+.va NONE
.vc AFILIAS
.ve whois.nic.ve
.vg whois.adamsnames.tc
.vi WEB http://www.nic.vi/whoisform.htm
-.vn WEB http://www.vnnic.vn/english/
+.vn WEB http://en.vnnic.vn/
.vu WEB http://www.vunic.vu/whois.html
.wf whois.nic.fr
.ws whois.samoanic.ws
-.ye NONE # NIC? www.nominet.org.ye http://www.y.net.ye/services/domain_name.htm
+.ye NONE # NIC? http://www.y.net.ye/services/domain_name.htm
.yt whois.nic.fr
.ac.za whois.ac.za
-.co.za whois.coza.net.za
+.alt.za whois.alt.za
+.co.za whois.registry.net.za
.gov.za whois.gov.za
-#.net.za whois.net.za
+.net.za whois.net.za
.org.za WEB http://www.org.za/ # rwhois.org.za:4321 is restricted
-.za NONE # http://www.internet.org.za/slds.html many more SLD...
-.zm NONE # http://www.zamnet.zm/ser-isp/dnr.htm
+.web.za whois.web.za
+.za NONE # http://www.zadna.org.za/annexure-d.html
+.zm NONE # http://www.zamnet.zm/ http://www.coppernet.zm/
.zw NONE # http://www.zispa.co.zw/
# AW means that I had to guess the whois server name, but I was not able
@@ -356,12 +360,13 @@
.xn--kprw13d whois.twnic.net.tw # Taiwan, Simplified Chinese
.xn--kpry57d whois.twnic.net.tw # Taiwan, Traditional Chinese
.xn--lgbbat1ad8j whois.nic.dz # Algeria
-.xn--mgba3a4f16a whois.nic.ir # Iran
-.xn--mgbaam7a8h whois.aeda.ae # United Arab Emirates
+.xn--mgb9awbf whois.registry.om # Oman AW
+.xn--mgbaam7a8h whois.aeda.net.ae # United Arab Emirates
.xn--mgbayh7gpa WEB http://idn.jo/whois_a.aspx # Jordan
.xn--mgbbh1a71e whois.registry.in # India, Urdu AW
-#.xn--mgbc0a9azcg whois.iam.net.ma # Morocco
-#.xn--mgberp4a5d4ar whois.nic.net.sa # Saudi Arabia
+.xn--mgbc0a9azcg NONE # Morocco
+.xn--mgberp4a5d4ar WEB http://nic.sa/view/whois # Saudi Arabia
+.xn--mgbx4cd0ab whois.domainregistry.my # Malaysia AW
.xn--o3cw4h whois.thnic.co.th # Thailand
.xn--ogbpf8fl whois.tld.sy # Syria
.xn--p1ai whois.tcinet.ru # Russian Federation
@@ -392,7 +397,6 @@
-kg whois.domain.kg
-ti whois.telstra.net
-tw whois.twnic.net.tw
--6bone whois.6bone.net
-coop whois.nic.coop
-cknic whois.nic.ck
-idnic whois.idnic.net.id
|
[-]
[+]
|
Changed |
whois_5.0.20.tar.bz2/whois.1
^
|
@@ -81,6 +81,7 @@
to find a server before applying the normal rules. Each line of the
file should contain a regular expression to be matched against the query
text and the whois server to use, separated by white space.
+IDN domains must use the ACE format.
.P
The whois protocol does not specify an encoding for characters which
cannot be represented by ASCII and implementations vary wildly.
|
[-]
[+]
|
Changed |
whois_5.0.20.tar.bz2/whois.c
^
|
@@ -254,13 +254,6 @@
sockfd = openconn(server + 1, NULL);
server = query_crsnic(sockfd, query);
break;
- case 7:
- if (verb)
- printf(_("Using server %s.\n"),
- "whois.publicinterestregistry.net");
- sockfd = openconn("whois.publicinterestregistry.net", NULL);
- server = query_pir(sockfd, query);
- break;
case 8:
if (verb)
printf(_("Using server %s.\n"), "whois.afilias-grs.info");
@@ -733,57 +726,6 @@
return referral_server;
}
-const char *query_pir(const int sock, const char *query)
-{
- char *temp, *p, buf[2000];
- FILE *fi;
- int hide = hide_discl;
- char *referral_server = NULL;
- int state = 0;
-
- temp = malloc(strlen(query) + 5 + 2 + 1);
- strcpy(temp, "FULL ");
- strcat(temp, query);
- strcat(temp, "\r\n");
-
- fi = fdopen(sock, "r");
- if (write(sock, temp, strlen(temp)) < 0)
- err_sys("write");
- free(temp);
-
- while (fgets(buf, sizeof(buf), fi)) {
- /* If there are multiple matches only the server of the first record
- is queried */
- if (state == 0 &&
- strneq(buf, "Registrant Name:SEE SPONSORING REGISTRAR", 40))
- state = 1;
- if (state == 1 &&
- strneq(buf, "Registrant Street1:Whois Server:", 32)) {
- for (p = buf; *p != ':'; p++); /* skip until colon */
- for (p++; *p != ':'; p++); /* skip until 2nd colon */
- for (p++; *p == ' '; p++); /* skip colon and spaces */
- referral_server = strdup(p);
- if ((p = strpbrk(referral_server, "\r\n")))
- *p = '\0';
- state = 2;
- }
-
- if (hide_line(&hide, buf))
- continue;
-
- if ((p = strpbrk(buf, "\r\n")))
- *p = '\0';
- recode_fputs(buf, stdout);
- fputc('\n', stdout);
- }
-
- if (ferror(fi))
- err_sys("fgets");
- fclose(fi);
-
- return referral_server;
-}
-
const char *query_afilias(const int sock, const char *query)
{
char *temp, *p, buf[2000];
@@ -1118,6 +1060,12 @@
#else
unsigned int a, b;
+ if (sscanf(s, "2002:%x::", &a) == 1) {
+ new = malloc(sizeof("255.255.255.255"));
+ sprintf(new, "%d.%d.0.0", a >> 8, a & 0xff);
+ return new;
+ }
+
if (sscanf(s, "2002:%x:%x:", &a, &b) != 2)
return strdup("0.0.0.0");
|
[-]
[+]
|
Changed |
whois_5.0.20.tar.bz2/whois.conf
^
|
@@ -4,6 +4,7 @@
# the compiled in servers are not suitable. Each entry is a single
# text line and consists of a regular expression pattern to match and
# the whois server to be used for it, separated by blank space.
+# IDN domains must use the ACE format.
#
# Eg:
# \.nz$ nz.whois-servers.net
|
[-]
[+]
|
Changed |
whois_5.0.20.tar.bz2/whois.spec
^
|
@@ -1,6 +1,6 @@
Summary: Enhanced WHOIS client
Name: whois
-Version: 5.0.16
+Version: 5.0.20
Release: 1
License: GPL
Vendor: Marco d'Itri <md@linux.it>
|