Commit cf99941b authored by Natanael Copa's avatar Natanael Copa
Browse files

main/kamailio: add the missing pre-install script

fixes #298
parent d18bb9fc
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=kamailio pkgname=kamailio
pkgver=1.5.3 pkgver=1.5.3
pkgrel=4 pkgrel=5
pkgdesc="Open Source SIP Server" pkgdesc="Open Source SIP Server"
url="http://www.kamailio.org/" url="http://www.kamailio.org/"
pkgusers="kamailio" pkgusers="kamailio"
...@@ -11,14 +11,12 @@ license="GPL" ...@@ -11,14 +11,12 @@ license="GPL"
depends= depends=
makedepends="bison flex expat-dev postgresql-dev mysql-dev pcre-dev makedepends="bison flex expat-dev postgresql-dev mysql-dev pcre-dev
libxml2-dev curl-dev unixodbc-dev confuse-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 subpackages="$pkgname-doc $pkgname-mysql $pkgname-postgres $pkgname-pcre
$pkgname-presence $pkgname-mediaproxy $pkgname-unixodbc" $pkgname-presence $pkgname-mediaproxy $pkgname-unixodbc"
source="http://www.kamailio.org/pub/kamailio/$pkgver/src/$pkgname-$pkgver-notls_src.tar.gz source="http://www.kamailio.org/pub/kamailio/$pkgver/src/$pkgname-$pkgver-notls_src.tar.gz
kamailio.cfg kamailio.cfg
kamailio.initd kamailio.initd
kamailio.pre-install
kamailio.post-install
kamailio-backslash.patch kamailio-backslash.patch
" "
...@@ -131,6 +129,4 @@ unixodbc() { ...@@ -131,6 +129,4 @@ unixodbc() {
md5sums="17eeea5cdc2fdd28b2f9a1bad6598de2 kamailio-1.5.3-notls_src.tar.gz md5sums="17eeea5cdc2fdd28b2f9a1bad6598de2 kamailio-1.5.3-notls_src.tar.gz
eb665248ee39cf755a247286affc5cbb kamailio.cfg eb665248ee39cf755a247286affc5cbb kamailio.cfg
81100c479890a2a8c2628db22fdd1a0c kamailio.initd 81100c479890a2a8c2628db22fdd1a0c kamailio.initd
c646af2dd31f5c4289a2f802c873d98f kamailio.pre-install
3fbaf633ff1620d0d526fc4047c7bed9 kamailio.post-install
b0ea6c22e2e40d5d12a547898aef6973 kamailio-backslash.patch" b0ea6c22e2e40d5d12a547898aef6973 kamailio-backslash.patch"
#!/bin/sh #!/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 exit 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment