Hello community, here is the log from the commit of package whois for openSUSE:Factory checked in at 2014-11-14 09:19:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/whois (Old) and /work/SRC/openSUSE:Factory/.whois.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "whois" Changes: -------- --- /work/SRC/openSUSE:Factory/whois/whois.changes 2014-10-18 09:09:16.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.whois.new/whois.changes 2014-11-14 09:19:46.000000000 +0100 @@ -1,0 +2,12 @@ +Thu Nov 13 21:20:56 UTC 2014 - andreas.stie...@gmx.de + +- whois 5.2.2: + * Fixed the code that removes trailing dots. + * Added the .xn--d1alf (.мкд, Macedonia) and .xn--node (.გე, + Georgia) TLD servers. + * Updated the list of new gTLDs. +- make perl requirements explict. +- In 13.1, perl(autodie) is provided by the main perl package, do + not look at the alternative in perl-autodie. + +------------------------------------------------------------------- Old: ---- whois_5.2.1.tar.xz New: ---- whois_5.2.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ whois.spec ++++++ --- /var/tmp/diff_new_pack.IqLnGj/_old 2014-11-14 09:19:47.000000000 +0100 +++ /var/tmp/diff_new_pack.IqLnGj/_new 2014-11-14 09:19:47.000000000 +0100 @@ -17,7 +17,7 @@ Name: whois -Version: 5.2.1 +Version: 5.2.2 Release: 0 Summary: Intelligent WHOIS client License: GPL-2.0+ @@ -33,6 +33,14 @@ BuildRequires: xz Provides: ripe-whois-tools BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} != 1310 +BuildRequires: perl(autodie) +%endif +%if 0%{?suse_version} < 1140 +Requires: perl = %{perl_version} +%else +%{perl_requires} +%endif %if 0%{?suse_version} <= 1140 BuildRequires: libxcrypt-devel %endif ++++++ whois.asc ++++++ --- /var/tmp/diff_new_pack.IqLnGj/_old 2014-11-14 09:19:47.000000000 +0100 +++ /var/tmp/diff_new_pack.IqLnGj/_new 2014-11-14 09:19:47.000000000 +0100 @@ -1,11 +1,11 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 +Hash: SHA1 Format: 3.0 (native) Source: whois Binary: whois Architecture: any -Version: 5.2.1 +Version: 5.2.2 Maintainer: Marco d'Itri <m...@linux.it> Standards-Version: 3.9.6 Vcs-Browser: https://github.com/rfc1036/whois @@ -14,23 +14,23 @@ Package-List: whois deb net standard arch=any Checksums-Sha1: - 26369001068507f9a7b3385512766f8d732798cd 78700 whois_5.2.1.tar.xz + 4438b9940b27b67459c82e4e6865a087e491788d 78832 whois_5.2.2.tar.xz Checksums-Sha256: - 54e6b64f16e10bfaf14ac40025b4272090298f0d9d3e62cbadabf946051515e6 78700 whois_5.2.1.tar.xz + cba874b457a6b7c4659245780d3d7321d129ab47da86103e07578ec7430fec09 78832 whois_5.2.2.tar.xz Files: - c671b90e23f161fba147d910784df995 78700 whois_5.2.1.tar.xz + fc928c97d9f438257496e695eafedfca 78832 whois_5.2.2.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 -iQGcBAEBCAAGBQJUPwtDAAoJECv1pcEixPekNvwL/2bmn6FZFaV8cGN90KUjhn6A -kAWMBSlxZY1eanxbnEq7nHb6hDHvZDuxlQ4pjcG8/JopAGNWcREVRG956wMqGw9c -0AEwryiXYdhhfcHGaJ+PbojT28zJaBKYQU0JIJrAz6vNh0Y6pjW6g8cm89nKGWN0 -pU6waZyH0oGP82e6RXMvyEhNhGwVzM94Rdu9mmoNTPkbeeK6O1wl1HlFU71qlLFu -qTaADBRR6f1dSXb5wSV0/cWeKITKdmoTpyR0qpBPHUZEl9bGWgJPeWytoU2E/nKc -lG9gFDT+aDAt7FIKK+PiYUrlek+X/p3RJs/NB/b3IJRsSD+HjZgHntcr/b9FJ6ak -GkMIWM7zUX1/vtRgLkVCgFtyk8nkIAzW2cSNilg9bigY28jBLGnSspEiVwsd5NB4 -rILGvxqwBnISWXDRXAtcTj31MfzZR6mTJzU2qJpXkX4M27fBBOPJrLCscpucRiN3 -BXxa8k2N4C9C+Nfd6o1MPFVjeaVc1r41B00XSowqsQ== -=EoEd +iQGcBAEBAgAGBQJUYsecAAoJECv1pcEixPekp6oL/j6IeXQLR/y3tbDxx2p2+k8q ++CWFbgb4uhr09kuGVOBS6UKjd+M630sLUjGpJX4K7iX1lLYwofqrvN3s0dBsxruI +2JGAIWbg2OFD3uK1VOyxW4r+oxS651odnvp6Cd47D6imtMVs5PWPc0nlYnaBmTFP +PQ/XWcf46xShcywpcJBlkiYgUwgjqWEU2MyLu7vOvhNj5dM0XrHgUtIX4e6XEj0I +VoOIQ2BGjsM0KKu0VK4HJ2aAdlxGgxDyHBWXqm/IZkznlrzPmc/bBBOaLidGh1LK +9+qiJ/DTQKYSfEzBO6X8qj1zrxHNfiHFakv7iRH4ejh9D9NehNbXzlm9HxxI92hK +ccbSnzQ8na/sUhRG85J0+c3nN6cPLiFs6FEioDX2vjtXKX0FtbMtoWA6hq+3CRaT +nAMYuVBGJrEAixKcU5et18fRDKvO1G0ox5W4e3j6ngpRZeAaAuxk6Y6k7PRKpTUR +sTNUZICwUbDvr13zt66mJgV3OMOT2xggT6tY2+hEJw== +=0UdO -----END PGP SIGNATURE----- ++++++ whois_5.2.1.tar.xz -> whois_5.2.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.1/debian/changelog new/whois-5.2.2/debian/changelog --- old/whois-5.2.1/debian/changelog 2014-10-16 02:02:40.000000000 +0200 +++ new/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 <m...@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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.1/new_gtlds_list new/whois-5.2.2/new_gtlds_list --- old/whois-5.2.1/new_gtlds_list 2014-10-16 01:57:19.000000000 +0200 +++ new/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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.1/servers_charset_list new/whois-5.2.2/servers_charset_list --- old/whois-5.2.1/servers_charset_list 2014-10-16 01:57:19.000000000 +0200 +++ new/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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.1/tld_serv_list new/whois-5.2.2/tld_serv_list --- old/whois-5.2.1/tld_serv_list 2014-10-16 01:57:19.000000000 +0200 +++ new/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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.1/whois.c new/whois-5.2.2/whois.c --- old/whois-5.2.1/whois.c 2014-10-16 01:57:19.000000000 +0200 +++ new/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 */ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org