commit ibsim for openSUSE:Factory

2020-03-20 Thread root
Hello community,

here is the log from the commit of package ibsim for openSUSE:Factory checked 
in at 2020-03-20 23:56:16

Comparing /work/SRC/openSUSE:Factory/ibsim (Old)
 and  /work/SRC/openSUSE:Factory/.ibsim.new.3160 (New)


Package is "ibsim"

Fri Mar 20 23:56:16 2020 rev:11 rq:786518 version:0.9

Changes:

--- /work/SRC/openSUSE:Factory/ibsim/ibsim.changes  2019-10-11 
15:21:49.323360557 +0200
+++ /work/SRC/openSUSE:Factory/.ibsim.new.3160/ibsim.changes2020-03-21 
00:00:52.001077801 +0100
@@ -1,0 +2,10 @@
+Tue Mar  3 08:48:16 UTC 2020 - Nicolas Morey-Chaisemartin 

+
+- Update to version 0.9
+  - Add --no-console option
+  - Support GID/subnet prefix field in the PortInfo attribute
+- Drop patches merged upstream:
+  - umad2sim-Do-not-use-umad.h-deprecated-functions.patch
+  - umad2sim-define-UMAD_DEV_DIR-if-not-set.patch
+
+---

Old:

  ibsim-0.8.0.aa3c4458c488.tar.gz
  umad2sim-Do-not-use-umad.h-deprecated-functions.patch
  umad2sim-define-UMAD_DEV_DIR-if-not-set.patch

New:

  ibsim-0.9.0.7c2a604ec49a.tar.gz



Other differences:
--
++ ibsim.spec ++
--- /var/tmp/diff_new_pack.dICaHx/_old  2020-03-21 00:00:56.525080669 +0100
+++ /var/tmp/diff_new_pack.dICaHx/_new  2020-03-21 00:00:56.561080692 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ibsim
 #
-# 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
@@ -16,21 +16,19 @@
 #
 
 
-%define git_ver .0.aa3c4458c488
+%define git_ver .0.7c2a604ec49a
 
 Summary:InfiniBand fabric simulator for management
 License:BSD-2-Clause OR GPL-2.0-only
 Group:  Productivity/Networking/Diagnostic
 
 Name:   ibsim
-Version:0.8
+Version:0.9
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: ibsim-%{version}%{git_ver}.tar.gz
 Patch1: ibsim-fix_type_punning.patch
-Patch2: umad2sim-Do-not-use-umad.h-deprecated-functions.patch
-Patch3: umad2sim-define-UMAD_DEV_DIR-if-not-set.patch
-Url:https://github.com/linux-rdma/ibsim
+URL:https://github.com/linux-rdma/ibsim
 BuildRequires:  infiniband-diags-devel
 BuildRequires:  libibumad-devel
 BuildRequires:  make
@@ -43,8 +41,6 @@
 %prep
 %setup -q -n  %{name}-%{version}%{git_ver}
 %patch1
-%patch2
-%patch3
 
 %build
 export CFLAGS="${CFLAGS:-%{optflags}}"
@@ -61,6 +57,7 @@
 %dir %{_libdir}/umad2sim
 %{_libdir}/umad2sim/libumad2sim*.so*
 %{_bindir}/ibsim
-%doc README COPYING TODO net-examples scripts
+%doc README TODO net-examples scripts
+%license COPYING
 
 %changelog

++ _service ++
--- /var/tmp/diff_new_pack.dICaHx/_old  2020-03-21 00:00:56.805080847 +0100
+++ /var/tmp/diff_new_pack.dICaHx/_new  2020-03-21 00:00:56.805080847 +0100
@@ -8,7 +8,7 @@
 @PARENT_TAG@.@TAG_OFFSET@.%h
 ibsim(.*)
 \1
-aa3c4458c48877e65f909bb1a9ac9c859d01efde
+7c2a604ec49a772edbff5381f056c8ab8245a19d
   
   
 *ibsim*.tar

++ ibsim-0.8.0.aa3c4458c488.tar.gz -> ibsim-0.9.0.7c2a604ec49a.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibsim-0.8.0.aa3c4458c488/.travis.yml 
new/ibsim-0.9.0.7c2a604ec49a/.travis.yml
--- old/ibsim-0.8.0.aa3c4458c488/.travis.yml1970-01-01 01:00:00.0 
+0100
+++ new/ibsim-0.9.0.7c2a604ec49a/.travis.yml2020-02-13 15:56:54.0 
+0100
@@ -0,0 +1,20 @@
+language: c
+dist: xenial
+addons:
+  apt:
+sources:
+- ubuntu-toolchain-r-test
+packages:
+- gcc-8
+- git-core
+- make
+- sparse
+- wget
+- libibumad-dev
+- libibmad-dev
+- opensm
+script:
+  - scripts/travis-checkpatch
+  - scripts/travis-build
+  - scripts/travis-runtest
+  - ./dist.sh
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibsim-0.8.0.aa3c4458c488/Makefile 
new/ibsim-0.9.0.7c2a604ec49a/Makefile
--- old/ibsim-0.8.0.aa3c4458c488/Makefile   2019-04-17 07:41:45.0 
+0200
+++ new/ibsim-0.9.0.7c2a604ec49a/Makefile   2020-02-13 15:56:54.0 
+0100
@@ -1,6 +1,10 @@
 subdirs:= ibsim umad2sim
+subdirs_with_tests:=$(subdirs) tests
 
-all clean dep install:
+all clean dep:
+   $(foreach dir, $(subdirs_with_tests), make -C $(dir) $@ && ) echo 
"Done."
+
+install:
$(foreach dir, $(subdirs), make -C $(dir) $@ && ) echo "Done."
 
 dist:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ibsim-0.8.0.aa3c4458c488/README 
new/ibsim-0.9.0.7c2a604ec49a/README
--- 

commit ibsim for openSUSE:Factory

2019-10-11 Thread root
Hello community,

here is the log from the commit of package ibsim for openSUSE:Factory checked 
in at 2019-10-11 15:21:38

Comparing /work/SRC/openSUSE:Factory/ibsim (Old)
 and  /work/SRC/openSUSE:Factory/.ibsim.new.2352 (New)


Package is "ibsim"

Fri Oct 11 15:21:38 2019 rev:10 rq:737383 version:0.8

Changes:

--- /work/SRC/openSUSE:Factory/ibsim/ibsim.changes  2019-04-19 
18:39:42.079285171 +0200
+++ /work/SRC/openSUSE:Factory/.ibsim.new.2352/ibsim.changes2019-10-11 
15:21:49.323360557 +0200
@@ -1,0 +2,7 @@
+Fri Oct 11 06:39:41 UTC 2019 - Nicolas Morey-Chaisemartin 

+
+- Add patches to fix support with rdma-core >= 25
+  - umad2sim-Do-not-use-umad.h-deprecated-functions.patch
+  - umad2sim-define-UMAD_DEV_DIR-if-not-set.patch
+
+---

New:

  umad2sim-Do-not-use-umad.h-deprecated-functions.patch
  umad2sim-define-UMAD_DEV_DIR-if-not-set.patch



Other differences:
--
++ ibsim.spec ++
--- /var/tmp/diff_new_pack.xtQ1HT/_old  2019-10-11 15:21:51.119355619 +0200
+++ /var/tmp/diff_new_pack.xtQ1HT/_new  2019-10-11 15:21:51.123355608 +0200
@@ -28,6 +28,8 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: ibsim-%{version}%{git_ver}.tar.gz
 Patch1: ibsim-fix_type_punning.patch
+Patch2: umad2sim-Do-not-use-umad.h-deprecated-functions.patch
+Patch3: umad2sim-define-UMAD_DEV_DIR-if-not-set.patch
 Url:https://github.com/linux-rdma/ibsim
 BuildRequires:  infiniband-diags-devel
 BuildRequires:  libibumad-devel
@@ -41,6 +43,8 @@
 %prep
 %setup -q -n  %{name}-%{version}%{git_ver}
 %patch1
+%patch2
+%patch3
 
 %build
 export CFLAGS="${CFLAGS:-%{optflags}}"

++ umad2sim-Do-not-use-umad.h-deprecated-functions.patch ++
commit 27ac4f9fc31e0c9310795c6709f80d87115f2db5
Author: Nicolas Morey-Chaisemartin 
Date:   Wed Apr 17 10:06:07 2019 +0200

umad2sim: Do not use umad.h deprecated functions

ntohll and htonll are deprecated in libibumad.
Use the glibc functions instead

Also, remove no longer needed includes

Signed-off-by: Nicolas Morey-Chaisemartin 
Signed-off-by: Hal Rosenstock 

diff --git umad2sim/umad2sim.c umad2sim/umad2sim.c
index 46510b011cca..023ae797a378 100644
--- umad2sim/umad2sim.c
+++ umad2sim/umad2sim.c
@@ -35,7 +35,6 @@
 
 #define _GNU_SOURCE
 
-#include 
 #include 
 #include 
 #include 
@@ -49,7 +48,6 @@
 #include 
 #include 
 #include 
-#include 
 
 #include 
 #include 
@@ -442,7 +440,7 @@ static ssize_t umad2sim_read(struct umad2sim_dev *dev, void 
*buf, size_t count)
umad->status = ntohl(req.status);
umad->timeout_ms = 0;
umad->retries = 0;
-   umad->length = umad_size() + ntohll(req.length);
+   umad->length = umad_size() + be64toh(req.length);
 
umad->addr.qpn = req.sqp;
umad->addr.qkey = 0;// agent->qkey;
@@ -506,7 +504,7 @@ static ssize_t umad2sim_write(struct umad2sim_dev *dev,
cnt = sizeof(req.mad);
memcpy(req.mad, umad_get_mad(umad), cnt);
 
-   req.length = htonll(cnt);
+   req.length = htobe64(cnt);
 
if (!mad_get_field(req.mad, 0, IB_MAD_RESPONSE_F)) {
uint64_t trid = mad_get_field64(req.mad, 0, IB_MAD_TRID_F);
++ umad2sim-define-UMAD_DEV_DIR-if-not-set.patch ++
commit a9a631a8a421da862682ed56f8436b1eff40f6b1
Author: Nicolas Morey-Chaisemartin 
Date:   Fri Oct 11 08:38:23 2019 +0200

umad2sim: define UMAD_DEV_DIR if not set

Signed-off-by: Nicolas Morey-Chaisemartin 

diff --git umad2sim/umad2sim.c umad2sim/umad2sim.c
index 023ae797a378..3465f47d5714 100644
--- umad2sim/umad2sim.c
+++ umad2sim/umad2sim.c
@@ -67,6 +67,10 @@
 
 #define IB_PORT_EXT_SPEED_SUPPORTED_MASK (1<<14)
 
+#ifndef UMAD_DEV_DIR
+#define UMAD_DEV_DIR   "/dev/infiniband"
+#endif
+
 struct ib_user_mad_reg_req {
uint32_t id;
uint32_t method_mask[4];



commit ibsim for openSUSE:Factory

2019-04-19 Thread root
Hello community,

here is the log from the commit of package ibsim for openSUSE:Factory checked 
in at 2019-04-19 18:39:27

Comparing /work/SRC/openSUSE:Factory/ibsim (Old)
 and  /work/SRC/openSUSE:Factory/.ibsim.new.5536 (New)


Package is "ibsim"

Fri Apr 19 18:39:27 2019 rev:9 rq:695786 version:0.8

Changes:

--- /work/SRC/openSUSE:Factory/ibsim/ibsim.changes  2019-04-18 
09:56:55.289360050 +0200
+++ /work/SRC/openSUSE:Factory/.ibsim.new.5536/ibsim.changes2019-04-19 
18:39:42.079285171 +0200
@@ -1,0 +2,5 @@
+Thu Apr 18 07:52:57 UTC 2019 - Nicolas Morey-Chaisemartin 

+
+- Remove unneeded build dependencies
+
+---



Other differences:
--
++ ibsim.spec ++
--- /var/tmp/diff_new_pack.Jv8pu2/_old  2019-04-19 18:39:42.599285832 +0200
+++ /var/tmp/diff_new_pack.Jv8pu2/_new  2019-04-19 18:39:42.603285837 +0200
@@ -29,12 +29,9 @@
 Source: ibsim-%{version}%{git_ver}.tar.gz
 Patch1: ibsim-fix_type_punning.patch
 Url:https://github.com/linux-rdma/ibsim
-BuildRequires:  autoconf
-BuildRequires:  automake
 BuildRequires:  infiniband-diags-devel
 BuildRequires:  libibumad-devel
-BuildRequires:  libibverbs-devel
-BuildRequires:  libtool
+BuildRequires:  make
 
 %description
 ibsim provides simulation of infiniband fabric for using with OFA




commit ibsim for openSUSE:Factory

2019-04-18 Thread root
Hello community,

here is the log from the commit of package ibsim for openSUSE:Factory checked 
in at 2019-04-18 09:56:53

Comparing /work/SRC/openSUSE:Factory/ibsim (Old)
 and  /work/SRC/openSUSE:Factory/.ibsim.new.17052 (New)


Package is "ibsim"

Thu Apr 18 09:56:53 2019 rev:8 rq:695176 version:0.8

Changes:

--- /work/SRC/openSUSE:Factory/ibsim/ibsim.changes  2018-06-25 
11:38:10.974822080 +0200
+++ /work/SRC/openSUSE:Factory/.ibsim.new.17052/ibsim.changes   2019-04-18 
09:56:55.289360050 +0200
@@ -1,0 +2,10 @@
+Wed Apr 17 08:07:59 UTC 2019 - Nicolas Morey-Chaisemartin 

+
+- Update to version 0.8
+  - Extended speed support including HDR and FDR10
+  - 2x link support
+  - Link speed, espeed, and width change support
+  - Support for PortXmitWait field in PortCounters
+  - Minor changes/bug fixes
+
+---

Old:

  ibsim-0.7.0.ddf8f6e443b0.tar.gz

New:

  ibsim-0.8.0.aa3c4458c488.tar.gz



Other differences:
--
++ ibsim.spec ++
--- /var/tmp/diff_new_pack.wu2HRN/_old  2019-04-18 09:56:55.773360354 +0200
+++ /var/tmp/diff_new_pack.wu2HRN/_new  2019-04-18 09:56:55.777360357 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ibsim
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,18 +12,18 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
-%define git_ver .0.ddf8f6e443b0
+%define git_ver .0.aa3c4458c488
 
 Summary:InfiniBand fabric simulator for management
 License:BSD-2-Clause OR GPL-2.0-only
 Group:  Productivity/Networking/Diagnostic
 
 Name:   ibsim
-Version:0.7
+Version:0.8
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: ibsim-%{version}%{git_ver}.tar.gz

++ _service ++
--- /var/tmp/diff_new_pack.wu2HRN/_old  2019-04-18 09:56:55.801360372 +0200
+++ /var/tmp/diff_new_pack.wu2HRN/_new  2019-04-18 09:56:55.801360372 +0200
@@ -8,7 +8,7 @@
 @PARENT_TAG@.@TAG_OFFSET@.%h
 ibsim(.*)
 \1
-ddf8f6e443b0b7b0ffeaeba823b800589b2dd8da
+aa3c4458c48877e65f909bb1a9ac9c859d01efde
   
   
 *ibsim*.tar

++ ibsim-0.7.0.ddf8f6e443b0.tar.gz -> ibsim-0.8.0.aa3c4458c488.tar.gz ++
 1816 lines of diff (skipped)




commit ibsim for openSUSE:Factory

2018-06-25 Thread root
Hello community,

here is the log from the commit of package ibsim for openSUSE:Factory checked 
in at 2018-06-25 11:38:02

Comparing /work/SRC/openSUSE:Factory/ibsim (Old)
 and  /work/SRC/openSUSE:Factory/.ibsim.new (New)


Package is "ibsim"

Mon Jun 25 11:38:02 2018 rev:7 rq:617079 version:0.7

Changes:

--- /work/SRC/openSUSE:Factory/ibsim/ibsim.changes  2017-06-26 
15:54:25.121424981 +0200
+++ /work/SRC/openSUSE:Factory/.ibsim.new/ibsim.changes 2018-06-25 
11:38:10.974822080 +0200
@@ -1,0 +2,6 @@
+Fri Jun 15 05:55:57 UTC 2018 - nmoreychaisemar...@suse.com
+
+- Update Source and URL as ibsim was moved to GitHub
+- Add a _service file to be able to auto-fetch from github
+
+---

Old:

  ibsim-0.7.tar.gz

New:

  _service
  ibsim-0.7.0.ddf8f6e443b0.tar.gz



Other differences:
--
++ ibsim.spec ++
--- /var/tmp/diff_new_pack.ZE0rNh/_old  2018-06-25 11:38:12.074781479 +0200
+++ /var/tmp/diff_new_pack.ZE0rNh/_new  2018-06-25 11:38:12.078781331 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ibsim
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,19 +16,19 @@
 #
 
 
-%define git_ver %{nil}
+%define git_ver .0.ddf8f6e443b0
 
 Summary:InfiniBand fabric simulator for management
-License:BSD-2-Clause or GPL-2.0
+License:BSD-2-Clause OR GPL-2.0-only
 Group:  Productivity/Networking/Diagnostic
 
 Name:   ibsim
 Version:0.7
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Source: 
https://www.openfabrics.org/downloads/management/ibsim-%{version}.tar.gz
+Source: ibsim-%{version}%{git_ver}.tar.gz
 Patch1: ibsim-fix_type_punning.patch
-Url:http://www.openfabrics.org
+Url:https://github.com/linux-rdma/ibsim
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  infiniband-diags-devel
@@ -42,7 +42,7 @@
 
 
 %prep
-%setup -q
+%setup -q -n  %{name}-%{version}%{git_ver}
 %patch1
 
 %build

++ _service ++

  
git
https://github.com/linux-rdma/ibsim.git
no
.git
ibsim
@PARENT_TAG@.@TAG_OFFSET@.%h
ibsim(.*)
\1
ddf8f6e443b0b7b0ffeaeba823b800589b2dd8da
  
  
*ibsim*.tar
gz
  




commit ibsim for openSUSE:Factory

2017-06-26 Thread root
Hello community,

here is the log from the commit of package ibsim for openSUSE:Factory checked 
in at 2017-06-26 15:54:21

Comparing /work/SRC/openSUSE:Factory/ibsim (Old)
 and  /work/SRC/openSUSE:Factory/.ibsim.new (New)


Package is "ibsim"

Mon Jun 26 15:54:21 2017 rev:6 rq:505930 version:0.7

Changes:

--- /work/SRC/openSUSE:Factory/ibsim/ibsim.changes  2017-06-09 
15:57:00.475052164 +0200
+++ /work/SRC/openSUSE:Factory/.ibsim.new/ibsim.changes 2017-06-26 
15:54:25.121424981 +0200
@@ -1,0 +2,5 @@
+Fri Jun 23 15:40:51 UTC 2017 - nmoreychaisemar...@suse.com
+
+- Replace dependency from libibmad-devel to infiniband-diags-devel
+
+---



Other differences:
--
++ ibsim.spec ++
--- /var/tmp/diff_new_pack.KE5UvG/_old  2017-06-26 15:54:25.981303727 +0200
+++ /var/tmp/diff_new_pack.KE5UvG/_new  2017-06-26 15:54:25.985303163 +0200
@@ -31,7 +31,7 @@
 Url:http://www.openfabrics.org
 BuildRequires:  autoconf
 BuildRequires:  automake
-BuildRequires:  libibmad-devel
+BuildRequires:  infiniband-diags-devel
 BuildRequires:  libibumad-devel
 BuildRequires:  libibverbs-devel
 BuildRequires:  libtool




commit ibsim for openSUSE:Factory

2017-06-09 Thread root
Hello community,

here is the log from the commit of package ibsim for openSUSE:Factory checked 
in at 2017-06-09 15:56:56

Comparing /work/SRC/openSUSE:Factory/ibsim (Old)
 and  /work/SRC/openSUSE:Factory/.ibsim.new (New)


Package is "ibsim"

Fri Jun  9 15:56:56 2017 rev:5 rq:501893 version:0.7

Changes:

--- /work/SRC/openSUSE:Factory/ibsim/ibsim.changes  2017-05-24 
16:46:31.091076293 +0200
+++ /work/SRC/openSUSE:Factory/.ibsim.new/ibsim.changes 2017-06-09 
15:57:00.475052164 +0200
@@ -1,0 +2,11 @@
+Thu Jun  8 08:40:42 UTC 2017 - nmoreychaisemar...@suse.com
+
+- Update to version 0.7
+  * PerformanceSet handling for enhanced switch port 0
+  * Fix incorrectly updated port counters in pc_updated()
+  * Invalidate PerformanceSet commands with no port number
+  * Fix parsing of port number in PerformanceSet command
+  * Allocate MFT according to number of switch ports
+
+
+---

Old:

  ibsim-0.6-gitf9acb41.tar.xz

New:

  ibsim-0.7.tar.gz



Other differences:
--
++ ibsim.spec ++
--- /var/tmp/diff_new_pack.fM0G9b/_old  2017-06-09 15:57:01.350928540 +0200
+++ /var/tmp/diff_new_pack.fM0G9b/_new  2017-06-09 15:57:01.350928540 +0200
@@ -16,26 +16,24 @@
 #
 
 
-%define git_ver -gitf9acb41
+%define git_ver %{nil}
 
 Summary:InfiniBand fabric simulator for management
 License:BSD-2-Clause or GPL-2.0
 Group:  Productivity/Networking/Diagnostic
 
 Name:   ibsim
-Version:0.6
+Version:0.7
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Source: %{name}-%{version}%{git_ver}.tar.xz
+Source: 
https://www.openfabrics.org/downloads/management/ibsim-%{version}.tar.gz
 Patch1: ibsim-fix_type_punning.patch
 Url:http://www.openfabrics.org
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libibmad-devel
-# For transition to rdma-core make sure the new packages are selected
-# Once the transition is made the version check can be removed
-BuildRequires:  libibumad-devel >= 12
-BuildRequires:  libibverbs-devel >= 12
+BuildRequires:  libibumad-devel
+BuildRequires:  libibverbs-devel
 BuildRequires:  libtool
 
 %description
@@ -62,6 +60,6 @@
 %dir %{_libdir}/umad2sim
 %{_libdir}/umad2sim/libumad2sim*.so*
 %{_bindir}/ibsim
-%doc README COPYING TODO net-examples scripts ChangeLog
+%doc README COPYING TODO net-examples scripts
 
 %changelog




commit ibsim for openSUSE:Factory

2017-05-24 Thread root
Hello community,

here is the log from the commit of package ibsim for openSUSE:Factory checked 
in at 2017-05-24 16:46:26

Comparing /work/SRC/openSUSE:Factory/ibsim (Old)
 and  /work/SRC/openSUSE:Factory/.ibsim.new (New)


Package is "ibsim"

Wed May 24 16:46:26 2017 rev:4 rq:485746 version:0.6

Changes:

--- /work/SRC/openSUSE:Factory/ibsim/ibsim.changes  2016-03-26 
15:24:04.0 +0100
+++ /work/SRC/openSUSE:Factory/.ibsim.new/ibsim.changes 2017-05-24 
16:46:31.091076293 +0200
@@ -1,0 +2,5 @@
+Wed Mar 29 08:02:00 CEST 2017 - p...@suse.de
+
+- Make dependencies on libs now coming from rdma-core versioned.
+
+---



Other differences:
--
++ ibsim.spec ++
--- /var/tmp/diff_new_pack.frYoXE/_old  2017-05-24 16:46:31.702990139 +0200
+++ /var/tmp/diff_new_pack.frYoXE/_new  2017-05-24 16:46:31.706989576 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ibsim
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -32,8 +32,10 @@
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libibmad-devel
-BuildRequires:  libibumad-devel
-BuildRequires:  libibverbs-devel
+# For transition to rdma-core make sure the new packages are selected
+# Once the transition is made the version check can be removed
+BuildRequires:  libibumad-devel >= 12
+BuildRequires:  libibverbs-devel >= 12
 BuildRequires:  libtool
 
 %description




commit ibsim for openSUSE:Factory

2016-03-26 Thread h_root
Hello community,

here is the log from the commit of package ibsim for openSUSE:Factory checked 
in at 2016-03-26 15:24:02

Comparing /work/SRC/openSUSE:Factory/ibsim (Old)
 and  /work/SRC/openSUSE:Factory/.ibsim.new (New)


Package is "ibsim"

Changes:

--- /work/SRC/openSUSE:Factory/ibsim/ibsim.changes  2014-07-04 
09:34:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.ibsim.new/ibsim.changes 2016-03-26 
15:24:04.0 +0100
@@ -1,0 +2,26 @@
+Thu Mar 10 14:21:46 CET 2016 - p...@suse.de
+
+- Update to latest git version 0.6-gitf9acb41 (bsc#970668):
+  * sim_cmd.c: PerformanceSet handling for enhanced switch port 0
+Setting the perf counters of the port 0 is only allowed when
+the node is a switch with an enhanced port 0
+
+* sim_mad.c: Fix incorrectly updated port counters in pc_updated()
+  When the IB packet gets out of the source port,
+  the Xmit fields of the source port are now updated.
+
+* sim_cmd.c: Invalidate PerformanceSet commands with no port number
+  Syntax: sim> PerformanceSet "nodeid"[port] [attribute].[field]=[value]
+
+* sim_cmd.c: Fix parsing of port number in PerformanceSet command
+  Syntax: sim> PerformanceSet "nodeid"[port] [attribute].[field]=[value]
+
+* ibsim: Allocate MFT according to number of switch ports
+  Calculate number of port masks according to number of switch ports
+  and allocate MFT accordingly
+
+- Include ChangeLog generated from git log.
+- Add ibsim-fix_type_punning.patch to replace type-punning by
+  memcpy.
+
+---

Old:

  ibsim-0.6.tar.gz

New:

  ibsim-0.6-gitf9acb41.tar.xz
  ibsim-fix_type_punning.patch



Other differences:
--
++ ibsim.spec ++
--- /var/tmp/diff_new_pack.CIQPjg/_old  2016-03-26 15:24:05.0 +0100
+++ /var/tmp/diff_new_pack.CIQPjg/_new  2016-03-26 15:24:05.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ibsim
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,31 +15,35 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
-#%%define my_release
+%define git_ver -gitf9acb41
 
 Summary:InfiniBand fabric simulator for management
+License:BSD-2-Clause or GPL-2.0
+Group:  Productivity/Networking/Diagnostic
 
 Name:   ibsim
 Version:0.6
-Release:1
-License:BSD-2-Clause or GPL-2.0
-Group:  Productivity/Networking/Diagnostic
+Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Source: %{name}-%{version}.tar.gz
+Source: %{name}-%{version}%{git_ver}.tar.xz
+Patch1: ibsim-fix_type_punning.patch
 Url:http://www.openfabrics.org
-BuildRequires:  libibmad-devel libibumad-devel libibverbs-devel
-BuildRequires:  automake autoconf libtool
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  libibmad-devel
+BuildRequires:  libibumad-devel
+BuildRequires:  libibverbs-devel
+BuildRequires:  libtool
 
 %description
 ibsim provides simulation of infiniband fabric for using with OFA
 OpenSM, diagnostic and management tools.
 
 
-
 %prep
 %setup -q
+%patch1
 
 %build
 export CFLAGS="${CFLAGS:-%{optflags}}"
@@ -56,6 +60,6 @@
 %dir %{_libdir}/umad2sim
 %{_libdir}/umad2sim/libumad2sim*.so*
 %{_bindir}/ibsim
-%doc README COPYING TODO net-examples scripts
+%doc README COPYING TODO net-examples scripts ChangeLog
 
 %changelog

++ ibsim-fix_type_punning.patch ++
---
 ibsim/ibsim.c |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Index: ibsim/ibsim.c
===
--- ibsim/ibsim.c.orig  2016-03-10 10:03:22.213892431 +0100
+++ ibsim/ibsim.c   2016-03-10 14:50:39.775392312 +0100
@@ -345,7 +345,9 @@ static void set_issm(Port *port, unsigne
 
 static int sim_ctl_set_issm(Client * cl, struct sim_ctl * ctl)
 {
-   int issm = *(int *)ctl->data;
+   int issm;
+
+   memcpy (, ctl->data, sizeof(int));
 
VERB("set issm %d port %" PRIx64, issm, cl->port->portguid);
cl->issm = issm;