summaryrefslogtreecommitdiffstats
path: root/main/freeswitch/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-06-10 13:13:45 +0300
committerTimo Teräs <timo.teras@iki.fi>2011-06-10 15:52:14 +0300
commit7513eadf420e19fde3451af1355c7874d1dfe27b (patch)
tree35a78c3d00504509b3f2159ac7968bd2c5b96f36 /main/freeswitch/APKBUILD
parentadf5a3941cb6c63dd5e99470c7e5e5339aece434 (diff)
downloadaports-7513eadf420e19fde3451af1355c7874d1dfe27b.tar.bz2
aports-7513eadf420e19fde3451af1355c7874d1dfe27b.tar.xz
main/freeswitch: fix some bugs
* use /var/lib/freeswitch as path for db, instead of /usr/db * apply fix for FS-3336 from freeswitch jira * make the lua compiler have alpine search path for modules
Diffstat (limited to 'main/freeswitch/APKBUILD')
-rw-r--r--main/freeswitch/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/freeswitch/APKBUILD b/main/freeswitch/APKBUILD
index a06711ec2..552001222 100644
--- a/main/freeswitch/APKBUILD
+++ b/main/freeswitch/APKBUILD
@@ -4,7 +4,7 @@ pkgname=freeswitch
pkgver=1.0.7_p20110602
_ver=${pkgver%_p*}
_snapshot=${pkgver#*_p}
-pkgrel=0
+pkgrel=1
pkgdesc="A communications platform written in C from the ground up"
url="http://www.freeswitch.org"
arch="all"
@@ -18,6 +18,8 @@ install="$pkgname.pre-install $pkgname.post-install $pkgname.pre-upgrade"
subpackages="$pkgname-dev $pkgname-flite $pkgname-sample-config:conf $pkgname-freetdm"
source="saveas-http://latest.freeswitch.org/freeswitch-$_ver.tar.gz/freeswitch-$pkgver.tar.gz
freeswitch-mod_shout-textrels.patch
+ 0001-mod_sofia-update-mod_sofia_globals.guess_ip-on-addre.patch
+ 0002-mod_lua-alpine-module-search-path.patch
modules.conf
freeswitch.confd
freeswitch.initd
@@ -42,6 +44,7 @@ build() {
# by specifying it here we save our selves from some CPU cycles
export lt_cv_sys_max_cmd_len=8192
+ sed -i -e 's#^dbdir="${prefix}/db"#dbdir="/var/lib/freeswitch"#' configure.in || return 1
./bootstrap.sh
cp -f "$srcdir/modules.conf" modules.conf || return 1
@@ -129,6 +132,8 @@ conf() {
md5sums="813edb2192d1cc0fe224d9ef0492de4f freeswitch-1.0.7_p20110602.tar.gz
11883affe0839a8e15fe680aeb11b86e freeswitch-mod_shout-textrels.patch
+5aed9ec61d7ac1f3758a89db159328c4 0001-mod_sofia-update-mod_sofia_globals.guess_ip-on-addre.patch
+769eaa127d4dbae687dc4aa961a8cc70 0002-mod_lua-alpine-module-search-path.patch
691fa3aca967203848bbb2a617545265 modules.conf
c608cca8ad773acebf201f581438c7e7 freeswitch.confd
aa358c9ca0d8b93fabb6a36a5ed4c469 freeswitch.initd"