Hello community,

here is the log from the commit of package whois for openSUSE:Factory checked 
in at 2017-09-21 12:35:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/whois (Old)
 and      /work/SRC/openSUSE:Factory/.whois.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "whois"

Thu Sep 21 12:35:24 2017 rev:64 rq:527608 version:5.2.18

Changes:
--------
--- /work/SRC/openSUSE:Factory/whois/whois.changes      2017-08-18 
15:06:55.160898748 +0200
+++ /work/SRC/openSUSE:Factory/.whois.new/whois.changes 2017-09-21 
12:36:21.466493427 +0200
@@ -1,0 +2,13 @@
+Wed Sep 20 11:34:30 UTC 2017 - [email protected]
+
+- whois 5.2.18:
+  * Fix querying Verisign registry with parameters
+  * Fix return code for queries like "nameserver name.example.com"
+- includes changes from 5.2.17:
+  * Fix whois referrals for .com, .net, .jobs, .bz, .cc and .tv,
+    broken by an ICANN-mandated output change:
+    https://www.icann.org/resources/pages/rdds-labeling-policy-2017-02-01-en
+  * Add various India NIXI delegated domains TLD servers
+  * Updated the list of new gTLDs
+
+-------------------------------------------------------------------

Old:
----
  whois_5.2.16.tar.xz

New:
----
  whois_5.2.18.tar.xz

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

Other differences:
------------------
++++++ whois.spec ++++++
--- /var/tmp/diff_new_pack.5gQ40S/_old  2017-09-21 12:36:27.053707186 +0200
+++ /var/tmp/diff_new_pack.5gQ40S/_new  2017-09-21 12:36:27.053707186 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           whois
-Version:        5.2.16
+Version:        5.2.18
 Release:        0
 Summary:        Intelligent WHOIS client
 License:        GPL-2.0+

++++++ whois.asc ++++++
--- /var/tmp/diff_new_pack.5gQ40S/_old  2017-09-21 12:36:27.093701558 +0200
+++ /var/tmp/diff_new_pack.5gQ40S/_new  2017-09-21 12:36:27.093701558 +0200
@@ -5,32 +5,32 @@
 Source: whois
 Binary: whois
 Architecture: any
-Version: 5.2.16
+Version: 5.2.18
 Maintainer: Marco d'Itri <[email protected]>
-Standards-Version: 3.9.8
+Standards-Version: 4.1.0
 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:
- 70cb78279692a1b7c92e82f3bdc3be90d7817370 82108 whois_5.2.16.tar.xz
+ d8794d63caccb049e3ebf43b7321a83f1dedf82f 82368 whois_5.2.18.tar.xz
 Checksums-Sha256:
- e9d208b61ccea96b611e522d30fb753dbefed0d44cfabe346e1928690453fc3a 82108 
whois_5.2.16.tar.xz
+ c35d0d26aff37107c244a8ad54fd42e497ec0b90f76309e9beb7078b827c97d5 82368 
whois_5.2.18.tar.xz
 Files:
- 1cc5d3820994806373b8b6ad9afda868 82108 whois_5.2.16.tar.xz
+ 5dfcf14c7c00a01f34966a920c8b97c2 82368 whois_5.2.18.tar.xz
 
 -----BEGIN PGP SIGNATURE-----
 
-iQGzBAEBCAAdFiEEGBsIcS5ipP0URKfyK/WlwSLE96QFAlk+azYACgkQK/WlwSLE
-96SsbQv9GaDw8ICqD++9jMO67kOrmxp7yYL8K/+7+Ij+GLfDJmvm9quh53o6wOlZ
-+bYyLczmd5Mc/on18e3V1fxC8Ah4doD64lJzE719xRwqiUtJcwpXg0rCuIxOe3ZL
-aG7V3ZDMmUu14GtEexwM1525jqOxB9aJhezKM7vQDxueK9WJSoalrK82fL6y4VDZ
-9K6MbTZVZr8cD8wtMu8qaRK0DXw6sr7IP36eu7XdTgOSGF22fK3auWRLZ0hosIrG
-4dB6Z+G3diq0cbKK9jl4HLH0ZFMetBtwHBodmxDC9ijfoHSLXtitzbk3BJc7Vcea
-ap2gsPrcwHsFj9JrOJ0HdFTSruCBYaAw8EReeNY3x3Hdq2AxUh0me/T1GTs0MMgr
-Oxirqb/sRW+LLyJuLytj3Fcy6xSTt9SONZchsvpGT+T+BVBr5Ms1hrE0Udb6l0aN
-Cq/9SfUUgRGp+Erp3bMhkENV3VoITHGb4XXu7zuuJNu1pNYTu4wd2KMpDDbUM4Vp
-VzkYDLCR
-=RdQK
+iQGzBAEBCAAdFiEEGBsIcS5ipP0URKfyK/WlwSLE96QFAlmcYIoACgkQK/WlwSLE
+96TCNwwAi9IwTYCS0etLmj/EuY3T9z5jfcYWBck+/NzBgdEG3rKKtRgFqmahZro2
+KDD9EYzddLm6h372pBEZPk2EaAS/tFoNAPy0q3YxnfSBxtf3jzHX36prjKYVMLDS
++XJUC2uwDP6tTJdj8+Kp99YnYo7IYeNVpQHBuipaZaLi5Tgx2gFikeCTKy64aVQ2
+eXMeUbvIDlH1fLKsUZkD++3gu70etYHld0+yLxZAdW/g7XSI2iAZKiCV7yqkIjUh
+VL56RpZimfTSiDR4KfPzduByeHGvf+YMILtLNEnEIGyIZKZJZD04CpIAa4V7yjnm
+09mGXjRUT1vgHDYS+ottdupJp+5XFIjWKy6NHCAG/GKe2vRt4itprfRejAkI1i5V
+3Fs3x9bOWi8l9U5A++9HW6NTSn3UlsseIrMV220b5VeHWmTqBlGh/BPea55971rG
+2YA3NrC2uYQRQSewi8975Xjts3Hk0hIxi9bNmnDpbOwZQsjZvmQIGN5U6tGO+mhQ
+agEAhPxe
+=v3uS
 -----END PGP SIGNATURE-----


++++++ whois_5.2.16.tar.xz -> whois_5.2.18.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whois-5.2.16/Makefile new/whois-5.2.18/Makefile
--- old/whois-5.2.16/Makefile   2017-02-27 00:51:23.000000000 +0100
+++ new/whois-5.2.18/Makefile   2017-08-22 16:45:02.000000000 +0200
@@ -32,14 +32,12 @@
 DEFS += -DLOCALEDIR=\"$(BASEDIR)$(prefix)/share/locale\"
 endif
 
-ifdef HAVE_LIBIDN2
-whois_LDADD += -lidn2
-DEFS += -DHAVE_LIBIDN2
-else
-ifdef HAVE_LIBIDN
-whois_LDADD += -lidn
-DEFS += -DHAVE_LIBIDN
-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)
 endif
 
 ifdef HAVE_ICONV
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whois-5.2.16/debian/changelog 
new/whois-5.2.18/debian/changelog
--- old/whois-5.2.16/debian/changelog   2017-03-13 01:40:38.000000000 +0100
+++ new/whois-5.2.18/debian/changelog   2017-08-22 16:45:02.000000000 +0200
@@ -1,3 +1,29 @@
+whois (5.2.18) unstable; urgency=medium
+
+  * Fixed an unitialised variable which used to break querying the
+    Verisign registry servers with parameters.
+  * Do not request domains only when querying the Verisign registry
+    servers for a hostname.
+  * Fixed the program return code for queries like
+    "nameserver name.example.com".
+
+ -- Marco d'Itri <[email protected]>  Tue, 22 Aug 2017 16:45:02 +0200
+
+whois (5.2.17) unstable; urgency=high
+
+  * Fixed whois referrals for .com, .net, .jobs, .bz, .cc and .tv, broken
+    by an ICANN-mandated output change:
+    https://www.icann.org/resources/pages/rdds-labeling-policy-2017-02-01-en
+  * Added the .xn--2scrj9c (ಭಾರತ, India), .xn--3hcrj9c (ଭାରତ, India),
+    .xn--45br5cyl (ভাৰত, India), .xn--h2breg3eve (भारतम्, India),
+    .xn--h2brj9c8c (भारोत, India), .xn--mgbbh1a (ﺏﺍﺮﺗ, India),
+    .xn--mgbgu82a (ڀﺍﺮﺗ, India) and .xn--rvc1e0am3e (ഭാരതം, India)
+    TLD servers.
+  * Updated the list of new gTLDs.
+  * whois.1: fixed a typo. (Closes: #866742)
+
+ -- Marco d'Itri <[email protected]>  Thu, 27 Jul 2017 17:08:47 +0200
+
 whois (5.2.16) unstable; urgency=medium
 
   * Fixed parsing of 6to4 addresses broken in 5.2.15.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whois-5.2.16/debian/control 
new/whois-5.2.18/debian/control
--- old/whois-5.2.16/debian/control     2016-10-30 18:49:57.000000000 +0100
+++ new/whois-5.2.18/debian/control     2017-08-22 16:45:02.000000000 +0200
@@ -2,7 +2,7 @@
 Section: net
 Priority: standard
 Maintainer: Marco d'Itri <[email protected]>
-Standards-Version: 3.9.8
+Standards-Version: 4.1.0
 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.16/debian/rules 
new/whois-5.2.18/debian/rules
--- old/whois-5.2.16/debian/rules       2017-02-27 00:37:37.000000000 +0100
+++ new/whois-5.2.18/debian/rules       2017-08-22 16:45:02.000000000 +0200
@@ -16,7 +16,7 @@
 
 build:
        dh_testdir
-       $(MAKE) CONFIG_FILE="/etc/whois.conf" HAVE_LIBIDN=1 HAVE_ICONV=1
+       $(MAKE) CONFIG_FILE="/etc/whois.conf" HAVE_ICONV=1
        touch $@
 
 clean:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whois-5.2.16/mkpasswd.c new/whois-5.2.18/mkpasswd.c
--- old/whois-5.2.16/mkpasswd.c 2017-02-27 00:51:23.000000000 +0100
+++ new/whois-5.2.18/mkpasswd.c 2017-08-22 16:45:02.000000000 +0200
@@ -11,9 +11,9 @@
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 /* for crypt, snprintf and strcasecmp */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whois-5.2.16/new_gtlds_list 
new/whois-5.2.18/new_gtlds_list
--- old/whois-5.2.16/new_gtlds_list     2017-03-13 01:40:38.000000000 +0100
+++ new/whois-5.2.18/new_gtlds_list     2017-07-27 17:44:55.000000000 +0200
@@ -448,6 +448,7 @@
 gratis
 green
 gripe
+grocery
 group
 guardian
 gucci
@@ -638,6 +639,7 @@
 man
 management
 mango
+map
 market
 marketing
 markets
@@ -658,6 +660,7 @@
 men
 menu
 meo
+merckmsd
 metlife
 miami
 microsoft
@@ -771,6 +774,7 @@
 pet
 pfizer
 pharmacy
+phd
 philips
 phone
 photo
@@ -894,6 +898,7 @@
 scjohnson
 scor
 scot
+search
 seat
 secure
 security
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whois-5.2.16/tld_serv_list 
new/whois-5.2.18/tld_serv_list
--- old/whois-5.2.16/tld_serv_list      2017-03-13 01:40:38.000000000 +0100
+++ new/whois-5.2.18/tld_serv_list      2017-07-27 17:44:55.000000000 +0200
@@ -349,7 +349,10 @@
 
 # AW means that I had to guess the whois server name, but I was not able
 # to find any registered subdomains to verify it.
+.xn--2scrj9c           whois.inregistry.net    # India
 .xn--3e0b707e          whois.kr                # Korea, Republic of
+.xn--3hcrj9c           whois.inregistry.net    # India
+.xn--45br5cyl          whois.inregistry.net    # India
 .xn--45brj9c           whois.inregistry.net    # India, Bengali AW
 .xn--54b7fta0cc                NONE                    # Bangladesh
 .xn--80ao21a           whois.nic.kz            # Kazakhstan
@@ -364,6 +367,8 @@
 .xn--fpcrj9c3d         whois.inregistry.net    # India, Telugu AW
 .xn--fzc2c9e2c         whois.nic.lk            # Sri Lanka, Sinhala
 .xn--gecrj9c           whois.inregistry.net    # India, Gujarati AW
+.xn--h2breg3eve                whois.inregistry.net    # India
+.xn--h2brj9c8c         whois.inregistry.net    # India
 .xn--h2brj9c           whois.inregistry.net    # India, Hindi AW
 .xn--j1amh             whois.dotukr.com        # Ukraine
 .xn--j6w193g           whois.hkirc.hk          # Hong Kong
@@ -371,24 +376,27 @@
 .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
 .xn--mgbai9azgqp6j     NONE                    # Pakistan
 .xn--mgbayh7gpa                WEB http://idn.jo/whois_a.aspx  # Jordan
 .xn--mgbbh1a71e                whois.inregistry.net    # India, Urdu AW
+.xn--mgbbh1a           whois.inregistry.net    # India
 .xn--mgbc0a9azcg       NONE                    # Morocco
 .xn--mgberp4a5d4ar     whois.nic.net.sa        # Saudi Arabia
+.xn--mgbgu82a          whois.inregistry.net    # India
 .xn--mgbpl2fh          NONE                    # Sudan
 .xn--mgbtx2b           whois.cmc.iq            # Iraq
 .xn--mgbx4cd0ab                whois.mynic.my          # Malaysia AW
+.xn--mix891f           WEB http://www.monic.mo/ # Macao
 .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
 .xn--pgbs0dh           NONE                    # Tunisia
 .xn--qxam              WEB https://grweb.ics.forth.gr/public/whois.jsp?lang=en 
# Greece AW
+.xn--rvc1e0am3e                whois.inregistry.net    # India
 .xn--s9brj9c           whois.inregistry.net    # India, Punjabi AW
 .xn--wgbh1c            whois.dotmasr.eg        # Egypt
 .xn--wgbl6a            whois.registry.qa       # Qatar
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whois-5.2.16/version.h new/whois-5.2.18/version.h
--- old/whois-5.2.16/version.h  2017-02-27 01:07:40.000000000 +0100
+++ new/whois-5.2.18/version.h  2017-08-22 16:45:02.000000000 +0200
@@ -1 +1 @@
-#define VERSION "5.2.15"
+#define VERSION "5.2.18"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whois-5.2.16/whois.1 new/whois-5.2.18/whois.1
--- old/whois-5.2.16/whois.1    2013-12-26 07:48:10.000000000 +0100
+++ new/whois-5.2.18/whois.1    2017-08-22 16:45:02.000000000 +0200
@@ -77,9 +77,6 @@
 .TP 8
 .B \-d
 Return the reverse DNS delegation object too.
-.\" .TP 8
-.\" .B \-F
-.\" Return attribute names in short format. Implies \fI-r\fP option.
 .TP 8
 .B \-g SOURCE:FIRST\-LAST
 Search updates from \fISOURCE\fP database between \fIFIRST\fP and \fILAST\fP
@@ -136,19 +133,15 @@
 .TP 8
 .B -v TYPE
 Return the verbose template for a object of \fITYPE\fP.
-.\" .TP 8
-.\" .B \-V AGENT
-.\" Change user agent identifier. Typical format is \fIXXn.n\fP like 
\fIMd5.0\fP.
-.\" RIPE uses the value to identify a client behind a registered proxy (in that
-.\" case a comma followed by a client IP address should be appended).
 .TP 8
 .B -x
 Search for only exact match on network address prefix.
 .SH "NOTES"
-Please remember that \fIwhois.networksolutions.com\fP by default will
-only search in the domains database. If you want to search for NIC handles
-you have to prepend a \fI!\fP character. When you do this, the default
-server becomes \fIwhois.networksolutions.com\fP.
+When querying the Verisign gTLDs (e.g. .com, .net...) thin registry servers
+for a domain the program will automatically prepend the \fIdomain\fP
+keyword to only show domain records.
+The \fInameserver\fP or \fIregistrar\fP keywords must be used to show
+other kinds of records.
 .P
 When querying \fIwhois.arin.net\fP for IPv4 or IPv6 networks, the CIDR
 netmask length will be automatically removed from the query string.
@@ -209,7 +202,7 @@
 .SH "BUGS"
 The program may have buffer overflows in the command line parser:
 be sure to not pass untrusted data to it.
-It should be rewritten to use a dynamics strings library.
+It should be rewritten to use a dynamic strings library.
 .SH "HISTORY"
 This program closely tracks the user interface of the whois client
 developed at RIPE by Ambrose Magee and others on the base of the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whois-5.2.16/whois.c new/whois-5.2.18/whois.c
--- old/whois-5.2.16/whois.c    2017-03-13 01:23:17.000000000 +0100
+++ new/whois-5.2.18/whois.c    2017-08-22 16:45:02.000000000 +0200
@@ -816,10 +816,17 @@
     int hide = hide_discl;
     char *referral_server = NULL;
     int state = 0;
+    int dotscount = 0;
 
     temp = malloc(strlen("domain ") + strlen(query) + 2 + 1);
+    *temp = '\0';
 
-    if (!strpbrk(query, "=~ "))
+    /* if this has more than one dot then it is a name server */
+    for (p = (char *) query; *p != '\0'; p++)
+       if (*p == '.')
+           dotscount++;
+
+    if (dotscount == 1 && !strpbrk(query, "=~ "))
        strcpy(temp, "domain ");
     strcat(temp, query);
     strcat(temp, "\r\n");
@@ -834,8 +841,11 @@
           is queried */
        if (state == 0 && strneq(buf, "   Domain Name:", 15))
            state = 1;
-       if (state == 1 && (strneq(buf, "   Whois Server:", 16)
-                   || strneq(buf, "   WHOIS Server:", 16))) {
+       if (state == 0 && strneq(buf, "   Server Name:", 15)) {
+           referral_server = strdup("");
+           state = 2;
+       }
+       if (state == 1 && strneq(buf, "   Registrar WHOIS Server:", 26)) {
            for (p = buf; *p != ':'; p++);      /* skip until the colon */
            for (p++; *p == ' '; p++);          /* skip the spaces */
            referral_server = strdup(p);
@@ -884,7 +894,7 @@
           This is not supposed to happen. */
        if (state == 0 && strneq(buf, "Domain Name:", 12))
            state = 1;
-       if (state == 1 && strneq(buf, "Whois Server:", 13)) {
+       if (state == 1 && strneq(buf, "Registrar WHOIS Server:", 23)) {
            for (p = buf; *p != ':'; p++);      /* skip until colon */
            for (p++; *p == ' '; p++);          /* skip colon and spaces */
            referral_server = strdup(p);


Reply via email to