Imported Debian version 5.0.19

This commit is contained in:
Marco d'Itri 2012-09-17 21:41:29 +02:00
parent 0b19184e9a
commit a21a1d7756
7 changed files with 28 additions and 7 deletions

View File

@ -1,5 +1,5 @@
/* Program version */
#define VERSION "5.0.18"
#define VERSION "5.0.19"
/* Configurable features */

12
debian/changelog vendored
View File

@ -1,3 +1,15 @@
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)

2
debian/rules vendored
View File

@ -6,7 +6,7 @@ DPKG_EXPORT_BUILDFLAGS = 1
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

View File

@ -48,6 +48,6 @@ whois.thnic.co.th utf-8
whois.nic.tr utf-8
whois.twnic.net.tw utf-8
whois.pp.ua utf-8
whois.ua koi8-u
whois.ua utf-8
whois.nic.org.uy utf-8

View File

@ -51,6 +51,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
@ -331,11 +332,13 @@
.ye NONE # NIC? www.nominet.org.ye 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...
.web.za whois.web.za
.za NONE # http://www.zadna.org.za/annexure-d.html
.zm NONE # http://www.zamnet.zm/ser-isp/dnr.htm
.zw NONE # http://www.zispa.co.zw/

View File

@ -1060,6 +1060,12 @@ char *convert_6to4(const char *s)
#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");

View File

@ -1,6 +1,6 @@
Summary: Enhanced WHOIS client
Name: whois
Version: 5.0.18
Version: 5.0.19
Release: 1
License: GPL
Vendor: Marco d'Itri <md@linux.it>