SHA256
1
0
forked from pool/whois

Accepting request 1128611 from network:utilities

OBS-URL: https://build.opensuse.org/request/show/1128611
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/whois?expand=0&rev=93
This commit is contained in:
Ana Guerrero 2023-11-24 22:33:50 +00:00 committed by Git OBS Bridge
commit 5d947f9b54
7 changed files with 51 additions and 14 deletions

View File

@ -0,0 +1,13 @@
Index: whois/utils.h
===================================================================
--- whois.orig/utils.h
+++ whois/utils.h
@@ -24,7 +24,7 @@
# define NONNULL
# define UNUSED
#endif
-#if defined __GNUC__ && !defined __clang__
+#if defined __GNUC__ && __GNUC__ >= 13 && !defined __clang__
# define MALLOC_FREE __attribute__((malloc(free)))
#else
# define MALLOC_FREE

3
whois-rpmlintrc Normal file
View File

@ -0,0 +1,3 @@
# WHOIS is the name of the RFC
addFilter("name-repeated-in-summary")

View File

@ -5,7 +5,7 @@ Format: 3.0 (native)
Source: whois Source: whois
Binary: whois Binary: whois
Architecture: any Architecture: any
Version: 5.5.19 Version: 5.5.20
Maintainer: Marco d'Itri <md@linux.it> Maintainer: Marco d'Itri <md@linux.it>
Standards-Version: 4.6.2.0 Standards-Version: 4.6.2.0
Vcs-Browser: https://github.com/rfc1036/whois Vcs-Browser: https://github.com/rfc1036/whois
@ -14,16 +14,16 @@ Build-Depends: debhelper-compat (= 13), gettext, pkg-config, bash-completion, li
Package-List: Package-List:
whois deb net standard arch=any whois deb net standard arch=any
Checksums-Sha1: Checksums-Sha1:
df8fcecb33989669385dbe8b26e2cd0c33ec7825 90728 whois_5.5.19.tar.xz 354c79b0844aa7e1cb4d1d6aa6ce7ccd888684fe 90880 whois_5.5.20.tar.xz
Checksums-Sha256: Checksums-Sha256:
f92817716e85e2e30851eab565d69c48ddbcb61ab92634a2a5fdff8ee7b26876 90728 whois_5.5.19.tar.xz 42085102dfad82067abe2d5d1cfca59586573dee528718559b022e762bb85cf1 90880 whois_5.5.20.tar.xz
Files: Files:
e719aef49e4ca3ff959fe4e18c3dd4a2 90728 whois_5.5.19.tar.xz e4fb517a6e26e78198f7f94625a5c59d 90880 whois_5.5.20.tar.xz
-----BEGIN PGP SIGNATURE----- -----BEGIN PGP SIGNATURE-----
iHUEARYIAB0WIQQnKUXNg20437dCfobLPsM64d7XgQUCZSMYxwAKCRDLPsM64d7X iHUEARYIAB0WIQQnKUXNg20437dCfobLPsM64d7XgQUCZU495QAKCRDLPsM64d7X
gZsfAPwNd2hJMwOSGFfo+RfD91jBdvNf3PqsLlwVr9IOA5WUnQEAwgkyD/YgbiWp geUaAQCccSpi2JpfM4eTSjQYoI1xkLw4IVcZzbc4VOD+O2eTKgD9FRnwi/r1lQiG
dyajTFtm+6yfE7JBEHl1mDGkOIG5RAo= g54KbTxzbYkIUYOwjWzxMsAqzEcLiAQ=
=VXtB =/wp+
-----END PGP SIGNATURE----- -----END PGP SIGNATURE-----

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Fri Nov 24 14:53:29 UTC 2023 - Danilo Spinella <oss@danyspin97.org>
- Fix build on SLE
* whois-remove-malloc-attribute.patch
-------------------------------------------------------------------
Mon Nov 20 15:46:28 UTC 2023 - Danilo Spinella <oss@danyspin97.org>
- Update to 5.5.20:
* Added the .gn TLD server.
* Removed 6 new gTLDs which are no longer active.
* Enabled getopt_long(3) support on Solaris.
- Add rpmlintrc file
* whois-rpmlintrc
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Oct 22 07:56:29 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de> Sun Oct 22 07:56:29 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -17,7 +17,7 @@
Name: whois Name: whois
Version: 5.5.19 Version: 5.5.20
Release: 0 Release: 0
Summary: Intelligent WHOIS client Summary: Intelligent WHOIS client
License: GPL-2.0-or-later License: GPL-2.0-or-later
@ -26,7 +26,9 @@ URL: https://github.com/rfc1036/whois
Source: https://ftp.debian.org/debian/pool/main/w/whois/%{name}_%{version}.tar.xz Source: https://ftp.debian.org/debian/pool/main/w/whois/%{name}_%{version}.tar.xz
Source2: https://ftp.debian.org/debian/pool/main/w/whois/%{name}_%{version}.dsc#/%{name}.asc Source2: https://ftp.debian.org/debian/pool/main/w/whois/%{name}_%{version}.dsc#/%{name}.asc
Source3: https://db.debian.org/fetchkey.cgi?fingerprint=6791403B68AE2690517C42EAE6FFF1E38DC968B0#/%{name}.keyring Source3: https://db.debian.org/fetchkey.cgi?fingerprint=6791403B68AE2690517C42EAE6FFF1E38DC968B0#/%{name}.keyring
Source4: %{name}-rpmlintrc
Patch0: whois-nobsdsource.patch Patch0: whois-nobsdsource.patch
Patch1: whois-remove-malloc-attribute.patch
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: xz BuildRequires: xz
BuildRequires: pkgconfig(libidn2) BuildRequires: pkgconfig(libidn2)
@ -51,6 +53,7 @@ Group: System/Shells
Requires: %{name} Requires: %{name}
Requires: bash-completion Requires: bash-completion
Supplements: (%{name} and bash-completion) Supplements: (%{name} and bash-completion)
BuildArch: noarch
%description bash-completion %description bash-completion
bash command line completion support for whois. bash command line completion support for whois.
@ -77,6 +80,8 @@ mkdir -p %{buildroot}{%{_prefix}/bin,%{_mandir}/man1}
make BASEDIR=%{buildroot} mandir=%{_mandir} prefix=%{_prefix} \ make BASEDIR=%{buildroot} mandir=%{_mandir} prefix=%{_prefix} \
install install-mkpasswd install-pos install install-mkpasswd install-pos
%find_lang %{name} %find_lang %{name}
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
mv %{buildroot}%{_sysconfdir}/bash_completion.d/{mkpasswd,whois} %{buildroot}%{_datadir}/bash-completion/completions
%files -f %{name}.lang %files -f %{name}.lang
%license COPYING %license COPYING
@ -87,7 +92,7 @@ make BASEDIR=%{buildroot} mandir=%{_mandir} prefix=%{_prefix} \
%{_mandir}/man5/*.5%{?ext_man} %{_mandir}/man5/*.5%{?ext_man}
%files bash-completion %files bash-completion
%{_sysconfdir}/bash_completion.d/whois %{_datadir}/bash-completion/completions/whois
%{_sysconfdir}/bash_completion.d/mkpasswd %{_datadir}/bash-completion/completions/mkpasswd
%changelog %changelog

View File

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

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

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