[Pkg-ofed-commits] r526 - /trunk/infiniband-diags/trunk/debian/patches/
opensides-guest at alioth.debian.org
opensides-guest at alioth.debian.org
Fri Dec 25 20:48:38 UTC 2009
Author: opensides-guest
Date: Fri Dec 25 20:48:38 2009
New Revision: 526
URL: http://svn.debian.org/wsvn/pkg-ofed/?sc=1&rev=526
Log:
- Commiting packages and bugfixes from sid-upload branch
Added:
trunk/infiniband-diags/trunk/debian/patches/02_ibcheckerrors_bashisms.dpatch
trunk/infiniband-diags/trunk/debian/patches/03_ibcheckerrs_bashisms.dpatch
trunk/infiniband-diags/trunk/debian/patches/04_ibchecknet_bashisms.dpatch
trunk/infiniband-diags/trunk/debian/patches/05_ibchecknode_bashisms.dpatch
trunk/infiniband-diags/trunk/debian/patches/06_ibcheckport_bashisms.dpatch
trunk/infiniband-diags/trunk/debian/patches/07_ibcheckportstate_bashisms.dpatch
trunk/infiniband-diags/trunk/debian/patches/08_ibcheckportwidth_bashisms.dpatch
trunk/infiniband-diags/trunk/debian/patches/09_ibcheckstate_bashisms.dpatch
trunk/infiniband-diags/trunk/debian/patches/10_ibcheckwidth_bashisms.dpatch
trunk/infiniband-diags/trunk/debian/patches/11_ibclearcounters_bashisms.dpatch
trunk/infiniband-diags/trunk/debian/patches/12_ibclearerrors_bashisms.dpatch
trunk/infiniband-diags/trunk/debian/patches/13_ibdatacounters_bashisms.dpatch
trunk/infiniband-diags/trunk/debian/patches/14_ibdatacounts_bashisms.dpatch
trunk/infiniband-diags/trunk/debian/patches/15_ibhosts_bashisms.dpatch
trunk/infiniband-diags/trunk/debian/patches/16_ibrouters_bashisms.dpatch
trunk/infiniband-diags/trunk/debian/patches/17_ibswitches_bashisms.dpatch
Added: trunk/infiniband-diags/trunk/debian/patches/02_ibcheckerrors_bashisms.dpatch
URL: http://svn.debian.org/wsvn/pkg-ofed/trunk/infiniband-diags/trunk/debian/patches/02_ibcheckerrors_bashisms.dpatch?rev=526&op=file
==============================================================================
--- trunk/infiniband-diags/trunk/debian/patches/02_ibcheckerrors_bashisms.dpatch (added)
+++ trunk/infiniband-diags/trunk/debian/patches/02_ibcheckerrors_bashisms.dpatch Fri Dec 25 20:48:38 2009
@@ -1,0 +1,26 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_ibcheckerrors_bashisms.dpatch by <benoit.mortier at opensides.be>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Correct bashims in ibcheckerrors script
+
+ at DPATCH@
+
+--- trunk/scripts/ibcheckerrors.in 2009-07-29 14:58:00.000000000 +0200
++++ trunk/scripts/ibcheckerrors.in.new 2009-12-20 19:12:11.000000000 +0100
+@@ -2,13 +2,13 @@
+
+ IBPATH=${IBPATH:- at IBSCRIPTPATH@}
+
+-function usage() {
++usage() {
+ echo Usage: `basename $0` "[-h] [-b] [-v] [-N | -nocolor]"\
+ "[<topology-file> | -C ca_name -P ca_port -t(imeout) timeout_ms]"
+ exit -1
+ }
+
+-function user_abort() {
++user_abort() {
+ echo "Aborted"
+ exit 1
+ }
Added: trunk/infiniband-diags/trunk/debian/patches/03_ibcheckerrs_bashisms.dpatch
URL: http://svn.debian.org/wsvn/pkg-ofed/trunk/infiniband-diags/trunk/debian/patches/03_ibcheckerrs_bashisms.dpatch?rev=526&op=file
==============================================================================
--- trunk/infiniband-diags/trunk/debian/patches/03_ibcheckerrs_bashisms.dpatch (added)
+++ trunk/infiniband-diags/trunk/debian/patches/03_ibcheckerrs_bashisms.dpatch Fri Dec 25 20:48:38 2009
@@ -1,0 +1,60 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 03_ibcheckerrs_bashisms.dpatch by <benoit.mortier at opensides.be>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Correct bashims in ibcheckerrs script
+
+ at DPATCH@
+
+--- trunk/scripts/ibcheckerrs.in 2009-07-29 14:58:00.000000000 +0200
++++ trunk/scripts/ibcheckerrs.in.new 2009-12-20 19:13:14.000000000 +0100
+@@ -2,14 +2,14 @@
+
+ IBPATH=${IBPATH:- at IBSCRIPTPATH@}
+
+-function usage() {
++usage() {
+ echo Usage: `basename $0` "[-h] [-b] [-v] [-G] [-T <threshold_file>]" \
+ "[-s(how_thresholds)] [-N \| -nocolor] [-C ca_name] [-P ca_port]" \
+ "[-t(imeout) timeout_ms] <lid|guid> [<port>]"
+ exit -1
+ }
+
+-function green() {
++green() {
+ if [ "$bw" = "yes" ]; then
+ if [ "$verbose" = "yes" ]; then
+ echo $1
+@@ -17,19 +17,19 @@
+ return
+ fi
+ if [ "$verbose" = "yes" ]; then
+- echo -e "\\033[1;032m" $1 "\\033[0;39m"
++ printf "\\033[1;032m" $1 "\\033[0;39m"
+ fi
+ }
+
+-function red() {
++red() {
+ if [ "$bw" = "yes" ]; then
+ echo $1
+ return
+ fi
+- echo -e "\\033[1;031m" $1 "\\033[0;39m"
++ printf "\\033[1;031m" $1 "\\033[0;39m"
+ }
+
+-function show_thresholds() {
++show_thresholds() {
+ echo "SymbolErrors=$SymbolErrors"
+ echo "LinkRecovers=$LinkRecovers"
+ echo "LinkDowned=$LinkDowned"
+@@ -44,7 +44,7 @@
+ echo "VL15Dropped=$VL15Dropped"
+ }
+
+-function get_thresholds() {
++get_thresholds() {
+ . $1
+ }
+
Added: trunk/infiniband-diags/trunk/debian/patches/04_ibchecknet_bashisms.dpatch
URL: http://svn.debian.org/wsvn/pkg-ofed/trunk/infiniband-diags/trunk/debian/patches/04_ibchecknet_bashisms.dpatch?rev=526&op=file
==============================================================================
--- trunk/infiniband-diags/trunk/debian/patches/04_ibchecknet_bashisms.dpatch (added)
+++ trunk/infiniband-diags/trunk/debian/patches/04_ibchecknet_bashisms.dpatch Fri Dec 25 20:48:38 2009
@@ -1,0 +1,26 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 04_ibchecknet_bashisms.dpatch by <benoit.mortier at opensides.be>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Correct bashims in ibchecknet script
+
+ at DPATCH@
+
+--- trunk/scripts/ibchecknet.in 2009-07-29 14:58:00.000000000 +0200
++++ trunk/scripts/ibchecknet.in.new 2009-12-20 19:14:01.000000000 +0100
+@@ -2,13 +2,13 @@
+
+ IBPATH=${IBPATH:- at IBSCRIPTPATH@}
+
+-function usage() {
++usage() {
+ echo Usage: `basename $0` "[-h] [-v] [-N | -nocolor]" \
+ "[<topology-file> | -C ca_name -P ca_port -t(imeout) timeout_ms]"
+ exit -1
+ }
+
+-function user_abort() {
++user_abort() {
+ echo "Aborted"
+ exit 1
+ }
Added: trunk/infiniband-diags/trunk/debian/patches/05_ibchecknode_bashisms.dpatch
URL: http://svn.debian.org/wsvn/pkg-ofed/trunk/infiniband-diags/trunk/debian/patches/05_ibchecknode_bashisms.dpatch?rev=526&op=file
==============================================================================
--- trunk/infiniband-diags/trunk/debian/patches/05_ibchecknode_bashisms.dpatch (added)
+++ trunk/infiniband-diags/trunk/debian/patches/05_ibchecknode_bashisms.dpatch Fri Dec 25 20:48:38 2009
@@ -1,0 +1,46 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 05_ibchecknode_bashisms.dpatch by <benoit.mortier at opensides.be>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Correct bashims in ibchecknode script
+
+ at DPATCH@
+
+--- trunk/scripts/ibchecknode.in 2009-07-29 14:58:00.000000000 +0200
++++ trunk/scripts/ibchecknode.in.new 2009-12-20 19:14:49.000000000 +0100
+@@ -2,13 +2,13 @@
+
+ IBPATH=${IBPATH:- at IBSCRIPTPATH@}
+
+-function usage() {
++usage() {
+ echo Usage: `basename $0` "[-h] [-v] [-N | -nocolor] [-G]" \
+ "[-C ca_name] [-P ca_port] [-t(imeout) timeout_ms] <lid|guid>"
+ exit -1
+ }
+
+-function green() {
++green() {
+ if [ "$bw" = "yes" ]; then
+ if [ "$verbose" = "yes" ]; then
+ echo $1
+@@ -16,16 +16,16 @@
+ return
+ fi
+ if [ "$verbose" = "yes" ]; then
+- echo -e "\\033[1;032m" $1 "\\033[0;39m"
++ printf "\\033[1;032m" $1 "\\033[0;39m"
+ fi
+ }
+
+-function red() {
++red() {
+ if [ "$bw" = "yes" ]; then
+ echo $1
+ return
+ fi
+- echo -e "\\033[1;031m" $1 "\\033[0;39m"
++ printf "\\033[1;031m" $1 "\\033[0;39m"
+ }
+
+ guid_addr=""
Added: trunk/infiniband-diags/trunk/debian/patches/06_ibcheckport_bashisms.dpatch
URL: http://svn.debian.org/wsvn/pkg-ofed/trunk/infiniband-diags/trunk/debian/patches/06_ibcheckport_bashisms.dpatch?rev=526&op=file
==============================================================================
--- trunk/infiniband-diags/trunk/debian/patches/06_ibcheckport_bashisms.dpatch (added)
+++ trunk/infiniband-diags/trunk/debian/patches/06_ibcheckport_bashisms.dpatch Fri Dec 25 20:48:38 2009
@@ -1,0 +1,46 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 06_ibcheckport_bashisms.dpatch by <benoit.mortier at opensides.be>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Correct bashims in ibcheckport script
+
+ at DPATCH@
+
+--- trunk/scripts/ibcheckport.in 2009-07-29 14:58:00.000000000 +0200
++++ trunk/scripts/ibcheckport.in.new 2009-12-20 19:21:21.000000000 +0100
+@@ -2,13 +2,13 @@
+
+ IBPATH=${IBPATH:- at IBSCRIPTPATH@}
+
+-function usage() {
++usage() {
+ echo Usage: `basename $0` "[-h] [-v] [-N | -nocolor] [-G]" \
+ "[-C ca_name] [-P ca_port] [-t(imeout) timeout_ms] <lid|guid> <port>"
+ exit -1
+ }
+
+-function green() {
++green() {
+ if [ "$bw" = "yes" ]; then
+ if [ "$verbose" = "yes" ]; then
+ echo $1
+@@ -16,16 +16,16 @@
+ return
+ fi
+ if [ "$verbose" = "yes" ]; then
+- echo -e "\\033[1;032m" $1 "\\033[0;39m"
++ printf "\\033[1;032m" $1 "\\033[0;39m"
+ fi
+ }
+
+-function red() {
++red() {
+ if [ "$bw" = "yes" ]; then
+ echo $1
+ return
+ fi
+- echo -e "\\033[1;031m" $1 "\\033[0;39m"
++ printf "\\033[1;031m" $1 "\\033[0;39m"
+ }
+
+ guid_addr=""
Added: trunk/infiniband-diags/trunk/debian/patches/07_ibcheckportstate_bashisms.dpatch
URL: http://svn.debian.org/wsvn/pkg-ofed/trunk/infiniband-diags/trunk/debian/patches/07_ibcheckportstate_bashisms.dpatch?rev=526&op=file
==============================================================================
--- trunk/infiniband-diags/trunk/debian/patches/07_ibcheckportstate_bashisms.dpatch (added)
+++ trunk/infiniband-diags/trunk/debian/patches/07_ibcheckportstate_bashisms.dpatch Fri Dec 25 20:48:38 2009
@@ -1,0 +1,46 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 07_ibcheckportstate_bashisms.dpatch by <benoit.mortier at opensides.be>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Correct bashims in ibcheckportstate script
+
+ at DPATCH@
+
+--- trunk/scripts/ibcheckportstate.in 2009-07-29 14:58:00.000000000 +0200
++++ trunk/scripts/ibcheckportstate.in.new 2009-12-20 19:22:20.000000000 +0100
+@@ -2,13 +2,13 @@
+
+ IBPATH=${IBPATH:- at IBSCRIPTPATH@}
+
+-function usage() {
++usage() {
+ echo Usage: `basename $0` "[-h] [-v] [-N | -nocolor] [-G]" \
+ "[-C ca_name] [-P ca_port] [-t(imeout) timeout_ms] <lid|guid> <port>"
+ exit -1
+ }
+
+-function green() {
++green() {
+ if [ "$bw" = "yes" ]; then
+ if [ "$verbose" = "yes" ]; then
+ echo $1
+@@ -16,16 +16,16 @@
+ return
+ fi
+ if [ "$verbose" = "yes" ]; then
+- echo -e "\\033[1;032m" $1 "\\033[0;39m"
++ printf "\\033[1;032m" $1 "\\033[0;39m"
+ fi
+ }
+
+-function red() {
++red() {
+ if [ "$bw" = "yes" ]; then
+ echo $1
+ return
+ fi
+- echo -e "\\033[1;031m" $1 "\\033[0;39m"
++ printf "\\033[1;031m" $1 "\\033[0;39m"
+ }
+
+ guid_addr=""
Added: trunk/infiniband-diags/trunk/debian/patches/08_ibcheckportwidth_bashisms.dpatch
URL: http://svn.debian.org/wsvn/pkg-ofed/trunk/infiniband-diags/trunk/debian/patches/08_ibcheckportwidth_bashisms.dpatch?rev=526&op=file
==============================================================================
--- trunk/infiniband-diags/trunk/debian/patches/08_ibcheckportwidth_bashisms.dpatch (added)
+++ trunk/infiniband-diags/trunk/debian/patches/08_ibcheckportwidth_bashisms.dpatch Fri Dec 25 20:48:38 2009
@@ -1,0 +1,46 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 08_ibcheckportwidth_bashisms.dpatch by <benoit.mortier at opensides.be>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Correct bashims in ibcheckportwidth script
+
+ at DPATCH@
+
+--- trunk/scripts/ibcheckportwidth.in 2009-07-29 14:58:00.000000000 +0200
++++ trunk/scripts/ibcheckportwidth.in.new 2009-12-20 19:23:15.000000000 +0100
+@@ -2,13 +2,13 @@
+
+ IBPATH=${IBPATH:- at IBSCRIPTPATH@}
+
+-function usage() {
++usage() {
+ echo Usage: `basename $0` "[-h] [-v] [-N | -nocolor] [-G]" \
+ "[-C ca_name] [-P ca_port] [-t(imeout) timeout_ms] <lid|guid> <port>"
+ exit -1
+ }
+
+-function green() {
++green() {
+ if [ "$bw" = "yes" ]; then
+ if [ "$verbose" = "yes" ]; then
+ echo $1
+@@ -16,16 +16,16 @@
+ return
+ fi
+ if [ "$verbose" = "yes" ]; then
+- echo -e "\\033[1;032m" $1 "\\033[0;39m"
++ printf "\\033[1;032m" $1 "\\033[0;39m"
+ fi
+ }
+
+-function red() {
++red() {
+ if [ "$bw" = "yes" ]; then
+ echo $1
+ return
+ fi
+- echo -e "\\033[1;031m" $1 "\\033[0;39m"
++ printf "\\033[1;031m" $1 "\\033[0;39m"
+ }
+
+ guid_addr=""
Added: trunk/infiniband-diags/trunk/debian/patches/09_ibcheckstate_bashisms.dpatch
URL: http://svn.debian.org/wsvn/pkg-ofed/trunk/infiniband-diags/trunk/debian/patches/09_ibcheckstate_bashisms.dpatch?rev=526&op=file
==============================================================================
--- trunk/infiniband-diags/trunk/debian/patches/09_ibcheckstate_bashisms.dpatch (added)
+++ trunk/infiniband-diags/trunk/debian/patches/09_ibcheckstate_bashisms.dpatch Fri Dec 25 20:48:38 2009
@@ -1,0 +1,26 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 09_ibcheckstate_bashisms.dpatch by <benoit.mortier at opensides.be>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Correct bashims in ibcheckstate script
+
+ at DPATCH@
+
+--- trunk/scripts/ibcheckstate.in 2009-07-29 14:58:00.000000000 +0200
++++ trunk/scripts/ibcheckstate.in.new 2009-12-20 19:24:50.000000000 +0100
+@@ -2,13 +2,13 @@
+
+ IBPATH=${IBPATH:- at IBSCRIPTPATH@}
+
+-function usage() {
++usage() {
+ echo Usage: `basename $0` "[-h] [-v] [-N | -nocolor]" \
+ "[<topology-file> | -C ca_name -P ca_port -t(imeout) timeout_ms]"
+ exit -1
+ }
+
+-function user_abort() {
++user_abort() {
+ echo "Aborted"
+ exit 1
+ }
Added: trunk/infiniband-diags/trunk/debian/patches/10_ibcheckwidth_bashisms.dpatch
URL: http://svn.debian.org/wsvn/pkg-ofed/trunk/infiniband-diags/trunk/debian/patches/10_ibcheckwidth_bashisms.dpatch?rev=526&op=file
==============================================================================
--- trunk/infiniband-diags/trunk/debian/patches/10_ibcheckwidth_bashisms.dpatch (added)
+++ trunk/infiniband-diags/trunk/debian/patches/10_ibcheckwidth_bashisms.dpatch Fri Dec 25 20:48:38 2009
@@ -1,0 +1,26 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_ibcheckwidth_bashisms.dpatch by <benoit.mortier at opensides.be>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Correct bashims in ibcheckwidth script
+
+ at DPATCH@
+
+--- trunk/scripts/ibcheckwidth.in 2009-07-29 14:58:00.000000000 +0200
++++ trunk/scripts/ibcheckwidth.in.new 2009-12-20 19:25:24.000000000 +0100
+@@ -2,13 +2,13 @@
+
+ IBPATH=${IBPATH:- at IBSCRIPTPATH@}
+
+-function usage() {
++usage() {
+ echo Usage: `basename $0` "[-h] [-v] [-N | -nocolor]" \
+ "[<topology-file> \| -C ca_name -P ca_port -t(imeout) timeout_ms]"
+ exit -1
+ }
+
+-function user_abort() {
++user_abort() {
+ echo "Aborted"
+ exit 1
+ }
Added: trunk/infiniband-diags/trunk/debian/patches/11_ibclearcounters_bashisms.dpatch
URL: http://svn.debian.org/wsvn/pkg-ofed/trunk/infiniband-diags/trunk/debian/patches/11_ibclearcounters_bashisms.dpatch?rev=526&op=file
==============================================================================
--- trunk/infiniband-diags/trunk/debian/patches/11_ibclearcounters_bashisms.dpatch (added)
+++ trunk/infiniband-diags/trunk/debian/patches/11_ibclearcounters_bashisms.dpatch Fri Dec 25 20:48:38 2009
@@ -1,0 +1,26 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 11_ibclearcounters_bashisms.dpatch by <benoit.mortier at opensides.be>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Correct bashims in ibclearcounters script
+
+ at DPATCH@
+
+--- trunk/scripts/ibclearcounters.in 2009-07-29 14:58:00.000000000 +0200
++++ trunk/scripts/ibclearcounters.in.new 2009-12-20 19:26:00.000000000 +0100
+@@ -2,13 +2,13 @@
+
+ IBPATH=${IBPATH:- at IBSCRIPTPATH@}
+
+-function usage() {
++usage() {
+ echo Usage: `basename $0` "[-h] [<topology-file>" \
+ "| -C ca_name -P ca_port -t(imeout) timeout_ms]"
+ exit -1
+ }
+
+-function user_abort() {
++user_abort() {
+ echo "Aborted"
+ exit 1
+ }
Added: trunk/infiniband-diags/trunk/debian/patches/12_ibclearerrors_bashisms.dpatch
URL: http://svn.debian.org/wsvn/pkg-ofed/trunk/infiniband-diags/trunk/debian/patches/12_ibclearerrors_bashisms.dpatch?rev=526&op=file
==============================================================================
--- trunk/infiniband-diags/trunk/debian/patches/12_ibclearerrors_bashisms.dpatch (added)
+++ trunk/infiniband-diags/trunk/debian/patches/12_ibclearerrors_bashisms.dpatch Fri Dec 25 20:48:38 2009
@@ -1,0 +1,26 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 12_ibclearerrors_bashisms.dpatch by <benoit.mortier at opensides.be>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Correct bashims in ibclearerrors script
+
+ at DPATCH@
+
+--- trunk/scripts/ibclearerrors.in 2009-07-29 14:58:00.000000000 +0200
++++ trunk/scripts/ibclearerrors.in.new 2009-12-20 19:26:35.000000000 +0100
+@@ -2,13 +2,13 @@
+
+ IBPATH=${IBPATH:- at IBSCRIPTPATH@}
+
+-function usage() {
++usage() {
+ echo Usage: `basename $0` "[-h] [-N | -nocolor] [<topology-file>" \
+ "| -C ca_name -P ca_port -t(imeout) timeout_ms]"
+ exit -1
+ }
+
+-function user_abort() {
++user_abort() {
+ echo "Aborted"
+ exit 1
+ }
Added: trunk/infiniband-diags/trunk/debian/patches/13_ibdatacounters_bashisms.dpatch
URL: http://svn.debian.org/wsvn/pkg-ofed/trunk/infiniband-diags/trunk/debian/patches/13_ibdatacounters_bashisms.dpatch?rev=526&op=file
==============================================================================
--- trunk/infiniband-diags/trunk/debian/patches/13_ibdatacounters_bashisms.dpatch (added)
+++ trunk/infiniband-diags/trunk/debian/patches/13_ibdatacounters_bashisms.dpatch Fri Dec 25 20:48:38 2009
@@ -1,0 +1,26 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 13_ibdatacounters_bashisms.dpatch by <benoit.mortier at opensides.be>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Correct bashims in ibdatacounters script
+
+ at DPATCH@
+
+--- trunk/scripts/ibdatacounters.in 2009-07-29 14:58:00.000000000 +0200
++++ trunk/scripts/ibdatacounters.in.new 2009-12-20 19:27:22.000000000 +0100
+@@ -2,13 +2,13 @@
+
+ IBPATH=${IBPATH:- at IBSCRIPTPATH@}
+
+-function usage() {
++usage() {
+ echo Usage: `basename $0` "[-h] [-b] [-v] [-N | -nocolor]" \
+ "[<topology-file> \| -C ca_name -P ca_port -t(imeout) timeout_ms]"
+ exit -1
+ }
+
+-function user_abort() {
++user_abort() {
+ echo "Aborted"
+ exit 1
+ }
Added: trunk/infiniband-diags/trunk/debian/patches/14_ibdatacounts_bashisms.dpatch
URL: http://svn.debian.org/wsvn/pkg-ofed/trunk/infiniband-diags/trunk/debian/patches/14_ibdatacounts_bashisms.dpatch?rev=526&op=file
==============================================================================
--- trunk/infiniband-diags/trunk/debian/patches/14_ibdatacounts_bashisms.dpatch (added)
+++ trunk/infiniband-diags/trunk/debian/patches/14_ibdatacounts_bashisms.dpatch Fri Dec 25 20:48:38 2009
@@ -1,0 +1,47 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 14_ibdatacounts_bashisms.dpatch by <benoit.mortier at opensides.be>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Correct bashims in ibdatacounts script
+
+ at DPATCH@
+
+--- trunk/scripts/ibdatacounts.in 2009-07-29 14:58:00.000000000 +0200
++++ trunk/scripts/ibdatacounts.in.new 2009-12-20 19:28:18.000000000 +0100
+@@ -2,14 +2,14 @@
+
+ IBPATH=${IBPATH:- at IBSCRIPTPATH@}
+
+-function usage() {
++usage() {
+ echo Usage: `basename $0` "[-h] [-b] [-v] [-G] [-N | -nocolor]" \
+ "[-C ca_name] [-P ca_port] [-t(imeout) timeout_ms] <lid|guid>" \
+ "[<port>]"
+ exit -1
+ }
+
+-function green() {
++green() {
+ if [ "$bw" = "yes" ]; then
+ if [ "$verbose" = "yes" ]; then
+ echo $1
+@@ -17,16 +17,16 @@
+ return
+ fi
+ if [ "$verbose" = "yes" ]; then
+- echo -e "\\033[1;032m" $1 "\\033[0;39m"
++ printf "\\033[1;032m" $1 "\\033[0;39m"
+ fi
+ }
+
+-function red() {
++red() {
+ if [ "$bw" = "yes" ]; then
+ echo $1
+ return
+ fi
+- echo -e "\\033[1;031m" $1 "\\033[0;39m"
++ printf "\\033[1;031m" $1 "\\033[0;39m"
+ }
+
+ guid_addr=""
Added: trunk/infiniband-diags/trunk/debian/patches/15_ibhosts_bashisms.dpatch
URL: http://svn.debian.org/wsvn/pkg-ofed/trunk/infiniband-diags/trunk/debian/patches/15_ibhosts_bashisms.dpatch?rev=526&op=file
==============================================================================
--- trunk/infiniband-diags/trunk/debian/patches/15_ibhosts_bashisms.dpatch (added)
+++ trunk/infiniband-diags/trunk/debian/patches/15_ibhosts_bashisms.dpatch Fri Dec 25 20:48:38 2009
@@ -1,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 15_ibhosts_bashisms.dpatch by <benoit.mortier at opensides.be>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Correct bashims in ibhosts script
+
+ at DPATCH@
+
+--- trunk/scripts/ibhosts.in 2009-07-29 14:58:00.000000000 +0200
++++ trunk/scripts/ibhosts.in.new 2009-12-20 19:28:45.000000000 +0100
+@@ -2,7 +2,7 @@
+
+ IBPATH=${IBPATH:- at IBSCRIPTPATH@}
+
+-function usage() {
++usage() {
+ echo Usage: `basename $0` "[-h] [<topology-file> | -C ca_name" \
+ "-P ca_port -t(imeout) timeout_ms]"
+ exit -1
Added: trunk/infiniband-diags/trunk/debian/patches/16_ibrouters_bashisms.dpatch
URL: http://svn.debian.org/wsvn/pkg-ofed/trunk/infiniband-diags/trunk/debian/patches/16_ibrouters_bashisms.dpatch?rev=526&op=file
==============================================================================
--- trunk/infiniband-diags/trunk/debian/patches/16_ibrouters_bashisms.dpatch (added)
+++ trunk/infiniband-diags/trunk/debian/patches/16_ibrouters_bashisms.dpatch Fri Dec 25 20:48:38 2009
@@ -1,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 16_ibrouters_bashisms.dpatch by <benoit.mortier at opensides.be>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Correct bashims in ibrouters script
+
+ at DPATCH@
+
+--- trunk/scripts/ibrouters.in 2009-07-29 14:58:00.000000000 +0200
++++ trunk/scripts/ibrouters.in.new 2009-12-20 19:29:52.000000000 +0100
+@@ -2,7 +2,7 @@
+
+ IBPATH=${IBPATH:- at IBSCRIPTPATH@}
+
+-function usage() {
++usage() {
+ echo Usage: `basename $0` "[-h] [<topology-file> | -C ca_name" \
+ "-P ca_port -t(imeout) timeout_ms]"
+ exit -1
Added: trunk/infiniband-diags/trunk/debian/patches/17_ibswitches_bashisms.dpatch
URL: http://svn.debian.org/wsvn/pkg-ofed/trunk/infiniband-diags/trunk/debian/patches/17_ibswitches_bashisms.dpatch?rev=526&op=file
==============================================================================
--- trunk/infiniband-diags/trunk/debian/patches/17_ibswitches_bashisms.dpatch (added)
+++ trunk/infiniband-diags/trunk/debian/patches/17_ibswitches_bashisms.dpatch Fri Dec 25 20:48:38 2009
@@ -1,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 17_ibswitches_bashisms.dpatch by <benoit.mortier at opensides.be>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Correct bashims in ibswitches script
+
+ at DPATCH@
+
+--- trunk/scripts/ibswitches.in 2009-07-29 14:58:00.000000000 +0200
++++ trunk/scripts/ibswitches.in.new 2009-12-20 19:34:04.000000000 +0100
+@@ -2,7 +2,7 @@
+
+ IBPATH=${IBPATH:- at IBSCRIPTPATH@}
+
+-function usage() {
++usage() {
+ echo Usage: `basename $0` "[-h] [<topology-file> | -C ca_name" \
+ "-P ca_port -t(imeout) timeout_ms]"
+ exit -1
More information about the Pkg-ofed-commits
mailing list