SHA256
1
0
forked from pool/whois

Accepting request 1071150 from network:utilities

OBS-URL: https://build.opensuse.org/request/show/1071150
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/whois?expand=0&rev=89
This commit is contained in:
Dominique Leuenberger 2023-03-14 17:15:47 +00:00 committed by Git OBS Bridge
commit fcec187955
6 changed files with 48 additions and 27 deletions

View File

@ -1,7 +1,7 @@
Index: whois-5.2.12/mkpasswd.c
Index: whois-5.5.16/mkpasswd.c
===================================================================
--- whois-5.2.12.orig/mkpasswd.c
+++ whois-5.2.12/mkpasswd.c
--- whois-5.5.16.orig/mkpasswd.c
+++ whois-5.5.16/mkpasswd.c
@@ -17,10 +17,7 @@
*/
@ -13,10 +13,10 @@ Index: whois-5.2.12/mkpasswd.c
/* System library */
#include <stdio.h>
Index: whois-5.2.12/whois.c
Index: whois-5.5.16/whois.c
===================================================================
--- whois-5.2.12.orig/whois.c
+++ whois-5.2.12/whois.c
--- whois-5.5.16.orig/whois.c
+++ whois-5.5.16/whois.c
@@ -7,9 +7,6 @@
* (at your option) any later version.
*/
@ -27,16 +27,16 @@ Index: whois-5.2.12/whois.c
/* System library */
#include <stdio.h>
#include <stdlib.h>
Index: whois-5.2.12/Makefile
Index: whois-5.5.16/Makefile
===================================================================
--- whois-5.2.12.orig/Makefile
+++ whois-5.2.12/Makefile
@@ -53,7 +53,7 @@ endif
--- whois-5.5.16.orig/Makefile
+++ whois-5.5.16/Makefile
@@ -69,7 +69,7 @@ else
mkpasswd_LDADD += -lcrypt
endif
-CPPFLAGS += $(DEFS) $(INCLUDES)
+CPPFLAGS += -D_GNU_SOURCE $(DEFS) $(INCLUDES)
##############################################################################
all: Makefile.depend whois mkpasswd pos
BASHCOMPDIR ?= $(shell $(PKG_CONFIG) --variable=completionsdir bash-completion 2>/dev/null || echo /etc/bash_completion.d)

View File

@ -5,25 +5,25 @@ Format: 3.0 (native)
Source: whois
Binary: whois
Architecture: any
Version: 5.5.15
Version: 5.5.16
Maintainer: Marco d'Itri <md@linux.it>
Standards-Version: 4.6.1.1
Vcs-Browser: https://github.com/rfc1036/whois
Vcs-Git: https://github.com/rfc1036/whois.git
Build-Depends: debhelper-compat (= 13), gettext, pkg-config, libidn2-dev (>= 2.0.3)
Build-Depends: debhelper-compat (= 13), gettext, pkg-config, bash-completion, libidn2-dev (>= 2.0.3)
Package-List:
whois deb net standard arch=any
Checksums-Sha1:
c7db35f75ec61cad8466d3683970e5fbfd3dedcf 89960 whois_5.5.15.tar.xz
ea4a35f9ea52ac16c283db81c44a0bd10eb62daa 90516 whois_5.5.16.tar.xz
Checksums-Sha256:
16951471874750cd735405cc995d659f8b45005f6dfe4eabf71e8b4f59f8aeb8 89960 whois_5.5.15.tar.xz
0a818f56c4bb909cf8665766cb683931de52901d6a33627d51b1005add3cdb27 90516 whois_5.5.16.tar.xz
Files:
c6cff7ed72b004127a7afa29dd510868 89960 whois_5.5.15.tar.xz
f9ebb22480329ee691aba52ba867ed6a 90516 whois_5.5.16.tar.xz
-----BEGIN PGP SIGNATURE-----
iHUEARYIAB0WIQQnKUXNg20437dCfobLPsM64d7XgQUCY6ydNAAKCRDLPsM64d7X
gS/UAP41hxsjjpv6Ln6fa6GH1sN8I22s0YliVRYWdpMLoYxM8wEA57NrtuXydHFO
LtCHCIcxVr0eJrpquQEPAJEIy8zV7AE=
=7o4f
iHUEARYIAB0WIQQnKUXNg20437dCfobLPsM64d7XgQUCY/1G6AAKCRDLPsM64d7X
gfb5AP4kbL5Pps3rco1mHI+7BbkNgkFHTu01aokRsqbWi5RrkAEAqgLXdj+9MkHz
57NV6E+qRtA+I537nmba6+bFSKofVwk=
=qOfM
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Mar 7 07:39:28 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 5.5.16:
* Add bash completion support, courtesy of Ville Skyttä.
* Updated the .tr TLD server.
* Removed support for -metu NIC handles.
-------------------------------------------------------------------
Mon Jan 2 19:41:12 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -17,7 +17,7 @@
Name: whois
Version: 5.5.15
Version: 5.5.16
Release: 0
Summary: Intelligent WHOIS client
License: GPL-2.0-or-later
@ -45,14 +45,23 @@ It can intelligently select the appropriate WHOIS server for most queries.
The package also contains mkpasswd, a features-rich front end to the
password encryption function crypt(3).
%package bash-completion
Summary: Bash completion for whois
Group: System/Shells
Requires: %{name}
Requires: bash-completion
Supplements: (%{name} and bash-completion)
%description bash-completion
bash command line completion support for whois.
%prep
# the signature is on the Debian .dsc. Extract the checksums and verify against source
echo "`grep -A1 "Files:" %{SOURCE2} | grep %{name}_%{version}.tar.xz | cut -d\ -f2` %{SOURCE0}" | md5sum -c
echo "`grep -A1 "Checksums-Sha1" %{SOURCE2} | grep %{name}_%{version}.tar.xz | cut -d\ -f2` %{SOURCE0}" | sha1sum -c
echo "`grep -A1 "Checksums-Sha256" %{SOURCE2} | grep %{name}_%{version}.tar.xz | cut -d\ -f2` %{SOURCE0}" | sha256sum -c
%setup -q -n %{name}
%patch0 -p1
%autosetup -p1
%build
%make_build all mkpasswd HAVE_LIBIDN2=1 HAVE_ICONV=1 \
@ -77,4 +86,8 @@ make BASEDIR=%{buildroot} mandir=%{_mandir} prefix=%{_prefix} \
%{_mandir}/man1/*.1%{?ext_man}
%{_mandir}/man5/*.5%{?ext_man}
%files bash-completion
%{_sysconfdir}/bash_completion.d/whois
%{_sysconfdir}/bash_completion.d/mkpasswd
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:16951471874750cd735405cc995d659f8b45005f6dfe4eabf71e8b4f59f8aeb8
size 89960

3
whois_5.5.16.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0a818f56c4bb909cf8665766cb683931de52901d6a33627d51b1005add3cdb27
size 90516