debian/0000775000000000000000000000000012276476104007201 5ustar debian/libibdm-dev.install0000664000000000000000000000005712057240161012736 0ustar usr/include usr/lib/*/lib*.a usr/lib/*/lib*.so debian/patches/0000775000000000000000000000000012276475104010627 5ustar debian/patches/series0000664000000000000000000000011512276475107012044 0ustar 01-fix-with_osm_libs.patch 02-fix-format-warning.patch 03-remove-rpath.patch debian/patches/01-fix-with_osm_libs.patch0000664000000000000000000000134312057333060015504 0ustar Description: Copy fix from main osm.m4 to avoid overwriting $with_osm_libs Author: Roland Dreier --- a/ibis/config/osm.m4 +++ b/ibis/config/osm.m4 @@ -103,8 +103,8 @@ else osm_lib_dir=lib fi + with_osm_libs=$with_osm/$osm_lib_dir fi - with_osm_libs=$with_osm/$osm_lib_dir dnl check what build we have gen1 or gen2 if test -d $with_osm/include/infiniband; then --- a/ibmgtsim/config/osm.m4 +++ b/ibmgtsim/config/osm.m4 @@ -103,8 +103,8 @@ else osm_lib_dir=lib fi + with_osm_libs=$with_osm/$osm_lib_dir fi - with_osm_libs=$with_osm/$osm_lib_dir dnl check what build we have gen1 or gen2 if test -d $with_osm/include/infiniband; then debian/patches/02-fix-format-warning.patch0000664000000000000000000000165012057333011015573 0ustar Description: Fix gcc "-Werror=format-security" errors Fix log calls to use format "%s" to output string buffers. Author: Roland Dreier --- a/ibis/src/ibis_wrap.c +++ b/ibis/src/ibis_wrap.c @@ -3186,7 +3186,7 @@ } int ibis_puts( osm_log_level_t verbosity, char *msg) { - osm_log(&(IbisObj.log), verbosity, msg ); + osm_log(&(IbisObj.log), verbosity, "%s", msg ); return TCL_OK; } --- a/ibis/src/ibis.i +++ b/ibis/src/ibis.i @@ -362,7 +362,7 @@ } int ibis_puts( osm_log_level_t verbosity, char *msg) { - osm_log(&(IbisObj.log), verbosity, msg ); + osm_log(&(IbisObj.log), verbosity, "%s", msg ); return TCL_OK; } --- a/ibis/src/ibissh_wrap.cpp +++ b/ibis/src/ibissh_wrap.cpp @@ -3186,7 +3186,7 @@ } int ibis_puts( osm_log_level_t verbosity, char *msg) { - osm_log(&(IbisObj.log), verbosity, msg ); + osm_log(&(IbisObj.log), verbosity, "%s", msg ); return TCL_OK; } debian/patches/03-remove-rpath.patch0000664000000000000000000000427312057333110014472 0ustar Description: Patch autotools files to avoid unecessary rpaths in executables Author: Roland Dreier --- a/config/osm.m4 +++ b/config/osm.m4 @@ -114,7 +114,7 @@ fi AC_MSG_NOTICE(OSM: build type $OSM_BUILD) - OSM_LDFLAGS="-Wl,-rpath -Wl,$with_osm_libs -L$with_osm_libs" + OSM_LDFLAGS="-L$with_osm_libs" dnl based on the with_osm dir and the libs available dnl we can try and decide what vendor was used: if test $OSM_BUILD = openib; then --- a/ibis/config/osm.m4 +++ b/ibis/config/osm.m4 @@ -114,7 +114,7 @@ fi AC_MSG_NOTICE(OSM: build type $OSM_BUILD) - OSM_LDFLAGS="-Wl,-rpath -Wl,$with_osm_libs -L$with_osm_libs" + OSM_LDFLAGS="-L$with_osm_libs" dnl based on the with_osm dir and the libs available dnl we can try and decide what vendor was used: if test $OSM_BUILD = openib; then --- a/ibmgtsim/config/osm.m4 +++ b/ibmgtsim/config/osm.m4 @@ -114,7 +114,7 @@ fi AC_MSG_NOTICE(OSM: build type $OSM_BUILD) - OSM_LDFLAGS="-Wl,-rpath -Wl,$with_osm_libs -L$with_osm_libs" + OSM_LDFLAGS="-L$with_osm_libs" dnl based on the with_osm dir and the libs available dnl we can try and decide what vendor was used: if test $OSM_BUILD = openib; then --- a/ibdm/ibdm/Makefile.am +++ b/ibdm/ibdm/Makefile.am @@ -80,12 +80,12 @@ libibdm_la_SOURCES = ibdm_wrap.cpp ibdm.i $(common_SOURCES) libibdm_la_LIBADD = $(TCL_LIBS) -libibdm_la_LDFLAGS = -Wl,-rpath -Wl,$(TCL_PREFIX)/lib -version-info $(LIB_VER_TRIPLET) -no-undefined +libibdm_la_LDFLAGS = -version-info $(LIB_VER_TRIPLET) -no-undefined bin_PROGRAMS = ibdmsh ibdmsh_SOURCES = ibdmsh_wrap.cpp ibdmsh_LDADD = -libdmcom $(TCL_LIBS) -ibdmsh_LDFLAGS = -static -Wl,-rpath -Wl,$(TCL_PREFIX)/lib +ibdmsh_LDFLAGS = -static ibdmsh_DEPENDENCIES=$(lib_LTLIBRARIES) $(srcdir)/Fabric.cpp: $(srcdir)/git_version.h --- a/ibmgtsim/src/Makefile.am +++ b/ibmgtsim/src/Makefile.am @@ -76,8 +76,7 @@ ibmssh_SOURCES = sim.cpp server.cpp node.cpp dispatcher.cpp \ ibmssh_wrap.cpp sma.cpp pma.cpp vsa.cpp randmgr.cpp -ibmssh_LDFLAGS = -static -Wl,-rpath -Wl,$(TCL_PREFIX)/lib \ - -Wl,-rpath -Wl,$(IBDM_PREFIX)/lib +ibmssh_LDFLAGS = -static ibmssh_LDADD = -libmscli $(IBDM_LIB) $(TCL_LIBS) -lpthread debian/ibnlparse.10000664000000000000000000000055512057240161011234 0ustar .TH ibnlparse 1 "January 26, 2008" "ibutils" "User Commands" .SH NAME ibnlparse \- simple IB extensions test utility. .SH SYNOPSIS .B ibnlparse .SH DESCRIPTION .PP This program does not currently have any documentation. This manpage is a placeholder. Please see the package documentation in /usr/share/doc/ .SH AUTHOR .TP Guy Coates < gmpc@sanger.ac.uk > debian/libibdm1.install0000664000000000000000000000020712057250565012251 0ustar usr/lib/*/lib*.so.* usr/lib/*/ibis1.5.7 usr/lib/*/ibdiagnet1.5.7 usr/lib/*/ibdiagpath1.5.7 usr/lib/*/ibdm1.5.7 usr/lib/*/ibdiagui1.5.7 debian/control0000664000000000000000000000250012057263051010571 0ustar Source: ibutils Section: net Priority: extra Maintainer: OFED and Debian Developement and Discussion Uploaders: Benoit Mortier , Guy Coates , Mario Lang Build-Depends: debhelper (>= 9), dh-autoreconf, swig, graphviz, libibumad-dev, tcl-dev, tk-dev, libopensm-dev (>= 3.3.15) Standards-Version: 3.9.4 Homepage: http://www.openfabrics.org Package: ibutils Architecture: i386 ia64 amd64 powerpc Depends: ${shlibs:Depends}, ${misc:Depends}, libibdm1 Description: InfiniBand network utilities This package contains a set of utilities useful for diagnosing and testing InfiniBand based networks. Package: libibdm1 Architecture: i386 ia64 amd64 powerpc Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: InfiniBand network diagnostic library This package contains a library for building tools useful for diagnosing and testing InfiniBand based networks. Package: libibdm-dev Section: libdevel Architecture: i386 ia64 amd64 powerpc Depends: ${shlibs:Depends}, ${misc:Depends} Description: Development files for the libibdm library This package contains header files for building applications against libibdm, a library for building tools for diagnosing and testing InfiniBand based networks. debian/source/0000775000000000000000000000000012057240161010466 5ustar debian/source/format0000664000000000000000000000001412057240161011674 0ustar 3.0 (quilt) debian/docs0000664000000000000000000000001412057240161010034 0ustar NEWS README debian/ibutils.manpages0000664000000000000000000000002412057240161012352 0ustar debian/ibnlparse.1 debian/rules0000775000000000000000000000071712276474264010273 0ustar #!/usr/bin/make -f # -*- makefile -*- %: dh $@ --with autoreconf override_dh_autoreconf: dh_autoreconf autoreconf -- -f -i -I config override_dh_auto_configure: dh_auto_configure -- --with-osm=/usr --with-osm-libs=/usr/lib/$(DEB_HOST_MULTIARCH) --with-ibdm-lib=/usr/lib/$(DEB_HOST_MULTIARCH) --with-tk-lib=/usr/lib/$(DEB_HOST_MULTIARCH) override_dh_auto_install: dh_auto_install chmod ogu-x debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/ibdm1.5.7/ibnl/*.ibnl debian/compat0000664000000000000000000000000212057240161010364 0ustar 9 debian/ibutils.docs0000664000000000000000000000013512057240161011512 0ustar ibdiag/doc/ibdiag_release_notes.txt ibdiag/doc/ibutils_release_notes_ofed1_4.txt README NEWS debian/changelog0000664000000000000000000000434612276475055011066 0ustar ibutils (1.5.7-1ubuntu1) trusty; urgency=medium * Pass --with-tk-lib and --with-ibdm-lib to help configure find tcl/tk in its multiarch locations. This fixes FTBFS: error: TK: failed to find tk8.4 or tk8.5 lib. Please use --with-tk-lib -- Andreas Moog Tue, 11 Feb 2014 20:20:27 +0100 ibutils (1.5.7-1) experimental; urgency=low * Acknowledge NMU. (Closes: #690603) * Convert to minimized rules file. -- Roland Dreier Mon, 03 Dec 2012 11:45:32 -0800 ibutils (1.5.7-0.1) experimental; urgency=low * Non-maintainer upload. * Acknowledge NMU. * New upstream release. * Bump Standards-Version to 3.9.4 (no changes). * Drop build depends on libibcommon. * Drop all patches (merged upstream). -- Roland Dreier Mon, 15 Oct 2012 16:13:03 -0700 ibutils (1.2-OFED-1.4.2-1.3) unstable; urgency=low * Non-maintainer upload. * Update build depends from tcl/tk-8.4 to tcl/tk-dev. (Closes: #676054) -- Ana Beatriz Guerrero Lopez Sat, 16 Jun 2012 23:53:29 +0200 ibutils (1.2-OFED-1.4.2-1.2) unstable; urgency=low * Non-maintainer upload; ACKed by the maintainer, see #664426. * Remove deprecated dpatch and upgrade to packaging format "3.0 quilt" (Closes: #664426). * In debian/rules::clean make sure to delete all files even if Makefile is not available. * Update to Standards-Version to 3.9.3 and debhelper to 9. * Add build-arch and build-indep targets. * Fix unused-override (Lintian) by adjusting paths in debian/*-overrides. * Fix non-empty-dependency_libs-in-la-file by not installing *.la files; no reverse depends on them exist. For more information, see http://wiki.debian.org/ReleaseGoals/LAFileRemoval -- Jari Aalto Wed, 04 Apr 2012 12:36:59 +0300 ibutils (1.2-OFED-1.4.2-1.1) unstable; urgency=medium * Non-maintainer upload. * Replace swig1.3 with swig in Build-Depends (Closes: #630934). -- Luca Falavigna Sun, 02 Oct 2011 12:32:52 +0200 ibutils (1.2-OFED-1.4.2-1) unstable; urgency=low * Initial release (Closes: #539801) * Removed ibnlfile.pdf because we have no source -- Benoit Mortier Mon, 11 Jan 2010 22:22:00 +0100 debian/copyright0000664000000000000000000000346212057240161011126 0ustar This package was debianized by Guy Coates on Thu, 08 Jan 2009 16:53:41 +0000. It was downloaded from http://www.openfabrics.org/downloads/OFED/ofed-1.4-daily/OFED-1.4-20090108-0600.tgz Upstream Author: Eitan Zahavi Nimrod Gindi Copyright: Copyright (c) 2004, 2008 Mellanox Technologies LTD. All rights reserved. License: This software is available to you under a choice of one of two licenses. You may choose to be licensed under the terms of the GNU General Public License (GPL) Version 2, available from the file /usr/share/common-licenses/GPL-2 on your debian system or the OpenIB.org BSD license below: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. The Debian packaging is Copyright (C) 2009 Genome Research Ltd and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. debian/dirs0000664000000000000000000000001012057240161010041 0ustar usr/bin debian/ibutils.install0000664000000000000000000000025112057240161012227 0ustar usr/share/man/man1 usr/bin/ibdiagnet usr/bin/ibdiagpath usr/bin/ibdiagui usr/bin/ibdmchk usr/bin/ibdmsh usr/bin/ibdmtr usr/bin/ibis usr/bin/ibnlparse usr/bin/ibtopodiff