Hello community, here is the log from the commit of package whois for openSUSE:Factory checked in at 2016-04-28 16:53:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2015-12-09 22:36:12.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.whois.new/whois.changes 2016-04-28 16:56:32.000000000 +0200 @@ -1,0 +2,13 @@ +Mon Apr 4 10:53:35 UTC 2016 - astie...@suse.com + +- whois 5.2.12: + * Added the .xn--e1a4c (ею, European Union) and .xn--mix891f (澳門, + Macao) TLD servers. + * Updated the .jobs, .kn and .pro TLD servers. + * Updated the .gi, .lc, .sc and .vc TLD servers, because the precedent + data caused the program to return an error status. + * Updated the list of new gTLDs. + * Fixed the code which queries whois.iana.org for TLDs to + recognize IDN TLDs too. + +------------------------------------------------------------------- Old: ---- whois_5.2.11.tar.xz New: ---- whois_5.2.12.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ whois.spec ++++++ --- /var/tmp/diff_new_pack.WSJWQF/_old 2016-04-28 16:56:34.000000000 +0200 +++ /var/tmp/diff_new_pack.WSJWQF/_new 2016-04-28 16:56:34.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package whois # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: whois -Version: 5.2.11 +Version: 5.2.12 Release: 0 Summary: Intelligent WHOIS client License: GPL-2.0+ ++++++ whois-nobsdsource.patch ++++++ --- /var/tmp/diff_new_pack.WSJWQF/_old 2016-04-28 16:56:34.000000000 +0200 +++ /var/tmp/diff_new_pack.WSJWQF/_new 2016-04-28 16:56:34.000000000 +0200 @@ -1,17 +1,22 @@ ---- whois-5.2.2.orig/mkpasswd.c -+++ whois-5.2.2/mkpasswd.c -@@ -17,9 +17,6 @@ +Index: whois-5.2.12/mkpasswd.c +=================================================================== +--- whois-5.2.12.orig/mkpasswd.c ++++ whois-5.2.12/mkpasswd.c +@@ -17,10 +17,7 @@ */ /* for crypt, snprintf and strcasecmp */ -#define _XOPEN_SOURCE 500 -#define _BSD_SOURCE 1 + #define _DEFAULT_SOURCE 1 -#define __EXTENSIONS__ 1 /* System library */ #include <stdio.h> ---- whois-5.2.2.orig/whois.c -+++ whois-5.2.2/whois.c +Index: whois-5.2.12/whois.c +=================================================================== +--- whois-5.2.12.orig/whois.c ++++ whois-5.2.12/whois.c @@ -7,9 +7,6 @@ * (at your option) any later version. */ @@ -22,8 +27,10 @@ /* System library */ #include <stdio.h> #include <stdlib.h> ---- whois-5.2.2.orig/Makefile -+++ whois-5.2.2/Makefile +Index: whois-5.2.12/Makefile +=================================================================== +--- whois-5.2.12.orig/Makefile ++++ whois-5.2.12/Makefile @@ -53,7 +53,7 @@ endif mkpasswd_LDADD += -lcrypt endif ++++++ whois.asc ++++++ --- /var/tmp/diff_new_pack.WSJWQF/_old 2016-04-28 16:56:34.000000000 +0200 +++ /var/tmp/diff_new_pack.WSJWQF/_new 2016-04-28 16:56:34.000000000 +0200 @@ -5,32 +5,32 @@ Source: whois Binary: whois Architecture: any -Version: 5.2.11 +Version: 5.2.12 Maintainer: Marco d'Itri <m...@linux.it> -Standards-Version: 3.9.6 +Standards-Version: 3.9.7 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: - ce651f1ed2d500ddaa09f1bf8e98cb229d64c721 79112 whois_5.2.11.tar.xz + b74d5647f14e56bbe8ab945aee2be74781e2d683 80428 whois_5.2.12.tar.xz Checksums-Sha256: - 32f7d6be853aa6a6a8ac6dd672bd60ae4f10bc0bedcaa944363ffbef6e57cef7 79112 whois_5.2.11.tar.xz + b26d4027b8987d9911466aa06ce2c167a50017cd59a622a429bd506222f6cdf1 80428 whois_5.2.12.tar.xz Files: - df870615563b23e2270ffc4f039290a1 79112 whois_5.2.11.tar.xz + b8f1482827137788016a418cc1ae364b 80428 whois_5.2.12.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 -iQGcBAEBAgAGBQJWZoGlAAoJECv1pcEixPekl+4L/0BujTvbjtHy5quJsdvT6Biv -zAU7L13nizLuRGhC8uULsOKaI8h2cX/CYsFErGwXsTcX48fEGCnhhVzBQMaXYCBv -4UhQ2WCJWl/bf+qLsGO0nvHdn/ZZdnkj+xIEe7YstoXsqAaAYRXrYj4Fxnn9Ne/M -ROfe/RxgLFFcVBubCgDEjd1RMfRKZSBf0sNj4IxGPNFxJWf8XuIMLTEX92OlAerG -j7Cc7BtfHimNfY5kRwTVS5JMhP6Uad22a+EqYjLUnCSwLAG9sIfuMo4MxvlhDVfB -W9k9WHNDb//sJmHOAIAbZx6f0rteEwKDdsHNP8WmyEhuMosdg6HwquMVwiYgcANP -XMPxyiRcZ35iJ8MYA/Fgk+NG1OnkfM4xvknDOpJaRhbNx5ubV3pCaV7RaHb6QyL+ -WybgpBi/a/bWp9jtypv8YXsUChiqFFT2bQjVFyF2xpMv0ppUpz6tBl/8bbXeKaJF -2saH3WOfzLhPsaXwI+rbM2ebdxBsO6G5QmR/+SK42A== -=9FbV +iQGcBAEBAgAGBQJW+ffoAAoJECv1pcEixPek9CkMAIH5kV9vS3PJoSIpatgaZnud +GiVqRLUS1uQ4GeGA1aAs1/vMTUAwdYR5Ftg/mxlEKNGDe1M64xBS3UOByFM1G+vc +xY71npmQwB3lGMp+m++su2RbiZiex26q7DzqtaPJ766gydqaIQTwaYVSJNmFSmRL ++UVsR7ywUPpHFYkhKB70QgWmB87lkkfPKo4GFkAxvAASsiR+Ppnydz+h5SS0mpBI +WI4z1JtkjHpKwjeI76wNUZIS01/7a+9xYp16HBOzdDi1VCncsGnz7i8cbWcwbpAc +06PjkhqI5cZb1btiHantFcotE9gzlWMZcvwGSmH06+I/zCzfuT4WT1F79DxBXl5c +eK+cXdL/WfF9TZA8kQu14OfZ9F0IjAppB7BkypFgrQC3WiuX16JselDGfIPa3tW8 +hgajr6XcVAn2NgclAgYciv+ygl7I2HWz25D8wOuKWVEW7+meAjKYBeXszRijMviM +Q3nMsJxruKb5ncqdNoL0eA57E0fn04sl+5rbnXe8Eg== +=c2i+ -----END PGP SIGNATURE----- ++++++ whois_5.2.11.tar.xz -> whois_5.2.12.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.11/Makefile new/whois-5.2.12/Makefile --- old/whois-5.2.11/Makefile 2015-12-08 06:50:18.000000000 +0100 +++ new/whois-5.2.12/Makefile 2016-03-28 18:27:22.000000000 +0200 @@ -97,6 +97,19 @@ $(PERL) make_servers_charset.pl < $< > $@ ############################################################################## +afl: + $(MAKE) whois \ + CC=afl-gcc AFL_HARDEN=1 \ + HAVE_LIBIDN=1 HAVE_ICONV=1 DEFS=-DAFL_MODE=1 + +afl2: + $(MAKE) whois \ + HAVE_LIBIDN=1 HAVE_ICONV=1 DEFS=-DAFL_MODE=1 + +afl-run: + nice afl-fuzz -i ../afl_in -o ../afl_out -- ./whois + +############################################################################## install: install-whois install-mkpasswd install-pos install-whois: whois diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.11/debian/changelog new/whois-5.2.12/debian/changelog --- old/whois-5.2.11/debian/changelog 2015-12-08 07:48:51.000000000 +0100 +++ new/whois-5.2.12/debian/changelog 2016-03-29 05:34:14.000000000 +0200 @@ -1,3 +1,17 @@ +whois (5.2.12) unstable; urgency=medium + + * Implemented support for fuzzing with the awesome american fuzzy lop. + * Added the .xn--e1a4c (ею, European Union) and .xn--mix891f (澳門, + Macao) TLD servers. + * Updated the .jobs, .kn and .pro TLD servers. + * Updated the .gi, .lc, .sc and .vc TLD servers, because the precedent + data caused the program to return an error status. + * Updated the list of new gTLDs. + * Fixed the code which queries whois.iana.org for TLDs to recognize IDN + TLDs too. + + -- Marco d'Itri <m...@linux.it> Tue, 29 Mar 2016 05:33:10 +0200 + whois (5.2.11) unstable; urgency=medium * Fixed the --select-types and --sources long options. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.11/debian/control new/whois-5.2.12/debian/control --- old/whois-5.2.11/debian/control 2015-01-09 03:49:00.000000000 +0100 +++ new/whois-5.2.12/debian/control 2016-03-29 05:34:28.000000000 +0200 @@ -2,7 +2,7 @@ Section: net Priority: standard Maintainer: Marco d'Itri <m...@linux.it> -Standards-Version: 3.9.6 +Standards-Version: 3.9.7 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.11/ip_del_recovered.h new/whois-5.2.12/ip_del_recovered.h --- old/whois-5.2.11/ip_del_recovered.h 2015-04-24 15:58:32.000000000 +0200 +++ new/whois-5.2.12/ip_del_recovered.h 2016-03-28 18:21:50.000000000 +0200 @@ -2,11 +2,16 @@ { 736886784UL, 737411071UL, "whois.apnic.net" }, { 737476608UL, 738000895UL, "whois.apnic.net" }, { 738066432UL, 738197503UL, "whois.apnic.net" }, +{ 755105792UL, 755236863UL, "whois.arin.net" }, { 755236864UL, 755499007UL, "whois.lacnic.net" }, { 755499008UL, 756023295UL, "whois.ripe.net" }, { 756023296UL, 757071871UL, "whois.arin.net" }, { 757071872UL, 759169023UL, "whois.arin.net" }, { 759169024UL, 759238655UL, "whois.apnic.net" }, +{ 759238656UL, 759250943UL, "whois.apnic.net" }, +{ 759250944UL, 759267327UL, "whois.ripe.net" }, +{ 759267328UL, 759300095UL, "whois.lacnic.net" }, +{ 759300096UL, 759431167UL, "whois.ripe.net" }, { 759431168UL, 759693311UL, "whois.lacnic.net" }, { 759693312UL, 760217599UL, "whois.arin.net" }, { 760217600UL, 761266175UL, "whois.ripe.net" }, @@ -15,15 +20,56 @@ { 763363328UL, 765460479UL, "whois.ripe.net" }, { 765460480UL, 767557631UL, "whois.lacnic.net" }, { 767557632UL, 769589247UL, "whois.afrinic.net" }, +{ 769589248UL, 769654783UL, "whois.arin.net" }, { 769654784UL, 770703359UL, "whois.lacnic.net" }, { 770703360UL, 771227647UL, "whois.afrinic.net" }, { 771227648UL, 771751935UL, "whois.apnic.net" }, +{ 1123778560UL, 1123794943UL, "whois.afrinic.net" }, +{ 1210847232UL, 1210851327UL, "whois.lacnic.net" }, +{ 2160656384UL, 2160721919UL, "whois.lacnic.net" }, +{ 2210660352UL, 2210725887UL, "whois.lacnic.net" }, +{ 2302345216UL, 2302410751UL, "whois.apnic.net" }, +{ 2332360704UL, 2332426239UL, "whois.apnic.net" }, +{ 2333736960UL, 2333802495UL, "whois.afrinic.net" }, +{ 2333868032UL, 2333933567UL, "whois.ripe.net" }, +{ 2419064832UL, 2419130367UL, "whois.apnic.net" }, +{ 2426929152UL, 2426994687UL, "whois.arin.net" }, +{ 2462326784UL, 2462351359UL, "whois.apnic.net" }, +{ 2462351360UL, 2462384127UL, "whois.afrinic.net" }, +{ 2471362560UL, 2471428095UL, "whois.ripe.net" }, +{ 2516058112UL, 2516123647UL, "whois.arin.net" }, { 2523594752UL, 2523660287UL, "whois.apnic.net" }, { 2525036544UL, 2525102079UL, "whois.apnic.net" }, { 2532442112UL, 2532507647UL, "whois.apnic.net" }, +{ 2555969536UL, 2556035071UL, "whois.ripe.net" }, { 2584739840UL, 2584805375UL, "whois.afrinic.net" }, +{ 2641821696UL, 2641887231UL, "whois.apnic.net" }, +{ 2685652992UL, 2685657087UL, "whois.apnic.net" }, +{ 2685665280UL, 2685669375UL, "whois.apnic.net" }, +{ 2685677568UL, 2685681663UL, "whois.apnic.net" }, +{ 2685685760UL, 2685689855UL, "whois.lacnic.net" }, +{ 2685706240UL, 2685718527UL, "whois.lacnic.net" }, +{ 2697601024UL, 2697609215UL, "whois.apnic.net" }, +{ 2697609216UL, 2697625599UL, "whois.arin.net" }, +{ 2697625600UL, 2697658367UL, "whois.apnic.net" }, +{ 2699968512UL, 2699976703UL, "whois.apnic.net" }, +{ 2699984896UL, 2700017663UL, "whois.lacnic.net" }, +{ 2709192704UL, 2709258239UL, "whois.afrinic.net" }, { 2737767424UL, 2737771263UL, "whois.apnic.net" }, { 2737771520UL, 2737772031UL, "whois.apnic.net" }, { 2737774592UL, 2737778175UL, "whois.apnic.net" }, { 2737778432UL, 2737831935UL, "whois.apnic.net" }, { 2738159616UL, 2738225151UL, "whois.apnic.net" }, +{ 2761949184UL, 2762014719UL, "whois.afrinic.net" }, +{ 2762145792UL, 2762211327UL, "whois.lacnic.net" }, +{ 3230404608UL, 3230433279UL, "whois.lacnic.net" }, +{ 3230433280UL, 3230466047UL, "whois.apnic.net" }, +{ 3230466048UL, 3230531583UL, "whois.lacnic.net" }, +{ 3230531584UL, 3230662655UL, "whois.afrinic.net" }, +{ 3230662656UL, 3230679039UL, "whois.ripe.net" }, +{ 3230687232UL, 3230695423UL, "whois.lacnic.net" }, +{ 3230695424UL, 3230728191UL, "whois.arin.net" }, +{ 3230728192UL, 3230760959UL, "whois.ripe.net" }, +{ 3230760960UL, 3230777343UL, "whois.afrinic.net" }, +{ 3230777344UL, 3230785535UL, "whois.lacnic.net" }, +{ 3513483264UL, 3513499647UL, "whois.arin.net" }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.11/mkpasswd.c new/whois-5.2.12/mkpasswd.c --- old/whois-5.2.11/mkpasswd.c 2015-04-24 15:58:32.000000000 +0200 +++ new/whois-5.2.12/mkpasswd.c 2016-03-29 02:49:03.000000000 +0200 @@ -19,6 +19,7 @@ /* for crypt, snprintf and strcasecmp */ #define _XOPEN_SOURCE 500 #define _BSD_SOURCE 1 +#define _DEFAULT_SOURCE 1 #define __EXTENSIONS__ 1 /* System library */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.11/new_gtlds_list new/whois-5.2.12/new_gtlds_list --- old/whois-5.2.11/new_gtlds_list 2015-12-08 07:43:23.000000000 +0100 +++ new/whois-5.2.12/new_gtlds_list 2016-03-29 04:40:12.000000000 +0200 @@ -16,6 +16,7 @@ aco active actor +adac ads adult aeg @@ -24,10 +25,14 @@ aig airforce airtel +alibaba +alipay allfinanz +ally alsace amica amsterdam +analytics android apartments app @@ -45,19 +50,24 @@ author auto autos +avianca +aws axa azure +baidu band bank bar barcelona barclaycard barclays +barefoot bargains bauhaus bayern bbc bbva +bcg bcn beats beer @@ -87,6 +97,7 @@ boo book boots +bosch bostik bot boutique @@ -136,6 +147,7 @@ cfd chanel channel +chase chat cheap chloe @@ -152,6 +164,7 @@ cleaning click clinic +clinique clothing cloud club @@ -164,16 +177,19 @@ commbank community company +compare computer comsec condos construction consulting +contact contractors cooking cool corsica country +coupon coupons courses credit @@ -195,10 +211,12 @@ datsun day dclk +dealer deals degree delivery dell +deloitte delta democrat dental @@ -220,10 +238,12 @@ doosan download drive +dubai durban dvag earth eat +edeka education email emerck @@ -244,6 +264,7 @@ expert exposed express +extraspace fage fail fairwinds @@ -266,6 +287,7 @@ fishing fit fitness +flickr flights florist flowers @@ -273,18 +295,24 @@ fly foo football +ford forex forsale forum foundation +fox +fresenius frl frogans +frontier fund furniture futbol fyi gal gallery +gallo +gallup game garden gbiz @@ -302,6 +330,7 @@ global globo gmail +gmbh gmo gmx gold @@ -326,8 +355,11 @@ hamburg hangout haus +hdfcbank +health healthcare help +helsinki here hermes hiphop @@ -367,6 +399,7 @@ investments ipiranga irish +iselect ist istanbul itau @@ -378,13 +411,19 @@ jewelry jlc jll +jmp joburg jot joy +jpmorgan jprs juegos kaufen kddi +kerryhotels +kerrylogistics +kerryproperties +kfh kia kim kinder @@ -392,14 +431,18 @@ kiwi koeln komatsu +kpn krd kred +kuokgroup kyoto lacaixa lamborghini +lamer lancaster land landrover +lanxess lasalle lat latrobe @@ -414,17 +457,21 @@ liaison lidl life +lifeinsurance lifestyle lighting like limited limo +lincoln linde link live +living lixil loan loans +locus lol london lotte @@ -438,6 +485,7 @@ madrid maif maison +makeup man management mango @@ -459,6 +507,7 @@ microsoft mini mma +mobily moda moe moi @@ -479,6 +528,7 @@ mutuelle nadex nagoya +natura navy nec netbank @@ -490,6 +540,7 @@ ngo nhk nico +nikon ninja nissan nokia @@ -511,15 +562,19 @@ oracle orange organic +origins osaka otsuka ovh page +pamperedchef panerai paris +pars partners parts party +passagens pet pharmacy philips @@ -531,6 +586,7 @@ pics pictet pictures +pid pin ping pink @@ -548,12 +604,15 @@ prod productions prof +promo properties property protection pub +pwc qpon quebec +quest racing read realtor @@ -561,6 +620,7 @@ recipes red redstone +redumbrella rehab reise reisen @@ -575,6 +635,7 @@ restaurant review reviews +rexroth rich ricoh rio @@ -590,6 +651,7 @@ ryukyu saarland safe +safety sakura sale salon @@ -600,10 +662,12 @@ sap sapo sarl +sas saxo sbs sca scb +schaeffler schmidt scholarships school @@ -615,6 +679,7 @@ seat security seek +select sener services seven @@ -623,6 +688,8 @@ sexy sfr sharp +shaw +shell shia shiksha shoes @@ -631,28 +698,37 @@ singles site ski +skin sky skype smile sncf soccer social +softbank software sohu solar solutions +song sony soy space spiegel +spot spreadbetting srl stada +star starhub +statefarm statoil stc stcgroup stockholm +storage +store +stream studio study style @@ -670,6 +746,8 @@ systems tab taipei +talk +taobao tatamotors tatar tattoo @@ -679,6 +757,7 @@ team tech technology +telecity telefonica temasek tennis @@ -687,15 +766,18 @@ theatre tickets tienda +tiffany tips tires tirol +tmall today tokyo tools top toray toshiba +total tours town toyota @@ -704,9 +786,16 @@ trading training travelers +travelersinsurance trust +trv +tube tui +tunes +tushu +tvs ubs +unicom university uno uol @@ -719,6 +808,7 @@ vet viajes video +viking villas vin vip @@ -729,15 +819,22 @@ viva vlaanderen vodka +volkswagen vote voting voto voyage +vuelos wales walter wang +wanggou watch +watches +weather +weatherchannel webcam +weber website wed wedding @@ -750,6 +847,7 @@ windows wine wme +wolterskluwer work works world @@ -759,6 +857,7 @@ xerox xin xn--11b4c3d +xn--1ck2e1b xn--1qqw23a xn--30rr7y xn--3bst00m @@ -774,43 +873,58 @@ xn--80adxhks xn--80asehdb xn--80aswg +xn--8y0a063a xn--9dbq2a xn--9et52u xn--b4w605ferd +xn--bck1b9a5dre4c xn--c1avg xn--c2br7g +xn--cck2b3b xn--cg4bki xn--czr694b xn--czrs0t xn--czru2d xn--d1acj3b +xn--eckvdtc9d xn--efvy88h xn--estv75g +xn--fct429k xn--fhbei xn--fiq228c5hs xn--fiq64b xn--fjq720a xn--flw351e +xn--g2xx48c +xn--gckr3f0f xn--hxt814e xn--i1b6b1a6a2e xn--imr513n xn--io0a7i xn--j1aef +xn--jlq61u9w7b +xn--jvr189m xn--kcrx77d1x4a +xn--kpu716f xn--kput3i xn--mgba3a3ejt xn--mgbab2bd +xn--mgbb9fbpob +xn--mgbt3dhd xn--mk1bu44c xn--mxtq1m xn--ngbc5azd +xn--ngbe9e0a xn--nqv7f xn--nqv7fs00ema xn--nyqy26a xn--p1acf +xn--pbt977c xn--pssy2u xn--q9jyb4c xn--qcka1pmc xn--rhqv96g +xn--rovu88b xn--ses554g xn--t60b56a xn--tckwe @@ -819,16 +933,19 @@ xn--vermgensberatung-pwb xn--vhquv xn--vuq861b +xn--w4r85el8fhu5dnra xn--xhq521b xn--zfr164b xperia xyz yachts +yahoo yamaxun yandex yodobashi yoga yokohama +you youtube zara zero diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.11/tld_serv_list new/whois-5.2.12/tld_serv_list --- old/whois-5.2.11/tld_serv_list 2015-12-08 07:43:23.000000000 +0100 +++ new/whois-5.2.12/tld_serv_list 2016-03-29 04:51:23.000000000 +0200 @@ -49,15 +49,15 @@ .aero whois.aero .asia whois.nic.asia .biz whois.biz -.cat whois.cat +.cat whois.nic.cat .coop whois.nic.coop .info whois.afilias.net -.jobs VERISIGN jobswhois.verisign-grs.com +.jobs whois.nic.jobs .mobi whois.dotmobiregistry.net .museum whois.museum .name whois.nic.name .post whois.dotpostregistry.net -.pro whois.dotproregistry.net +.pro whois.afilias.net .tel whois.nic.tel .travel whois.nic.travel .xxx whois.nic.xxx @@ -150,7 +150,7 @@ .gf WEB https://www.dom-enic.com/whois.html .gg whois.gg .gh WEB http://www.nic.gh/customer/search_c.htm -.gi AFILIAS +.gi whois2.afilias-grs.net .gl whois.nic.gl .gm WEB http://www.nic.gm/htmlpages/whois.htm .gn NONE # http://www.psg.com/dns/gn/ @@ -187,7 +187,7 @@ .kh NONE # http://www.trc.gov.kh/index.php/en/newsCategory/view?id=42&detail_id=68 .ki whois.nic.ki .km NONE # www.domaine.km -.kn WEB http://www.nic.kn/ +.kn whois.nic.kn .kp NONE # NIC? http://www.star.co.kp/ .kr whois.kr .kw WEB http://www.kw/ @@ -195,7 +195,7 @@ .kz whois.nic.kz .la whois.nic.la .lb WEB http://www.aub.edu.lb/lbdr/ -.lc AFILIAS +.lc whois2.afilias-grs.net .li whois.nic.li .lk whois.nic.lk .lr NONE # http://www.psg.com/dns/lr/ @@ -215,7 +215,7 @@ .ml whois.dot.ml # www.point.ml .mm NONE # www.nic.mm .mn whois.nic.mn -.mo WEB http://www.monic.net.mo/ # whois.monic.mo is restricted +.mo WEB http://www.monic.mo/ # whois.monic.mo is restricted .mp NONE # get.mp .mq WEB https://www.dom-enic.com/whois.html .mr NONE # www.nic.mr @@ -266,7 +266,7 @@ .rw whois.ricta.org.rw # http://www.ricta.org.rw/ .sa whois.nic.net.sa .sb whois.nic.sb -.sc AFILIAS # www.nic.sc +.sc whois2.afilias-grs.net # www.nic.sc .sd NONE # http://isoc.sd/sis/index.php/sd-domain .se whois.iis.se .sg whois.sgnic.sg @@ -326,7 +326,7 @@ .uy whois.nic.org.uy .uz whois.cctld.uz .va NONE -.vc AFILIAS +.vc whois2.afilias-grs.net .ve whois.nic.ve .vg whois.nic.vg .vi WEB https://secure.nic.vi/whois-lookup/ @@ -356,6 +356,7 @@ .xn--90ais whois.cctld.by # Belarus .xn--clchc0ea0b2g2a9gcd whois.sgnic.sg # Singapore, Tamil .xn--d1alf whois.marnet.mk # Macedonia +.xn--e1a4c whois.eu # European Union, Cyrillic AW .xn--fiqs8s cwhois.cnnic.cn # China, Simplified Chinese .xn--fiqz9s cwhois.cnnic.cn # China, Traditional Chinese .xn--fpcrj9c3d whois.inregistry.net # India, Telugu AW @@ -368,6 +369,7 @@ .xn--kpry57d whois.twnic.net.tw # Taiwan, Traditional Chinese .xn--l1acc NONE # Mongolia .xn--lgbbat1ad8j whois.nic.dz # Algeria +.xn--mix891f WEB http://www.monic.mo/ # Macao .xn--mgb9awbf whois.registry.om # Oman .xn--mgba3a4f16a whois.nic.ir # Iran .xn--mgbaam7a8h whois.aeda.net.ae # United Arab Emirates diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.11/utils.h new/whois-5.2.12/utils.h --- old/whois-5.2.11/utils.h 2013-03-30 02:31:38.000000000 +0100 +++ new/whois-5.2.12/utils.h 2016-03-28 18:01:31.000000000 +0200 @@ -9,6 +9,10 @@ #define NOFAIL(ptr) do_nofail((ptr), __FILE__, __LINE__) +#ifndef AFL_MODE +# define AFL_MODE 0 +#endif + /* Portability macros */ #ifdef __GNUC__ # define NORETURN __attribute__((noreturn)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.11/version.h new/whois-5.2.12/version.h --- old/whois-5.2.11/version.h 2015-07-30 03:28:28.000000000 +0200 +++ new/whois-5.2.12/version.h 2016-03-29 05:26:20.000000000 +0200 @@ -1 +1 @@ -#define VERSION "5.2.10" +#define VERSION "5.2.12" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/whois-5.2.11/whois.c new/whois-5.2.12/whois.c --- old/whois-5.2.11/whois.c 2015-12-08 06:50:18.000000000 +0100 +++ new/whois-5.2.12/whois.c 2016-03-29 05:25:40.000000000 +0200 @@ -140,6 +140,20 @@ fstring = malloc(fstringlen + 1); *fstring = '\0'; + /* interface for American Fuzzy Lop */ + if (AFL_MODE) { + FILE *fp = fdopen(0, "r"); + char *buf = NULL; + size_t len = 0; + + /* read one line from stdin */ + if (getline(&buf, &len, fp) < 0) + err_sys("getline"); + fflush(fp); + /* and use it as command line arguments */ + argv = merge_args(buf, argv, &argc); + } + /* prepend options from environment */ argv = merge_args(getenv("WHOIS_OPTIONS"), argv, &argc); @@ -497,8 +511,7 @@ if (strchr(s, '@')) return strdup("\x05"); - /* no dot and no hyphen means it's a NSI NIC handle or ASN (?) */ - if (!strpbrk(s, ".-")) { + 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])) @@ -507,7 +520,10 @@ for (i = 0; new_gtlds[i]; i++) if (strcaseeq(s, new_gtlds[i])) return strdup("whois.iana.org"); + } + /* no dot and no hyphen means it's a NSI NIC handle or ASN (?) */ + if (!strpbrk(s, ".-")) { if (strncaseeq(s, "as", 2) && /* it's an AS */ (isasciidigit(s[2]) || s[2] == ' ')) return strdup(whereas(atol(s + 2))); @@ -907,6 +923,13 @@ struct sockaddr_in saddr; #endif + /* + * When using American Fuzzy Lop get the data from it using stdin + * instead of connecting to the actual whois server. + */ + if (AFL_MODE) + return (dup(0)); + alarm(60); #ifdef HAVE_GETADDRINFO