2007-01-16 00:41:15 +01:00
|
|
|
#
|
2011-03-23 12:13:25 +01:00
|
|
|
# spec file for package whois
|
2007-01-16 00:41:15 +01:00
|
|
|
#
|
2011-03-23 12:13:25 +01:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:41:15 +01:00
|
|
|
#
|
2008-09-12 18:17:09 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:41:15 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-03-06 02:26:25 +01:00
|
|
|
|
2007-01-16 00:41:15 +01:00
|
|
|
Name: whois
|
2011-03-22 11:18:33 +01:00
|
|
|
Version: 5.0.11
|
2011-07-27 12:04:51 +02:00
|
|
|
Release: 2
|
2010-01-07 13:04:48 +01:00
|
|
|
License: GPLv2+
|
2009-06-19 00:21:00 +02:00
|
|
|
Summary: Whois Client Program
|
2011-03-22 11:18:33 +01:00
|
|
|
Url: http://www.linux.it/~md/software/
|
|
|
|
Group: Productivity/Networking/Other
|
2011-07-27 08:21:55 +02:00
|
|
|
Source: http://ftp.debian.org/debian/pool/main/w/whois/%{name}_%{version}.tar.bz2
|
2011-03-22 11:18:33 +01:00
|
|
|
Patch1: whois-4.7.33-nb.patch
|
2011-07-27 08:21:55 +02:00
|
|
|
Patch2: whois-5.0.11-mkpasswd-support-Owl-patched-libcrypt.diff
|
|
|
|
Patch3: whois-5.0.11-mkpasswd-crypt_gensalt-might-change-the-prefix.diff
|
|
|
|
Patch4: whois-5.0.11-mkpasswd-support-8bit-characters.diff
|
|
|
|
Patch5: whois-5.0.11-mkpasswd-add-support-for-the-new-2y-blowfish-tag-CVE-2011-2483.diff
|
|
|
|
Patch6: whois-5.0.11-mkpasswd-set-default-blowfish-rounds-to-5.diff
|
|
|
|
Patch7: whois-5.0.11-mkpasswd-remove-obsolete-settings.diff
|
|
|
|
Patch8: whois-5.0.11-mkpasswd-fix-compiler-warnings.diff
|
2011-03-22 11:18:33 +01:00
|
|
|
BuildRequires: libidn-devel
|
|
|
|
Provides: ripe-whois-tools
|
2007-01-16 00:41:15 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This is a new whois (RFC 954) client rewritten from scratch by Marco
|
|
|
|
d'Itri. It is derived from and compatible with the usual BSD and RIPE
|
|
|
|
whois(1) programs. It is intelligent and can automatically select the
|
|
|
|
appropriate whois server for most queries. This package also contains
|
|
|
|
mkpasswd, a simple front-end to crypt(3).
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n whois-%{version}
|
|
|
|
%patch1
|
2011-07-27 08:21:55 +02:00
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
|
|
|
%patch4 -p1
|
|
|
|
%patch5 -p1
|
|
|
|
%patch6 -p1
|
|
|
|
%patch7 -p1
|
|
|
|
%patch8 -p1
|
2007-01-16 00:41:15 +01:00
|
|
|
rename no nb po/no.*
|
|
|
|
|
|
|
|
%build
|
2011-07-27 08:21:55 +02:00
|
|
|
make all mkpasswd HAVE_LIBIDN=1 HAVE_ICONV=1 HAVE_CRYPT_GENSALT=1 CFLAGS="%{optflags}"
|
2007-01-16 00:41:15 +01:00
|
|
|
|
|
|
|
%install
|
2011-03-22 11:18:33 +01:00
|
|
|
mkdir -p %{buildroot}{/usr/bin,%{_mandir}/man1}
|
|
|
|
make BASEDIR=%{buildroot} mandir=%{_mandir} prefix=/usr \
|
2009-05-04 18:37:32 +02:00
|
|
|
install install-mkpasswd install-pos
|
2008-03-16 19:58:27 +01:00
|
|
|
%find_lang %{name}
|
2007-01-16 00:41:15 +01:00
|
|
|
|
|
|
|
%clean
|
2008-03-16 19:58:27 +01:00
|
|
|
rm -rf %{buildroot}
|
2007-01-16 00:41:15 +01:00
|
|
|
|
2008-03-16 19:58:27 +01:00
|
|
|
%files -f %{name}.lang
|
2007-01-16 00:41:15 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README debian/changelog debian/copyright
|
2010-07-19 21:08:56 +02:00
|
|
|
%{_bindir}/mkpasswd
|
|
|
|
%{_bindir}/whois
|
|
|
|
%{_mandir}/man1/mkpasswd.*
|
|
|
|
%{_mandir}/man1/whois.*
|
2007-01-16 00:41:15 +01:00
|
|
|
|
2007-08-02 23:40:37 +02:00
|
|
|
%changelog
|