5.2.7 bump

This commit is contained in:
Petr Písař 2015-03-27 07:51:48 +01:00
parent f1bf803fe9
commit 487a255fdc
4 changed files with 7 additions and 39 deletions

1
.gitignore vendored
View File

@ -26,3 +26,4 @@
/whois_5.2.4.tar.xz
/whois_5.2.5.tar.xz
/whois_5.2.6.tar.xz
/whois_5.2.7.tar.xz

View File

@ -1 +1 @@
20bfee4d10f850fe28bcc5fd8342e7bb whois_5.2.6.tar.xz
5dc3d9d77224109f61b5dd1e7cfafebc whois_5.2.7.tar.xz

View File

@ -1,32 +0,0 @@
From b41ad469f975f274c2f2e0716241467ff495ff2b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Tue, 24 Mar 2015 17:13:05 +0100
Subject: [PATCH] Remove bogus hide_strings[] entry
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The empty starting string matched always and the final NULL string
enabled hiding to the end of the response.
As a result any response got hidden.
<https://github.com/rfc1036/whois/issues/27>
Signed-off-by: Petr Písař <ppisar@redhat.com>
diff --git a/data.h b/data.h
index 402fce5..e5c7b01 100644
--- a/data.h
+++ b/data.h
@@ -72,7 +72,6 @@ const char *hide_strings[] = {
"TERMS OF USE: The information in the Whois database", NULL, /* .wang */
"The WHOIS service offered by Neustar, Inc, on behalf", NULL,
"The WHOIS service offered by the Registry Operator", NULL, /* .science */
- "", NULL,
/* ccTLDs */
"Access to CCTLD WHOIS information is provided", "", /* Afilias */
--
2.1.0

View File

@ -1,14 +1,11 @@
Name: whois
Version: 5.2.6
Release: 2%{?dist}
Version: 5.2.7
Release: 1%{?dist}
Summary: Improved WHOIS client
Group: Applications/Internet
License: GPLv2+
URL: http://www.linux.it/~md/software/
Source0: http://ftp.debian.org/debian/pool/main/w/%{name}/%{name}_%{version}.tar.xz
# Fix a regression in hiding disclaimers, submitted to upstream
# <https://github.com/rfc1036/whois/issues/27>
Patch0: whois-5.2.6-Remove-bogus-hide_strings-entry.patch
BuildRequires: gettext
BuildRequires: libidn-devel
BuildRequires: perl
@ -34,7 +31,6 @@ addresses and network names.
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1
%build
@ -82,6 +78,9 @@ fi
%changelog
* Fri Mar 27 2015 Petr Pisar <ppisar@redhat.com> - 5.2.7-1
- 5.2.7 bump
* Tue Mar 24 2015 Petr Pisar <ppisar@redhat.com> - 5.2.6-2
- Fix a regression in hiding disclaimers