From a40b6457ba198bbc4208da81b79b09dbff4eaed9ae166b1f73fa3e55aa630758 Mon Sep 17 00:00:00 2001 From: Mark Post Date: Thu, 4 Nov 2021 17:47:58 +0000 Subject: [PATCH] Accepting request 929218 from home:markkp:branches:network - Upgraded to version 1.7.0 (jsc#SLE-18328) * v1.7.0 (2021-10-29) Changes: - Add support for SMC-Rv2 - `smcd`/`smcr`: Add support for new commands `seid` and `ueid` to manage system and user EIDs * v1.6.1 (2021-10-01) Bug fixes: - `smcd`/`smcr` statistics: - Fix memory overread in is_data_consistent() - Fix memory and file handle leaks - Use correct fallback counter values after reset * v1.6.0 (2021-07-01) Changes: - `smcd`/`smcr`: Add new command `stats` - `smc_rnics`: Recognize unknown Mellanox cards - `smc_run`: Add various command-line switches Bug fixes: - `smc_chk`: Remove 'EXPERIMENTAL' flag - `smc_chk`: Improve cleanup - `smc_chk`: Start server with intended port - `Makefile`: Install `smc_chk.8` on s390 only - `Makefile`: Fix extra compile flags handling - `smc_rnics`: Handle malformed FID arguments - Removed the following obsolete patches against version 1.5.0: * smc-tools-sles15sp3-smc_chk-Remove-EXPERIMENTAL-flag-for-C-option.patch * smc-tools-sles15sp3-Makefile-Install-smc_chk.8-on-s390-only.patch - Removed unnecessary smc-tools-rpmlintrc file. OBS-URL: https://build.opensuse.org/request/show/929218 OBS-URL: https://build.opensuse.org/package/show/network/smc-tools?expand=0&rev=42 --- smc-tools-1.5.0.tar.gz | 3 -- smc-tools-1.7.0.tar.gz | 3 ++ smc-tools-rpmlintrc | 1 - ...efile-Install-smc_chk.8-on-s390-only.patch | 28 ---------------- ...emove-EXPERIMENTAL-flag-for-C-option.patch | 32 ------------------- smc-tools.changes | 32 +++++++++++++++++++ smc-tools.spec | 16 ++++++---- 7 files changed, 44 insertions(+), 71 deletions(-) delete mode 100644 smc-tools-1.5.0.tar.gz create mode 100644 smc-tools-1.7.0.tar.gz delete mode 100644 smc-tools-rpmlintrc delete mode 100644 smc-tools-sles15sp3-Makefile-Install-smc_chk.8-on-s390-only.patch delete mode 100644 smc-tools-sles15sp3-smc_chk-Remove-EXPERIMENTAL-flag-for-C-option.patch diff --git a/smc-tools-1.5.0.tar.gz b/smc-tools-1.5.0.tar.gz deleted file mode 100644 index ffa2a41..0000000 --- a/smc-tools-1.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7344175687fba1907cabc617e5c956778afe7125db915db51b7a4b2f61d90edf -size 50600 diff --git a/smc-tools-1.7.0.tar.gz b/smc-tools-1.7.0.tar.gz new file mode 100644 index 0000000..cae42fe --- /dev/null +++ b/smc-tools-1.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b42c8f59ab2850c4de1e511951482ce3ba77c11a2e514e39b738a3ac059c147f +size 65312 diff --git a/smc-tools-rpmlintrc b/smc-tools-rpmlintrc deleted file mode 100644 index be4ee7e..0000000 --- a/smc-tools-rpmlintrc +++ /dev/null @@ -1 +0,0 @@ -addFilter("shlib-policy-name-error") diff --git a/smc-tools-sles15sp3-Makefile-Install-smc_chk.8-on-s390-only.patch b/smc-tools-sles15sp3-Makefile-Install-smc_chk.8-on-s390-only.patch deleted file mode 100644 index 7f72779..0000000 --- a/smc-tools-sles15sp3-Makefile-Install-smc_chk.8-on-s390-only.patch +++ /dev/null @@ -1,28 +0,0 @@ -From c3d1f45abff2433afefaea9d31cd9cda0a7408d3 Mon Sep 17 00:00:00 2001 -From: Stefan Raspl -Date: Mon, 8 Feb 2021 16:43:01 +0100 -Subject: [PATCH 2/2] Makefile: Install smc_chk.8 on s390 only - -Since smc_chk depends on smc_rnics (which is s390-only), we should not -install the man-page on non-s390 platforms, too. - -Signed-off-by: Stefan Raspl ---- -diff --git a/Makefile b/Makefile -index a9068d0..427fc71 100644 ---- a/Makefile -+++ b/Makefile -@@ -161,9 +161,9 @@ ifeq ($(shell uname -m | cut -c1-4),s390) - install $(INSTALL_FLAGS_BIN) smc_rnics $(DESTDIR)$(BINDIR) - install $(INSTALL_FLAGS_MAN) smc_rnics.8 $(DESTDIR)$(MANDIR)/man8 - install $(INSTALL_FLAGS_BIN) smc_chk $(DESTDIR)$(BINDIR) -+ install $(INSTALL_FLAGS_MAN) smc_chk.8 $(DESTDIR)$(MANDIR)/man8 - endif - install $(INSTALL_FLAGS_MAN) af_smc.7 $(DESTDIR)$(MANDIR)/man7 -- install $(INSTALL_FLAGS_MAN) smc_chk.8 $(DESTDIR)$(MANDIR)/man8 - 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 --- -2.26.2 - diff --git a/smc-tools-sles15sp3-smc_chk-Remove-EXPERIMENTAL-flag-for-C-option.patch b/smc-tools-sles15sp3-smc_chk-Remove-EXPERIMENTAL-flag-for-C-option.patch deleted file mode 100644 index 9386c53..0000000 --- a/smc-tools-sles15sp3-smc_chk-Remove-EXPERIMENTAL-flag-for-C-option.patch +++ /dev/null @@ -1,32 +0,0 @@ -From d302ba9d5b891bda792d82667e11b89df0c3efc2 Mon Sep 17 00:00:00 2001 -From: Stefan Raspl -Date: Fri, 29 Jan 2021 15:49:05 +0100 -Subject: [PATCH 1/2] smc_chk: Remove 'EXPERIMENTAL' flag for '-C' option - -The 'EXPERIMENTAL' portion could be irritating to users of option '-C' - -this functionality is ready for prime time. However, the same code is -also called by one of the undocumented _experimental_ features, and -it makes sense in that context. - -Signed-off-by: Stefan Raspl ---- -diff --git a/smc_chk b/smc_chk -index ee64043..9af9c8b 100755 ---- a/smc_chk -+++ b/smc_chk -@@ -221,7 +221,11 @@ function signal_handler() { - function test_iface() { - local i; - -- echo " Live test (SMC-D and SMC-R, EXPERIMENTAL)"; -+ if [ $mode -eq $MODE_CONNECT ]; then -+ echo " Live test (SMC-D and SMC-R)"; -+ else -+ echo " Live test (SMC-D and SMC-R, EXPERIMENTAL)"; -+ fi - if [ "$1" != "" ]; then - debug "Determine IP for interface $1"; - ip="`get_netmasks $1 | head -1 | sed 's#/.*##'`"; --- -2.26.2 - diff --git a/smc-tools.changes b/smc-tools.changes index a2cb62c..a4ff691 100644 --- a/smc-tools.changes +++ b/smc-tools.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Thu Nov 4 17:14:29 UTC 2021 - Mark Post + +- Upgraded to version 1.7.0 (jsc#SLE-18328) + * v1.7.0 (2021-10-29) + Changes: + - Add support for SMC-Rv2 + - `smcd`/`smcr`: Add support for new commands `seid` and `ueid` + to manage system and user EIDs + * v1.6.1 (2021-10-01) + Bug fixes: + - `smcd`/`smcr` statistics: + - Fix memory overread in is_data_consistent() + - Fix memory and file handle leaks + - Use correct fallback counter values after reset + * v1.6.0 (2021-07-01) + Changes: + - `smcd`/`smcr`: Add new command `stats` + - `smc_rnics`: Recognize unknown Mellanox cards + - `smc_run`: Add various command-line switches + Bug fixes: + - `smc_chk`: Remove 'EXPERIMENTAL' flag + - `smc_chk`: Improve cleanup + - `smc_chk`: Start server with intended port + - `Makefile`: Install `smc_chk.8` on s390 only + - `Makefile`: Fix extra compile flags handling + - `smc_rnics`: Handle malformed FID arguments +- Removed the following obsolete patches against version 1.5.0: + * smc-tools-sles15sp3-smc_chk-Remove-EXPERIMENTAL-flag-for-C-option.patch + * smc-tools-sles15sp3-Makefile-Install-smc_chk.8-on-s390-only.patch +- Removed unnecessary smc-tools-rpmlintrc file. + ------------------------------------------------------------------- Wed Feb 10 19:12:48 UTC 2021 - Mark Post diff --git a/smc-tools.spec b/smc-tools.spec index e3a21bf..ec80dfc 100644 --- a/smc-tools.spec +++ b/smc-tools.spec @@ -17,16 +17,13 @@ Name: smc-tools -Version: 1.5.0 +Version: 1.7.0 Release: 0 Summary: Shared Memory Communication via RDMA License: EPL-1.0 Group: System/Kernel URL: https://www.ibm.com/developerworks/linux/linux390/smc-tools.html Source: %{name}-%{version}.tar.gz -Source1: smc-tools-rpmlintrc -Patch1: smc-tools-sles15sp3-smc_chk-Remove-EXPERIMENTAL-flag-for-C-option.patch -Patch2: smc-tools-sles15sp3-Makefile-Install-smc_chk.8-on-s390-only.patch BuildRequires: bash-completion-devel BuildRequires: libnl3-devel @@ -100,15 +97,20 @@ rm -Rf "%{buildroot}%{_prefix}/lib64" %{_mandir}/man8/smc_rnics.8%{?ext_man} %{_mandir}/man8/smc_chk.8%{?ext_man} %endif -%{_mandir}/man8/smc_run.8%{?ext_man} +%{_mandir}/man8/smcd.8%{?ext_man} %{_mandir}/man8/smcd-device.8%{?ext_man} %{_mandir}/man8/smcd-info.8%{?ext_man} %{_mandir}/man8/smcd-linkgroup.8%{?ext_man} -%{_mandir}/man8/smcd.8%{?ext_man} +%{_mandir}/man8/smcd-seid.8%{?ext_man} +%{_mandir}/man8/smcd-stats.8%{?ext_man} +%{_mandir}/man8/smcd-ueid.8%{?ext_man} +%{_mandir}/man8/smcr.8%{?ext_man} %{_mandir}/man8/smcr-device.8%{?ext_man} %{_mandir}/man8/smcr-info.8%{?ext_man} %{_mandir}/man8/smcr-linkgroup.8%{?ext_man} -%{_mandir}/man8/smcr.8%{?ext_man} +%{_mandir}/man8/smcr-stats.8%{?ext_man} +%{_mandir}/man8/smcr-ueid.8%{?ext_man} +%{_mandir}/man8/smc_run.8%{?ext_man} %{_mandir}/man8/smcss.8%{?ext_man} %files completion