Hello community, here is the log from the commit of package ethtool for openSUSE:Factory checked in at 2013-07-04 17:57:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ethtool (Old) and /work/SRC/openSUSE:Factory/.ethtool.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ethtool" Changes: -------- --- /work/SRC/openSUSE:Factory/ethtool/ethtool.changes 2013-04-23 15:08:00.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ethtool.new/ethtool.changes 2013-07-04 17:57:57.000000000 +0200 @@ -1,0 +2,10 @@ +Thu Jul 4 00:49:33 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 3.10 +* Displaying of support for 10000BASE-KR link mode was implemented. +* Support for new versions of ixgbe register dump was added. +* The private flags print output was beautified. +- More robust make install call +- Optional signature verification + +------------------------------------------------------------------- Old: ---- ethtool-3.8.tar.sign ethtool-3.8.tar.xz New: ---- ethtool-3.10.tar.sign ethtool-3.10.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ethtool.spec ++++++ --- /var/tmp/diff_new_pack.0yoyBb/_old 2013-07-04 17:57:59.000000000 +0200 +++ /var/tmp/diff_new_pack.0yoyBb/_new 2013-07-04 17:57:59.000000000 +0200 @@ -17,7 +17,7 @@ Name: ethtool -Version: 3.8 +Version: 3.10 Release: 0 Summary: Examine and Tune Ethernet-Based Network Interfaces License: GPL-2.0 @@ -35,6 +35,7 @@ network interfaces. See the man page for more details. %prep +%{?gpg_verify: xz -dk "%{S:0}"; %gpg_verify %{S:2}} %setup -q %build @@ -43,7 +44,7 @@ make %{?_smp_mflags} %install -%make_install +make install DESTDIR="%buildroot" #UsrMerge mkdir $RPM_BUILD_ROOT/sbin ln -sf %{_sbindir}/ethtool $RPM_BUILD_ROOT/sbin ++++++ ethtool-3.8.tar.xz -> ethtool-3.10.tar.xz ++++++ ++++ 1860 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ethtool-3.8/NEWS new/ethtool-3.10/NEWS --- old/ethtool-3.8/NEWS 2013-02-28 16:00:41.000000000 +0100 +++ new/ethtool-3.10/NEWS 2013-07-01 18:01:31.000000000 +0200 @@ -1,3 +1,13 @@ +Version 3.10 - July 1, 2013 + + * Feature: Beautify private flags print (--show-priv-flags option) + +Version 3.9 - April 30, 2013 + + * Feature: Display support for 10000BASE-KR link mode (no options) + * Feature: Add support for new versions of ixgbe register dump + (-d dump) + Version 3.8 - February 28, 2013 * Feature: Allow setting destination MAC address in L3/L4 flow spec diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ethtool-3.8/configure.ac new/ethtool-3.10/configure.ac --- old/ethtool-3.8/configure.ac 2013-02-28 15:57:06.000000000 +0100 +++ new/ethtool-3.10/configure.ac 2013-07-01 18:02:55.000000000 +0200 @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(ethtool, 3.8, netdev@vger.kernel.org) +AC_INIT(ethtool, 3.10, netdev@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' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ethtool-3.8/ethtool.8 new/ethtool-3.10/ethtool.8 --- old/ethtool-3.8/ethtool.8 2013-02-28 16:01:12.000000000 +0100 +++ new/ethtool-3.10/ethtool.8 2013-07-01 18:04:10.000000000 +0200 @@ -113,7 +113,7 @@ . hy \\n(HY .. . -.TH ETHTOOL 8 "December 2012" "Ethtool version 3.8" +.TH ETHTOOL 8 "December 2012" "Ethtool version 3.10" .SH NAME ethtool \- query or control network driver and hardware settings . diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ethtool-3.8/ethtool.c new/ethtool-3.10/ethtool.c --- old/ethtool-3.8/ethtool.c 2013-02-28 15:52:03.000000000 +0100 +++ new/ethtool-3.10/ethtool.c 2013-07-01 17:58:37.000000000 +0200 @@ -512,6 +512,7 @@ { 0, ADVERTISED_2500baseX_Full, "2500baseX/Full" }, { 0, ADVERTISED_10000baseT_Full, "10000baseT/Full" }, { 0, ADVERTISED_10000baseKX4_Full, "10000baseKX4/Full" }, + { 0, ADVERTISED_10000baseKR_Full, "10000baseKR/Full" }, { 0, ADVERTISED_20000baseMLD2_Full, "20000baseMLD2/Full" }, { 0, ADVERTISED_20000baseKR2_Full, "20000baseKR2/Full" }, { 0, ADVERTISED_40000baseKR4_Full, "40000baseKR4/Full" }, @@ -3444,6 +3445,7 @@ struct ethtool_gstrings *strings; struct ethtool_value flags; unsigned int i; + int max_len = 0, cur_len; if (ctx->argc != 0) exit_bad_args(); @@ -3471,9 +3473,18 @@ return 1; } + /* Find longest string and align all strings accordingly */ + for (i = 0; i < strings->len; i++) { + cur_len = strlen((const char*)strings->data + + i * ETH_GSTRING_LEN); + if (cur_len > max_len) + max_len = cur_len; + } + printf("Private flags for %s:\n", ctx->devname); for (i = 0; i < strings->len; i++) - printf("%s: %s\n", + printf("%-*s: %s\n", + max_len, (const char *)strings->data + i * ETH_GSTRING_LEN, (flags.data & (1U << i)) ? "on" : "off"); @@ -3520,6 +3531,7 @@ cmdline[i].seen_val = &seen_flags; } parse_generic_cmdline(ctx, &any_changed, cmdline, strings->len); + free(cmdline); flags.cmd = ETHTOOL_GPFLAGS; if (send_ioctl(ctx, &flags)) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ethtool-3.8/ethtool.spec new/ethtool-3.10/ethtool.spec --- old/ethtool-3.8/ethtool.spec 2013-02-28 16:01:12.000000000 +0100 +++ new/ethtool-3.10/ethtool.spec 2013-07-01 18:04:19.000000000 +0200 @@ -1,5 +1,5 @@ Name : ethtool -Version : 3.8 +Version : 3.10 Release : 1 Group : Utilities diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ethtool-3.8/ixgbe.c new/ethtool-3.10/ixgbe.c --- old/ethtool-3.8/ixgbe.c 2011-11-01 17:46:24.000000000 +0100 +++ new/ethtool-3.10/ixgbe.c 2013-04-30 20:14:48.000000000 +0200 @@ -133,10 +133,13 @@ u8 i; enum ixgbe_mac_type mac_type; - if (version != 1) + if (version == 0) return -1; - mac_type = ixgbe_get_mac_type(hw_device_id); + /* The current driver reports the MAC type, but older versions + * only report the device ID so we have to infer the MAC type. + */ + mac_type = version > 1 ? version : ixgbe_get_mac_type(hw_device_id); reg = regs_buff[1065]; fprintf(stdout, -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org