[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#778766: marked as done (unblock: whois/5.2.4)



Your message dated Thu, 19 Feb 2015 20:18:08 +0100
with message-id <20150219191808.GC23417@dogguy.org>
and subject line Re: Bug#778766: unblock: whois/5.2.4
has caused the Debian Bug report #778766,
regarding unblock: whois/5.2.4
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
778766: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778766
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package whois.

Some data updates and an important bug fix to restore the support for 
.cc, .tv and .jobs.

unblock whois/5.2.4

https://github.com/rfc1036/whois/commits


diff --git a/debian/changelog b/debian/changelog
index ca6678a..c6d1187 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+whois (5.2.4) unstable; urgency=medium
+
+  * Fixed referrals handling for the .cc, .tv a .jobs TLDs.
+  * Updated the list of new gTLDs.
+
+ -- Marco d'Itri <md@linux.it>  Sun, 25 Jan 2015 04:07:20 +0100
+
 whois (5.2.3) unstable; urgency=medium
 
   * Added the .gw TLD server.
diff --git a/new_gtlds_list b/new_gtlds_list
index b9f6d91..5e571f8 100644
--- a/new_gtlds_list
+++ b/new_gtlds_list
@@ -26,7 +26,10 @@ audio
 autos
 axa
 band
+bank
 bar
+barclaycard
+barclays
 bargains
 bayern
 beer
@@ -104,10 +107,12 @@ crs
 cruises
 cuisinella
 cymru
+dabur
 dad
 dance
 dating
 day
+dclk
 deals
 degree
 delivery
@@ -115,6 +120,7 @@ democrat
 dental
 dentist
 desi
+design
 dev
 diamonds
 diet
@@ -155,6 +161,7 @@ financial
 firmdale
 fish
 fishing
+fit
 fitness
 flights
 florist
@@ -185,6 +192,7 @@ globo
 gmail
 gmo
 gmx
+goog
 google
 gop
 graphics
@@ -195,10 +203,12 @@ guide
 guitars
 guru
 hamburg
+hangout
 haus
 healthcare
 help
 here
+hermes
 hiphop
 hiv
 holdings
@@ -210,6 +220,7 @@ hosting
 house
 how
 ibm
+ifm
 immo
 immobilien
 industries
@@ -221,10 +232,12 @@ international
 investments
 irish
 iwc
+jcb
 jetzt
 joburg
 juegos
 kaufen
+kddi
 kim
 kitchen
 kiwi
@@ -233,6 +246,7 @@ krd
 kred
 lacaixa
 land
+lat
 latrobe
 lawyer
 lds
@@ -247,6 +261,7 @@ limo
 link
 loans
 london
+lotte
 lotto
 ltda
 luxe
@@ -257,6 +272,7 @@ management
 mango
 market
 marketing
+marriott
 media
 meet
 melbourne
@@ -287,6 +303,7 @@ nra
 nrw
 nyc
 okinawa
+one
 ong
 onl
 ooo
@@ -361,6 +378,7 @@ sew
 sexy
 shiksha
 shoes
+shriram
 singles
 sky
 social
@@ -384,6 +402,7 @@ tatar
 tattoo
 tax
 technology
+temasek
 tienda
 tips
 tires
@@ -445,6 +464,7 @@ xn--6qq986b3xl
 xn--80adxhks
 xn--80asehdb
 xn--80aswg
+xn--b4w605ferd
 xn--c1avg
 xn--cg4bki
 xn--czr694b
diff --git a/tld_serv_list b/tld_serv_list
index 46b7c5a..c07ba85 100644
--- a/tld_serv_list
+++ b/tld_serv_list
@@ -270,7 +270,7 @@
 .se	whois.iis.se
 .sg	whois.sgnic.sg
 .sh	whois.nic.sh
-.si	whois.arnes.si
+.si	whois.register.si
 .sj	NONE		# http://www.norid.no/domenenavnbaser/bv-sj.html
 .sk	whois.sk-nic.sk
 .sl	whois.nic.sl
diff --git a/whois.c b/whois.c
index fdb2824..accae8a 100644
--- a/whois.c
+++ b/whois.c
@@ -361,6 +361,9 @@ int handle_query(const char *hserver, const char *hport,
     if (!server)
 	return 1;
 
+    if (*server == '\0')
+	return 0;
+
     query_string = queryformat(server, flags, query);
     if (verb) {
 	printf(_("Using server %s.\n"), server);
@@ -810,9 +813,10 @@ char *query_crsnic(const int sock, const char *query)
 	   is queried */
 	if (state == 0 && strneq(buf, "   Domain Name:", 15))
 	    state = 1;
-	if (state == 1 && strneq(buf, "   Whois Server:", 16)) {
-	    for (p = buf; *p != ':'; p++);	/* skip until colon */
-	    for (p++; *p == ' '; p++);		/* skip colon and spaces */
+	if (state == 1 && (strneq(buf, "   Whois Server:", 16)
+		    || strneq(buf, "   WHOIS Server:", 16))) {
+	    for (p = buf; *p != ':'; p++);	/* skip until the colon */
+	    for (p++; *p == ' '; p++);		/* skip the spaces */
 	    referral_server = strdup(p);
 	    if ((p = strpbrk(referral_server, "\r\n ")))
 		*p = '\0';

-- 
ciao,
Marco

Attachment: pgpvrBS8Q867R.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
On Thu, Feb 19, 2015 at 02:27:59PM +0100, Marco d'Itri <md@linux.it> wrote:
> Package: release.debian.org
> Severity: normal
> User: release.debian.org@packages.debian.org
> Usertags: unblock
> 
> Please unblock package whois.
> 
> Some data updates and an important bug fix to restore the support for 
> .cc, .tv and .jobs.
> 
> unblock whois/5.2.4
> 
> https://github.com/rfc1036/whois/commits
>

Unblocked.

Regards,

-- 
Mehdi Dogguy

--- End Message ---

Reply to: