File ethtool.spec of Package ethtool
#
# spec file for package ethtool (Version 6)
#
# Copyright (c) 2008 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: ethtool
License: GPL v2 or later
Group: Productivity/Networking/Diagnostic
AutoReqProv: on
Summary: Examine and Tune Ethernet-Based Network Interfaces
Version: 6
Release: 75
Url: http://sourceforge.net/projects/gkernel
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch: ethtool-cmd-speed-use-full-variable.patch
%description
Ethtool is a small utility for examining and tuning ethernet-based
network interfaces. See the man page for more details.
Authors:
--------
David Miller <davem@redhat.com>
Jakub Jelinek <jj@ultra.linux.cz>
Jeff Garzik <jgarzik@mandrakesoft.com>
Tim Hockin <thockin@sun.com>
%prep
%setup -q
%patch -p1
%build
%{suse_update_config -f}
autoreconf -fi
export CFLAGS="$RPM_OPT_FLAGS -W -Wall -Wstrict-prototypes -Wformat-security -Wpointer-arith"
%configure --sbindir=/sbin
make
%install
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/sbin/ethtool
%{_mandir}/man8/ethtool.8*
%doc AUTHORS COPYING NEWS README ChangeLog
%changelog
* Fri Sep 12 2008 bphilips@suse.de
- Add support for larger speed field to do greater than 65535Mb/s devices
* Wed Dec 19 2007 mskibbe@suse.de
- Bug 285472 - network script does not work for /usr over NFS
* Fri Jul 27 2007 mskibbe@suse.de
- update to version 6 which includes:
o updates for a lot of NICs
o preparing for 10G NICs
o a log Bugfixes
* Thu Apr 12 2007 lnussel@suse.de
- remove superfluous buffer overflow check patch
* Wed Sep 06 2006 mskibbe@suse.de
- fix bug #202756 - No Buffer Overflow check in Ethtool
* Mon Sep 04 2006 mskibbe@suse.de
- update to version 5 which includes:
o Security: Avoid potential buffer overflow
o Feature: GSO support
o Feature: skge register dump
* Thu Aug 31 2006 mskibbe@suse.de
- update to version 4 which
o includes UFO support
o support long options
o includes e1000, pcnet32, tg3 updates
o added PPC4xx EMAC support
o Use hexdump instead of single values for register dump
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Jan 29 2005 hvogel@suse.de
- update to version 3
* Mon Aug 23 2004 mmj@suse.de
- Update to ethtool-2 which includes all our patches
* Thu Jun 24 2004 meissner@suse.de
- Added pcnet32 register dumping LTC#9592/SUSE#42408.
* Mon May 24 2004 meissner@suse.de
- return error value from test option LTC#7166/SUSE#40960.
* Sun Jan 11 2004 adrian@suse.de
- build as user
* Tue Aug 26 2003 pthomas@suse.de
- Upgraded to 1.8
* Tue Aug 26 2003 pthomas@suse.de
- Remove the bogus rejection of devices whose names that do not begin
with either 'eth' or 'usb'.
* Mon Jun 02 2003 pthomas@suse.de
- Add support for AMD-8111.
* Fri Feb 07 2003 meissner@suse.de
- Upgraded to current CVS, which has some e1000 fixes needed by IBM.
* Thu Feb 06 2003 meissner@suse.de
- Upgraded to 1.7:
* Mon Jun 24 2002 pthomas@suse.de
- Initial package creation.
- Fix most gcc warnings.