diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-03-01 15:57:41 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-03-01 15:57:41 +0000 |
commit | cf99941b6e947de9060080277c1041d1e1081f2a (patch) | |
tree | a1d5cc1a00c8fdd8b222259ab69dc490ac4087ae /main/kamailio | |
parent | d18bb9fcaf894121d9c0a7eb330d53266fc529f1 (diff) | |
download | aports-cf99941b6e947de9060080277c1041d1e1081f2a.tar.bz2 aports-cf99941b6e947de9060080277c1041d1e1081f2a.tar.xz |
main/kamailio: add the missing pre-install script
fixes #298
Diffstat (limited to 'main/kamailio')
-rw-r--r-- | main/kamailio/APKBUILD | 8 | ||||
-rw-r--r-- | main/kamailio/kamailio.pre-install | 3 |
2 files changed, 3 insertions, 8 deletions
diff --git a/main/kamailio/APKBUILD b/main/kamailio/APKBUILD index 35b648fcb3..28cda38dbb 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 78dfa38bf3..86d84acc8a 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 |