summaryrefslogtreecommitdiff
path: root/packages/callweaver/files/bootstrap.patch
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-01-19 11:24:41 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-01-19 11:24:41 +0000
commit5cd700075edddb501cfa118b7e827842035b3e94 (patch)
treeb0e198b42e4fb4f1a09b00454521f4303a6350c9 /packages/callweaver/files/bootstrap.patch
parent02fd43803d0ed17ef03265df679d6d0afc925018 (diff)
callweaver: follow upstream from openpbx.org to callweaver.org and update to rc5
* openpbx.org is gone and thus fetching failed. * upgrade to rc5 since rc3 is no longer available * Follow upstream rename of project from openpbx.org to callweaver.org. replace all occurences of the openpbx string with callweaver in all files. * drop unneeded patches and create new ones (fix version check code) * drop openldap support and DEPENDS until bug 2806 is fixed to enable the package to build in OE * fix packaging * this is the "boy, am I glad I got it off the 'mtn status'-radar"-commit
Diffstat (limited to 'packages/callweaver/files/bootstrap.patch')
-rw-r--r--packages/callweaver/files/bootstrap.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/callweaver/files/bootstrap.patch b/packages/callweaver/files/bootstrap.patch
new file mode 100644
index 0000000000..b3a021cd8d
--- /dev/null
+++ b/packages/callweaver/files/bootstrap.patch
@@ -0,0 +1,13 @@
+Index: callweaver-1.2-rc5/bootstrap.sh
+===================================================================
+--- callweaver-1.2-rc5.orig/bootstrap.sh 2008-01-18 10:47:41.000000000 +0100
++++ callweaver-1.2-rc5/bootstrap.sh 2008-01-18 10:48:02.000000000 +0100
+@@ -36,7 +36,7 @@
+ debug "Found $COMMAND"
+ fi
+
+- INS_VER=`$COMMAND --version | head -1 | sed 's/[^0-9]*//' | cut -d' ' -f1`
++ INS_VER=`$COMMAND --version | head -n 1 | sed 's/[^0-9]*//' | cut -d' ' -f1`
+ INS_MAJOR=`echo $INS_VER | cut -d. -f1 | sed s/[a-zA-Z\-].*//g`
+ INS_MINOR=`echo $INS_VER | cut -d. -f2 | sed s/[a-zA-Z\-].*//g`
+ INS_MICRO=`echo $INS_VER | cut -d. -f3 | sed s/[a-zA-Z\-].*//g`