Hello community,

here is the log from the commit of package whois for openSUSE:Factory checked 
in at 2018-01-13 21:46:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/whois (Old)
 and      /work/SRC/openSUSE:Factory/.whois.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "whois"

Sat Jan 13 21:46:56 2018 rev:66 rq:563392 version:5.2.20

Changes:
--------
--- /work/SRC/openSUSE:Factory/whois/whois.changes      2017-12-18 
08:58:40.873193428 +0100
+++ /work/SRC/openSUSE:Factory/.whois.new/whois.changes 2018-01-13 
21:47:00.715852567 +0100
@@ -1,0 +2,9 @@
+Wed Jan 10 13:47:20 UTC 2018 - [email protected]
+
+- whois 5.2.20:
+  * Added the .mr TLD server
+  * Removed the .bs TLD server
+  * Updated the .ai, .gh, .gr, .kw, .ls, .ph, .sb, .com.uy and .vn
+    TLD servers
+
+-------------------------------------------------------------------

Old:
----
  whois_5.2.19.tar.xz

New:
----
  whois_5.2.20.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ whois.spec ++++++
--- /var/tmp/diff_new_pack.MFvBOs/_old  2018-01-13 21:47:01.483816766 +0100
+++ /var/tmp/diff_new_pack.MFvBOs/_new  2018-01-13 21:47:01.487816580 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package whois
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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.19
+Version:        5.2.20
 Release:        0
 Summary:        Intelligent WHOIS client
 License:        GPL-2.0+

++++++ whois.asc ++++++
--- /var/tmp/diff_new_pack.MFvBOs/_old  2018-01-13 21:47:01.539814155 +0100
+++ /var/tmp/diff_new_pack.MFvBOs/_new  2018-01-13 21:47:01.539814155 +0100
@@ -5,7 +5,7 @@
 Source: whois
 Binary: whois
 Architecture: any
-Version: 5.2.19
+Version: 5.2.20
 Maintainer: Marco d'Itri <[email protected]>
 Standards-Version: 4.1.2
 Vcs-Browser: https://github.com/rfc1036/whois
@@ -14,23 +14,23 @@
 Package-List:
  whois deb net standard arch=any
 Checksums-Sha1:
- 22f0896010f14fdad0269b8222b6b9e37b163ea6 82476 whois_5.2.19.tar.xz
+ a8f233158282fd99652b0db18dcef59578da69e4 82336 whois_5.2.20.tar.xz
 Checksums-Sha256:
- 6c39a274fd73b87c0ce1e34dfbd1842a0b2ca7a00c97d4202d639ec010e1262c 82476 
whois_5.2.19.tar.xz
+ 6848ab671750ab3782fe4ab2a47910fe4e25aa93894e4d0f3f67b5fcee06c009 82336 
whois_5.2.20.tar.xz
 Files:
- ca75f511c9bcf78b294dac09324222f0 82476 whois_5.2.19.tar.xz
+ fb2ef193fb8a1f7c29271ee15e14c752 82336 whois_5.2.20.tar.xz
 
 -----BEGIN PGP SIGNATURE-----
 
-iQGzBAEBCgAdFiEEGBsIcS5ipP0URKfyK/WlwSLE96QFAlotXrUACgkQK/WlwSLE
-96Rk6wwApdHfeTdXPLltFCYuJxwoPbodoF2CXNzMLMWygsJ7ADxNUsxLW7UO+Toa
-cg3zmKqxpxPo82xTTceFs7L1FXrjhsr5yP5E/RgzEKGLR+Tsp0B8N/i1E+tSTsXa
-AQoY/Psfg0HdNJY4L3YrUdKougA9NYXqZc7IKg1xiFtnVnYrP3ofl4mSmP+dE77X
-Nsf9jRPSNOp7ZMcMtq6qgng0q7x0kJExXMgAAXXW9KpEqoYrZjdE95p2mAK1016G
-u78N5pQBEzL39pWujXgl55DgDvuiXIPDEqcVtg2UOLgBT1DSlfqihC2pFTdnrbQr
-WMsNxVbfeZBAQwHhGvFnkW9lb8saEJ3of7EeOOtCpxgEgj7906/4exa2FP70TeqK
-jWbQgz9YIaLVC2LjfdRsUeaCKyjnEjXxqz7x3Jj/Mbu1jZDHO4YKJ9aU+G/4sVWM
-alCOeCDS8Sci+rEJ2hzn+jhJmiV9wzKnJWWpzyxgBHLnoOV4zmQM+yR7Im6ENPWI
-I/ebeLK2
-=KFoP
+iQGzBAEBCgAdFiEEGBsIcS5ipP0URKfyK/WlwSLE96QFAlpDBPgACgkQK/WlwSLE
+96Safwv/Z+xTVxZAPxKlXSiU5BPhokSH7/8Gq1wsSqM7ducvpfcC6rnK6HZ1rsDf
+ohMD/wXDRttRe6YkubpTDhIKyHsOsIp6G1nuZ90jTKvs6pXZS8LcWFsU1vvWyW08
+jYvRCct28rQykkPKCkgtM8EvmRzMGj3lfVxt+ma1nYnislKrgOoficbLTn09TBK6
+768oC9fgrClGMRoOpKrmqnAcBcbEKzLROCZzDxPZX2kIL1UH7NYRDyAROo9P29Gy
+nA5t/h7u/3iJkwWaASqW5qNwaiAyEFjNlTxTlRXfuJxPL1P9k8DlQJ/fALav1H1B
+Q8IM8aS8gWe56fSVbktNDxfmqfKoGLPWAFFZOtDpWOjr4EYSh8fmGVoCA9PejFwN
+GnnUwc1FOM+tF+PQroQnFTx99m5JkOUcF52sVtiYgIZQlzulEOACnQamO9PXpmDj
+zKQQVuYdRegpCQJu3KfMgQe1d654O/j58XQZXFzOaWuiSOpc/Vf0lRGE0MfblVHc
+Swj734ss
+=bb8h
 -----END PGP SIGNATURE-----


++++++ whois_5.2.19.tar.xz -> whois_5.2.20.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whois-5.2.19/Makefile new/whois-5.2.20/Makefile
--- old/whois-5.2.19/Makefile   2017-09-30 18:44:34.000000000 +0200
+++ new/whois-5.2.20/Makefile   2017-12-27 03:09:58.000000000 +0100
@@ -2,8 +2,9 @@
 
 CFLAGS ?= -g -O2
 
-PERL = perl
-INSTALL = install
+PKG_CONFIG ?= pkg-config
+PERL ?= perl
+INSTALL ?= install
 
 whois_OBJECTS := whois.o utils.o
 mkpasswd_OBJECTS := mkpasswd.o utils.o
@@ -32,12 +33,12 @@
 DEFS += -DLOCALEDIR=\"$(BASEDIR)$(prefix)/share/locale\"
 endif
 
-ifeq ($(shell pkg-config --exists 'libidn2 >= 2.0.3' || echo NO),)
-whois_LDADD += $(shell pkg-config --libs libidn2)
-DEFS += -DHAVE_LIBIDN2 $(shell pkg-config --cflags libidn2)
-else ifeq ($(shell pkg-config --exists 'libidn' || echo NO),)
-whois_LDADD += $(shell pkg-config --libs libidn)
-DEFS += -DHAVE_LIBIDN $(shell pkg-config --cflags libidn)
+ifeq ($(shell $(PKG_CONFIG) --exists 'libidn2 >= 2.0.3' || echo NO),)
+whois_LDADD += $(shell $(PKG_CONFIG) --libs libidn2)
+DEFS += -DHAVE_LIBIDN2 $(shell $(PKG_CONFIG) --cflags libidn2)
+else ifeq ($(shell $(PKG_CONFIG) --exists 'libidn' || echo NO),)
+whois_LDADD += $(shell $(PKG_CONFIG) --libs libidn)
+DEFS += -DHAVE_LIBIDN $(shell $(PKG_CONFIG) --cflags libidn)
 endif
 
 ifdef HAVE_ICONV
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whois-5.2.19/config.h new/whois-5.2.20/config.h
--- old/whois-5.2.19/config.h   2017-12-10 17:13:28.000000000 +0100
+++ new/whois-5.2.20/config.h   2017-12-27 03:09:58.000000000 +0100
@@ -60,10 +60,6 @@
 
 /* FIXME: which systems lack this? */
 #define HAVE_GETTIMEOFDAY
-/* FIXME: disabled because it does not parse addresses with a netmask length.
- * The code using it needs to be either fixed or removed.
-#define HAVE_INET_PTON
-*/
 
 /*
  * Please send patches to correctly ignore old releases which lack a RNG
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whois-5.2.19/debian/changelog 
new/whois-5.2.20/debian/changelog
--- old/whois-5.2.19/debian/changelog   2017-12-10 17:16:58.000000000 +0100
+++ new/whois-5.2.20/debian/changelog   2017-12-27 03:15:27.000000000 +0100
@@ -1,3 +1,12 @@
+whois (5.2.20) unstable; urgency=medium
+
+  * Added the .mr TLD server.
+  * Removed the .bs TLD server.
+  * Updated the .ai, .gh, .gr, .kw, .ls, .ph, .sb, .com.uy and .vn TLD
+    servers.
+
+ -- Marco d'Itri <[email protected]>  Wed, 27 Dec 2017 03:15:27 +0100
+
 whois (5.2.19) unstable; urgency=medium
 
   * Switched do libidn2.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whois-5.2.19/mkpasswd.c new/whois-5.2.20/mkpasswd.c
--- old/whois-5.2.19/mkpasswd.c 2017-12-10 17:14:07.000000000 +0100
+++ new/whois-5.2.20/mkpasswd.c 2017-12-27 03:09:58.000000000 +0100
@@ -364,17 +364,17 @@
 
 void* get_random_bytes(const unsigned int count)
 {
-    char *buf;
-    int fd;
-    ssize_t bytes_read;
+    char *buf = NOFAIL(malloc(count));
 
-    buf = NOFAIL(malloc(count));
 #if defined HAVE_ARC4RANDOM_BUF
     arc4random_buf(buf, count);
 #elif defined HAVE_GETENTROPY
     if (getentropy(buf, count) < 0)
        perror("getentropy");
 #else
+    int fd;
+    ssize_t bytes_read;
+
     fd = open(RANDOM_DEVICE, O_RDONLY);
     if (fd < 0) {
        perror("open(" RANDOM_DEVICE ")");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whois-5.2.19/tld_serv_list 
new/whois-5.2.20/tld_serv_list
--- old/whois-5.2.19/tld_serv_list      2017-11-21 18:23:01.000000000 +0100
+++ new/whois-5.2.20/tld_serv_list      2017-12-27 03:15:27.000000000 +0100
@@ -67,8 +67,8 @@
 .ae    whois.aeda.net.ae
 .af    whois.nic.af
 .ag    whois.nic.ag
-.ai    whois.ai
-.al    NONE            # http://www.akep.al/en/kerkoni-domain
+.ai    whois.nic.ai
+.al    NONE            # https://www.akep.al/en/kerkoni-domain-2
 .am    whois.amnic.net
 .ao    NONE            # www.dns.ao
 .aq    NONE            # 2day.com
@@ -95,7 +95,7 @@
 .bo    whois.nic.bo
 #.bq
 .br    whois.registro.br
-.bs    WEB http://www.nic.bs/cgi-bin/search.pl
+.bs    NONE            # http://www.register.bs/
 .bt    WEB http://www.nic.bt/
 .bv    NONE            # http://www.norid.no/domenenavnbaser/bv-sj.html
 .by    whois.cctld.by
@@ -119,7 +119,7 @@
 .cr    whois.nic.cr
 .cu    WEB http://www.nic.cu/
 .cv    WEB http://www.dns.cv/
-.cw    NONE            # http://www.una.cw/cw_registry/
+.cw    NONE            # 
http://www.uoc.cw/ictssite/index.php/domreg/registering-a-cw-domain/register
 .cx    whois.nic.cx
 .cy    WEB http://www.nic.cy/nslookup/online_database.php
 .cz    whois.nic.cz
@@ -149,14 +149,14 @@
 .ge    WEB http://www.registration.ge/
 .gf    whois.mediaserv.net
 .gg    whois.gg
-.gh    WEB http://www.nic.gh/customer/search_c.htm
+.gh    whois.nic.gh
 .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/
 .gp    WEB https://www.dom-enic.com/whois.html
 .gq    whois.dominio.gq
-.gr    WEB https://grweb.ics.forth.gr/public/whois.jsp?lang=en
+.gr    WEB https://grweb.ics.forth.gr/public/whois
 .gs    whois.nic.gs
 .gt    WEB http://www.gt/
 .gu    WEB http://gadao.gov.gu/domainsearch.htm
@@ -184,13 +184,13 @@
 .jp    whois.jprs.jp
 .ke    whois.kenic.or.ke
 .kg    whois.kg
-.kh    NONE            # 
http://www.trc.gov.kh/index.php/en/newsCategory/view?id=42&detail_id=68
+.kh    NONE            # 
https://www.trc.gov.kh/en/offline-services/dns-registration/
 .ki    whois.nic.ki
 .km    NONE            # www.domaine.km
 .kn    whois.nic.kn
 .kp    NONE            # NIC? http://www.star.co.kp/
 .kr    whois.kr
-.kw    WEB http://www.kw/
+.kw    whois.nic.kw
 .ky    whois.kyregistry.ky
 .kz    whois.nic.kz
 .la    whois.nic.la
@@ -199,7 +199,7 @@
 .li    whois.nic.li
 .lk    whois.nic.lk
 .lr    NONE            # http://www.psg.com/dns/lr/
-.ls    WEB http://www.co.ls/co.asp
+.ls    WEB http://www.nic.ls/
 .lt    whois.domreg.lt
 .lu    whois.dns.lu
 .lv    whois.nic.lv
@@ -218,7 +218,7 @@
 .mo    WEB http://www.monic.mo/        # whois.monic.mo is restricted
 .mp    NONE            # get.mp
 .mq    whois.mediaserv.net
-.mr    NONE            # www.nic.mr
+.mr    whois.nic.mr
 .ms    whois.nic.ms
 .mt    WEB https://www.nic.org.mt/dotmt/ # whois.nic.org.mt is restricted
 .mu    whois.nic.mu
@@ -246,7 +246,7 @@
 .pg    NONE    # http://www.unitech.ac.pg/
 .edu.ph        WEB http://services.ph.net/dns/query.pl
 .gov.ph        NONE    # http://dns.gov.ph/
-.ph    WEB http://www.dot.ph/whois
+.ph    WEB https://whois.dot.ph/
 .pk    WEB http://www.pknic.net.pk/
 .co.pl whois.co.pl     # "unofficial" SLD
 .pl    whois.dns.pl
@@ -265,7 +265,7 @@
 .ru    whois.tcinet.ru
 .rw    whois.ricta.org.rw      # http://www.ricta.org.rw/
 .sa    whois.nic.net.sa
-.sb    whois.nic.sb
+.sb    whois.nic.net.sb
 .sc    whois2.afilias-grs.net          # www.nic.sc
 .sd    NONE            # http://wwe.domains.sd/
 .se    whois.iis.se
@@ -322,7 +322,7 @@
 #.um
 .fed.us        whois.nic.gov
 .us    whois.nic.us
-.com.uy        WEB https://nic.anteldata.com.uy/dns/consultaWhois/whois.action
+.com.uy        WEB https://nic.com.uy/public/consulta-whois/acceder.action
 .uy    whois.nic.org.uy
 .uz    whois.cctld.uz
 .va    NONE
@@ -330,7 +330,7 @@
 .ve    whois.nic.ve
 .vg    whois.nic.vg
 .vi    WEB https://secure.nic.vi/whois-lookup/
-.vn    WEB http://www.vnnic.vn/en/domain
+.vn    WEB http://www.vnnic.vn/en
 .vu    vunic.vu
 .wf    whois.nic.wf
 .ws    whois.website.ws
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whois-5.2.19/version.h new/whois-5.2.20/version.h
--- old/whois-5.2.19/version.h  2017-12-10 17:16:58.000000000 +0100
+++ new/whois-5.2.20/version.h  2017-12-27 03:15:27.000000000 +0100
@@ -1 +1 @@
-#define VERSION "5.2.19"
+#define VERSION "5.2.20"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whois-5.2.19/whois.c new/whois-5.2.20/whois.c
--- old/whois-5.2.19/whois.c    2017-08-22 18:37:55.000000000 +0200
+++ new/whois-5.2.20/whois.c    2017-12-27 03:09:58.000000000 +0100
@@ -36,9 +36,6 @@
 #elif defined HAVE_LIBIDN
 #include <idna.h>
 #endif
-#ifdef HAVE_INET_PTON
-#include <arpa/inet.h>
-#endif
 
 /* Application-specific */
 #include "version.h"
@@ -541,12 +538,7 @@
        return strdup(whereas32(as32));
 
     /* smells like an IP? */
-#ifdef HAVE_INET_PTON
-    if (inet_pton(AF_INET, s, &ip) > 0) {
-       ip = ntohl(ip);
-#else
     if ((ip = myinet_aton(s))) {
-#endif
        for (i = 0; ip_assign[i].serv; i++)
            if ((ip & ip_assign[i].mask) == ip_assign[i].net)
                return strdup(ip_assign[i].serv);
@@ -1260,18 +1252,6 @@
 char *convert_6to4(const char *s)
 {
     char *new;
-
-#ifdef HAVE_INET_PTON
-    struct in6_addr ipaddr;
-    unsigned char *ip;
-
-    if (inet_pton(AF_INET6, s, &ipaddr) <= 0)
-       return strdup("0.0.0.0");
-
-    ip = (unsigned char *)&ipaddr;
-    new = malloc(sizeof("255.255.255.255"));
-    sprintf(new, "%d.%d.%d.%d", *(ip + 2), *(ip + 3), *(ip + 4), *(ip + 5));
-#else
     int items;
     unsigned int a, b;
     char c;
@@ -1290,7 +1270,6 @@
 
     new = malloc(sizeof("255.255.255.255"));
     sprintf(new, "%u.%u.%u.%u", a >> 8, a & 0xff, b >> 8, b & 0xff);
-#endif
 
     return new;
 }
@@ -1298,19 +1277,6 @@
 char *convert_teredo(const char *s)
 {
     char *new;
-
-#ifdef HAVE_INET_PTON
-    struct in6_addr ipaddr;
-    unsigned char *ip;
-
-    if (inet_pton(AF_INET6, s, &ipaddr) <= 0)
-       return strdup("0.0.0.0");
-
-    ip = (unsigned char *)&ipaddr;
-    new = malloc(sizeof("255.255.255.255"));
-    sprintf(new, "%d.%d.%d.%d", *(ip + 12) ^ 0xff, *(ip + 13) ^ 0xff,
-           *(ip + 14) ^ 0xff, *(ip + 15) ^ 0xff);
-#else
     unsigned int a, b;
 
     if (sscanf(s, "2001:%*[^:]:%*[^:]:%*[^:]:%*[^:]:%*[^:]:%x:%x", &a, &b) != 
2)
@@ -1320,7 +1286,6 @@
     b ^= 0xffff;
     new = malloc(sizeof("255.255.255.255"));
     sprintf(new, "%u.%u.%u.%u", a >> 8, a & 0xff, b >> 8, b & 0xff);
-#endif
 
     return new;
 }
@@ -1361,7 +1326,6 @@
     return new;
 }
 
-#ifndef HAVE_INET_PTON
 unsigned long myinet_aton(const char *s)
 {
     unsigned long a, b, c, d;
@@ -1377,7 +1341,6 @@
        return 0;
     return (a << 24) + (b << 16) + (c << 8) + d;
 }
-#endif
 
 unsigned long asn32_to_long(const char *s)
 {


Reply via email to