44a843
Name:		ethtool
44a843
Epoch:		2
44a843
Version:	5.8
268297
Release:	6%{?dist}
44a843
Summary:	Settings tool for Ethernet NICs
44a843
License:	GPLv2
44a843
Group:		Applications/System
44a843
URL:		https://www.kernel.org/pub/software/network/%{name}/
44a843
Source0:	https://www.kernel.org/pub/software/network/%{name}/%{name}-%{version}.tar.xz
83ef35
Patch1:		0001-netlink-Fix-the-condition-for-displaying-actual-chan.patch
83ef35
Patch2:		0002-netlink-Print-and-return-an-error-when-features-were.patch
83ef35
Patch3:		0003-netlink-get-rid-of-signed-unsigned-comparison-warnin.patch
83ef35
Patch4:		0004-ioctl-check-presence-of-eeprom-length-argument-prope.patch
83ef35
Patch5:		0005-ioctl-prevent-argc-underflow-in-do_perqueue.patch
83ef35
Patch6:		0006-ioctl-make-argc-counters-unsigned.patch
83ef35
Patch7:		0007-ioctl-get-rid-of-signed-unsigned-comparison-warnings.patch
83ef35
Patch8:		0008-get-rid-of-signed-unsigned-comparison-warnings-in-re.patch
83ef35
Patch9:		0009-settings-simplify-link_mode_info-initializers.patch
83ef35
Patch10:	0010-ioctl-convert-cmdline_info-arrays-to-named-initializ.patch
83ef35
Patch11:	0011-build-add-Wextra-to-default-CFLAGS.patch
83ef35
Patch12:	0012-ioctl-only-memset-non-NULL-link-settings.patch
83ef35
Patch13:	0013-netlink-mark-unused-function-parameters-of-non-netli.patch
83ef35
Patch14:	0014-update-UAPI-header-copies.patch
83ef35
Patch15:	0015-update-link-mode-tables.patch
83ef35
Patch16:	0016-netlink-return-ENOMEM-when-calloc-fails.patch
83ef35
Patch17:	0017-netlink-fix-memory-leak.patch
83ef35
Patch18:	0018-fix-memory-leaks-in-do_sfeatures.patch
83ef35
Patch19:	0019-netlink-fix-copy-paste-error-in-rtm_link_summary.patch
3259a4
Patch20:	0020-uapi-linux-update-kernel-UAPI-header-files.patch
3259a4
Patch21:	0021-netlink-settings-expand-linkstate_reply_cb-to-suppor.patch
3259a4
Patch22:	0022-netlink-prepare-for-more-per-op-info.patch
3259a4
Patch23:	0023-netlink-fix-use-after-free-in-netlink_run_handler.patch
3259a4
Patch24:	0024-netlink-fix-leaked-instances-of-struct-nl_socket.patch
3259a4
Patch25:	0025-netlink-do-not-send-messages-and-process-replies-in-.patch
3259a4
Patch26:	0026-ethtool-Improve-compatibility-between-netlink-and-io.patch
268297
Patch27:	0027-update-UAPI-header-copies.patch
268297
Patch28:	0028-update-UAPI-header-copies.patch
268297
Patch29:	0029-pause-add-json-support.patch
268297
Patch30:	0030-separate-FLAGS-out-in-h.patch
268297
Patch31:	0031-add-support-for-stats-in-subcommands.patch
268297
Patch32:	0032-netlink-use-policy-dumping-to-check-if-stats-flag-is.patch
268297
Patch33:	0033-pause-add-support-for-dumping-statistics.patch
268297
Patch34:	0034-netlink-support-u32-enumerated-types-in-pretty-print.patch
268297
Patch35:	0035-netlink-support-64-bit-attribute-types-in-pretty-pri.patch
268297
Patch36:	0036-netlink-add-descriptions-for-genetlink-policy-dumps.patch
268297
Patch37:	0037-netlink-add-message-descriptions-for-pause-stats.patch
44a843
BuildRequires:	libmnl-devel
44a843
Conflicts:	filesystem < 3
44a843
44a843
%description
44a843
This utility allows querying and changing settings such as speed,
44a843
port, auto-negotiation, PCI locations and checksum offload on many
44a843
network devices, especially of Ethernet devices.
44a843
44a843
%prep
44a843
%setup -q
83ef35
%patch1 -p1
83ef35
%patch2 -p1
83ef35
%patch3 -p1
83ef35
%patch4 -p1
83ef35
%patch5 -p1
83ef35
%patch6 -p1
83ef35
%patch7 -p1
83ef35
%patch8 -p1
83ef35
%patch9 -p1
83ef35
%patch10 -p1
83ef35
%patch11 -p1
83ef35
%patch12 -p1
83ef35
%patch13 -p1
83ef35
%patch14 -p1
83ef35
%patch15 -p1
83ef35
%patch16 -p1
83ef35
%patch17 -p1
83ef35
%patch18 -p1
83ef35
%patch19 -p1
3259a4
%patch20 -p1
3259a4
%patch21 -p1
3259a4
%patch22 -p1
3259a4
%patch23 -p1
3259a4
%patch24 -p1
3259a4
%patch25 -p1
3259a4
%patch26 -p1
268297
%patch27 -p1
268297
%patch28 -p1
268297
%patch29 -p1
268297
%patch30 -p1
268297
%patch31 -p1
268297
%patch32 -p1
268297
%patch33 -p1
268297
%patch34 -p1
268297
%patch35 -p1
268297
%patch36 -p1
268297
%patch37 -p1
44a843
44a843
%build
44a843
%configure
44a843
make %{?_smp_mflags}
44a843
44a843
%install
44a843
make DESTDIR=%{buildroot} INSTALL='install -p' install
44a843
44a843
%files
44a843
%license COPYING LICENSE
44a843
%doc AUTHORS ChangeLog* NEWS README
44a843
%{_sbindir}/%{name}
44a843
%{_mandir}/man8/%{name}.8*
44a843
%{_datadir}/bash-completion/completions/ethtool
44a843
44a843
%changelog
268297
* Thu Mar 11 2021 Ivan Vecera <ivecera@redhat.com> - 2:5.8-6
268297
- Added support for pause frame statistics
268297
3259a4
* Thu Nov 12 2020 Ivan Vecera <ivecera@redhat.com> - 2:5.8-5
3259a4
- Fixed a regression
3259a4
3259a4
* Fri Nov 06 2020 Ivan Vecera <ivecera@redhat.com> - 2:5.8-4
3259a4
- Added support for extended link state reporting
3259a4
83ef35
* Fri Sep 25 2020 Ivan Vecera <ivecera@redhat.com> - 2:5.8-3
83ef35
- Fixed memory leak
83ef35
83ef35
* Thu Sep 24 2020 Ivan Vecera <ivecera@redhat.com> - 2:5.8-2
83ef35
- Add post-5.8 bugfixes
83ef35
44a843
* Tue Sep 15 2020 Ivan Vecera <ivecera@redhat.com> - 2:5.8-1
44a843
- Update to 5.8 (#1878826)
44a843
44a843
* Thu May 16 2019 Ivan Vecera <ivecera@redhat.com> - 2:5.0-2
44a843
- Added support for 200Gbps (50Gbps/lane) link mode 
44a843
44a843
* Wed Mar 13 2019 Ivan Vecera <ivecera@redhat.com> - 2:5.0-1
44a843
- Update to 5.0 (#1688299)
44a843
44a843
* Sat Apr 14 2018 Robert Scheck <robert@fedoraproject.org> - 2:4.16-1
44a843
- Update to 4.16 (#1567447)
44a843
44a843
* Sun Feb 18 2018 Robert Scheck <robert@fedoraproject.org> - 2:4.15-1
44a843
- Update to 4.15 (#1541183)
44a843
44a843
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:4.13-2
44a843
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
44a843
44a843
* Sat Nov 04 2017 Robert Scheck <robert@fedoraproject.org> - 2:4.13-1
44a843
- Update to 4.13 (#1507171)
44a843
44a843
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:4.11-2
44a843
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
44a843
44a843
* Fri Jul 28 2017 Robert Scheck <robert@fedoraproject.org> - 2:4.11-1
44a843
- Update to 4.11 (#1435843)
44a843
44a843
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:4.8-3
44a843
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
44a843
44a843
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:4.8-2
44a843
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
44a843
44a843
* Mon Nov 28 2016 Robert Scheck <robert@fedoraproject.org> - 2:4.8-1
44a843
- Update to 4.8 (#1317497)
44a843
44a843
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2:4.2-2
44a843
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
44a843
44a843
* Fri Oct 09 2015 Jaromir Capik <jcapik@redhat.com> - 2:4.2-1
44a843
- Updating to 4.2 (#1270250)
44a843
44a843
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:4.0-2
44a843
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
44a843
44a843
* Mon Jun 01 2015 Jaromir Capik <jcapik@redhat.com> - 2:4.0-1
44a843
- Update to 4.0 (#1226742)
44a843
44a843
* Thu Jan 29 2015 Jaromir Capik <jcapik@redhat.com> - 2:3.18-1
44a843
- Update to 3.18 (#1175150)
44a843
44a843
* Tue Sep 23 2014 Jaromir Capik <jcapik@redhat.com> - 2:3.16-1
44a843
- Update to 3.16 (#1144992)
44a843
44a843
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:3.15-2
44a843
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
44a843
44a843
* Tue Aug 05 2014 Jaromir Capik <jcapik@redhat.com> - 2:3.15-1
44a843
- Update to 3.15 (#1124044)
44a843
44a843
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:3.14-2
44a843
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
44a843
44a843
* Tue Apr 22 2014 Jaromir Capik <jcapik@redhat.com> - 2:3.14-1
44a843
- Update to 3.14 (#1089943)
44a843
44a843
* Thu Jan 30 2014 Jaromir Capik <jcapik@redhat.com> - 2:3.13-1
44a843
- Update to 3.13 (#1059565)
44a843
44a843
* Mon Nov 18 2013 Jaromir Capik <jcapik@redhat.com> - 2:3.12-1
44a843
- Update to 3.12 (#1030854)
44a843
44a843
* Fri Sep 13 2013 Jaromir Capik <jcapik@redhat.com> - 2:3.11-1
44a843
- Update to 3.11 (#1007738)
44a843
44a843
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:3.10-2
44a843
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
44a843
44a843
* Thu Jul 04 2013 Jaromir Capik <jcapik@redhat.com> - 2:3.10-1
44a843
- Update to 3.10 (#981357)
44a843
44a843
* Thu May 02 2013 Jaromir Capik <jcapik@redhat.com> - 2:3.9-1
44a843
- Update to 3.9 (#958467)
44a843
44a843
* Mon Mar 04 2013 Jaromir Capik <jcapik@redhat.com> - 2:3.8-1
44a843
- Update to 3.8 (#916922)
44a843
44a843
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:3.7-2
44a843
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
44a843
44a843
* Mon Dec 17 2012 Jaromir Capik <jcapik@redhat.com> - 2:3.7-1
44a843
- Update to 3.7 (#887463)
44a843
44a843
* Tue Oct 23 2012 Jaromir Capik <jcapik@redhat.com> 2:3.6-1
44a843
- Update to 3.6 (#863774)
44a843
44a843
* Tue Sep 25 2012 Jaromir Capik <jcapik@redhat.com> 2:3.5-1
44a843
- Update to 3.5 (#840741)
44a843
44a843
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:3.4.1-2
44a843
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
44a843
44a843
* Thu Jun 28 2012 Jaromir Capik <jcapik@redhat.com> 2:3.4.1-1
44a843
- Update to 3.4.1 (#830263)
44a843
44a843
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 2:3.2-2
44a843
- install everything in /usr
44a843
  https://fedoraproject.org/wiki/Features/UsrMove
44a843
44a843
* Fri Jan 13 2012 Jaromir Capik <jcapik@redhat.com> 2:3.2-1
44a843
- Update to 3.2 (#781357)
44a843
- Minor spec file changes according to the latest guidelines
44a843
44a843
* Fri Dec 23 2011 Robert Scheck <robert@fedoraproject.org> 2:3.1-1
44a843
- Upgrade to 3.1 (#728480)
44a843
44a843
* Sun Jul 17 2011 Robert Scheck <robert@fedoraproject.org> 2:2.6.39-1
44a843
- Upgrade to 2.6.39 (#710400)
44a843
44a843
* Mon Mar 21 2011 Robert Scheck <robert@fedoraproject.org> 2:2.6.38-1
44a843
- Upgrade to 2.6.38 (#667594)
44a843
44a843
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:2.6.36-2
44a843
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
44a843
44a843
* Fri Dec 31 2010 Robert Scheck <robert@fedoraproject.org> 2:2.6.36-1
44a843
- Upgrade to 2.6.36 (#623094)
44a843
44a843
* Wed Jul 14 2010 Jeff Garzik <jgarzik@redhat.com> 2:2.6.34-1
44a843
- Update to release 2.6.34.
44a843
44a843
* Thu Feb  4 2010 Jeff Garzik <jgarzik@redhat.com> 2.6.33-0.1
44a843
- update to version 2.6.33-pre1
44a843
44a843
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6-7.20090323git
44a843
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
44a843
44a843
* Sat Jul 18 2009 Robert Scheck <robert@fedoraproject.org> 6-6.20090323git
44a843
- Upgrade to GIT 20090323
44a843
44a843
* Thu Jul 16 2009 Jeff Garzik <jgarzik@redhat.com> 6-5.20090306git
44a843
- minor specfile cleanups
44a843
44a843
* Sat Mar 07 2009 Robert Scheck <robert@fedoraproject.org> 6-4.20090306git
44a843
- Upgrade to GIT 20090306
44a843
44a843
* Mon Feb 23 2009 Robert Scheck <robert@fedoraproject.org> 6-3.20090115git
44a843
- Rebuild for gcc 4.4 and rpm 4.6
44a843
44a843
* Sat Jan 17 2009 Robert Scheck <robert@fedoraproject.org> 6-2.20090115git
44a843
- Changes to match with Fedora Packaging Guidelines (#225735)
44a843
- Upgrade to GIT 20090115 (#225735, #477498)
44a843
- Removed bogus stated need of DEVNAME in -h/--help (#472038)
44a843
- Removed completely needless INSTALL file from %%doc (#472034)
44a843
44a843
* Wed Mar 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> 6-1
44a843
- Upgrade to ethtool version 6
44a843
44a843
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5-2
44a843
- Autorebuild for GCC 4.3
44a843
44a843
* Thu Dec 14 2006 Jay Fenlason <fenlason@redhat.com> 5-1
44a843
- Upgrade to ethtool version 5 to close
44a843
  bz#184985: RFE: 10gigE support
44a843
  bz#204840: "buffer overflow detected" when devname's length >=16 of ethtool
44a843
  Resolves: #184985, #204840
44a843
44a843
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3-1.2.2
44a843
- rebuild
44a843
44a843
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3-1.2.1
44a843
- bump again for double-long bug on ppc(64)
44a843
44a843
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3-1.2
44a843
- rebuilt for new gcc4.1 snapshot and glibc changes
44a843
44a843
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
44a843
- rebuilt
44a843
44a843
* Thu Mar  3 2005 Jeff Garzik <jgarzik@pobox.com>
44a843
- Update to version 3.
44a843
- Use %%buildroot macro, rather than RPM_BUILD_ROOT env var,
44a843
  as recommended by RPM packaging guidelines.
44a843
44a843
* Sun Feb 27 2005 Florian La Roche <laroche@redhat.com>
44a843
- Copyright: -> License
44a843
44a843
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
44a843
- rebuilt
44a843
44a843
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
44a843
- rebuilt
44a843
44a843
* Fri Sep  5 2003 Bill Nottingham <notting@redhat.com> 1.8-2
44a843
- remove bogus check for devices starting with ethXX, this time applying
44a843
  the patch
44a843
44a843
* Thu Jul 24 2003 Bill Nottingham <notting@redhat.com> 1.8-1
44a843
- update to 1.8
44a843
- remove bogus check for devices starting with ethXX
44a843
44a843
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
44a843
- rebuilt
44a843
44a843
* Sat Feb  8 2003 Bill Nottingham <notting@redhat.com> 1.6-5
44a843
- move to /sbin
44a843
44a843
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
44a843
- rebuilt
44a843
44a843
* Thu Dec 12 2002 Tim Powers <timp@redhat.com> 1.6-3
44a843
- rebuild on all arches
44a843
44a843
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
44a843
- automated rebuild
44a843
44a843
* Thu Jun 20 2002 Florian La Roche <Florian.LaRoche@redhat.de>
44a843
- update to 1.6
44a843
44a843
* Thu May 23 2002 Tim Powers <timp@redhat.com>
44a843
- automated rebuild
44a843
44a843
* Mon Mar  4 2002 Bill Nottingham <notting@redhat.com> 1.5-1
44a843
- 1.5
44a843
44a843
* Thu Feb 21 2002 Bill Nottingham <notting@redhat.com>
44a843
- rebuild
44a843
44a843
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
44a843
- automated rebuild
44a843
44a843
* Tue Dec  4 2001 Bill Nottingham <notting@redhat.com>
44a843
- update to 1.4
44a843
44a843
* Fri Aug  3 2001 Bill Nottingham <notting@redhat.com>
44a843
- return of ethtool! (#50475)
44a843
44a843
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
44a843
- automatic rebuild
44a843
44a843
* Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
44a843
- rebuilt for next release
44a843
- use FHS man path
44a843
44a843
* Tue Feb 22 2000 Bill Nottingham <notting@redhat.com>
44a843
- handle compressed manpages
44a843
44a843
* Wed Apr 14 1999 Bill Nottingham <notting@redhat.com>
44a843
- run through with new s/d
44a843
44a843
* Tue Apr 13 1999 Jakub Jelinek <jj@ultra.linux.cz>
44a843
- initial package.