Imported Debian patch 1.2-OFED-1.4.2-1
Benoit Mortier authored 14 years ago
Ana Guerrero López committed 9 years ago
0 | ibutils (1.2-OFED-1.4.2-1) unstable; urgency=low | |
1 | ||
2 | * Initial release (Closes: #539801) | |
3 | * Removed ibnlfile.pdf because we have no source | |
4 | ||
5 | -- Benoit Mortier <benoit.mortier@opensides.be> Mon, 11 Jan 2010 22:22:00 +0100 | |
6 |
0 | 7 |
0 | Source: ibutils | |
1 | Section: net | |
2 | Priority: extra | |
3 | Maintainer: OFED and Debian Developement and Discussion <pkg-ofed-devel@lists.alioth.debian.org> | |
4 | Uploaders: Benoit Mortier <benoit.mortier@opensides.be>, Guy Coates <gmpc@sanger.ac.uk>, Mario Lang <mlang@debian.org> | |
5 | Build-Depends: debhelper (>= 7), autotools-dev, dpatch, chrpath, swig1.3, graphviz, libibcommon-dev, libibumad-dev, tcl8.4-dev, tk8.4-dev, libopensm2-dev (>=3.2.5) | |
6 | Standards-Version: 3.8.3 | |
7 | Homepage: http://www.openfabrics.org | |
8 | ||
9 | Package: ibutils | |
10 | Architecture: i386 ia64 amd64 powerpc | |
11 | Depends: ${shlibs:Depends}, ${misc:Depends}, libibdm1 | |
12 | Description: InfiniBand network utilities | |
13 | This package contains a set of utilities useful for | |
14 | diagnosing and testing InfiniBand based networks. | |
15 | ||
16 | Package: libibdm1 | |
17 | Architecture: i386 ia64 amd64 powerpc | |
18 | Depends: ${shlibs:Depends}, ${misc:Depends} | |
19 | Description: InfiniBand network diagnostic library | |
20 | This package contains a library for building tools useful | |
21 | for diagnosing and testing InfiniBand based networks. | |
22 | ||
23 | Package: libibdm-dev | |
24 | Section: libdevel | |
25 | Architecture: i386 ia64 amd64 powerpc | |
26 | Depends: ${shlibs:Depends}, ${misc:Depends} | |
27 | Description: Development files for the libibdm library | |
28 | This package contains header files for building applications | |
29 | against libibdm, a library for building tools for | |
30 | diagnosing and testing InfiniBand based networks. |
0 | This package was debianized by Guy Coates <gmpc@sanger.ac.uk> on | |
1 | Thu, 08 Jan 2009 16:53:41 +0000. | |
2 | ||
3 | It was downloaded from http://www.openfabrics.org/downloads/OFED/ofed-1.4-daily/OFED-1.4-20090108-0600.tgz | |
4 | ||
5 | Upstream Author: | |
6 | ||
7 | Eitan Zahavi <eitan@mellanox.co.il> | |
8 | Nimrod Gindi <nimrodg@mellanox.co.il> | |
9 | ||
10 | Copyright: | |
11 | ||
12 | Copyright (c) 2004, 2008 Mellanox Technologies LTD. All rights reserved. | |
13 | ||
14 | License: | |
15 | ||
16 | This software is available to you under a choice of one of two | |
17 | licenses. You may choose to be licensed under the terms of the GNU | |
18 | General Public License (GPL) Version 2, available from the file | |
19 | /usr/share/common-licenses/GPL-2 on your debian system or the | |
20 | OpenIB.org BSD license below: | |
21 | ||
22 | Redistribution and use in source and binary forms, with or | |
23 | without modification, are permitted provided that the following | |
24 | conditions are met: | |
25 | ||
26 | - Redistributions of source code must retain the above | |
27 | copyright notice, this list of conditions and the following | |
28 | disclaimer. | |
29 | ||
30 | - Redistributions in binary form must reproduce the above | |
31 | copyright notice, this list of conditions and the following | |
32 | disclaimer in the documentation and/or other materials | |
33 | provided with the distribution. | |
34 | ||
35 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |
36 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |
37 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | |
38 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS | |
39 | BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | |
40 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | |
41 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
42 | SOFTWARE. | |
43 | ||
44 | ||
45 | The Debian packaging is Copyright (C) 2009 Genome Research Ltd and | |
46 | is licensed under the GPL, see `/usr/share/common-licenses/GPL'. | |
47 | ||
48 |
0 | usr/bin |
0 | .TH ibnlparse 1 "January 26, 2008" "ibutils" "User Commands" | |
1 | ||
2 | .SH NAME | |
3 | ibnlparse \- simple IB extensions test utility. | |
4 | ||
5 | .SH SYNOPSIS | |
6 | .B ibnlparse | |
7 | ||
8 | .SH DESCRIPTION | |
9 | .PP | |
10 | This program does not currently have any documentation. This manpage | |
11 | is a placeholder. Please see the package documentation in | |
12 | /usr/share/doc/ | |
13 | ||
14 | .SH AUTHOR | |
15 | .TP | |
16 | Guy Coates < gmpc@sanger.ac.uk > | |
17 | ||
18 | ||
19 | ||
20 |
0 | ibdiag/doc/ibdiag_release_notes.txt | |
1 | ibdiag/doc/ibutils_release_notes_ofed1_4.txt | |
2 | README | |
3 | NEWS |
0 | usr/share/man/man1 | |
1 | usr/bin/ibdiagnet | |
2 | usr/bin/ibdiagpath | |
3 | usr/bin/ibdiagui | |
4 | usr/bin/ibdmchk | |
5 | usr/bin/ibdmsh | |
6 | usr/bin/ibdmtr | |
7 | usr/bin/ibis | |
8 | usr/bin/ibnlparse | |
9 | usr/bin/ibtopodiff | |
10 |
0 | debian/ibnlparse.1 |
0 | usr/lib/lib*.so.* | |
1 | usr/lib/ibis1.2 | |
2 | usr/lib/ibdiagnet1.2 | |
3 | usr/lib/ibdiagpath1.2 | |
4 | usr/lib/ibdm1.2 | |
5 | usr/lib/ibdiagui1.2 | |
6 | usr/share/lintian/overrides/libibdm1 |
0 | libibdm1: executable-not-elf-or-script ./usr/lib/ibdm1.2/ibnl/MTS3610.ibnl | |
1 | libibdm1: executable-not-elf-or-script ./usr/lib/ibdm1.2/ibnl/MTS3600.ibnl | |
2 |
0 | #! /bin/sh /usr/share/dpatch/dpatch-run | |
1 | ## 01_topomatch_diff.dpatch by <benoit.mortier@opensides.be> | |
2 | ## | |
3 | ## All lines beginning with `## DP:' are a description of the patch. | |
4 | ## DP: fix char * problem | |
5 | ||
6 | @DPATCH@ | |
7 | ||
8 | --- ibutils-1.2-OFED-1.4.2.orig/ibdm/ibdm/TopoMatch.cpp | |
9 | +++ ibutils-1.2-OFED-1.4.2/ibdm/ibdm/TopoMatch.cpp | |
10 | @@ -676,7 +676,7 @@ | |
11 | IBSystem *p_system = p_node->p_system; | |
12 | ||
13 | // we always mark the board of the node by examining all but the "UXXX" | |
14 | - char *p_lastSlash = rindex(p_node->name.c_str(), '/'); | |
15 | + const char *p_lastSlash = rindex(p_node->name.c_str(), '/'); | |
16 | char nodeBoardName[512]; | |
17 | int boardNameLength; | |
18 | if (!p_lastSlash) { | |
19 |
0 | #! /bin/sh /usr/share/dpatch/dpatch-run | |
1 | ## 02_sysdef_diff.dpatch by <benoit.mortier@opensides.be> | |
2 | ## | |
3 | ## All lines beginning with `## DP:' are a description of the patch. | |
4 | ## DP: fix char * problem | |
5 | ||
6 | @DPATCH@ | |
7 | ||
8 | --- ibutils-1.2-OFED-1.4.2.orig/ibdm/ibdm/SysDef.cpp | |
9 | +++ ibutils-1.2-OFED-1.4.2/ibdm/ibdm/SysDef.cpp | |
10 | @@ -79,7 +79,7 @@ | |
11 | ||
12 | // the device number should be embedded in the master name of | |
13 | // the node: MT23108 ... | |
14 | - char *p_digit; | |
15 | + const char *p_digit; | |
16 | if ((p_digit = strpbrk(p_inst->master.c_str(), "0123456789")) != NULL) | |
17 | sscanf(p_digit,"%u", &p_node->devId); | |
18 |
0 | #!/usr/bin/make -f | |
1 | # -*- makefile -*- | |
2 | # Sample debian/rules that uses debhelper. | |
3 | # This file was originally written by Joey Hess and Craig Small. | |
4 | # As a special exception, when this file is copied by dh-make into a | |
5 | # dh-make output file, you may use that output file without restriction. | |
6 | # This special exception was added by Craig Small in version 0.37 of dh-make. | |
7 | ||
8 | # Uncomment this to turn on verbose mode. | |
9 | #export DH_VERBOSE=1 | |
10 | ||
11 | ||
12 | # These are used for cross-compiling and for saving the configure script | |
13 | # from having to guess our platform (since we know it already) | |
14 | DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) | |
15 | DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) | |
16 | ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) | |
17 | CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) | |
18 | else | |
19 | CROSS= --build $(DEB_BUILD_GNU_TYPE) | |
20 | endif | |
21 | ||
22 | ||
23 | ||
24 | config.status: patch configure | |
25 | dh_testdir | |
26 | # Add here commands to configure the package. | |
27 | ifneq "$(wildcard /usr/share/misc/config.sub)" "" | |
28 | cp -f /usr/share/misc/config.sub config.sub | |
29 | endif | |
30 | ifneq "$(wildcard /usr/share/misc/config.guess)" "" | |
31 | cp -f /usr/share/misc/config.guess config.guess | |
32 | endif | |
33 | ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" \ | |
34 | --sysconfdir=/etc --with-graphviz-lib=/usr/lib/graphbiz/tcl | |
35 | ||
36 | build: build-stamp | |
37 | ||
38 | build-stamp: config.status | |
39 | dh_testdir | |
40 | ||
41 | # Add here commands to compile the package. | |
42 | $(MAKE) | |
43 | #docbook-to-man debian/ibutils.sgml > ibutils.1 | |
44 | ||
45 | touch $@ | |
46 | ||
47 | clean: clean-patched unpatch | |
48 | clean-patched: | |
49 | dh_testdir | |
50 | dh_testroot | |
51 | rm -f build-stamp | |
52 | ||
53 | # Add here commands to clean up after the build process. | |
54 | [ ! -f Makefile ] || $(MAKE) clean | |
55 | ||
56 | rm -f config.sub config.guess config.status config.log Makefile | |
57 | rm -f ibdiag/config.status ibdiag/config.log ibdm/config.status ibdm/config.log ibis/config.status ibis/config.log | |
58 | dh_clean | |
59 | ||
60 | patch: patch-stamp | |
61 | patch-stamp: | |
62 | dpatch apply-all | |
63 | dpatch cat-all >patch-stamp | |
64 | ||
65 | unpatch: | |
66 | dpatch deapply-all | |
67 | rm -rf patch-stamp debian/patched | |
68 | ||
69 | install: build | |
70 | dh_testdir | |
71 | dh_testroot | |
72 | dh_prep | |
73 | dh_installdirs | |
74 | ||
75 | # Add here commands to install the package into debian/ibutils. | |
76 | $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install | |
77 | ||
78 | install -D -m 644 debian/libibdm1.lintian-overrides $(CURDIR)/debian/tmp/usr/share/lintian/overrides/libibdm1 | |
79 | ||
80 | chrpath -d $(CURDIR)/debian/tmp/usr/bin/ibis | |
81 | chrpath -d $(CURDIR)/debian/tmp/usr/bin/ibdmsh | |
82 | chrpath -d $(CURDIR)/debian/tmp/usr/lib/ibdm1.2/libibdm.so.1.2 | |
83 | chrpath -d $(CURDIR)/debian/tmp/usr/lib/ibis1.2/libibis.so.1.2 | |
84 | chrpath -d $(CURDIR)/debian/tmp/usr/lib/libibdm.so.1.1.1 | |
85 | ||
86 | # Build architecture-independent files here. | |
87 | binary-indep: install | |
88 | # We have nothing to do by default. | |
89 | ||
90 | # Build architecture-dependent files here. | |
91 | binary-arch: install | |
92 | dh_testdir | |
93 | dh_testroot | |
94 | dh_installchangelogs --exclude=ChangeLog | |
95 | dh_installdocs | |
96 | dh_installexamples | |
97 | dh_install --list-missing | |
98 | dh_installman | |
99 | dh_link | |
100 | dh_strip | |
101 | dh_compress | |
102 | dh_fixperms | |
103 | dh_makeshlibs | |
104 | dh_installdeb | |
105 | dh_shlibdeps | |
106 | dh_gencontrol | |
107 | dh_md5sums | |
108 | dh_builddeb | |
109 | ||
110 | binary: binary-indep binary-arch | |
111 | .PHONY: build clean binary-indep binary-arch binary install |