SHA256
1
0
forked from pool/whois
whois/whois.spec

246 lines
8.5 KiB
RPMSpec

#
# spec file for package whois (Version 4.7.33)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: whois
BuildRequires: libidn-devel
License: GPL v2 or later
Group: Productivity/Networking/Other
Provides: ripe-whois-tools
AutoReqProv: on
Url: http://www.linux.it/~md/software/
Version: 4.7.33
Release: 2
Summary: Whois Client Program
Source: %{name}_%{version}.tar.bz2
Patch1: %{name}-%{version}-nb.patch
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).
Authors:
--------
Marco d'Itri <md@linux.it>
%prep
%setup -n whois-%{version}
%patch1
rename no nb po/no.*
%build
make all mkpasswd HAVE_LIBIDN=1 CFLAGS="$RPM_OPT_FLAGS"
%install
mkdir -p $RPM_BUILD_ROOT{/usr/bin,%{_mandir}/man1}
make BASEDIR=$RPM_BUILD_ROOT mandir=%{_mandir} prefix=/usr \
install install-mkpasswd install-pos
%find_lang %{name}
%clean
rm -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root)
%doc README debian/changelog debian/copyright
/usr/bin/*
%{_mandir}/man1/*
%changelog
* Mon May 04 2009 puzel@suse.cz
- updated to version 4.7.33
* mkpasswd: use /dev/urandom to generate the salt. If it is not present,
initialize srand(3) with gettimeofday(2) instead of time(2) to have a
larger randomness space.
* mkpasswd: added preliminary support for variable length salts, patch
courtesy of Nicolas François.
* Updated the .co.za SLD server.
* Added new ASN allocations.
* Updated the .tel, .gg and .je TLD servers.
* Implemented a 10 seconds timeout on connect(2) to allow querying
servers with broken IPv6 connectivity.
* Added support for automatically determining the server for in-addr.arpa
domains.
* Added new IPv4 allocations.
* Fixed a typo in de.po.
* Updated the .gi, .lc and .mn TLD servers.
* Fixed the short option -S which I broke in 4.7.25.
* Added support for ASN32 in the ASPLAIN notation.
* Do not disable the timeout after the connection to the server, because
it can still hang forever.
* Added the .gy, .hn, .ng and .sl TLD servers.
* Updated the .tel, .cr, .dz, .ht, .im, .jo, .ly, .mt, .mu, .pr, .rs, .sn,
.com.uy, .vc and .vn TLD servers.
* Added support for -kenic NIC handles.
* Added new IPv4 allocations.
* Little portability fixes.
* Added Finnish translation contributed by Sami Kerola.
- removed whois-4.7.28-Makefile.patch (obsolete)
- fixed rpmlint warning
- properly pass RPM_OPT_FLAGS to make
* Fri Sep 12 2008 anosek@suse.cz
- updated to version 4.7.28
* Updated the .aero TLD server.
* Added a new ASN allocation.
* Search PGPKEY-* objects in the RIPE database.
* Added support for passing command line options in the environment
variables WHOIS_OPTIONS and MKPASSWD_OPTIONS.
* mkpasswd: added support for the SHA-256 and SHA-512 methods from
glibc 2.7.
* mkpasswd: added support for FreeBSD-style Blowfish and NT-Hash methods.
* mkpasswd: added support for variable-rounds methods (OpenBSD-style
Blowfish and SHA-256/SHA-512).
* mkpasswd: renamed -H/--hash to -m/--method.
* mkpasswd: finished support for libxcrypt (not enabled by default).
- fixed build (Makefile.patch)
* Sun Mar 16 2008 crrodriguez@suse.de
- fix file-in-lang errors
* Wed Mar 05 2008 anosek@suse.cz
- updated to version 4.7.24
* Added new ASN allocations.
* Added new IPv4 allocations.
* Added the .asia, .kp and .mq TLD servers. (Closes: #445747)
* Fixed myinet_aton to not reject CIDR networks.
* Added support for ASN32.
* Added the za.net and za.org pseudo-TLD servers.
* Added new IPv4 allocations.
* Added new ASN allocations.
* Updated the .jobs, .ai and .tn TLD and za.net servers.
* Added the za.net server. (Closes: #423549)
* Stop misparsing <as-set>:<hierarchical-name> as an IPv6 address.
* Stop mangling IDN queries with in-query flags. (Closes: #422895)
* Tue Jul 31 2007 anosek@suse.cz
- updated to version 4.7.21
* Improved myinet_aton to not parse addresses with trailing junk
* Added APNIC and RIPE allocations.
* Updated the name of the Verio whois server. (Closes: #410449)
* Removed references to whois.nic.mil, which apparently is gone.
* Removed whois.nic.it from ripe_servers, because it does not even
pretend to be one anymore.
* Mon Feb 05 2007 anosek@suse.cz
- updated to version 4.7.20
* Added more krnic allocations.
* Added support for -sixxs NIC handles.
* Added again 26[12]0:0000::/23 which had been mistakenly removed
* Added new IPv4 and IPv6 allocations.
* whois.radb.net does not understand the RIPE protocol anymore.
* Added support for IPv6 Teredo addresses, contributed by Rémi
Denis-Courmont. (Closes: #384373)
* Updated the .mobi and .gs TLD servers.(Closes: #389880, 391447)
* Added the .gd TLD server.
* Wed Sep 20 2006 anosek@suse.cz
- updated to version 4.7.17
* Added new IPv4 and IPv6 allocations.
* Strip the CIDR prefix length from queries to whois.arin.net.
* Thu Aug 03 2006 mmarek@suse.cz
- updated to version 4.7.15
* TLD server list updates
* new translations
- no need to patch top level Makefile
* Fri Apr 14 2006 mmarek@suse.cz
- updated the tld_serv_list file to include .eu and other new TLDs
[#165904] (tld_serv_list-4.7.13.patch)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Sep 09 2005 schwab@suse.de
- Add libidn, libidn-devel to nfb.
- Compile with -DHAVE_LIBIDN, needed for DENIC workaround.
* Fri Jul 29 2005 anicka@suse.cz
- update to 4.7.5
* Thu Jan 13 2005 postadal@suse.cz
- updated to version 4.6.26
* Wed Oct 20 2004 ro@suse.de
- locale rename: no -> nb
* Thu Aug 19 2004 postadal@suse.cz
- updated to version 4.6.20u
* Fri Aug 06 2004 postadal@suse.cz
- updated to version 4.6.19
* Wed Feb 11 2004 postadal@suse.cz
- updated to version 4.6.9
- added changelog and copyright files
- removed obsoleted patch buffoverflow-fix
* Thu Oct 30 2003 schwab@suse.de
- Fix for 64 bit platforms.
* Thu Aug 28 2003 postadal@suse.cz
- fixed buffer overflow [#29511]
* Thu Jul 24 2003 postadal@suse.cz
- updated to version 4.6.6
* added .dj TLD
* fixed netsol disclaimer strings
* updated PIR server parser
* Mon Feb 03 2003 postadal@suse.cz
- updated to version 4.6.2
* Mon Aug 12 2002 postadal@suse.cz
- update to 4.5.29:
* updated LANIC and telstra IP allocations
* updated mkpasswd
* fixes
* Fri Jan 18 2002 nadvornik@suse.cz
- update to 4.5.19:
- updated .aero, .coop, .name, .pro, .dk and .edu TLD servers
* Mon Dec 10 2001 nadvornik@suse.cz
- update to 4.5.15:
- updated translations
- bugfixes
* Thu Jul 26 2001 nadvornik@suse.cz
- update to 4.5.6
* Tue Mar 27 2001 nadvornik@suse.cz
- update to 4.5.4
* Thu Dec 07 2000 uli@suse.de
- update -> 4.5.1 (doesn't segfault)
* Mon Oct 09 2000 nadvornik@suse.cz
- fixed Copyright
* Fri May 19 2000 nadvornik@suse.cz
- update to 4.4.13
- changed group
* Thu Mar 30 2000 nadvornik@suse.cz
- update to 4.4.12
- added BuildRoot
- added %%{_mandir} macro
* Fri Mar 03 2000 uli@suse.de
- moved man pages to /usr/share
* Mon Feb 21 2000 mha@suse.de
- completely new, different version from
http://www.linux.it/~md/software/
Quote README of the new version:
"Why another whois client? Because the RIPE client is a mess of
hacks and #ifdefs and more complex programs lack features or
are bloated."
* Mon Nov 29 1999 kukuk@suse.de
- fixed for SPARC
* Tue Sep 21 1999 uli@suse.de
- fixed for PPC
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Wed Feb 03 1999 ro@suse.de
- use libcrypt on alpha
- no m486 on alpha
* Fri Oct 02 1998 ro@suse.de
- defined _BSD_SOURCE
- dont redeclare gethostname
- link with -crypt where needed
* Tue May 27 1997 florian@suse.de
- first version of ripe-whois 2.2