Hello community, here is the log from the commit of package smc-tools for openSUSE:Factory checked in at 2019-12-03 12:42:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/smc-tools (Old) and /work/SRC/openSUSE:Factory/.smc-tools.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "smc-tools" Tue Dec 3 12:42:49 2019 rev:7 rq:753059 version:1.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/smc-tools/smc-tools.changes 2019-09-07 11:55:37.870255430 +0200 +++ /work/SRC/openSUSE:Factory/.smc-tools.new.4691/smc-tools.changes 2019-12-03 12:43:11.466119307 +0100 @@ -1,0 +2,11 @@ +Thu Nov 7 17:44:58 UTC 2019 - Mark Post <mp...@suse.com> + +- Upgraded to version 1.2.2 (jsc#SLE-7876) + * Changes: + Add bash autocompletion support + Removed support for the 31-bit library + Bug fixes: + smcss: Do not show connection mode for already closed sockets + smc_rnics: Set interface to "n/a" for ISM devices + +------------------------------------------------------------------- @@ -4 +15 @@ -- Upgraded to version 1.2.1 (Fate#327839) +- Upgraded to version 1.2.1 (Fate#327839, bsc#1153947) Old: ---- smc-tools-1.2.1.tar.gz New: ---- smc-tools-1.2.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ smc-tools.spec ++++++ --- /var/tmp/diff_new_pack.9Fm1T4/_old 2019-12-03 12:43:11.882119192 +0100 +++ /var/tmp/diff_new_pack.9Fm1T4/_new 2019-12-03 12:43:11.910119184 +0100 @@ -16,22 +16,8 @@ # -# aarch64 and ppc64le don't support 32bit applications, so there's no -# gcc-32bit package that can be installed -%ifarch s390x x86_64 -%define have_32bit 1 -BuildRequires: gcc-32bit -%endif - -# While repos other than Factory have 32bit for s390x, Factory does not -%if 0%{?suse_version} == 1550 -%ifarch s390x -%define have_32bit 0 -%endif -%endif - Name: smc-tools -Version: 1.2.1 +Version: 1.2.2 Release: 0 Summary: Shared Memory Communication via RDMA License: EPL-1.0 @@ -85,9 +71,6 @@ %endif %{_bindir}/smcss %{_libdir}/libsmc-preload.so -%if 0%{?have_32bit} -%{_prefix}/lib/libsmc-preload.so -%endif %{_mandir}/man7/af_smc.7%{?ext_man} %{_mandir}/man8/smc_pnet.8%{?ext_man} %ifarch s390 s390x ++++++ smc-tools-1.2.1.tar.gz -> smc-tools-1.2.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smc-tools-1.2.1/Makefile new/smc-tools-1.2.2/Makefile --- old/smc-tools-1.2.1/Makefile 2019-04-16 09:01:08.000000000 +0200 +++ new/smc-tools-1.2.2/Makefile 2019-10-24 15:00:32.000000000 +0200 @@ -1,3 +1,4 @@ + # # SMC Tools - Shared Memory Communication Tools # @@ -9,7 +10,7 @@ # http://www.eclipse.org/legal/epl-v10.html # -SMC_TOOLS_RELEASE = 1.2.1 +SMC_TOOLS_RELEASE = 1.2.2 VER_MAJOR = $(shell echo $(SMC_TOOLS_RELEASE) | cut -d '.' -f 1) ARCHTYPE = $(shell uname -m) @@ -29,6 +30,7 @@ PREFIX = /usr BINDIR = ${PREFIX}/bin MANDIR = ${PREFIX}/share/man +BASH_AUTODIR = $(shell pkg-config --variable=completionsdir bash-completion 2>/dev/null) OWNER = $(shell id -un) GROUP = $(shell id -gn) INSTALL_FLAGS_BIN = -g $(GROUP) -o $(OWNER) -m755 @@ -107,6 +109,7 @@ printf "* Install package..............: %-45s\n" "devel package for libnl3" >&2; \ printf "* Install package..............: %-45s\n" "devel package for libnl3-genl" >&2; \ printf "* NOTE: Package names might differ by platform\n" >&2; \ + printf "* On Ubuntu try libnl-3-dev and libnl-genl-3-dev\n" >&2; \ printf "**************************************************************\n" >&2; \ exit 1; \ fi @@ -117,12 +120,13 @@ install: all echo " INSTALL" - install -d -m755 $(DESTDIR)$(LIBDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man7 $(DESTDIR)$(MANDIR)/man8 + install -d -m755 $(DESTDIR)$(LIBDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man7 \ + $(DESTDIR)$(BASH_AUTODIR) $(DESTDIR)$(MANDIR)/man8 install $(INSTALL_FLAGS_LIB) libsmc-preload.so $(DESTDIR)$(LIBDIR) -ifeq ($(STUFF_32BIT),1) - install -d -m755 $(DESTDIR)$(LIBDIR32) - install $(INSTALL_FLAGS_LIB) libsmc-preload32.so $(DESTDIR)$(LIBDIR32)/libsmc-preload.so -endif +#ifeq ($(STUFF_32BIT),1) +# install -d -m755 $(DESTDIR)$(LIBDIR32) +# install $(INSTALL_FLAGS_LIB) libsmc-preload32.so $(DESTDIR)$(LIBDIR32)/libsmc-preload.so +#endif install $(INSTALL_FLAGS_BIN) smc_run $(DESTDIR)$(BINDIR) install $(INSTALL_FLAGS_BIN) smcss $(DESTDIR)$(BINDIR) install $(INSTALL_FLAGS_BIN) smc_pnet $(DESTDIR)$(BINDIR) @@ -135,6 +139,13 @@ install $(INSTALL_FLAGS_MAN) smc_run.8 $(DESTDIR)$(MANDIR)/man8 install $(INSTALL_FLAGS_MAN) smc_pnet.8 $(DESTDIR)$(MANDIR)/man8 install $(INSTALL_FLAGS_MAN) smcss.8 $(DESTDIR)$(MANDIR)/man8 +ifneq ($(BASH_AUTODIR),) + install $(INSTALL_FLAGS_MAN) smc-tools.autocomplete $(DESTDIR)$(BASH_AUTODIR)/smc-tools + ln -sfr $(DESTDIR)$(BASH_AUTODIR)/smc-tools $(DESTDIR)$(BASH_AUTODIR)/smc_rnics + ln -sfr $(DESTDIR)$(BASH_AUTODIR)/smc-tools $(DESTDIR)$(BASH_AUTODIR)/smc_dbg + ln -sfr $(DESTDIR)$(BASH_AUTODIR)/smc-tools $(DESTDIR)$(BASH_AUTODIR)/smcss + ln -sfr $(DESTDIR)$(BASH_AUTODIR)/smc-tools $(DESTDIR)$(BASH_AUTODIR)/smc_pnet +endif clean: echo " CLEAN" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smc-tools-1.2.1/README.smctools new/smc-tools-1.2.2/README.smctools --- old/smc-tools-1.2.1/README.smctools 2019-04-16 09:01:08.000000000 +0200 +++ new/smc-tools-1.2.2/README.smctools 2019-10-24 15:00:32.000000000 +0200 @@ -1,4 +1,4 @@ -SMC Tools (1.2.1) +SMC Tools (1.2.2) =================== The SMC Tools provided in this package allow execution of existing TCP @@ -46,12 +46,20 @@ Release History: ================ +1.2.2 (2019-10-24) + Changes: + - Add bash autocompletion support + + Bug fixes: + - smcss: Do not show connection mode for already closed sockets + - smc_rnics: Set interface to "n/a" for ISM devices + 1.2.1 (2019-04-15) Bug fixes: - smc_rnics: Install man page on s390 only - smc-preload: Handle behavior flags in type argument to socket() call - Makefile: Fixed install target on Ubuntu for platforms other than s390 - - smc_pnet: changes in support of kernel 5.1 + - smc_pnet: Changes in support of kernel 5.1 1.2.0 (2019-02-08) Changes: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smc-tools-1.2.1/smc-tools.autocomplete new/smc-tools-1.2.2/smc-tools.autocomplete --- old/smc-tools-1.2.1/smc-tools.autocomplete 1970-01-01 01:00:00.000000000 +0100 +++ new/smc-tools-1.2.2/smc-tools.autocomplete 2019-10-24 15:00:32.000000000 +0200 @@ -0,0 +1,38 @@ +function _smc_pnet_complete_() { + case "${COMP_WORDS[COMP_CWORD-1]}" in + --interface*|-I*) + COMPREPLY=($(compgen -W "$(ls -1 /sys/class/net/)" -- "${COMP_WORDS[COMP_CWORD]}")) + return;; + --ibdevice*|-D*) + which smc_rnics >/dev/null + if [ $? -eq 0 ]; then + COMPREPLY=($(compgen -W "$(smc_rnics | tail -n +3 | awk '{print($3)}' | uniq)" -- "${COMP_WORDS[COMP_CWORD]}")) + else + COMPREPLY=($(compgen -W "$(ls -1 /sys/bus/pci/devices)" -- "${COMP_WORDS[COMP_CWORD]}")) + fi + return;; + --ibport*|-P*) + ;; + esac + + COMPREPLY=($(compgen -W "--help --version --add --delete --show --flush --interface --ibdevice --ibport" -- "${COMP_WORDS[COMP_CWORD]}")) +} + +function _smc_rnics_complete_() { + case "${COMP_WORDS[COMP_CWORD-1]}" in + --enable|-e) + COMPREPLY=($(compgen -W "$(smc_rnics | grep -e "^ [[:space:]0-9a-f]\{2\} 0" | awk '{print($1)}')" -- "${COMP_WORDS[COMP_CWORD]}")) + return;; + --disable|-d) + COMPREPLY=($(compgen -W "$(smc_rnics | grep -e "^ [[:space:]0-9a-f]\{2\} 1" | awk '{print($1)}')" -- "${COMP_WORDS[COMP_CWORD]}")) + return;; + esac + + COMPREPLY=($(compgen -W "--help --version --disable --enable --rawids" -- "${COMP_WORDS[COMP_CWORD]}")) +} + +complete -W "--help --tgz --version" smc_dbg +complete -W "--help --version --all --listening --debug --wide --smcd --smcr" smcss +complete -F _smc_pnet_complete_ smc_pnet +complete -F _smc_rnics_complete_ smc_rnics + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smc-tools-1.2.1/smc_dbg new/smc-tools-1.2.2/smc_dbg --- old/smc-tools-1.2.1/smc_dbg 2019-04-16 09:01:08.000000000 +0200 +++ new/smc-tools-1.2.2/smc_dbg 2019-10-24 15:00:32.000000000 +0200 @@ -36,7 +36,7 @@ "-t" | "--tgz" ) tgz="on";; "-v" | "--version" ) - echo "smc_dbg utility, smc-tools-1.2.1 (5ad3088)"; + echo "smc_dbg utility, smc-tools-1.2.2 (4335826)"; exit 0;; * ) esac diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smc-tools-1.2.1/smc_rnics new/smc-tools-1.2.2/smc_rnics --- old/smc-tools-1.2.1/smc_rnics 2019-04-16 09:01:08.000000000 +0200 +++ new/smc-tools-1.2.2/smc_rnics 2019-10-24 15:00:32.000000000 +0200 @@ -66,7 +66,7 @@ "-r" | "--rawids" ) rawIDs=1;; "-v" | "--version" ) - echo "smc_rnics utility, smc-tools-1.2.1 (5ad3088)"; + echo "smc_rnics utility, smc-tools-1.2.2 (4335826)"; exit 0;; "--" ) ;; * ) format_fid "$1"; @@ -144,7 +144,8 @@ "0x1014" ) # IBM case "$id" in "0x04ed") dev_type="ISM"; - port="n/a";; + port="n/a"; + int="n/a";; "0x044b") continue;; # zEDC esac;; "0x15b3" ) # Mellanox diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smc-tools-1.2.1/smc_rnics.8 new/smc-tools-1.2.2/smc_rnics.8 --- old/smc-tools-1.2.1/smc_rnics.8 2019-04-16 09:01:08.000000000 +0200 +++ new/smc-tools-1.2.2/smc_rnics.8 2019-10-24 15:00:32.000000000 +0200 @@ -70,7 +70,8 @@ PCI ID in BDF (Bus:Device.Function) notation. .SS "PCHID" -Physical channel identifier. +Physical channel identifier, or virtual channel identifier (VCHID) for +ISM devices. .SS "Type" Device type in human readable form. See option diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smc-tools-1.2.1/smcss.c new/smc-tools-1.2.2/smcss.c --- old/smc-tools-1.2.1/smcss.c 2019-04-16 09:01:08.000000000 +0200 +++ new/smc-tools-1.2.2/smcss.c 2019-10-24 15:00:32.000000000 +0200 @@ -331,6 +331,9 @@ r->id.idiag_dst, ntohs(r->id.idiag_dport)); printf("%-*s ", (int)MAX(ADDR_LEN_SHORT, strlen(txtbuf)), txtbuf); printf("%04x ", r->id.idiag_if); + if (r->diag_state == 7) /* CLOSED state */ + goto newline; + if (r->diag_mode == SMC_DIAG_MODE_FALLBACK_TCP) { printf("TCP "); /* when available print local and peer fallback reason code */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smc-tools-1.2.1/smctools_common.h new/smc-tools-1.2.2/smctools_common.h --- old/smc-tools-1.2.1/smctools_common.h 2019-04-16 09:01:08.000000000 +0200 +++ new/smc-tools-1.2.2/smctools_common.h 2019-10-24 15:00:32.000000000 +0200 @@ -20,7 +20,7 @@ #define STRINGIFY(x) STRINGIFY_1(x) #define RELEASE_STRING STRINGIFY (SMC_TOOLS_RELEASE) -#define RELEASE_LEVEL "5ad3088" +#define RELEASE_LEVEL "4335826" #define PF_SMC 43