Hello community, here is the log from the commit of package ethtool for openSUSE:Factory checked in at 2019-07-31 14:14:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ethtool (Old) and /work/SRC/openSUSE:Factory/.ethtool.new.4126 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ethtool" Wed Jul 31 14:14:32 2019 rev:58 rq:718734 version:5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ethtool/ethtool.changes 2019-05-21 10:35:19.111284491 +0200 +++ /work/SRC/openSUSE:Factory/.ethtool.new.4126/ethtool.changes 2019-07-31 14:14:32.954856941 +0200 @@ -1,0 +2,7 @@ +Fri Jul 26 05:15:35 UTC 2019 - Michal Kubecek <mkube...@suse.cz> + +- Update to new upstream release 5.2 + * support 100BaseT1 and 1000BaseT1 link modes + * fewer compilation warnings with updated UAPI header copy + +------------------------------------------------------------------- Old: ---- ethtool-5.1.tar.sign ethtool-5.1.tar.xz New: ---- ethtool-5.2.tar.sign ethtool-5.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ethtool.spec ++++++ --- /var/tmp/diff_new_pack.GwUVBz/_old 2019-07-31 14:14:33.570856483 +0200 +++ /var/tmp/diff_new_pack.GwUVBz/_new 2019-07-31 14:14:33.570856483 +0200 @@ -17,7 +17,7 @@ Name: ethtool -Version: 5.1 +Version: 5.2 Release: 0 Summary: Utility for examining and tuning Ethernet-based network interfaces License: GPL-2.0-only ++++++ ethtool-5.1.tar.xz -> ethtool-5.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.1/NEWS new/ethtool-5.2/NEWS --- old/ethtool-5.1/NEWS 2019-05-17 20:17:50.000000000 +0200 +++ new/ethtool-5.2/NEWS 2019-07-25 20:49:49.000000000 +0200 @@ -1,3 +1,7 @@ +Version 5.2 - July 25, 2019 + * Feature: Add 100BaseT1 and 1000BaseT1 link modes + * Feature: Use standard file location macros in ethtool.spec + Version 5.1 - May 17, 2019 * Feature: Add support for 200Gbps (50Gbps per lane) link mode * Feature: simplify handling of PHY tunable downshift diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.1/configure new/ethtool-5.2/configure --- old/ethtool-5.1/configure 2019-05-17 20:18:53.000000000 +0200 +++ new/ethtool-5.2/configure 2019-07-25 20:52:03.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for ethtool 5.1. +# Generated by GNU Autoconf 2.69 for ethtool 5.2. # # Report bugs to <net...@vger.kernel.org>. # @@ -580,8 +580,8 @@ # Identity of this package. PACKAGE_NAME='ethtool' PACKAGE_TARNAME='ethtool' -PACKAGE_VERSION='5.1' -PACKAGE_STRING='ethtool 5.1' +PACKAGE_VERSION='5.2' +PACKAGE_STRING='ethtool 5.2' PACKAGE_BUGREPORT='net...@vger.kernel.org' PACKAGE_URL='' @@ -1247,7 +1247,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures ethtool 5.1 to adapt to many kinds of systems. +\`configure' configures ethtool 5.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1313,7 +1313,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of ethtool 5.1:";; + short | recursive ) echo "Configuration of ethtool 5.2:";; esac cat <<\_ACEOF @@ -1420,7 +1420,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -ethtool configure 5.1 +ethtool configure 5.2 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1667,7 +1667,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by ethtool $as_me 5.1, which was +It was created by ethtool $as_me 5.2, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2532,7 +2532,7 @@ # Define the identity of the package. PACKAGE='ethtool' - VERSION='5.1' + VERSION='5.2' cat >>confdefs.h <<_ACEOF @@ -4876,7 +4876,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by ethtool $as_me 5.1, which was +This file was extended by ethtool $as_me 5.2, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4942,7 +4942,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -ethtool config.status 5.1 +ethtool config.status 5.2 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.1/configure.ac new/ethtool-5.2/configure.ac --- old/ethtool-5.1/configure.ac 2019-05-17 20:13:38.000000000 +0200 +++ new/ethtool-5.2/configure.ac 2019-07-25 20:44:52.000000000 +0200 @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(ethtool, 5.1, net...@vger.kernel.org) +AC_INIT(ethtool, 5.2, net...@vger.kernel.org) AC_PREREQ(2.52) AC_CONFIG_SRCDIR([ethtool.c]) AM_INIT_AUTOMAKE([gnu]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.1/ethtool-copy.h new/ethtool-5.2/ethtool-copy.h --- old/ethtool-5.1/ethtool-copy.h 2019-04-09 20:39:04.000000000 +0200 +++ new/ethtool-5.2/ethtool-copy.h 2019-06-14 20:29:16.000000000 +0200 @@ -1481,6 +1481,8 @@ ETHTOOL_LINK_MODE_200000baseLR4_ER4_FR4_Full_BIT = 64, ETHTOOL_LINK_MODE_200000baseDR4_Full_BIT = 65, ETHTOOL_LINK_MODE_200000baseCR4_Full_BIT = 66, + ETHTOOL_LINK_MODE_100baseT1_Full_BIT = 67, + ETHTOOL_LINK_MODE_1000baseT1_Full_BIT = 68, /* must be last entry */ __ETHTOOL_LINK_MODE_MASK_NBITS @@ -1597,7 +1599,7 @@ static __inline__ int ethtool_validate_speed(__u32 speed) { - return speed <= INT_MAX || speed == SPEED_UNKNOWN; + return speed <= INT_MAX || speed == (__u32)SPEED_UNKNOWN; } /* Duplex, half or full. */ @@ -1710,6 +1712,9 @@ #define ETH_MODULE_SFF_8436 0x4 #define ETH_MODULE_SFF_8436_LEN 256 +#define ETH_MODULE_SFF_8636_MAX_LEN 640 +#define ETH_MODULE_SFF_8436_MAX_LEN 640 + /* Reset flags */ /* The reset() operation must clear the flags for the components which * were actually reset. On successful return, the flags indicate the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.1/ethtool.8 new/ethtool-5.2/ethtool.8 --- old/ethtool-5.1/ethtool.8 2019-05-17 20:18:54.000000000 +0200 +++ new/ethtool-5.2/ethtool.8 2019-07-25 20:52:05.000000000 +0200 @@ -113,7 +113,7 @@ . hy \\n(HY .. . -.TH ETHTOOL 8 "May 2019" "Ethtool version 5.1" +.TH ETHTOOL 8 "July 2019" "Ethtool version 5.2" .SH NAME ethtool \- query or control network driver and hardware settings . @@ -639,8 +639,10 @@ 0x002 10baseT Full 0x004 100baseT Half 0x008 100baseT Full +0x80000000000000000 100baseT1 Full 0x010 1000baseT Half (not supported by IEEE standards) 0x020 1000baseT Full +0x100000000000000000 1000baseT1 Full 0x20000 1000baseKX Full 0x20000000000 1000baseX Full 0x800000000000 2500baseT Full diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.1/ethtool.8.in new/ethtool-5.2/ethtool.8.in --- old/ethtool-5.1/ethtool.8.in 2019-05-17 20:14:15.000000000 +0200 +++ new/ethtool-5.2/ethtool.8.in 2019-07-25 20:45:11.000000000 +0200 @@ -113,7 +113,7 @@ . hy \\n(HY .. . -.TH ETHTOOL 8 "May 2019" "Ethtool version @VERSION@" +.TH ETHTOOL 8 "July 2019" "Ethtool version @VERSION@" .SH NAME ethtool \- query or control network driver and hardware settings . @@ -639,8 +639,10 @@ 0x002 10baseT Full 0x004 100baseT Half 0x008 100baseT Full +0x80000000000000000 100baseT1 Full 0x010 1000baseT Half (not supported by IEEE standards) 0x020 1000baseT Full +0x100000000000000000 1000baseT1 Full 0x20000 1000baseKX Full 0x20000000000 1000baseX Full 0x800000000000 2500baseT Full diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.1/ethtool.c new/ethtool-5.2/ethtool.c --- old/ethtool-5.1/ethtool.c 2019-04-09 20:39:04.000000000 +0200 +++ new/ethtool-5.2/ethtool.c 2019-06-14 20:29:16.000000000 +0200 @@ -545,6 +545,8 @@ ETHTOOL_LINK_MODE_200000baseLR4_ER4_FR4_Full_BIT, ETHTOOL_LINK_MODE_200000baseDR4_Full_BIT, ETHTOOL_LINK_MODE_200000baseCR4_Full_BIT, + ETHTOOL_LINK_MODE_100baseT1_Full_BIT, + ETHTOOL_LINK_MODE_1000baseT1_Full_BIT, }; static const enum ethtool_link_mode_bit_indices additional_advertised_flags_bits[] = { @@ -634,10 +636,14 @@ "100baseT/Half" }, { 1, ETHTOOL_LINK_MODE_100baseT_Full_BIT, "100baseT/Full" }, + { 0, ETHTOOL_LINK_MODE_100baseT1_Full_BIT, + "100baseT1/Full" }, { 0, ETHTOOL_LINK_MODE_1000baseT_Half_BIT, "1000baseT/Half" }, { 1, ETHTOOL_LINK_MODE_1000baseT_Full_BIT, "1000baseT/Full" }, + { 0, ETHTOOL_LINK_MODE_1000baseT1_Full_BIT, + "1000baseT1/Full" }, { 0, ETHTOOL_LINK_MODE_1000baseKX_Full_BIT, "1000baseKX/Full" }, { 0, ETHTOOL_LINK_MODE_2500baseX_Full_BIT, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.1/ethtool.spec new/ethtool-5.2/ethtool.spec --- old/ethtool-5.1/ethtool.spec 2019-05-17 20:18:55.000000000 +0200 +++ new/ethtool-5.2/ethtool.spec 2019-07-25 20:52:05.000000000 +0200 @@ -1,5 +1,5 @@ Name : ethtool -Version : 5.1 +Version : 5.2 Release : 1 Group : Utilities @@ -22,7 +22,7 @@ %build -CFLAGS="${RPM_OPT_FLAGS}" ./configure --prefix=/usr --mandir=%{_mandir} +CFLAGS="${RPM_OPT_FLAGS}" ./configure --prefix=%{_prefix} --mandir=%{_mandir} make @@ -32,7 +32,7 @@ %files %defattr(-,root,root) -/usr/sbin/ethtool +%{_sbindir}/ethtool %{_mandir}/man8/ethtool.8* %doc AUTHORS COPYING NEWS README diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ethtool-5.1/ethtool.spec.in new/ethtool-5.2/ethtool.spec.in --- old/ethtool-5.1/ethtool.spec.in 2016-08-24 21:47:26.000000000 +0200 +++ new/ethtool-5.2/ethtool.spec.in 2019-06-14 20:29:16.000000000 +0200 @@ -22,7 +22,7 @@ %build -CFLAGS="${RPM_OPT_FLAGS}" ./configure --prefix=/usr --mandir=%{_mandir} +CFLAGS="${RPM_OPT_FLAGS}" ./configure --prefix=%{_prefix} --mandir=%{_mandir} make @@ -32,7 +32,7 @@ %files %defattr(-,root,root) -/usr/sbin/ethtool +%{_sbindir}/ethtool %{_mandir}/man8/ethtool.8* %doc AUTHORS COPYING NEWS README