Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Petr Menšík
59494cce77 Update to 5.5.13
* Added the .sd TLD server.
* Updated the list of new gTLDs.
* Added the Turkish translation, contributed by Oğuz Ersen.

 -- Marco d'Itri <md@linux.it>  Fri, 08 Apr 2022 01:08:55 +0200

Resolves: rhbz#2073241
2022-05-19 16:05:31 +02:00
Petr Menšík
4c60430450 Remove changelog from mkpasswd, it has double size of actual tool
Keep Debian changelog only in whois package, which provides a bigger
binary.
2022-05-19 16:05:31 +02:00
Petr Menšík
eead43e30a Simplify ifs, install with -p
Preserve timestamps of installed files. Reduce a bit ifs support for
libidn. libidn might be removed already, keeping for a while.
2022-02-28 11:49:26 +01:00
Petr Menšík
aff688b1cc Update to 5.5.12
* Updated the .pro TLD server, which was totally broken.
  * Fixed the detection of Japanese locales using $LC_MESSAGES.
  * Implemented providing partial salt strings to mkpasswd.
  * Removed 2 new gTLDs which are no longer active.
  * Updated one or more translations. (Closes: #1003597)
  * Enabled full hardening in debian/rules.

Switched directly to github generated source archive.
2022-02-28 11:49:24 +01:00
3 changed files with 22 additions and 17 deletions

2
.gitignore vendored
View file

@ -59,3 +59,5 @@
/whois_5.5.9.tar.xz
/whois_5.5.10.tar.xz
/whois_5.5.11.tar.xz
/whois-5.5.12.tar.gz
/whois-5.5.13.tar.gz

View file

@ -1 +1 @@
SHA512 (whois_5.5.11.tar.xz) = 4be935cc2c76e087d49ad0619d3c08a068231ea3fc25e12de3a727cc5e7fca66e8989b77bac5571558969ac74063e09920415a465d4dfa18dc95ec447da86d54
SHA512 (whois-5.5.13.tar.gz) = e9efda7a99df07eadb67eb4a86110cd9fb4937ff850ff369875683279be8080845740d43f16fa591c3f2187cb3b747b018f3e56d721c3e29d197630faefe8f8a

View file

@ -1,37 +1,31 @@
# Package mkpasswd tool
%if 0%{?rhel}
%{bcond_with whois_enables_mkpasswd}
%else
%{bcond_without whois_enables_mkpasswd}
%endif
# Add IDN support
%{bcond_without whois_enables_idn}
# Use libidn2 instead of libidn
# Enable IDN, use libidn2 instead of libidn
%{bcond_without whois_enables_libidn2}
# Add libidn support
%{bcond_with whois_enables_idn}
Name: whois
Version: 5.5.11
Version: 5.5.13
Release: 1%{?dist}
Summary: Improved WHOIS client
License: GPLv2+
URL: http://www.linux.it/~md/software/
Source0: http://ftp.debian.org/debian/pool/main/w/%{name}/%{name}_%{version}.tar.xz
# Source0: http://ftp.debian.org/debian/pool/main/w/%%{name}/%%{name}_%%{version}.tar.xz
Source0: https://github.com/rfc1036/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: coreutils
BuildRequires: gcc
BuildRequires: gettext
%if %{with whois_enables_idn}
%if %{with whois_enables_libidn2}
BuildRequires: pkgconfig(libidn2) >= 2.0.3
%else
%elif %{with whois_enables_idn}
BuildRequires: pkgconfig(libidn)
BuildConflicts: pkgconfig(libidn2)
%endif
%else
BuildConflicts: pkgconfig(libidn)
BuildConflicts: pkgconfig(libidn2)
%endif
%if %{with whois_enables_mkpasswd}
BuildRequires: pkgconfig(libcrypt)
BuildRequires: pkgconfig(libxcrypt) >= 4.1
%endif
BuildRequires: make
@ -83,12 +77,12 @@ BuildArch: noarch
whois tools messages translated into different natural languages.
%prep
%autosetup -n %{name}
%autosetup -p1
%build
%{make_build} CONFIG_FILE="%{_sysconfdir}/%{cfgfile}" \
HAVE_ICONV=1 \
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="%{__global_ldflags}"
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="%{__global_ldflags}" INSTALL="install -p"
%install
%if %{with whois_enables_mkpasswd}
@ -133,12 +127,21 @@ fi
%if %{with whois_enables_mkpasswd}
%files -n mkpasswd
%license COPYING debian/copyright
%doc README debian/changelog
%doc README
%{_bindir}/mkpasswd
%{_mandir}/man1/mkpasswd.*
%endif
%changelog
* Thu May 19 2022 Petr Menšík <pemensik@redhat.com> - 5.5.13-1
- Update to 5.5.13 (#2073241)
* Fri Apr 22 2022 Petr Menšík <pemensik@redhat.com> - 5.5.12-2
- Remove changelog from mkpasswd, it has double size of actual tool
* Fri Feb 25 2022 Petr Menšík <pemensik@redhat.com> - 5.5.12-1
- Update to 5.5.12
* Wed Jan 12 2022 Petr Menšík <pemensik@redhat.com> - 5.5.11-1
- Update to 5.5.11 (#2036766)