Package: ibutils / 1.5.7+0.2.gbd7e502-3

Metadata

Package Version Patches format
ibutils 1.5.7+0.2.gbd7e502-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01 fix with_osm_libs.patch | (download)

ibis/config/osm.m4 | 2 1 + 1 - 0 !
ibmgtsim/config/osm.m4 | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 copy fix from main osm.m4 to avoid overwriting $with_osm_libs


02 fix format warning.patch | (download)

ibis/src/ibis.i | 2 1 + 1 - 0 !
ibis/src/ibis_wrap.c | 2 1 + 1 - 0 !
ibis/src/ibissh_wrap.cpp | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

 fix gcc "-werror=format-security" errors

Fix log calls to use format "%s" to output string buffers.

03 remove rpath.patch | (download)

config/osm.m4 | 2 1 + 1 - 0 !
ibdm/ibdm/Makefile.am | 4 2 + 2 - 0 !
ibis/config/osm.m4 | 2 1 + 1 - 0 !
ibmgtsim/config/osm.m4 | 2 1 + 1 - 0 !
ibmgtsim/src/Makefile.am | 3 1 + 2 - 0 !
5 files changed, 6 insertions(+), 7 deletions(-)

 patch autotools files to avoid unnecessary rpaths in executables


Fix POD errors.patch | (download)

ibdiag/doc/ibdiagui.pod | 7 5 + 2 - 0 !
ibdm/doc/ibdm-ibnl-file.pod | 15 9 + 6 - 0 !
ibdm/doc/ibdm-topo-file.pod | 4 2 + 2 - 0 !
ibdm/doc/ibdmchk.pod | 16 16 + 0 - 0 !
ibdm/doc/ibdmsh.pod | 42 39 + 3 - 0 !
ibdm/doc/ibdmtr.pod | 39 11 + 28 - 0 !
ibdm/doc/ibtopodiff.pod | 8 8 + 0 - 0 !
ibis/doc/ibis.pod | 374 286 + 88 - 0 !
8 files changed, 376 insertions(+), 129 deletions(-)

 fix pod errors

Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>

do_not_use_tmp.patch | (download)

ibdiag/demo/sm-single-master.tcl | 2 1 + 1 - 0 !
ibdiag/doc/ibdiag_release_notes.txt | 6 3 + 3 - 0 !
ibdiag/doc/ibdiagnet.pod | 4 2 + 2 - 0 !
ibdiag/doc/ibdiagnet.txt | 2 1 + 1 - 0 !
ibdiag/doc/ibdiagpath.pod | 3 2 + 1 - 0 !
ibdiag/src/ibdebug_if.tcl | 2 1 + 1 - 0 !
ibdiag/src/ibdiagui.tcl | 2 1 + 1 - 0 !
ibdm/doc/ibdmchk.pod | 8 4 + 4 - 0 !
ibdm/ibdm/LinkCover.cpp | 6 3 + 3 - 0 !
ibdm/ibdm/SubnMgt.cpp | 8 4 + 4 - 0 !
ibdm/src/lst2ibnl | 8 4 + 4 - 0 !
ibdm/src/osm_check.cpp | 28 14 + 14 - 0 !
ibis/src/ibis.i | 2 1 + 1 - 0 !
ibis/src/ibis_wrap.c | 2 1 + 1 - 0 !
ibis/src/ibissh_wrap.cpp | 2 1 + 1 - 0 !
ibis/tests/ibcr_test.tcl | 2 1 + 1 - 0 !
ibmgtsim/doc/IBMgtSim.pod | 2 1 + 1 - 0 !
ibmgtsim/src/client.cpp | 2 1 + 1 - 0 !
ibmgtsim/src/sim.cpp | 4 2 + 2 - 0 !
ibmgtsim/tests/FatTree.check.tcl | 2 1 + 1 - 0 !
ibmgtsim/tests/FatTreeFails.check.tcl | 2 1 + 1 - 0 !
ibmgtsim/tests/init.test.tcl | 8 4 + 4 - 0 !
ibmgtsim/utils/IBMgtSim | 4 2 + 2 - 0 !
ibmgtsim/utils/RunSimTest | 2 1 + 1 - 0 !
24 files changed, 57 insertions(+), 56 deletions(-)

 do_not_use_tmp


makefile_dependencies.patch | (download)

ibis/src/Makefile.am | 8 3 + 5 - 0 !
1 file changed, 3 insertions(+), 5 deletions(-)

 fix the makefile dependencies

Bug-Debian: https://bugs.debian.org/906553

cross.patch | (download)

config/osm.m4 | 2 1 + 1 - 0 !
ibis/config/osm.m4 | 2 1 + 1 - 0 !
ibmgtsim/config/osm.m4 | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

 fix cross build
 ibutils fails to cross build from source, because it abuses
 AC_CHECK_FILE to discover includes. AC_CHECK_FILE is meant for
 discovering files on the host machine, but here it is being used for
 discovering files on the build machine. A simple test -f is better and
 makes ibutils cross buildable.
Bug-Debian: https://bugs.debian.org/900673


gcc 10.patch | (download)

ibis/src/ibis_wrap.c | 1 0 + 1 - 0 !
ibis/src/ibissh_wrap.cpp | 1 0 + 1 - 0 !
2 files changed, 2 deletions(-)

 fix build failure with gcc 10
Bug-Debian: https://bugs.debian.org/957354


Set ACLOCAL_AMFLAGS I config.patch | (download)

Makefile.am | 1 1 + 0 - 0 !
ibdiag/Makefile.am | 1 1 + 0 - 0 !
ibdiag/src/Makefile.am | 2 2 + 0 - 0 !
ibdm/Makefile.am | 1 1 + 0 - 0 !
ibdm/src/Makefile.am | 2 2 + 0 - 0 !
ibis/Makefile.am | 1 1 + 0 - 0 !
ibmgtsim/Makefile.am | 1 1 + 0 - 0 !
7 files changed, 9 insertions(+)

 set aclocal_amflags = -i config

To support running autoreconf with the usual `-f -i` parameters, set
`ACLOCAL_AMFLAGS` to add `-I config`.

Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>

Fix generating man pages in place.patch | (download)

ibis/doc/Makefile.am | 2 1 + 1 - 0 !
ibmgtsim/doc/Makefile.am | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 fix generating man pages in place

Building the man pages fail in place:

```
make[4]: Entering directory '/<<PKGBUILDDIR>>/ibis/doc'
./ibis_pod2man ibis.pod ibis.1
cp -f ibis.1 ./ibis.1
cp: 'ibis.1' and './ibis.1' are the same file
make[4]: *** [Makefile:569: ibis.1] Error 1
```

Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>

Always update man pages if needed.patch | (download)

ibdm/doc/Makefile.am | 2 1 + 1 - 0 !
ibis/doc/Makefile.am | 2 1 + 1 - 0 !
ibmgtsim/doc/Makefile.am | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

 always update man pages if needed

Removing the man pages and not activating the automake maintainer mode
let the build fail:

```
make[4]: Entering directory '/<<PKGBUILDDIR>>/ibis/doc'
./ibis_pod2man  ibis.1
Usage ./ibis_pod2man podFile [outFile]
Given podFile:ibis.1 extension != .pod
make[4]: *** [Makefile:568: ibis.1] Error 1
```

So always update the man pages if needed.

Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>

ibdmsh Correct whatis entry.patch | (download)

ibdm/doc/ibdmsh.pod | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 ibdmsh: correct whatis entry

A manual page should start with a NAME section, which lists the
program name and a brief description. The NAME section is used to
generate a database that can be queried by commands like apropos and
whatis. You are seeing this tag because lexgrog was unable to parse
the NAME section.

Refer to the lexgrog(1) manual page, the groff_man(7) manual page, and
the groff_mdoc(7) manual page for details.

Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>

Fix spelling error of mismatch.patch | (download)

ibdiag/src/ibdebug_if.tcl | 4 2 + 2 - 0 !
ibdm/Clusters/topo2subnet | 2 1 + 1 - 0 !
ibdm/doc/ibdmsh.pod | 2 1 + 1 - 0 !
ibdm/ibdm/TopoMatch.cpp | 106 53 + 53 - 0 !
ibdm/src/test_topo_match.cpp | 4 2 + 2 - 0 !
ibis/tests/ibvs_test.tcl | 8 4 + 4 - 0 !
ibmgtsim/tests/osmLidAssignment.sim.tcl | 2 1 + 1 - 0 !
ibmgtsim/tests/osmStress.sim.tcl | 2 1 + 1 - 0 !
8 files changed, 65 insertions(+), 65 deletions(-)

 fix spelling error of mismatch

Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>

Fix spelling error of tuple.patch | (download)

ibdm/ibdm/FatTree.cpp | 170 85 + 85 - 0 !
1 file changed, 85 insertions(+), 85 deletions(-)

 fix spelling error of tuple

Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>

Fix spelling errors.patch | (download)

ibdiag/demo/sm-single-master.tcl | 2 1 + 1 - 0 !
ibdiag/doc/ibdiagpath.pod | 2 1 + 1 - 0 !
ibdiag/doc/ibdiagui.pod | 2 1 + 1 - 0 !
ibdiag/src/ibdebug.tcl | 8 4 + 4 - 0 !
ibdiag/src/ibdebug_if.tcl | 6 3 + 3 - 0 !
ibdiag/src/ibdiagui.tcl | 4 2 + 2 - 0 !
ibdm/doc/ibdm-topo-file.pod | 2 1 + 1 - 0 !
ibdm/doc/ibdmsh.pod | 10 5 + 5 - 0 !
ibdm/ibdm/CredLoops.cpp | 4 2 + 2 - 0 !
ibdm/ibdm/Fabric.cpp | 16 8 + 8 - 0 !
ibdm/ibdm/Fabric.h | 8 4 + 4 - 0 !
ibdm/ibdm/SubnMgt.cpp | 2 1 + 1 - 0 !
ibdm/ibdm/TopoMatch.cpp | 2 1 + 1 - 0 !
ibdm/ibdm/ibdm.i | 10 5 + 5 - 0 !
ibdm/src/ibsysapi.cpp | 10 5 + 5 - 0 !
ibdm/src/ibsysapi.h | 4 2 + 2 - 0 !
ibis/doc/ibis.pod | 4 2 + 2 - 0 !
ibis/tests/ibvs_test.tcl | 2 1 + 1 - 0 !
ibmgtsim/README | 2 1 + 1 - 0 !
ibmgtsim/tests/OsmTest.check.tcl | 2 1 + 1 - 0 !
ibmgtsim/tests/README | 2 1 + 1 - 0 !
ibmgtsim/tests/ibdiag-mcast.sim.tcl | 6 3 + 3 - 0 !
ibmgtsim/tests/ibdiag-ucast.sim.tcl | 6 3 + 3 - 0 !
ibmgtsim/tests/pkey.check.tcl | 2 1 + 1 - 0 !
ibmgtsim/utils/RunSimTest | 2 1 + 1 - 0 !
25 files changed, 60 insertions(+), 60 deletions(-)

 fix spelling errors

lintian found some spelling errors.

Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>