summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-06-16 10:02:06 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-06-16 10:05:05 +0000
commit4b20d0b02e195030bdf08e763ac282006fb777ab (patch)
tree5af122dc91825a5f69e605a9637ec4d4b790e2ea /testing
parentc164e429b41680759e1947fa9548e20e1985e469 (diff)
downloadaports-4b20d0b02e195030bdf08e763ac282006fb777ab.tar.bz2
aports-4b20d0b02e195030bdf08e763ac282006fb777ab.tar.xz
testing/kamailio: fix location for kamailio.cfg
fixes #248
Diffstat (limited to 'testing')
-rw-r--r--testing/kamailio/APKBUILD16
-rw-r--r--testing/kamailio/kamailio.cfg2
2 files changed, 10 insertions, 8 deletions
diff --git a/testing/kamailio/APKBUILD b/testing/kamailio/APKBUILD
index aee29ffc0..2f8007ee2 100644
--- a/testing/kamailio/APKBUILD
+++ b/testing/kamailio/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=kamailio
pkgver=3.0.2
-pkgrel=0
+pkgrel=1
pkgdesc="Open Source SIP Server"
url="http://www.kamailio.org/"
pkgusers="kamailio"
@@ -51,8 +51,8 @@ prepare() {
build() {
cd "$_builddir"
- make prefix=/usr \
- cfg-dir=/etc/kamailio/ \
+ make LOCALBASE=/usr \
+ cfg_target=/etc/kamailio/ \
MODS_MYSQL=yes \
MODS_PCRE=yes \
MODS_PRESENCE=yes \
@@ -64,15 +64,17 @@ build() {
package() {
cd "$_builddir"
- make prefix=/usr \
- cfg-dir=/etc/kamailio/ \
+ make LOCALBASE=/usr \
+ cfg_target=/etc/kamailio/ \
MODS_MYSQL=yes \
MODS_PCRE=yes \
MODS_PRESENCE=yes \
MODS_RADIUS= \
TLS= \
include_modules="$_modules" \
- basedir="$pkgdir" install || return 1
+ basedir="$pkgdir" \
+ cfg_prefix="$pkgdir" \
+ install || return 1
# move default config to -doc package and use our own default config
@@ -145,7 +147,7 @@ unixodbc() {
}
md5sums="dd039e078a77032a423fb15f9685ad31 kamailio-3.0.2_src.tar.gz
-eb665248ee39cf755a247286affc5cbb kamailio.cfg
+865979ca14a727e99e0de5ca2426603f kamailio.cfg
81100c479890a2a8c2628db22fdd1a0c kamailio.initd
c646af2dd31f5c4289a2f802c873d98f kamailio.pre-install
3fbaf633ff1620d0d526fc4047c7bed9 kamailio.post-install
diff --git a/testing/kamailio/kamailio.cfg b/testing/kamailio/kamailio.cfg
index 9c101a871..5a45cfdbb 100644
--- a/testing/kamailio/kamailio.cfg
+++ b/testing/kamailio/kamailio.cfg
@@ -14,7 +14,7 @@ children = 4
dns = no
rev_dns = no
-mpath = "/usr/lib/kamailio/modules/"
+mpath = "/usr/lib/kamailio/modules_k/:/usr/lib/kamailio/modules/"
#--------------------------------------------------------
# Section 2: Modules
#--------------------------------------------------------