summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-18 09:06:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-18 09:24:52 +0000
commitec4c1ec67543a7f23e5fb457ce6da5ab81baef1c (patch)
tree54b7d0c0738f6735930971f9dc736f2508053ae5 /testing
parent09a1021bb753206a08d1e1a166fbb2c3f12bad25 (diff)
downloadaports-ec4c1ec67543a7f23e5fb457ce6da5ab81baef1c.tar.bz2
aports-ec4c1ec67543a7f23e5fb457ce6da5ab81baef1c.tar.xz
testing/kamailio: fix #168
Diffstat (limited to 'testing')
-rw-r--r--testing/kamailio/APKBUILD6
-rw-r--r--testing/kamailio/kamailio.initd3
2 files changed, 5 insertions, 4 deletions
diff --git a/testing/kamailio/APKBUILD b/testing/kamailio/APKBUILD
index 676087f3c..f226e219f 100644
--- a/testing/kamailio/APKBUILD
+++ b/testing/kamailio/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=kamailio
pkgver=1.5.2
-pkgrel=4
+pkgrel=5
pkgdesc="Open Source SIP Server"
url="http://www.kamailio.org/"
pkgusers="kamailio"
@@ -34,7 +34,7 @@ build() {
cd ..
make prefix=/usr \
- cfg-dir=/etc/kamailio \
+ cfg-dir=/etc/kamailio/ \
MODS_MYSQL=yes \
MODS_PCRE=yes \
MODS_PRESENCE=yes \
@@ -96,6 +96,6 @@ presence() {
}
md5sums="6c6f4ed6fbcb4d008b8ac3de5b99ce99 kamailio-1.5.2-notls_src.tar.gz
-c098f34b3e3ad704b18d4b2c6da6488b kamailio.initd
+81100c479890a2a8c2628db22fdd1a0c kamailio.initd
c646af2dd31f5c4289a2f802c873d98f kamailio.pre-install
3fbaf633ff1620d0d526fc4047c7bed9 kamailio.post-install"
diff --git a/testing/kamailio/kamailio.initd b/testing/kamailio/kamailio.initd
index 51c8c511c..ee4e2ecef 100644
--- a/testing/kamailio/kamailio.initd
+++ b/testing/kamailio/kamailio.initd
@@ -14,7 +14,8 @@ start() {
-- \
-u ${KAMAILIO_USER:-kamailio} \
-g ${KAMAILIO_GROUP:-kamailio} \
- -P $pidfile
+ -P $pidfile \
+ ${KAMAILIO_OPTS:-}
eend $?
}