summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/kamailio/APKBUILD8
-rw-r--r--main/kamailio/kamailio.pre-install3
2 files changed, 3 insertions, 8 deletions
diff --git a/main/kamailio/APKBUILD b/main/kamailio/APKBUILD
index 35b648fc..28cda38d 100644
--- a/main/kamailio/APKBUILD
+++ b/main/kamailio/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=kamailio
pkgver=1.5.3
-pkgrel=4
+pkgrel=5
pkgdesc="Open Source SIP Server"
url="http://www.kamailio.org/"
pkgusers="kamailio"
@@ -11,14 +11,12 @@ license="GPL"
depends=
makedepends="bison flex expat-dev postgresql-dev mysql-dev pcre-dev
libxml2-dev curl-dev unixodbc-dev confuse-dev"
-install=
+install="$pkgname.pre-install $pkgname.post-install"
subpackages="$pkgname-doc $pkgname-mysql $pkgname-postgres $pkgname-pcre
$pkgname-presence $pkgname-mediaproxy $pkgname-unixodbc"
source="http://www.kamailio.org/pub/kamailio/$pkgver/src/$pkgname-$pkgver-notls_src.tar.gz
kamailio.cfg
kamailio.initd
- kamailio.pre-install
- kamailio.post-install
kamailio-backslash.patch
"
@@ -131,6 +129,4 @@ unixodbc() {
md5sums="17eeea5cdc2fdd28b2f9a1bad6598de2 kamailio-1.5.3-notls_src.tar.gz
eb665248ee39cf755a247286affc5cbb kamailio.cfg
81100c479890a2a8c2628db22fdd1a0c kamailio.initd
-c646af2dd31f5c4289a2f802c873d98f kamailio.pre-install
-3fbaf633ff1620d0d526fc4047c7bed9 kamailio.post-install
b0ea6c22e2e40d5d12a547898aef6973 kamailio-backslash.patch"
diff --git a/main/kamailio/kamailio.pre-install b/main/kamailio/kamailio.pre-install
index 78dfa38b..86d84acc 100644
--- a/main/kamailio/kamailio.pre-install
+++ b/main/kamailio/kamailio.pre-install
@@ -1,5 +1,4 @@
#!/bin/sh
-adduser -H -h /var/empty -s /bin/false -D kamailio 2>/dev/null
-
+adduser -h /var/run/kamailio -s /bin/false -S -D -H kamailio 2>/dev/null
exit 0