c168c1
Name:		ethtool
c168c1
Epoch:		2
9b492c
Version:	5.13
89ea86
Release:	2%{?dist}
c168c1
Summary:	Settings tool for Ethernet NICs
c168c1
License:	GPLv2
c168c1
Group:		Applications/System
c168c1
URL:		https://www.kernel.org/pub/software/network/%{name}/
c168c1
Source0:	https://www.kernel.org/pub/software/network/%{name}/%{name}-%{version}.tar.xz
4f6fcd
BuildRequires:	libmnl-devel
c168c1
Conflicts:	filesystem < 3
c168c1
89ea86
Patch1:		0001-sff-8636-Fix-parsing-of-Page-03h-in-IOCTL-path.patch
89ea86
Patch2:		0002-cmis-Fix-invalid-memory-access-in-IOCTL-path.patch
89ea86
Patch3:		0003-netlink-eeprom-Fallback-to-IOCTL-when-a-complete-hex.patch
89ea86
Patch4:		0004-ethtool-Fix-compilation-warning-when-pretty-dump-is-.patch
89ea86
Patch5:		0005-netlink-eeprom-Fix-compilation-when-pretty-dump-is-d.patch
89ea86
Patch6:		0006-cmis-Fix-CLEI-code-parsing.patch
89ea86
Patch7:		0007-cmis-Fix-wrong-define-name.patch
89ea86
Patch8:		0008-cmis-Correct-comment.patch
89ea86
Patch9:		0009-sff-8636-Remove-incorrect-comment.patch
89ea86
Patch10:	0010-sff-8636-Fix-incorrect-function-name.patch
89ea86
Patch11:	0011-sff-8636-Convert-if-statement-to-switch-case.patch
89ea86
Patch12:	0012-sff-8636-Remove-extra-blank-lines.patch
89ea86
Patch13:	0013-cmis-Rename-CMIS-parsing-functions.patch
89ea86
Patch14:	0014-cmis-Initialize-CMIS-memory-map.patch
89ea86
Patch15:	0015-cmis-Use-memory-map-during-parsing.patch
89ea86
Patch16:	0016-cmis-Consolidate-code-between-IOCTL-and-netlink-path.patch
89ea86
Patch17:	0017-sff-8636-Rename-SFF-8636-parsing-functions.patch
89ea86
Patch18:	0018-sff-8636-Initialize-SFF-8636-memory-map.patch
89ea86
Patch19:	0019-sff-8636-Use-memory-map-during-parsing.patch
89ea86
Patch20:	0020-sff-8636-Consolidate-code-between-IOCTL-and-netlink-.patch
89ea86
Patch21:	0021-sff-8079-Split-SFF-8079-parsing-function.patch
89ea86
Patch22:	0022-netlink-eeprom-Export-a-function-to-request-an-EEPRO.patch
89ea86
Patch23:	0023-cmis-Request-specific-pages-for-parsing-in-netlink-p.patch
89ea86
Patch24:	0024-sff-8636-Request-specific-pages-for-parsing-in-netli.patch
89ea86
Patch25:	0025-sff-8079-Request-specific-pages-for-parsing-in-netli.patch
89ea86
Patch26:	0026-netlink-eeprom-Defer-page-requests-to-individual-par.patch
89ea86
Patch27:	0027-sff-8636-Use-an-SFF-8636-specific-define-for-maximum.patch
89ea86
Patch28:	0028-sff-common-Move-OFFSET_TO_U16_PTR-to-common-header-f.patch
89ea86
Patch29:	0029-cmis-Initialize-Page-02h-in-memory-map.patch
89ea86
Patch30:	0030-cmis-Initialize-Banked-Page-11h-in-memory-map.patch
89ea86
Patch31:	0031-cmis-Parse-and-print-diagnostic-information.patch
89ea86
Patch32:	0032-cmis-Print-Module-State-and-Fault-Cause.patch
89ea86
Patch33:	0033-cmis-Print-Module-Level-Controls.patch
89ea86
Patch34:	0034-sff-8636-Print-Power-set-and-Power-override-bits.patch
89ea86
Patch35:	0035-sff-8079-8472-Fix-missing-sff-8472-output-in-netlink.patch
89ea86
c168c1
%description
c168c1
This utility allows querying and changing settings such as speed,
c168c1
port, auto-negotiation, PCI locations and checksum offload on many
c168c1
network devices, especially of Ethernet devices.
c168c1
c168c1
%prep
c168c1
%setup -q
89ea86
%patch1 -p1
89ea86
%patch2 -p1
89ea86
%patch3 -p1
89ea86
%patch4 -p1
89ea86
%patch5 -p1
89ea86
%patch6 -p1
89ea86
%patch7 -p1
89ea86
%patch8 -p1
89ea86
%patch9 -p1
89ea86
%patch10 -p1
89ea86
%patch11 -p1
89ea86
%patch12 -p1
89ea86
%patch13 -p1
89ea86
%patch14 -p1
89ea86
%patch15 -p1
89ea86
%patch16 -p1
89ea86
%patch17 -p1
89ea86
%patch18 -p1
89ea86
%patch19 -p1
89ea86
%patch20 -p1
89ea86
%patch21 -p1
89ea86
%patch22 -p1
89ea86
%patch23 -p1
89ea86
%patch24 -p1
89ea86
%patch25 -p1
89ea86
%patch26 -p1
89ea86
%patch27 -p1
89ea86
%patch28 -p1
89ea86
%patch29 -p1
89ea86
%patch30 -p1
89ea86
%patch31 -p1
89ea86
%patch32 -p1
89ea86
%patch33 -p1
89ea86
%patch34 -p1
89ea86
%patch35 -p1
c168c1
c168c1
%build
c168c1
%configure
c168c1
make %{?_smp_mflags}
c168c1
c168c1
%install
c168c1
make DESTDIR=%{buildroot} INSTALL='install -p' install
c168c1
c168c1
%files
c168c1
%license COPYING LICENSE
c168c1
%doc AUTHORS ChangeLog* NEWS README
c168c1
%{_sbindir}/%{name}
c168c1
%{_mandir}/man8/%{name}.8*
4f6fcd
%{_datadir}/bash-completion/completions/ethtool
c168c1
c168c1
%changelog
89ea86
* Thu Jun 02 2022 Ivan Vecera <ivecera@redhat.com> - 2:5.13-2
89ea86
- Module (SFP/QSFP/CMIS) related bugfixes
89ea86
9b492c
* Thu Nov 18 2021 Ivan Vecera <ivecera@redhat.com> - 2:5.13-1
9b492c
- Updated to upstream v5.13
9b492c
6975f2
* Thu Jun 03 2021 Ivan Vecera <ivecera@redhat.com> - 2:5.8-7
6975f2
- Added support for lanes
6975f2
6975f2
* Thu Mar 11 2021 Ivan Vecera <ivecera@redhat.com> - 2:5.8-6
6975f2
- Added support for pause frame statistics
6975f2
4f6fcd
* Thu Nov 12 2020 Ivan Vecera <ivecera@redhat.com> - 2:5.8-5
4f6fcd
- Fixed a regression
4f6fcd
4f6fcd
* Fri Nov 06 2020 Ivan Vecera <ivecera@redhat.com> - 2:5.8-4
4f6fcd
- Added support for extended link state reporting
4f6fcd
4f6fcd
* Fri Sep 25 2020 Ivan Vecera <ivecera@redhat.com> - 2:5.8-3
4f6fcd
- Fixed memory leak
4f6fcd
4f6fcd
* Thu Sep 24 2020 Ivan Vecera <ivecera@redhat.com> - 2:5.8-2
4f6fcd
- Add post-5.8 bugfixes
4f6fcd
4f6fcd
* Tue Sep 15 2020 Ivan Vecera <ivecera@redhat.com> - 2:5.8-1
4f6fcd
- Update to 5.8 (#1878826)
4f6fcd
ff351b
* Thu May 16 2019 Ivan Vecera <ivecera@redhat.com> - 2:5.0-2
ff351b
- Added support for 200Gbps (50Gbps/lane) link mode 
ff351b
ff351b
* Wed Mar 13 2019 Ivan Vecera <ivecera@redhat.com> - 2:5.0-1
ff351b
- Update to 5.0 (#1688299)
ff351b
c168c1
* Sat Apr 14 2018 Robert Scheck <robert@fedoraproject.org> - 2:4.16-1
c168c1
- Update to 4.16 (#1567447)
c168c1
c168c1
* Sun Feb 18 2018 Robert Scheck <robert@fedoraproject.org> - 2:4.15-1
c168c1
- Update to 4.15 (#1541183)
c168c1
c168c1
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:4.13-2
c168c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c168c1
c168c1
* Sat Nov 04 2017 Robert Scheck <robert@fedoraproject.org> - 2:4.13-1
c168c1
- Update to 4.13 (#1507171)
c168c1
c168c1
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:4.11-2
c168c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c168c1
c168c1
* Fri Jul 28 2017 Robert Scheck <robert@fedoraproject.org> - 2:4.11-1
c168c1
- Update to 4.11 (#1435843)
c168c1
c168c1
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:4.8-3
c168c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c168c1
c168c1
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:4.8-2
c168c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c168c1
c168c1
* Mon Nov 28 2016 Robert Scheck <robert@fedoraproject.org> - 2:4.8-1
c168c1
- Update to 4.8 (#1317497)
c168c1
c168c1
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2:4.2-2
c168c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c168c1
c168c1
* Fri Oct 09 2015 Jaromir Capik <jcapik@redhat.com> - 2:4.2-1
c168c1
- Updating to 4.2 (#1270250)
c168c1
c168c1
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:4.0-2
c168c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c168c1
c168c1
* Mon Jun 01 2015 Jaromir Capik <jcapik@redhat.com> - 2:4.0-1
c168c1
- Update to 4.0 (#1226742)
c168c1
c168c1
* Thu Jan 29 2015 Jaromir Capik <jcapik@redhat.com> - 2:3.18-1
c168c1
- Update to 3.18 (#1175150)
c168c1
c168c1
* Tue Sep 23 2014 Jaromir Capik <jcapik@redhat.com> - 2:3.16-1
c168c1
- Update to 3.16 (#1144992)
c168c1
c168c1
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:3.15-2
c168c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c168c1
c168c1
* Tue Aug 05 2014 Jaromir Capik <jcapik@redhat.com> - 2:3.15-1
c168c1
- Update to 3.15 (#1124044)
c168c1
c168c1
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:3.14-2
c168c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c168c1
c168c1
* Tue Apr 22 2014 Jaromir Capik <jcapik@redhat.com> - 2:3.14-1
c168c1
- Update to 3.14 (#1089943)
c168c1
c168c1
* Thu Jan 30 2014 Jaromir Capik <jcapik@redhat.com> - 2:3.13-1
c168c1
- Update to 3.13 (#1059565)
c168c1
c168c1
* Mon Nov 18 2013 Jaromir Capik <jcapik@redhat.com> - 2:3.12-1
c168c1
- Update to 3.12 (#1030854)
c168c1
c168c1
* Fri Sep 13 2013 Jaromir Capik <jcapik@redhat.com> - 2:3.11-1
c168c1
- Update to 3.11 (#1007738)
c168c1
c168c1
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:3.10-2
c168c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c168c1
c168c1
* Thu Jul 04 2013 Jaromir Capik <jcapik@redhat.com> - 2:3.10-1
c168c1
- Update to 3.10 (#981357)
c168c1
c168c1
* Thu May 02 2013 Jaromir Capik <jcapik@redhat.com> - 2:3.9-1
c168c1
- Update to 3.9 (#958467)
c168c1
c168c1
* Mon Mar 04 2013 Jaromir Capik <jcapik@redhat.com> - 2:3.8-1
c168c1
- Update to 3.8 (#916922)
c168c1
c168c1
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:3.7-2
c168c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c168c1
c168c1
* Mon Dec 17 2012 Jaromir Capik <jcapik@redhat.com> - 2:3.7-1
c168c1
- Update to 3.7 (#887463)
c168c1
c168c1
* Tue Oct 23 2012 Jaromir Capik <jcapik@redhat.com> 2:3.6-1
c168c1
- Update to 3.6 (#863774)
c168c1
c168c1
* Tue Sep 25 2012 Jaromir Capik <jcapik@redhat.com> 2:3.5-1
c168c1
- Update to 3.5 (#840741)
c168c1
c168c1
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:3.4.1-2
c168c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c168c1
c168c1
* Thu Jun 28 2012 Jaromir Capik <jcapik@redhat.com> 2:3.4.1-1
c168c1
- Update to 3.4.1 (#830263)
c168c1
c168c1
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 2:3.2-2
c168c1
- install everything in /usr
c168c1
  https://fedoraproject.org/wiki/Features/UsrMove
c168c1
c168c1
* Fri Jan 13 2012 Jaromir Capik <jcapik@redhat.com> 2:3.2-1
c168c1
- Update to 3.2 (#781357)
c168c1
- Minor spec file changes according to the latest guidelines
c168c1
c168c1
* Fri Dec 23 2011 Robert Scheck <robert@fedoraproject.org> 2:3.1-1
c168c1
- Upgrade to 3.1 (#728480)
c168c1
c168c1
* Sun Jul 17 2011 Robert Scheck <robert@fedoraproject.org> 2:2.6.39-1
c168c1
- Upgrade to 2.6.39 (#710400)
c168c1
c168c1
* Mon Mar 21 2011 Robert Scheck <robert@fedoraproject.org> 2:2.6.38-1
c168c1
- Upgrade to 2.6.38 (#667594)
c168c1
c168c1
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:2.6.36-2
c168c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c168c1
c168c1
* Fri Dec 31 2010 Robert Scheck <robert@fedoraproject.org> 2:2.6.36-1
c168c1
- Upgrade to 2.6.36 (#623094)
c168c1
c168c1
* Wed Jul 14 2010 Jeff Garzik <jgarzik@redhat.com> 2:2.6.34-1
c168c1
- Update to release 2.6.34.
c168c1
c168c1
* Thu Feb  4 2010 Jeff Garzik <jgarzik@redhat.com> 2.6.33-0.1
c168c1
- update to version 2.6.33-pre1
c168c1
c168c1
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6-7.20090323git
c168c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c168c1
c168c1
* Sat Jul 18 2009 Robert Scheck <robert@fedoraproject.org> 6-6.20090323git
c168c1
- Upgrade to GIT 20090323
c168c1
c168c1
* Thu Jul 16 2009 Jeff Garzik <jgarzik@redhat.com> 6-5.20090306git
c168c1
- minor specfile cleanups
c168c1
c168c1
* Sat Mar 07 2009 Robert Scheck <robert@fedoraproject.org> 6-4.20090306git
c168c1
- Upgrade to GIT 20090306
c168c1
c168c1
* Mon Feb 23 2009 Robert Scheck <robert@fedoraproject.org> 6-3.20090115git
c168c1
- Rebuild for gcc 4.4 and rpm 4.6
c168c1
c168c1
* Sat Jan 17 2009 Robert Scheck <robert@fedoraproject.org> 6-2.20090115git
c168c1
- Changes to match with Fedora Packaging Guidelines (#225735)
c168c1
- Upgrade to GIT 20090115 (#225735, #477498)
c168c1
- Removed bogus stated need of DEVNAME in -h/--help (#472038)
c168c1
- Removed completely needless INSTALL file from %%doc (#472034)
c168c1
c168c1
* Wed Mar 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> 6-1
c168c1
- Upgrade to ethtool version 6
c168c1
c168c1
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5-2
c168c1
- Autorebuild for GCC 4.3
c168c1
c168c1
* Thu Dec 14 2006 Jay Fenlason <fenlason@redhat.com> 5-1
c168c1
- Upgrade to ethtool version 5 to close
c168c1
  bz#184985: RFE: 10gigE support
c168c1
  bz#204840: "buffer overflow detected" when devname's length >=16 of ethtool
c168c1
  Resolves: #184985, #204840
c168c1
c168c1
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3-1.2.2
c168c1
- rebuild
c168c1
c168c1
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3-1.2.1
c168c1
- bump again for double-long bug on ppc(64)
c168c1
c168c1
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3-1.2
c168c1
- rebuilt for new gcc4.1 snapshot and glibc changes
c168c1
c168c1
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
c168c1
- rebuilt
c168c1
c168c1
* Thu Mar  3 2005 Jeff Garzik <jgarzik@pobox.com>
c168c1
- Update to version 3.
c168c1
- Use %%buildroot macro, rather than RPM_BUILD_ROOT env var,
c168c1
  as recommended by RPM packaging guidelines.
c168c1
c168c1
* Sun Feb 27 2005 Florian La Roche <laroche@redhat.com>
c168c1
- Copyright: -> License
c168c1
c168c1
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
c168c1
- rebuilt
c168c1
c168c1
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
c168c1
- rebuilt
c168c1
c168c1
* Fri Sep  5 2003 Bill Nottingham <notting@redhat.com> 1.8-2
c168c1
- remove bogus check for devices starting with ethXX, this time applying
c168c1
  the patch
c168c1
c168c1
* Thu Jul 24 2003 Bill Nottingham <notting@redhat.com> 1.8-1
c168c1
- update to 1.8
c168c1
- remove bogus check for devices starting with ethXX
c168c1
c168c1
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
c168c1
- rebuilt
c168c1
c168c1
* Sat Feb  8 2003 Bill Nottingham <notting@redhat.com> 1.6-5
c168c1
- move to /sbin
c168c1
c168c1
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
c168c1
- rebuilt
c168c1
c168c1
* Thu Dec 12 2002 Tim Powers <timp@redhat.com> 1.6-3
c168c1
- rebuild on all arches
c168c1
c168c1
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
c168c1
- automated rebuild
c168c1
c168c1
* Thu Jun 20 2002 Florian La Roche <Florian.LaRoche@redhat.de>
c168c1
- update to 1.6
c168c1
c168c1
* Thu May 23 2002 Tim Powers <timp@redhat.com>
c168c1
- automated rebuild
c168c1
c168c1
* Mon Mar  4 2002 Bill Nottingham <notting@redhat.com> 1.5-1
c168c1
- 1.5
c168c1
c168c1
* Thu Feb 21 2002 Bill Nottingham <notting@redhat.com>
c168c1
- rebuild
c168c1
c168c1
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
c168c1
- automated rebuild
c168c1
c168c1
* Tue Dec  4 2001 Bill Nottingham <notting@redhat.com>
c168c1
- update to 1.4
c168c1
c168c1
* Fri Aug  3 2001 Bill Nottingham <notting@redhat.com>
c168c1
- return of ethtool! (#50475)
c168c1
c168c1
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
c168c1
- automatic rebuild
c168c1
c168c1
* Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
c168c1
- rebuilt for next release
c168c1
- use FHS man path
c168c1
c168c1
* Tue Feb 22 2000 Bill Nottingham <notting@redhat.com>
c168c1
- handle compressed manpages
c168c1
c168c1
* Wed Apr 14 1999 Bill Nottingham <notting@redhat.com>
c168c1
- run through with new s/d
c168c1
c168c1
* Tue Apr 13 1999 Jakub Jelinek <jj@ultra.linux.cz>
c168c1
- initial package.