Hello community,
here is the log from the commit of package whois for openSUSE:Factory checked in at 2014-10-18 09:09:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-09-15 18:24:43.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.whois.new/whois.changes 2014-10-18 09:09:16.000000000 +0200
@@ -1,0 +2,9 @@
+Thu Oct 16 22:28:05 UTC 2014 - andreas.stieger@gmx.de
+
+- whois 5.2.1:
+ * Added the .aw and .zm TLD servers.
+ * Added the charset for whois.domain.kg.
+ * Updated the list of new gTLDs.
+ * Queries for bare TLDs will be directed to whois.iana.org.
+
+-------------------------------------------------------------------
Old:
----
whois_5.2.0.tar.xz
New:
----
whois_5.2.1.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ whois.spec ++++++
--- /var/tmp/diff_new_pack.26Q19U/_old 2014-10-18 09:09:17.000000000 +0200
+++ /var/tmp/diff_new_pack.26Q19U/_new 2014-10-18 09:09:17.000000000 +0200
@@ -17,7 +17,7 @@
Name: whois
-Version: 5.2.0
+Version: 5.2.1
Release: 0
Summary: Intelligent WHOIS client
License: GPL-2.0+
++++++ whois.asc ++++++
--- /var/tmp/diff_new_pack.26Q19U/_old 2014-10-18 09:09:17.000000000 +0200
+++ /var/tmp/diff_new_pack.26Q19U/_new 2014-10-18 09:09:17.000000000 +0200
@@ -5,32 +5,32 @@
Source: whois
Binary: whois
Architecture: any
-Version: 5.2.0
+Version: 5.2.1
Maintainer: Marco d'Itri
-Standards-Version: 3.9.5
+Standards-Version: 3.9.6
Vcs-Browser: https://github.com/rfc1036/whois
Vcs-Git: git://github.com/rfc1036/whois.git
Build-Depends: debhelper (>= 5), gettext, libidn11-dev
Package-List:
whois deb net standard arch=any
Checksums-Sha1:
- 1678a34b7b055750ba6f10d93eaa3b6c63993645 78088 whois_5.2.0.tar.xz
+ 26369001068507f9a7b3385512766f8d732798cd 78700 whois_5.2.1.tar.xz
Checksums-Sha256:
- f487bba00fc506b18b519d913509d9e050cba0b6f025e26a50b29b3e6322530b 78088 whois_5.2.0.tar.xz
+ 54e6b64f16e10bfaf14ac40025b4272090298f0d9d3e62cbadabf946051515e6 78700 whois_5.2.1.tar.xz
Files:
- 0e5966b051735fff91792fa40c3d030f 78088 whois_5.2.0.tar.xz
+ c671b90e23f161fba147d910784df995 78700 whois_5.2.1.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
-iQGcBAEBCAAGBQJUE7crAAoJECv1pcEixPekr2oMALDu10HDdonpw5m8ENJBawyU
-5PMfYlVZVfUy/vrwtRnEq70Kks8Huu8Eh4Eq3KsOK7p3waW41SvGbS1xmpkmqUBr
-ymWN/fhHFweA8I1mPAAvmdxIuGfOE+XuTCHN43rJFdlRN3Db8+sPXQW54jRP+BuY
-606q+L2/dJTfIvXtQEfmBrGwvNxtwK7pH4SZPjlIjbho/LyfMKgXe1A8XwLAh6tu
-rGwkhWYJqCSKhW0oqXQImRHHemNiJyj9IVbTfrDhQSoBAnqjFZ+AtGoaNvmMCsaT
-70nrcCI9VIsqLmf2jrPJWQ5zEizYpVWuLxdyHtZuQRS4ST3K/gYsmeun+p471w/2
-yDljzAFpcEm0pVlQBU/vVj8CIIGaDOxTiiBAeuc/gJZ7WrPMVNXTZJtPaEp8vHSH
-Kk4xwl9o0nt85xwZytb/A4ufQDGJ5lv0E5sm+9K5lBKQQ/p07ONF4aYRMCDIQKhA
-I/S3zqhSLluCTjxZgaCMjegzbE4GWYV7PFyEx5mAhg==
-=f0jB
+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
-----END PGP SIGNATURE-----
++++++ whois_5.2.0.tar.xz -> whois_5.2.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.0/Makefile new/whois-5.2.1/Makefile
--- old/whois-5.2.0/Makefile 2014-08-02 03:31:54.000000000 +0200
+++ new/whois-5.2.1/Makefile 2014-10-16 01:57:19.000000000 +0200
@@ -87,6 +87,9 @@
new_gtlds.h: new_gtlds_list make_new_gtlds.pl
$(PERL) make_new_gtlds.pl < $< > $@
+nic_handles.h: nic_handles_list make_nic_handles.pl
+ $(PERL) make_nic_handles.pl < $< > $@
+
tld_serv.h: tld_serv_list make_tld_serv.pl
$(PERL) make_tld_serv.pl < $< > $@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.0/data.h new/whois-5.2.1/data.h
--- old/whois-5.2.0/data.h 2014-08-02 03:41:06.000000000 +0200
+++ new/whois-5.2.1/data.h 2014-10-16 01:57:19.000000000 +0200
@@ -11,17 +11,13 @@
"whois.apnic.net",
"whois.afrinic.net",
"rr.arin.net", /* does not accept the old syntax */
- "whois.6bone.net", /* 3.0.0b1 */
"whois.connect.com.au", /* 3.0.0b1 */
"whois.nic.fr",
- "whois.telstra.net",
"whois.restena.lu",
"rr.level3.net", /* 3.0.0a13 */
"whois.ripn.net",
"whois.arnes.si",
- "www.registry.co.ug",
"whois.nic.ir",
- "whois.nic.ck",
"whois.ra.net",
"whois.bgpmon.net",
NULL
@@ -159,6 +155,11 @@
NULL, NULL
};
+const char *nic_handles_post[] = {
+#include "nic_handles.h"
+ NULL, NULL
+};
+
#ifdef HAVE_ICONV
struct server_charset {
const char *name;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.0/debian/changelog new/whois-5.2.1/debian/changelog
--- old/whois-5.2.0/debian/changelog 2014-09-13 05:13:21.000000000 +0200
+++ new/whois-5.2.1/debian/changelog 2014-10-16 02:02:40.000000000 +0200
@@ -1,3 +1,13 @@
+whois (5.2.1) unstable; urgency=medium
+
+ * Added the .aw and .zm TLD servers.
+ * Added the charset for whois.domain.kg.
+ * Updated the list of new gTLDs.
+ * Queries for bare TLDs will be directed to whois.iana.org.
+ (Closes: #763833)
+
+ -- Marco d'Itri Thu, 16 Oct 2014 02:01:20 +0200
+
whois (5.2.0) unstable; urgency=medium
* Implemented support for the long RIPE flags.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.0/debian/control new/whois-5.2.1/debian/control
--- old/whois-5.2.0/debian/control 2013-12-26 18:03:01.000000000 +0100
+++ new/whois-5.2.1/debian/control 2014-10-16 01:57:19.000000000 +0200
@@ -2,7 +2,7 @@
Section: net
Priority: standard
Maintainer: Marco d'Itri
-Standards-Version: 3.9.5
+Standards-Version: 3.9.6
Build-Depends: debhelper (>= 5), gettext, libidn11-dev
Vcs-Git: git://github.com/rfc1036/whois.git
Vcs-Browser: https://github.com/rfc1036/whois
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.0/make_new_gtlds.pl new/whois-5.2.1/make_new_gtlds.pl
--- old/whois-5.2.0/make_new_gtlds.pl 2014-08-02 03:31:54.000000000 +0200
+++ new/whois-5.2.1/make_new_gtlds.pl 2014-10-16 01:57:19.000000000 +0200
@@ -9,8 +9,8 @@
s/^\s+//; s/\s+$//;
next if /^$/;
- die "format error: $_" if not /^((?:xn--)?[a-z0-9]+)$/;
+ die "format error: $_" if not /^(xn--[a-z0-9-]+|[a-z]+)$/;
- print qq| ".$_",\n|;
+ print qq| "$_",\n|;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.0/make_nic_handles.pl new/whois-5.2.1/make_nic_handles.pl
--- old/whois-5.2.0/make_nic_handles.pl 1970-01-01 01:00:00.000000000 +0100
+++ new/whois-5.2.1/make_nic_handles.pl 2014-10-16 01:57:19.000000000 +0200
@@ -0,0 +1,17 @@
+#!/usr/bin/perl
+
+use warnings;
+use strict;
+
+while (<>) {
+ chomp;
+ s/#.*$//;
+ s/^\s+//; s/\s+$//;
+ next if /^$/;
+
+ die "format error: $_" if not
+ (my ($a, $b) = /^(-\w+)\s+([\w\d\.:-]+)$/);
+
+ print qq| "$a",\t"$b",\n|;
+}
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.0/make_tld_serv.pl new/whois-5.2.1/make_tld_serv.pl
--- old/whois-5.2.0/make_tld_serv.pl 2014-08-02 03:31:54.000000000 +0200
+++ new/whois-5.2.1/make_tld_serv.pl 2014-10-16 01:57:19.000000000 +0200
@@ -10,7 +10,7 @@
next if /^$/;
die "format error: $_" if not
- (my ($a, $b) = /^([\w\d\.-]+)\s+([\w\d\.:-]+|[A-Z]+\s+.*)$/);
+ (my ($a, $b) = /^\.(\w[\w\d\.-]+)\s+([\w\d\.:-]+|[A-Z]+\s+.*)$/);
$b =~ s/^W(?:EB)?\s+/\\x01/;
$b =~ s/^VERISIGN\s+/\\x04" "/;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.0/new_gtlds.h new/whois-5.2.1/new_gtlds.h
--- old/whois-5.2.0/new_gtlds.h 2014-09-13 05:15:04.000000000 +0200
+++ new/whois-5.2.1/new_gtlds.h 2014-10-16 01:53:00.000000000 +0200
@@ -1,399 +1,430 @@
- ".academy",
- ".accountants",
- ".active",
- ".actor",
- ".agency",
- ".airforce",
- ".archi",
- ".army",
- ".associates",
- ".attorney",
- ".auction",
- ".audio",
- ".autos",
- ".axa",
- ".bar",
- ".bargains",
- ".bayern",
- ".beer",
- ".berlin",
- ".best",
- ".bid",
- ".bike",
- ".bio",
- ".black",
- ".blackfriday",
- ".blue",
- ".bmw",
- ".bnpparibas",
- ".boo",
- ".boutique",
- ".brussels",
- ".build",
- ".builders",
- ".business",
- ".buzz",
- ".bzh",
- ".cab",
- ".camera",
- ".camp",
- ".cancerresearch",
- ".capetown",
- ".capital",
- ".caravan",
- ".cards",
- ".care",
- ".career",
- ".careers",
- ".cash",
- ".catering",
- ".center",
- ".ceo",
- ".cern",
- ".cheap",
- ".christmas",
- ".church",
- ".citic",
- ".city",
- ".claims",
- ".cleaning",
- ".click",
- ".clinic",
- ".clothing",
- ".club",
- ".codes",
- ".coffee",
- ".college",
- ".cologne",
- ".com",
- ".community",
- ".company",
- ".computer",
- ".condos",
- ".construction",
- ".consulting",
- ".contractors",
- ".cooking",
- ".cool",
- ".country",
- ".credit",
- ".creditcard",
- ".cruises",
- ".cuisinella",
- ".cymru",
- ".dad",
- ".dance",
- ".dating",
- ".day",
- ".deals",
- ".degree",
- ".democrat",
- ".dental",
- ".dentist",
- ".desi",
- ".diamonds",
- ".diet",
- ".digital",
- ".direct",
- ".directory",
- ".discount",
- ".dnp",
- ".domains",
- ".durban",
- ".eat",
- ".education",
- ".email",
- ".engineer",
- ".engineering",
- ".enterprises",
- ".equipment",
- ".esq",
- ".estate",
- ".eus",
- ".events",
- ".exchange",
- ".expert",
- ".exposed",
- ".fail",
- ".farm",
- ".feedback",
- ".finance",
- ".financial",
- ".fish",
- ".fishing",
- ".fitness",
- ".flights",
- ".florist",
- ".foo",
- ".foundation",
- ".frl",
- ".frogans",
- ".fund",
- ".furniture",
- ".futbol",
- ".gal",
- ".gallery",
- ".gbiz",
- ".gent",
- ".gift",
- ".gifts",
- ".gives",
- ".glass",
- ".global",
- ".globo",
- ".gmail",
- ".gmo",
- ".gmx",
- ".gop",
- ".graphics",
- ".gratis",
- ".green",
- ".gripe",
- ".guide",
- ".guitars",
- ".guru",
- ".hamburg",
- ".haus",
- ".healthcare",
- ".help",
- ".here",
- ".hiphop",
- ".hiv",
- ".holdings",
- ".holiday",
- ".homes",
- ".horse",
- ".host",
- ".hosting",
- ".house",
- ".how",
- ".immo",
- ".immobilien",
- ".industries",
- ".info",
- ".ing",
- ".ink",
- ".institute",
- ".insure",
- ".international",
- ".investments",
- ".jetzt",
- ".joburg",
- ".juegos",
- ".kaufen",
- ".kim",
- ".kitchen",
- ".kiwi",
- ".koeln",
- ".krd",
- ".kred",
- ".lacaixa",
- ".land",
- ".lawyer",
- ".lease",
- ".lgbt",
- ".life",
- ".lighting",
- ".limited",
- ".limo",
- ".link",
- ".loans",
- ".london",
- ".lotto",
- ".ltda",
- ".luxe",
- ".luxury",
- ".maison",
- ".management",
- ".mango",
- ".market",
- ".marketing",
- ".media",
- ".meet",
- ".melbourne",
- ".meme",
- ".menu",
- ".miami",
- ".mini",
- ".moda",
- ".moe",
- ".monash",
- ".mortgage",
- ".moscow",
- ".motorcycles",
- ".mov",
- ".nagoya",
- ".navy",
- ".net",
- ".network",
- ".neustar",
- ".new",
- ".ngo",
- ".nhk",
- ".ninja",
- ".nra",
- ".nrw",
- ".nyc",
- ".okinawa",
- ".ong",
- ".onl",
- ".ooo",
- ".org",
- ".organic",
- ".otsuka",
- ".ovh",
- ".paris",
- ".partners",
- ".parts",
- ".pharmacy",
- ".photo",
- ".photography",
- ".photos",
- ".physio",
- ".pics",
- ".pictures",
- ".pink",
- ".pizza",
- ".place",
- ".plumbing",
- ".praxi",
- ".press",
- ".prod",
- ".productions",
- ".properties",
- ".property",
- ".pub",
- ".qpon",
- ".quebec",
- ".realtor",
- ".recipes",
- ".red",
- ".rehab",
- ".reise",
- ".reisen",
- ".ren",
- ".rentals",
- ".repair",
- ".report",
- ".republican",
- ".rest",
- ".restaurant",
- ".reviews",
- ".rich",
- ".rio",
- ".rocks",
- ".rodeo",
- ".rsvp",
- ".ruhr",
- ".ryukyu",
- ".saarland",
- ".sarl",
- ".sca",
- ".scb",
- ".schmidt",
- ".schule",
- ".scot",
- ".services",
- ".sexy",
- ".shiksha",
- ".shoes",
- ".singles",
- ".social",
- ".software",
- ".sohu",
- ".solar",
- ".solutions",
- ".soy",
- ".space",
- ".spiegel",
- ".supplies",
- ".supply",
- ".support",
- ".surf",
- ".surgery",
- ".suzuki",
- ".systems",
- ".tatar",
- ".tattoo",
- ".tax",
- ".technology",
- ".tienda",
- ".tips",
- ".tirol",
- ".today",
- ".tokyo",
- ".tools",
- ".top",
- ".town",
- ".toys",
- ".trade",
- ".training",
- ".university",
- ".uno",
- ".uol",
- ".vacations",
- ".vegas",
- ".ventures",
- ".versicherung",
- ".vet",
- ".viajes",
- ".villas",
- ".vision",
- ".vlaanderen",
- ".vodka",
- ".vote",
- ".voting",
- ".voto",
- ".voyage",
- ".wales",
- ".wang",
- ".watch",
- ".webcam",
- ".website",
- ".wed",
- ".whoswho",
- ".wien",
- ".wiki",
- ".williamhill",
- ".wme",
- ".works",
- ".wtc",
- ".wtf",
- ".xn--1qqw23a",
- ".xn--3bst00m",
- ".xn--3ds443g",
- ".xn--4gbrim",
- ".xn--55qw42g",
- ".xn--55qx5d",
- ".xn--6frz82g",
- ".xn--6qq986b3xl",
- ".xn--80adxhks",
- ".xn--80asehdb",
- ".xn--80aswg",
- ".xn--c1avg",
- ".xn--cg4bki",
- ".xn--czr694b",
- ".xn--czru2d",
- ".xn--d1acj3b",
- ".xn--fiq228c5hs",
- ".xn--fiq64b",
- ".xn--i1b6b1a6a2e",
- ".xn--io0a7i",
- ".xn--kput3i",
- ".xn--mgbab2bd",
- ".xn--ngbc5azd",
- ".xn--nqv7f",
- ".xn--nqv7fs00ema",
- ".xn--q9jyb4c",
- ".xn--rhqv96g",
- ".xn--ses554g",
- ".xn--unup4y",
- ".xn--vhquv",
- ".xn--xhq521b",
- ".xn--zfr164b",
- ".xyz",
- ".yachts",
- ".yandex",
- ".yokohama",
- ".youtube",
- ".zone",
+ "abogado",
+ "academy",
+ "accountants",
+ "active",
+ "actor",
+ "agency",
+ "airforce",
+ "allfinanz",
+ "alsace",
+ "archi",
+ "army",
+ "associates",
+ "attorney",
+ "auction",
+ "audio",
+ "autos",
+ "axa",
+ "band",
+ "bar",
+ "bargains",
+ "bayern",
+ "beer",
+ "berlin",
+ "best",
+ "bid",
+ "bike",
+ "bio",
+ "black",
+ "blackfriday",
+ "blue",
+ "bmw",
+ "bnpparibas",
+ "boo",
+ "boutique",
+ "brussels",
+ "budapest",
+ "build",
+ "builders",
+ "business",
+ "buzz",
+ "bzh",
+ "cab",
+ "cal",
+ "camera",
+ "camp",
+ "cancerresearch",
+ "capetown",
+ "capital",
+ "caravan",
+ "cards",
+ "care",
+ "career",
+ "careers",
+ "casa",
+ "cash",
+ "catering",
+ "center",
+ "ceo",
+ "cern",
+ "channel",
+ "cheap",
+ "christmas",
+ "chrome",
+ "church",
+ "citic",
+ "city",
+ "claims",
+ "cleaning",
+ "click",
+ "clinic",
+ "clothing",
+ "club",
+ "codes",
+ "coffee",
+ "college",
+ "cologne",
+ "com",
+ "community",
+ "company",
+ "computer",
+ "condos",
+ "construction",
+ "consulting",
+ "contractors",
+ "cooking",
+ "cool",
+ "country",
+ "credit",
+ "creditcard",
+ "crs",
+ "cruises",
+ "cuisinella",
+ "cymru",
+ "dad",
+ "dance",
+ "dating",
+ "day",
+ "deals",
+ "degree",
+ "democrat",
+ "dental",
+ "dentist",
+ "desi",
+ "diamonds",
+ "diet",
+ "digital",
+ "direct",
+ "directory",
+ "discount",
+ "dnp",
+ "domains",
+ "durban",
+ "dvag",
+ "eat",
+ "education",
+ "email",
+ "engineer",
+ "engineering",
+ "enterprises",
+ "equipment",
+ "esq",
+ "estate",
+ "eus",
+ "events",
+ "exchange",
+ "expert",
+ "exposed",
+ "fail",
+ "farm",
+ "feedback",
+ "finance",
+ "financial",
+ "fish",
+ "fishing",
+ "fitness",
+ "flights",
+ "florist",
+ "flsmidth",
+ "fly",
+ "foo",
+ "forsale",
+ "foundation",
+ "frl",
+ "frogans",
+ "fund",
+ "furniture",
+ "futbol",
+ "gal",
+ "gallery",
+ "gbiz",
+ "gent",
+ "gift",
+ "gifts",
+ "gives",
+ "glass",
+ "gle",
+ "global",
+ "globo",
+ "gmail",
+ "gmo",
+ "gmx",
+ "google",
+ "gop",
+ "graphics",
+ "gratis",
+ "green",
+ "gripe",
+ "guide",
+ "guitars",
+ "guru",
+ "hamburg",
+ "haus",
+ "healthcare",
+ "help",
+ "here",
+ "hiphop",
+ "hiv",
+ "holdings",
+ "holiday",
+ "homes",
+ "horse",
+ "host",
+ "hosting",
+ "house",
+ "how",
+ "ibm",
+ "immo",
+ "immobilien",
+ "industries",
+ "info",
+ "ing",
+ "ink",
+ "institute",
+ "insure",
+ "international",
+ "investments",
+ "jetzt",
+ "joburg",
+ "juegos",
+ "kaufen",
+ "kim",
+ "kitchen",
+ "kiwi",
+ "koeln",
+ "krd",
+ "kred",
+ "lacaixa",
+ "land",
+ "lawyer",
+ "lease",
+ "lgbt",
+ "life",
+ "lighting",
+ "limited",
+ "limo",
+ "link",
+ "loans",
+ "london",
+ "lotto",
+ "ltda",
+ "luxe",
+ "luxury",
+ "maison",
+ "management",
+ "mango",
+ "market",
+ "marketing",
+ "media",
+ "meet",
+ "melbourne",
+ "meme",
+ "menu",
+ "miami",
+ "mini",
+ "moda",
+ "moe",
+ "monash",
+ "mortgage",
+ "moscow",
+ "motorcycles",
+ "mov",
+ "nagoya",
+ "navy",
+ "net",
+ "network",
+ "neustar",
+ "new",
+ "nexus",
+ "ngo",
+ "nhk",
+ "ninja",
+ "nra",
+ "nrw",
+ "nyc",
+ "okinawa",
+ "ong",
+ "onl",
+ "ooo",
+ "org",
+ "organic",
+ "otsuka",
+ "ovh",
+ "paris",
+ "partners",
+ "parts",
+ "pharmacy",
+ "photo",
+ "photography",
+ "photos",
+ "physio",
+ "pics",
+ "pictures",
+ "pink",
+ "pizza",
+ "place",
+ "plumbing",
+ "pohl",
+ "poker",
+ "praxi",
+ "press",
+ "prod",
+ "productions",
+ "prof",
+ "properties",
+ "property",
+ "pub",
+ "qpon",
+ "quebec",
+ "realtor",
+ "recipes",
+ "red",
+ "rehab",
+ "reise",
+ "reisen",
+ "ren",
+ "rentals",
+ "repair",
+ "report",
+ "republican",
+ "rest",
+ "restaurant",
+ "reviews",
+ "rich",
+ "rio",
+ "rip",
+ "rocks",
+ "rodeo",
+ "rsvp",
+ "ruhr",
+ "ryukyu",
+ "saarland",
+ "sarl",
+ "sca",
+ "scb",
+ "schmidt",
+ "schule",
+ "scot",
+ "services",
+ "sexy",
+ "shiksha",
+ "shoes",
+ "singles",
+ "social",
+ "software",
+ "sohu",
+ "solar",
+ "solutions",
+ "soy",
+ "space",
+ "spiegel",
+ "supplies",
+ "supply",
+ "support",
+ "surf",
+ "surgery",
+ "suzuki",
+ "systems",
+ "tatar",
+ "tattoo",
+ "tax",
+ "technology",
+ "tienda",
+ "tips",
+ "tirol",
+ "today",
+ "tokyo",
+ "tools",
+ "top",
+ "town",
+ "toys",
+ "trade",
+ "training",
+ "tui",
+ "university",
+ "uno",
+ "uol",
+ "vacations",
+ "vegas",
+ "ventures",
+ "versicherung",
+ "vet",
+ "viajes",
+ "villas",
+ "vision",
+ "vlaanderen",
+ "vodka",
+ "vote",
+ "voting",
+ "voto",
+ "voyage",
+ "wales",
+ "wang",
+ "watch",
+ "webcam",
+ "website",
+ "wed",
+ "wedding",
+ "whoswho",
+ "wien",
+ "wiki",
+ "williamhill",
+ "wme",
+ "work",
+ "works",
+ "world",
+ "wtc",
+ "wtf",
+ "xn--1qqw23a",
+ "xn--3bst00m",
+ "xn--3ds443g",
+ "xn--4gbrim",
+ "xn--55qw42g",
+ "xn--55qx5d",
+ "xn--6frz82g",
+ "xn--6qq986b3xl",
+ "xn--80adxhks",
+ "xn--80asehdb",
+ "xn--80aswg",
+ "xn--c1avg",
+ "xn--cg4bki",
+ "xn--czr694b",
+ "xn--czru2d",
+ "xn--d1acj3b",
+ "xn--fiq228c5hs",
+ "xn--fiq64b",
+ "xn--i1b6b1a6a2e",
+ "xn--io0a7i",
+ "xn--kput3i",
+ "xn--mgbab2bd",
+ "xn--ngbc5azd",
+ "xn--nqv7f",
+ "xn--nqv7fs00ema",
+ "xn--p1acf",
+ "xn--q9jyb4c",
+ "xn--rhqv96g",
+ "xn--ses554g",
+ "xn--unup4y",
+ "xn--vermgensberater-ctb",
+ "xn--vermgensberatung-pwb",
+ "xn--vhquv",
+ "xn--xhq521b",
+ "xn--zfr164b",
+ "xyz",
+ "yachts",
+ "yandex",
+ "yoga",
+ "yokohama",
+ "youtube",
+ "zip",
+ "zone",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.0/new_gtlds_list new/whois-5.2.1/new_gtlds_list
--- old/whois-5.2.0/new_gtlds_list 2014-09-13 05:13:16.000000000 +0200
+++ new/whois-5.2.1/new_gtlds_list 2014-10-16 01:57:19.000000000 +0200
@@ -4,12 +4,15 @@
# Any exceptions can be handled in tld_serv_list as usual, since it will
# be checked first.
+abogado
academy
accountants
active
actor
agency
airforce
+allfinanz
+alsace
archi
army
associates
@@ -18,6 +21,7 @@
audio
autos
axa
+band
bar
bargains
bayern
@@ -35,12 +39,14 @@
boo
boutique
brussels
+budapest
build
builders
business
buzz
bzh
cab
+cal
camera
camp
cancerresearch
@@ -51,13 +57,16 @@
care
career
careers
+casa
cash
catering
center
ceo
cern
+channel
cheap
christmas
+chrome
church
citic
city
@@ -84,6 +93,7 @@
country
credit
creditcard
+crs
cruises
cuisinella
cymru
@@ -106,6 +116,7 @@
dnp
domains
durban
+dvag
eat
education
email
@@ -130,7 +141,10 @@
fitness
flights
florist
+flsmidth
+fly
foo
+forsale
foundation
frl
frogans
@@ -145,11 +159,13 @@
gifts
gives
glass
+gle
global
globo
gmail
gmo
gmx
+google
gop
graphics
gratis
@@ -173,6 +189,7 @@
hosting
house
how
+ibm
immo
immobilien
industries
@@ -234,6 +251,7 @@
network
neustar
new
+nexus
ngo
nhk
ninja
@@ -262,10 +280,13 @@
pizza
place
plumbing
+pohl
+poker
praxi
press
prod
productions
+prof
properties
property
pub
@@ -287,6 +308,7 @@
reviews
rich
rio
+rip
rocks
rodeo
rsvp
@@ -334,6 +356,7 @@
toys
trade
training
+tui
university
uno
uol
@@ -357,12 +380,15 @@
webcam
website
wed
+wedding
whoswho
wien
wiki
williamhill
wme
+work
works
+world
wtc
wtf
xn--1qqw23a
@@ -390,16 +416,21 @@
xn--ngbc5azd
xn--nqv7f
xn--nqv7fs00ema
+xn--p1acf
xn--q9jyb4c
xn--rhqv96g
xn--ses554g
xn--unup4y
+xn--vermgensberater-ctb
+xn--vermgensberatung-pwb
xn--vhquv
xn--xhq521b
xn--zfr164b
xyz
yachts
yandex
+yoga
yokohama
youtube
+zip
zone
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.0/nic_handles.h new/whois-5.2.1/nic_handles.h
--- old/whois-5.2.0/nic_handles.h 1970-01-01 01:00:00.000000000 +0100
+++ new/whois-5.2.1/nic_handles.h 2014-10-16 01:53:00.000000000 +0200
@@ -0,0 +1,22 @@
+ "-arin", "whois.arin.net",
+ "-ripe", "whois.ripe.net",
+ "-mnt", "whois.ripe.net",
+ "-lacnic", "whois.lacnic.net",
+ "-afrinic", "whois.afrinic.net",
+ "-ap", "whois.apnic.net",
+ "-cznic", "whois.nic.cz",
+ "-dk", "whois.dk-hostmaster.dk",
+ "-il", "whois.isoc.org.il",
+ "-is", "whois.isnic.is",
+ "-kg", "whois.domain.kg",
+ "-coop", "whois.nic.coop",
+ "-frnic", "whois.nic.fr",
+ "-lrms", "whois.afilias.info",
+ "-metu", "whois.nic.tr",
+ "-nicat", "whois.nic.at",
+ "-nicci", "whois.nic.ci",
+ "-irnic", "whois.nic.ir",
+ "-norid", "whois.norid.no",
+ "-tel", "whois.nic.tel",
+ "-adnic", "whois.nic.org.uy",
+ "-sixxs", "whois.sixxs.net",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.0/nic_handles_list new/whois-5.2.1/nic_handles_list
--- old/whois-5.2.0/nic_handles_list 1970-01-01 01:00:00.000000000 +0100
+++ new/whois-5.2.1/nic_handles_list 2014-10-16 01:57:19.000000000 +0200
@@ -0,0 +1,22 @@
+-arin whois.arin.net
+-ripe whois.ripe.net
+-mnt whois.ripe.net
+-lacnic whois.lacnic.net
+-afrinic whois.afrinic.net
+-ap whois.apnic.net
+-cznic whois.nic.cz
+-dk whois.dk-hostmaster.dk
+-il whois.isoc.org.il
+-is whois.isnic.is
+-kg whois.domain.kg
+-coop whois.nic.coop
+-frnic whois.nic.fr
+-lrms whois.afilias.info
+-metu whois.nic.tr
+-nicat whois.nic.at
+-nicci whois.nic.ci
+-irnic whois.nic.ir
+-norid whois.norid.no
+-tel whois.nic.tel
+-adnic whois.nic.org.uy
+-sixxs whois.sixxs.net
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.0/po/eu.po new/whois-5.2.1/po/eu.po
--- old/whois-5.2.0/po/eu.po 2013-04-18 03:29:36.000000000 +0200
+++ new/whois-5.2.1/po/eu.po 2014-10-16 02:01:05.000000000 +0200
@@ -11,7 +11,7 @@
"PO-Revision-Date: 2002-08-24 16:22+0200\n"
"Last-Translator: Aitor Ibaez \n"
"Language-Team: Euskara \n"
-"Language: \n"
+"Language: eu\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.0/po/pt_BR.po new/whois-5.2.1/po/pt_BR.po
--- old/whois-5.2.0/po/pt_BR.po 2013-04-18 03:29:36.000000000 +0200
+++ new/whois-5.2.1/po/pt_BR.po 2014-10-16 02:01:05.000000000 +0200
@@ -11,7 +11,7 @@
"PO-Revision-Date: 2006-04-26 21:03-0300\n"
"Last-Translator: Anderson Goulart \n"
"Language-Team: Portuguese/Brazil\n"
-"Language: \n"
+"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.0/servers_charset_list new/whois-5.2.1/servers_charset_list
--- old/whois-5.2.0/servers_charset_list 2014-08-02 03:31:54.000000000 +0200
+++ new/whois-5.2.1/servers_charset_list 2014-10-16 01:57:19.000000000 +0200
@@ -32,6 +32,7 @@
whois.nic.it utf-8
whois.jprs.jp iso-2022-jp
whois.nic.ad.jp iso-2022-jp
+whois.domain.kg cp1251
whois.nic.or.kr utf-8
whois.kr utf-8
# XXX I had to guess: the server is unable to fully transcode U+49b in the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.0/tld_serv_list new/whois-5.2.1/tld_serv_list
--- old/whois-5.2.0/tld_serv_list 2014-08-21 02:35:29.000000000 +0200
+++ new/whois-5.2.1/tld_serv_list 2014-10-16 01:57:19.000000000 +0200
@@ -156,7 +156,7 @@
.gm WEB http://www.nic.gm/htmlpages/whois.htm
.gn NONE # http://www.psg.com/dns/gn/
.gp WEB https://www.dom-enic.com/whois.html
-.gq NONE # NO NIC http://www.getesa.gq/
+.gq whois.dominio.gq
.gr WEB https://grweb.ics.forth.gr/Whois?lang=en
.gs whois.nic.gs
.gt WEB http://www.gt/who_is.html
@@ -227,7 +227,7 @@
.mw WEB http://www.registrar.mw/
.mx whois.mx
.my whois.mynic.my
-.mz NONE # NIC? www.uem.mz
+.mz whois.nic.mz
.na whois.na-nic.com.na
.nc whois.nc
.ne NONE # NIC? http://www.intnet.ne
@@ -385,38 +385,3 @@
.xn--xkc2dl3a5ee0h whois.inregistry.net # India, Tamil AW
.xn--yfro4i67o whois.sgnic.sg # Singapore, Chinese
.xn--ygbi2ammx whois.pnina.ps # Palestinian Territory
-
--dom whois.networksolutions.com
--org whois.networksolutions.com
--hst whois.networksolutions.com
--arin whois.arin.net
--ripe whois.ripe.net
--mnt whois.ripe.net
--lacnic whois.lacnic.net
--afrinic whois.afrinic.net
--ap whois.apnic.net
--cn whois.cnnic.cn
--cz whois.nic.cz
--dk whois.dk-hostmaster.dk
--il whois.isoc.org.il
--is whois.isnic.is
--kg whois.domain.kg
--ti whois.telstra.net
--tw whois.twnic.net.tw
--coop whois.nic.coop
--frnic whois.nic.fr
--gandi whois.gandi.net
--kenic whois.kenic.or.ke
--lrms whois.afilias.info
--metu whois.nic.tr
--nicat whois.nic.at
--nicci whois.nic.ci
--nicir whois.nic.ir
--norid whois.norid.no
--rotld whois.rotld.ro
--sgnic whois.sgnic.sg
--tel whois.nic.tel
--uanic whois.ua
--cunic whois.cunic.ua
--uynic whois.nic.org.uy
--sixxs whois.sixxs.net
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.0/version.h new/whois-5.2.1/version.h
--- old/whois-5.2.0/version.h 2014-09-13 05:15:04.000000000 +0200
+++ new/whois-5.2.1/version.h 2014-10-16 01:54:07.000000000 +0200
@@ -1 +1 @@
-#define VERSION "5.2.0"
+#define VERSION "5.2.1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.0/whois.c new/whois-5.2.1/whois.c
--- old/whois-5.2.0/whois.c 2014-09-13 05:13:19.000000000 +0200
+++ new/whois-5.2.1/whois.c 2014-10-16 01:57:19.000000000 +0200
@@ -442,7 +442,7 @@
}
regfree(&re);
#else
- if (domcmp(s, pattern)) {
+ if (endstrcaseeq(s, pattern)) {
fclose(fp);
return strdup(server);
}
@@ -496,6 +496,15 @@
/* no dot and no hyphen means it's a NSI NIC handle or ASN (?) */
if (!strpbrk(s, ".-")) {
+ /* if it is a TLD or a new gTLD then ask IANA */
+ for (i = 0; tld_serv[i]; i += 2)
+ if (strcaseeq(s, tld_serv[i]))
+ return strdup("whois.iana.org");
+
+ for (i = 0; new_gtlds[i]; i++)
+ if (strcaseeq(s, new_gtlds[i]))
+ return strdup("whois.iana.org");
+
if (strncaseeq(s, "as", 2) && /* it's an AS */
(isasciidigit(s[2]) || s[2] == ' '))
return strdup(whereas(atol(s + 2)));
@@ -524,7 +533,7 @@
/* check the TLDs list */
for (i = 0; tld_serv[i]; i += 2)
- if (domcmp(s, tld_serv[i]))
+ if (in_domain(s, tld_serv[i]))
return strdup(tld_serv[i + 1]);
/* use the default server name for "new" gTLDs */
@@ -541,6 +550,12 @@
for (i = 0; nic_handles[i]; i += 2)
if (strncaseeq(s, nic_handles[i], strlen(nic_handles[i])))
return strdup(nic_handles[i + 1]);
+
+ /* search for strings at the end of the word */
+ for (i = 0; nic_handles_post[i]; i += 2)
+ if (endstrcaseeq(s, nic_handles_post[i]))
+ return strdup(nic_handles_post[i + 1]);
+
/* it's probably a network name */
return strdup("");
}
@@ -633,9 +648,9 @@
/* add useful default flags if there are no flags or multiple arguments */
if (isripe) { }
else if (strchr(query, ' ') || *flags) { }
- else if (streq(server, "whois.denic.de") && domcmp(query, ".de"))
+ else if (streq(server, "whois.denic.de") && in_domain(query, "de"))
strcat(buf, "-T dn" DENIC_PARAM_ACE DENIC_PARAM_CHARSET " ");
- else if (streq(server, "whois.dk-hostmaster.dk") && domcmp(query, ".dk"))
+ else if (streq(server, "whois.dk-hostmaster.dk") && in_domain(query, "dk"))
strcat(buf, "--show-handles ");
/* mangle and add the query string */
@@ -1035,18 +1050,50 @@
}
/* check if dom ends with tld */
-int domcmp(const char *dom, const char *tld)
+int endstrcaseeq(const char *dom, const char *tld)
{
- const char *p, *q;
+ size_t dom_len, tld_len;
+ const char *p = NULL;
- for (p = dom; *p; p++); p--; /* move to the last char */
- for (q = tld; *q; q++); q--;
- while (p >= dom && q >= tld && tolower(*p) == *q) { /* compare backwards */
- if (q == tld) /* start of the second word? */
- return 1;
- p--; q--;
- }
- return 0;
+ if ((dom_len = strlen(dom)) == 0)
+ return 0;
+
+ if ((tld_len = strlen(tld)) == 0)
+ return 0;
+
+ /* dom cannot be shorter than what we are looking for */
+ if (tld_len > dom_len)
+ return 0;
+
+ p = dom + dom_len - tld_len;
+
+ return strcaseeq(p, tld);
+}
+
+/* check if dom is a subdomain of tld */
+int in_domain(const char *dom, const char *tld)
+{
+ size_t dom_len, tld_len;
+ const char *p = NULL;
+
+ if ((dom_len = strlen(dom)) == 0)
+ return 0;
+
+ if ((tld_len = strlen(tld)) == 0)
+ return 0;
+
+ /* dom cannot be shorter than what we are looking for */
+ /* -1 to ignore dom containing just a dot and tld */
+ if (tld_len >= dom_len - 1)
+ return 0;
+
+ p = dom + dom_len - tld_len;
+
+ /* fail if the character before tld is not a dot */
+ if (*(p - 1) != '.')
+ return 0;
+
+ return strcaseeq(p, tld);
}
const char *is_new_gtld(const char *s)
@@ -1054,8 +1101,8 @@
int i;
for (i = 0; new_gtlds[i]; i++)
- if (domcmp(s, new_gtlds[i]))
- return new_gtlds[i] + 1;
+ if (in_domain(s, new_gtlds[i]))
+ return new_gtlds[i];
return 0;
}
@@ -1235,19 +1282,23 @@
if (errno || a < 0 || a > 255 || *endptr != '.')
return strdup("0.0.0.0");
- if (domcmp(endptr + 1, ".in-addr.arpa")) {
+ if (in_domain(endptr + 1, "in-addr.arpa")) {
b = strtol(endptr + 1, &endptr, 10); /* 1.2. */
if (errno || b < 0 || b > 255 || *endptr != '.')
return strdup("0.0.0.0");
- if (domcmp(endptr + 1, ".in-addr.arpa")) {
+ if (in_domain(endptr + 1, "in-addr.arpa")) {
c = strtol(endptr + 1, &endptr, 10); /* 1.2.3. */
if (errno || c < 0 || c > 255 || *endptr != '.')
return strdup("0.0.0.0");
- if (domcmp(endptr + 1, ".in-addr.arpa"))
+ if (in_domain(endptr + 1, "in-addr.arpa"))
return strdup("0.0.0.0");
+ } else {
+ c = b; b = a; a = 0;
}
+ } else {
+ c = a; a = 0;
}
new = malloc(sizeof("255.255.255.255"));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.0/whois.h new/whois-5.2.1/whois.h
--- old/whois-5.2.0/whois.h 2014-09-13 02:42:29.000000000 +0200
+++ new/whois-5.2.1/whois.h 2014-10-16 01:57:19.000000000 +0200
@@ -28,7 +28,8 @@
unsigned long myinet_aton(const char *);
unsigned long asn32_to_long(const char *);
int isasciidigit(const char);
-int domcmp(const char *, const char *);
+int endstrcaseeq(const char *, const char *);
+int in_domain(const char *, const char *);
const char *is_new_gtld(const char *);
int domfind(const char *, const char *[]);
char *normalize_domain(const char *);
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org