Your message dated Thu, 20 Nov 2014 23:01:08 +0000 with message-id <20141120230108.GS6216@lupin.home.powdarrmonkey.net> and subject line Re: Bug#770396: unblock: whois/5.2.2 has caused the Debian Bug report #770396, regarding unblock: whois/5.2.2 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.) -- 770396: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770396 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: unblock: whois/5.2.2
- From: Marco d'Itri <md@linux.it>
- Date: Thu, 20 Nov 2014 23:56:10 +0100
- Message-id: <[🔎] 20141120225610.GA6531@bongo.bofh.it>
Package: release.debian.org Severity: normal User: release.debian.org@packages.debian.org Usertags: unblock Please unblock package whois. This release fixes a parser bug to allow looking up domains with a trailing dot (which is a surprisingly often requested feature that I broke some time ago) and contains the usual servers updates. No further code changes are expected before wheezy is released, so allowing this bug fix in would prevent me from having to manage a wheezy branch of the package. unblock whois/5.2.2 -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (x86_64) Kernel: Linux 3.16-3-amd64 (SMP w/4 CPU cores) Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- ciao, Marcodiff -Nru whois-5.2.1/debian/changelog whois-5.2.2/debian/changelog --- whois-5.2.1/debian/changelog 2014-10-16 02:02:40.000000000 +0200 +++ whois-5.2.2/debian/changelog 2014-11-12 03:35:56.000000000 +0100 @@ -1,3 +1,12 @@ +whois (5.2.2) unstable; urgency=medium + + * Fixed the code that removes trailing dots. (Closes: #763834) + * Added the .xn--d1alf (.мкд, Macedonia) and .xn--node (.გე, Georgia) + TLD servers. + * Updated the list of new gTLDs. + + -- Marco d'Itri <md@linux.it> Thu, 06 Nov 2014 03:47:43 +0100 + whois (5.2.1) unstable; urgency=medium * Added the .aw and .zm TLD servers. diff -Nru whois-5.2.1/new_gtlds_list whois-5.2.2/new_gtlds_list --- whois-5.2.1/new_gtlds_list 2014-10-16 01:57:19.000000000 +0200 +++ whois-5.2.2/new_gtlds_list 2014-11-12 03:35:56.000000000 +0100 @@ -33,6 +33,7 @@ bio black blackfriday +bloomberg blue bmw bnpparibas @@ -103,6 +104,7 @@ day deals degree +delivery democrat dental dentist @@ -120,6 +122,8 @@ eat education email +emerck +energy engineer engineering enterprises @@ -340,7 +344,9 @@ surf surgery suzuki +sydney systems +taipei tatar tattoo tax diff -Nru whois-5.2.1/servers_charset_list whois-5.2.2/servers_charset_list --- whois-5.2.1/servers_charset_list 2014-10-16 01:57:19.000000000 +0200 +++ whois-5.2.2/servers_charset_list 2014-11-12 03:35:56.000000000 +0100 @@ -41,6 +41,7 @@ whois.nic.li utf-8 whois.domreg.lt utf-8 whois.dns.lu iso-8859-1 +whois.marnet.mk utf-8 whois.nic.mu utf-8 whois.norid.no iso-8859-1 whois.iis.nu utf-8 diff -Nru whois-5.2.1/tld_serv_list whois-5.2.2/tld_serv_list --- whois-5.2.1/tld_serv_list 2014-10-16 01:57:19.000000000 +0200 +++ whois-5.2.2/tld_serv_list 2014-11-12 03:35:56.000000000 +0100 @@ -354,6 +354,7 @@ .xn--80ao21a whois.nic.kz # Kazakhstan .xn--90a3ac whois.rnids.rs # Serbia .xn--clchc0ea0b2g2a9gcd whois.sgnic.sg # Singapore, Tamil +.xn--d1alf whois.marnet.mk # Macedonia .xn--fiqs8s cwhois.cnnic.cn # China, Simplified Chinese .xn--fiqz9s cwhois.cnnic.cn # China, Traditional Chinese .xn--fpcrj9c3d whois.inregistry.net # India, Telugu AW @@ -374,6 +375,7 @@ .xn--mgbc0a9azcg NONE # Morocco .xn--mgberp4a5d4ar whois.nic.net.sa # Saudi Arabia .xn--mgbx4cd0ab whois.mynic.my # Malaysia AW +.xn--node whois.itdc.ge # Georgia .xn--o3cw4h whois.thnic.co.th # Thailand .xn--ogbpf8fl whois.tld.sy # Syria .xn--p1ai whois.tcinet.ru # Russian Federation diff -Nru whois-5.2.1/whois.c whois-5.2.2/whois.c --- whois-5.2.1/whois.c 2014-10-16 01:57:19.000000000 +0200 +++ whois-5.2.2/whois.c 2014-11-12 03:35:56.000000000 +0100 @@ -1110,7 +1110,7 @@ /* * Attempt to normalize a query by removing trailing dots and whitespace, * then convert the domain to punycode. - * The function assumes that the domain is the last token of they query. + * The function assumes that the domain is the last token of the query. * Returns a malloc'ed string which needs to be freed by the caller. */ char *normalize_domain(const char *dom) @@ -1121,10 +1121,15 @@ #endif ret = strdup(dom); - /* eat trailing dots and blanks */ - p = ret + strlen(ret); - for (; *p == '.' || *p == ' ' || *p == '\t' || p == ret; p--) + /* start from the last character */ + p = ret + strlen(ret) - 1; + /* and then eat trailing dots and blanks */ + while (p > ret) { + if (!(*p == '.' || *p == ' ' || *p == '\t')) + break; *p = '\0'; + p--; + } #ifdef HAVE_LIBIDN /* find the start of the last word if there are spaces in the query */Attachment: pgppN8OSVXuZi.pgp
Description: PGP signature
--- End Message ---
--- Begin Message ---
- To: Marco d'Itri <md@linux.it>, 770396-done@bugs.debian.org
- Subject: Re: Bug#770396: unblock: whois/5.2.2
- From: Jonathan Wiltshire <jmw@debian.org>
- Date: Thu, 20 Nov 2014 23:01:08 +0000
- Message-id: <20141120230108.GS6216@lupin.home.powdarrmonkey.net>
- In-reply-to: <[🔎] 20141120225610.GA6531@bongo.bofh.it>
- References: <[🔎] 20141120225610.GA6531@bongo.bofh.it>
On Thu, Nov 20, 2014 at 11:56:10PM +0100, Marco d'Itri wrote: > This release fixes a parser bug to allow looking up domains with > a trailing dot (which is a surprisingly often requested feature that > I broke some time ago) and contains the usual servers updates. > > No further code changes are expected before wheezy is released, so > allowing this bug fix in would prevent me from having to manage a wheezy > branch of the package. s/wheezy/jessie/g ? :) Unblocked. -- Jonathan Wiltshire jmw@debian.org Debian Developer http://people.debian.org/~jmw 4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC 74C3 5394 479D D352 4C51Attachment: signature.asc
Description: Digital signature
--- End Message ---