[-]
[+]
|
Changed |
whois.changes
|
|
[-]
[+]
|
Changed |
whois.spec
^
|
|
[-]
[+]
|
Changed |
whois_5.0.22.tar.bz2/README
^
|
@@ -1,32 +1,26 @@
-Why another whois client? Because the RIPE client is a mess of hacks and
-#ifdefs and more complex programs lack features or are bloated.
+In 1999 I wrote this Whois client from scratch because the alternatives
+were obsolete or bloated.
This client is intelligent and can automatically select the appropriate
whois server for most queries.
+The internal database is often more accurate than IANA's published one,
+but please send me any information you have regarding domains and network
+resources which are not correctly handled by the program.
-Notes about the data files:
-- domain names MUST be lowercase and MUST begin with "." or "-".
-- first match wins (for both domains and netblocks)
-- elements in tld_serv_list are matched against the end of the query
+Because of historical reasons this package also contains the mkpasswd
+program, which can be used to encrypt a password with crypt(3).
-Please send me any information you have regarding domains and netblocks
-not correctly handled by the program.
-Please also try to compile after defining HAVE_GETADDRINFO and send me
-working #defines for your flavour of UNIX.
-
-The home of the program is
+The canonical distribution point for releases of the program is
http://ftp.debian.org/debian/pool/main/w/whois/ .
-Other information sources:
-- RIPE-187 and RIPE-189 (from ftp://ftp.ripe.net/ripe/docs/ or
- http://www.ripe.net/docs/)
-- http://www.uninett.no/navn/domreg.html
-- http://www.iana.org/root-whois/xx.htm
+Useful information sources:
+- http://www.ripe.net/ripe/docs/current-ripe-documents/ripe-database-documents
+- http://www.iana.org/domains/root/db/
+- http://www.icann.org/en/resources/idn/fast-track/string-evaluation-completion
- http://www.aftld.org/
-Marco d'Itri
-<md@linux.it>
+Marco d'Itri <md@linux.it>
|
[-]
[+]
|
Changed |
whois_5.0.22.tar.bz2/config.h
^
|
@@ -1,5 +1,5 @@
/* Program version */
-#define VERSION "5.0.20"
+#define VERSION "5.0.22"
/* Configurable features */
|
[-]
[+]
|
Changed |
whois_5.0.22.tar.bz2/data.h
^
|
@@ -21,7 +21,6 @@
"whois.arnes.si",
"www.registry.co.ug",
"whois.nic.ir",
- "whois.pandi.or.id",
"whois.nic.ck",
"whois.ra.net",
"whois.bgpmon.net",
@@ -31,43 +30,45 @@
const char *hide_strings[] = {
"NOTICE AND TERMS OF USE: You", "", /* NetSol */
"TERMS OF USE: You are not", "", /* crsnic */
- "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",
"The data in Register", "", /* Register.Com */
"The Data in the Tucows", "RECORD DOES NOT",
- " The data contained in the WHOIS", "", /* DOTSTER */
- "This whois service currently only", "top-level domains.",
- "Signature Domains' Whois Service", "agree to abide by the above",
- "Access to ASNIC", "by this policy.", /* as */
+ "The information in this whois database", "", /* DOTSTER */
+ "This whois service currently only", "top-level domains.", /* NameSecure */
"The Data in Gabia", "you agree to abide",
- "The data contained in Go Daddy", "is not the registrant",
+ "The data contained in GoDaddy.com", "is not the registrant",
"Disclaimer: The Global Name Registry", "for any commercial",
"Access to America Online", "time. By accessing", /* AOL */
- "% Access and use restricted", "", /* GANDI */
- "% The data in the WHOIS database of Schlund", "",
- "NeuStar, Inc., the Registry", "OF THE AVAILABILITY", /* us */
+ "# Access and use restricted", "", /* GANDI */
+ "% The data in the WHOIS database of 1&1 Internet", "",
"The data in this whois database is", "", /* enom */
- "By submitting a WHOIS query, you agree you will", "LACK OF A DOMAIN", /* directNIC */
- "The Data in Moniker.Com", "",
+ "The Data in Moniker's WHOIS database", "of Moniker.",
"The Data in OnlineNIC", " By starting this query",
- "The data in Bulkregister", "",
"Interdomain's WHOIS", "DOES NOT SIGNIFY",
"The Data provided by Stargate Holdings", "(2) enable any",
"; This data is provided by domaindiscount24.com", "",
- "%% BookMyName Whois", "%% this policy",
+ "%% NOTICE: Access to this information is provided", "%% By submitting", /* bookmyname.com */
+ "% NOTICE: Access to the domains information", "% this query", /* CORE */
+
+ /* gTLDs */
+ "Access to .AERO WHOIS information", "",
+ "DotAsia WHOIS LEGAL STATEMENT", "integrity of the database.",
"The .coop registry WHOIS", "VERIFICATION, NOR DO",
- "Tralliance, Inc., the Registry", "", /* .travel */
- "NOTICE: Access to the domains information", "", /* CORE */
"%% puntCAT Whois Server", "%% any time.",
+ "This Registry database contains ONLY .EDU", "type: help", /* edu */
"Access to INFO WHOIS information is provided", "", /* Afilias */
- "Access to CCTLD WHOIS information is provided", "", /* Afilias */
- "DotAsia WHOIS LEGAL STATEMENT", "integrity of the database.",
"mTLD WHOIS LEGAL STATEMENT", "integrity of the database.", /* .mobi */
+ "Access to .ORG WHOIS information", "",
"Access to RegistryPro's Whois", "All rights", /* .pro */
"Telnic, Ltd., the Registry Operator", "(b) harass any person;", /* .tel */
- "Access to the .XXX WHOIS", "", /* .xxx */
+ "Tralliance, Inc., the Registry", "", /* .travel */
+ "Access to .XXX ICM REGISTRY WHOIS", "", /* .xxx */
+
+ /* ccTLDs */
+ "Access to CCTLD WHOIS information is provided", "", /* Afilias */
+ "Access to ASNIC", "by this policy.", /* as */
+ "% The WHOIS service offered", "% of the database", /* eu */
+ "NeuStar, Inc., the Registry", "OF THE AVAILABILITY", /* us */
+
NULL, NULL
};
|
[-]
[+]
|
Changed |
whois_5.0.22.tar.bz2/debian/changelog
^
|
@@ -1,3 +1,25 @@
+whois (5.0.22) unstable; urgency=low
+
+ * Fixed cross-compiling, this time for real. (See #695442.)
+
+ -- Marco d'Itri <md@linux.it> Sun, 31 Mar 2013 22:17:29 +0200
+
+whois (5.0.21) unstable; urgency=low
+
+ * Fixed parsing of 6to4 addresses: the last two bytes of the IPv4 address
+ in 6to4 addresses were not parsed correctly since version 5.0.19.
+ (Closes: #699928)
+ * Added the .xn--j1amh (.укр, Ukraine) TLD server.
+ * Updated the .bi, .se and .vn TLD servers. (Closes: #697753)
+ * Removed whois.pandi.or.id from the list of servers which support the
+ RIPE extensions, since it does not anymore and queries are broken.
+ (Closes: #704115)
+ * Updated some disclaimer suppression strings.
+ * Respect DEB_HOST_GNU_TYPE when selecting CC for cross-compiling.
+ (Closes: #695442)
+
+ -- Marco d'Itri <md@linux.it> Sun, 31 Mar 2013 19:46:02 +0200
+
whois (5.0.20) unstable; urgency=low
* Updated the .by, .ng, .om, .sm, .tn, .ug and .vn TLD servers.
|
[-]
[+]
|
Changed |
whois_5.0.22.tar.bz2/debian/control
^
|
@@ -2,7 +2,7 @@
Section: net
Priority: standard
Maintainer: Marco d'Itri <md@linux.it>
-Standards-Version: 3.9.3
+Standards-Version: 3.9.4
Build-Depends: debhelper (>= 5), gettext, libidn11-dev
Package: whois
|
[-]
[+]
|
Changed |
whois_5.0.22.tar.bz2/debian/rules
^
|
@@ -1,6 +1,13 @@
#!/usr/bin/make -f
SHELL+= -e
+DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+ export CC := $(DEB_HOST_GNU_TYPE)-gcc
+endif
+
DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
|
[-]
[+]
|
Changed |
whois_5.0.22.tar.bz2/servers_charset_list
^
|
@@ -41,7 +41,7 @@
whois.dns.pt iso-8859-1
whois.registry.qa utf-8
whois.rnids.rs utf-8
-whois.nic-se.se utf-8
+whois.iis.se utf-8
whois.nic.net.sg utf-8
whois.tld.sy utf-8
whois.thnic.co.th utf-8
|
[-]
[+]
|
Changed |
whois_5.0.22.tar.bz2/tld_serv_list
^
|
@@ -1,6 +1,9 @@
# 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
+#
+# Domain names MUST be lowercase and MUST begin with "." or "-".
+# First match wins.
+# Elements in this list are matched against the end of the query.
+# "NIC?" means that I have not been able to find the registry.
.br.com whois.centralnic.net
.cn.com whois.centralnic.net
@@ -84,7 +87,7 @@
.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 https://whois.nic.bi/whois.php # whois.nic.bi wrong referral?
+.bi WEB https://whois.nic.bi/
.bj whois.nic.bj
#.bl
.bm WEB http://207.228.133.14/cgi-bin/lansaweb?procfun+BMWHO+BMWHO2+WHO
@@ -263,7 +266,7 @@
.sb whois.coccaregistry.net
.sc AFILIAS # www.nic.sc
.sd NONE # http://isoc.sd/sis/index.php/sd-domain
-.se whois.nic-se.se
+.se whois.iis.se
.sg whois.nic.net.sg
.sh whois.nic.sh
.si whois.arnes.si
@@ -326,7 +329,7 @@
.ve whois.nic.ve
.vg whois.adamsnames.tc
.vi WEB http://www.nic.vi/whoisform.htm
-.vn WEB http://en.vnnic.vn/
+.vn WEB http://www.vnnic.vn/en/domain
.vu WEB http://www.vunic.vu/whois.html
.wf whois.nic.fr
.ws whois.samoanic.ws
@@ -356,6 +359,7 @@
.xn--fzc2c9e2c whois.nic.lk # Sri Lanka, Sinhala
.xn--gecrj9c whois.registry.in # India, Gujarati AW
.xn--h2brj9c whois.registry.in # India, Hindi AW
+.xn--j1amh whois.ua # Ukraine AW
.xn--j6w193g whois.hkirc.hk # Hong Kong
.xn--kprw13d whois.twnic.net.tw # Taiwan, Simplified Chinese
.xn--kpry57d whois.twnic.net.tw # Taiwan, Traditional Chinese
@@ -399,8 +403,6 @@
-tw whois.twnic.net.tw
-coop whois.nic.coop
-cknic whois.nic.ck
--idnic whois.idnic.net.id
--itnic whois.nic.it
-frnic whois.nic.fr
-gandi whois.gandi.net
-kenic whois.kenic.or.ke
|
[-]
[+]
|
Changed |
whois_5.0.22.tar.bz2/whois.c
^
|
@@ -495,7 +495,7 @@
*/
char *queryformat(const char *server, const char *flags, const char *query)
{
- char *buf, *p;
+ char *buf;
int i, isripe = 0;
/* 64 bytes reserved for server-specific flags added later */
@@ -1058,17 +1058,22 @@
new = malloc(sizeof("255.255.255.255"));
sprintf(new, "%d.%d.%d.%d", *(ip + 2), *(ip + 3), *(ip + 4), *(ip + 5));
#else
+ int items;
unsigned int a, b;
+ char c;
- 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;
- }
+ items = sscanf(s, "2002:%x:%x%c", &a, &b, &c);
- if (sscanf(s, "2002:%x:%x:", &a, &b) != 2)
+ if (items <= 0 || items == 2 || (items == 3 && c != ':'))
return strdup("0.0.0.0");
+ if (items == 1) {
+ items = sscanf(s, "2002:%x:%c", &a, &c);
+ if (items != 2 || c != ':')
+ return strdup("0.0.0.0");
+ b = 0;
+ }
+
new = malloc(sizeof("255.255.255.255"));
sprintf(new, "%d.%d.%d.%d", a >> 8, a & 0xff, b >> 8, b & 0xff);
#endif
|
[-]
[+]
|
Changed |
whois_5.0.22.tar.bz2/whois.spec
^
|
@@ -1,6 +1,6 @@
Summary: Enhanced WHOIS client
Name: whois
-Version: 5.0.20
+Version: 5.0.22
Release: 1
License: GPL
Vendor: Marco d'Itri <md@linux.it>
|