forked from pool/ethtool
This commit is contained in:
commit
773f94aeea
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
16
ethtool-5-buffer-overflow.patch
Normal file
16
ethtool-5-buffer-overflow.patch
Normal file
@ -0,0 +1,16 @@
|
||||
--- ethtool.c
|
||||
+++ ethtool.c
|
||||
@@ -628,7 +628,13 @@
|
||||
}
|
||||
|
||||
if (devname == NULL)
|
||||
+ {
|
||||
show_usage(1);
|
||||
+ } else if (strlen(devname) > IFNAMSIZ - 1) {
|
||||
+ fprintf(stderr, "Device name \"%s\" exceeds maximum length.\n",
|
||||
+ devname);
|
||||
+ exit(1);
|
||||
+ }
|
||||
if (strlen(devname) >= IFNAMSIZ)
|
||||
show_usage(1);
|
||||
}
|
3
ethtool-5.tar.bz2
Normal file
3
ethtool-5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:514d81bc167282a1e5c63f04d04f55e8be0d2ed8f271a1ce3671f2cf085e4c55
|
||||
size 103917
|
86
ethtool.changes
Normal file
86
ethtool.changes
Normal file
@ -0,0 +1,86 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 6 16:29:24 CEST 2006 - mskibbe@suse.de
|
||||
|
||||
- fix bug #202756 - No Buffer Overflow check in Ethtool
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 4 07:59:08 CEST 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 10:11:50 CEST 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 21:35:46 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 29 21:08:20 CET 2005 - hvogel@suse.de
|
||||
|
||||
- update to version 3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 23 14:07:30 CEST 2004 - mmj@suse.de
|
||||
|
||||
- Update to ethtool-2 which includes all our patches
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 24 09:56:57 CEST 2004 - meissner@suse.de
|
||||
|
||||
- Added pcnet32 register dumping LTC#9592/SUSE#42408.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 24 19:43:55 CEST 2004 - meissner@suse.de
|
||||
|
||||
- return error value from test option LTC#7166/SUSE#40960.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 11 13:26:29 CET 2004 - adrian@suse.de
|
||||
|
||||
- build as user
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 26 19:06:06 CEST 2003 - pthomas@suse.de
|
||||
|
||||
- Upgraded to 1.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 26 18:13:42 CEST 2003 - pthomas@suse.de
|
||||
|
||||
- Remove the bogus rejection of devices whose names that do not begin
|
||||
with either 'eth' or 'usb'.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 2 15:29:08 CEST 2003 - pthomas@suse.de
|
||||
|
||||
- Add support for AMD-8111.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 7 17:17:23 CET 2003 - meissner@suse.de
|
||||
|
||||
- Upgraded to current CVS, which has some e1000 fixes needed by IBM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 6 11:13:31 CET 2003 - meissner@suse.de
|
||||
|
||||
- Upgraded to 1.7:
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 24 13:46:38 CEST 2002 - pthomas@suse.de
|
||||
|
||||
- Initial package creation.
|
||||
- Fix most gcc warnings.
|
||||
|
||||
|
106
ethtool.spec
Normal file
106
ethtool.spec
Normal file
@ -0,0 +1,106 @@
|
||||
#
|
||||
# spec file for package ethtool (Version 5)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: ethtool
|
||||
License: GPL
|
||||
Group: Productivity/Networking/Diagnostic
|
||||
Autoreqprov: on
|
||||
Summary: Examine and Tune Ethernet-Based Network Interfaces
|
||||
Version: 5
|
||||
Release: 3
|
||||
URL: http://sourceforge.net/projects/gkernel
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Patch: %{name}-%{version}-buffer-overflow.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
|
||||
|
||||
%build
|
||||
%{suse_update_config -f}
|
||||
autoreconf --force --install
|
||||
%define warn_flags -W -Wall -Wstrict-prototypes -Wformat-security -Wpointer-arith
|
||||
CFLAGS="$RPM_OPT_FLAGS %{warn_flags}" ./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=%{_mandir} \
|
||||
--infodir=%{_infodir}
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make "DESTDIR=$RPM_BUILD_ROOT" install
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_sbindir}/ethtool
|
||||
%{_mandir}/man8/ethtool.8*
|
||||
%doc AUTHORS COPYING INSTALL NEWS README ChangeLog
|
||||
|
||||
%changelog -n ethtool
|
||||
* 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.
|
Loading…
Reference in New Issue
Block a user