Hello community, here is the log from the commit of package fcoe-utils for openSUSE:Factory checked in at 2020-04-09 23:14:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fcoe-utils (Old) and /work/SRC/openSUSE:Factory/.fcoe-utils.new.3248 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fcoe-utils" Thu Apr 9 23:14:02 2020 rev:17 rq:791635 version:1.0.32 Changes: -------- --- /work/SRC/openSUSE:Factory/fcoe-utils/fcoe-utils.changes 2019-07-01 10:43:14.565366580 +0200 +++ /work/SRC/openSUSE:Factory/.fcoe-utils.new.3248/fcoe-utils.changes 2020-04-09 23:14:03.866196277 +0200 @@ -1,0 +2,7 @@ +Fri Apr 3 01:50:30 UTC 2020 - Lee Duncan <ldun...@suse.com> + +- Change use of "ifconfig" to "ip", since ifconfig is no + longer around (bsc#1073886), adding: + * fcoe-utils-stop-using-ifconfig.patch + +------------------------------------------------------------------- New: ---- fcoe-utils-stop-using-ifconfig.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fcoe-utils.spec ++++++ --- /var/tmp/diff_new_pack.xEejo6/_old 2020-04-09 23:14:05.114196998 +0200 +++ /var/tmp/diff_new_pack.xEejo6/_new 2020-04-09 23:14:05.118197000 +0200 @@ -1,7 +1,7 @@ # # spec file for package fcoe-utils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: fcoe-utils -Url: http://www.open-fcoe.org +URL: http://www.open-fcoe.org BuildRequires: autoconf BuildRequires: automake BuildRequires: libpciaccess-devel @@ -45,6 +45,7 @@ Patch8: 0008-Use-correct-socket-for-fcoemon.socket.patch Patch9: 0009-disable-Werror-building.patch Patch12: 0012-fcoemon-Retry-fcm_link_getlink-on-EBUSY.patch +Patch15: %{name}-stop-using-ifconfig.patch # Patches from Fedora Patch101: fcoe-utils-1.0.29-make.patch @@ -64,6 +65,7 @@ %patch8 -p1 %patch9 -p1 %patch12 -p1 +%patch15 -p1 %patch101 -p1 %build ++++++ fcoe-utils-stop-using-ifconfig.patch ++++++ diff -aurp fcoe-utils-1.0.32.orig/debug/dcbcheck.sh fcoe-utils-1.0.32/debug/dcbcheck.sh --- fcoe-utils-1.0.32.orig/debug/dcbcheck.sh 2017-01-17 04:19:20.000000000 -0800 +++ fcoe-utils-1.0.32/debug/dcbcheck.sh 2020-04-02 18:44:06.511563546 -0700 @@ -27,7 +27,7 @@ if [ "${IFNAME}" == "" ] ; then fi # Ensure that the interface name provided is valid -if ifconfig ${IFNAME} 2>&1 | grep -q "Device not found" ; then +if ip link show dev ${IFNAME} 2>&1 | grep -q "does not exist" ; then echo "Please provide a valid interface name." >&2 exit 1 fi Only in fcoe-utils-1.0.32.orig/debug: .dcbcheck.sh.swp diff -aurp fcoe-utils-1.0.32.orig/debug/fcoedump.sh fcoe-utils-1.0.32/debug/fcoedump.sh --- fcoe-utils-1.0.32.orig/debug/fcoedump.sh 2017-01-17 04:19:20.000000000 -0800 +++ fcoe-utils-1.0.32/debug/fcoedump.sh 2020-04-02 18:43:46.195599808 -0700 @@ -78,8 +78,10 @@ adapter_info() ethtool -i $DEVICE echo -e "#ethtool offloads:" ethtool -k $DEVICE - echo -e "#ifconfig:" - ifconfig $DEVICE + echo -e "#ip link:" + ip link show dev $DEVICE + echo -e "#ip addr:" + ip addr show dev $DEVICE fi echo -e "\n###Adapter INFO $PHYSDEV" @@ -93,8 +95,10 @@ adapter_info() ethtool -k $PHYSDEV echo -e "#ethtool stats:" ethtool -S $PHYSDEV - echo -e "#ifconfig:" - ifconfig $PHYSDEV + echo -e "#ip link:" + ip link show dev $PHYSDEV + echo -e "#ip addr:" + ip addr show dev $PHYSDEV } dcbtool_info()