aboutsummaryrefslogtreecommitdiffstats
path: root/main/kamailio
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2014-03-06 08:52:07 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2014-03-06 08:52:24 +0000
commitf70b25851e1c47f8023a49ddefe996ae6beb6855 (patch)
tree090348c791800df30504b801d9d2a1db4ea3ec50 /main/kamailio
parent43013cbe3ab50707ce184d7fea90034da61b0d15 (diff)
downloadaports-f70b25851e1c47f8023a49ddefe996ae6beb6855.tar.bz2
aports-f70b25851e1c47f8023a49ddefe996ae6beb6855.tar.xz
main/kamailio: make sure /var/run/kamailio exists before starting up
Diffstat (limited to 'main/kamailio')
-rw-r--r--main/kamailio/APKBUILD8
-rw-r--r--main/kamailio/kamailio.initd1
2 files changed, 5 insertions, 4 deletions
diff --git a/main/kamailio/APKBUILD b/main/kamailio/APKBUILD
index 152e4f7be6..4cbd53bcd8 100644
--- a/main/kamailio/APKBUILD
+++ b/main/kamailio/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=kamailio
pkgver=4.1.1
-pkgrel=1
+pkgrel=2
pkgdesc="Open Source SIP Server"
url="http://www.kamailio.org/"
arch="all"
@@ -420,18 +420,18 @@ md5sums="af4d79725cef6d404a127216e7637b9b kamailio-4.1.1_src.tar.gz
5eb40563ffa4f1070d21994f1f7f83dc 0002-snmpstats-makefile.patch
2f26f821280bc65b77231ec3ba6e0472 musl-fixes.patch
a3c959ec568c43a905710e7d25cd8c25 kamailio.cfg
-9c190575e28772a784c4172216d85333 kamailio.initd"
+1d9e153c56569df5c2a47c792527e0da kamailio.initd"
sha256sums="79838961ac772523eba610f6a7f47358a00a3297f0c1912c4e74843fe59d3734 kamailio-4.1.1_src.tar.gz
d74f14413feeebf67cb94c0274f3ef5efd1b59d17c92da264a1e3c3fe0aa83dc kamailio-4.1-backslash.patch
bbc06f9ae62b2e8df2c58f9a171f0408e075d5a51e2457e85ef3ca01aa972df9 0001-websocket-remove-libunistring-dependency.patch
f29b9fb1e89d4178e1541f454e41ccc2e068a1ae9bfaa89a7ef4607489279504 0002-snmpstats-makefile.patch
46b92e27006c08cc3511d241d2958b720a8b5de650b7d51339b265b4b0a48474 musl-fixes.patch
8024266849033a917147827c3579a382f10f3796989bebc6de3d7c80c965fb72 kamailio.cfg
-82612cc107e51de6968568a266de25b98e57257926defab7261fd81cbd624e00 kamailio.initd"
+26924dfec75a5ff0f669fabfdbf9c16bf35e93ea91ca736a9a6289be6ee21ddd kamailio.initd"
sha512sums="98a38d1d30682af2baa8c4d9a5c7428175068004975a37f9054b1d57afc91707a1b8fbf1f58a886af5ce5ad4a15dc82fe498b82e8611e6ac793024593261d403 kamailio-4.1.1_src.tar.gz
70b0d6ffb7c728d0aa962cb646713cf5a3c2665a57c2dd85d2f820384235426de59ef202a97d24321c3428aa6af32182091b53c79f82072b2232f0146c9310ff kamailio-4.1-backslash.patch
a972e57d8d64c104cb3df329442c746588818ed7f148a409d6050bcbbbb021cc1eeb970b59924e0ffb7f9487faacb99cada0dbfb19b0b87f66ca6b2bcf8b8345 0001-websocket-remove-libunistring-dependency.patch
8b9c456d9d0ce9ae1e81cce8f06cd9d291e68be77a0da07541d55e9f3c15f534b4b52b061aecce1ef37a83030222554335196ec11b9aa5eda0033f0a6241afc9 0002-snmpstats-makefile.patch
443b4b4cfcc6d4c55833185829cc43ed11b922169d9f24d8aecfaf3c59d65cb32a2806cdd2e846261767c7ad7cbca0517d52c7e0bf10e55cbe4b5fab2b62e4e8 musl-fixes.patch
0b666bfa10fd0af97b62749f8691cb3f76d9b40d1abe0a33e810e367bd733d2e8189c89f7f23010ec591116aada6e1a8a403b17449fe775038917617f281ad4d kamailio.cfg
-babec2a230daea3c579dc581f9a945c70bd1736cdacaaa7a183d902c8d9fbd4f7958cce03424fb65cdf7a1f6aa077ad8aec7e53525e270f88f856caa374505e7 kamailio.initd"
+fa95cbfb1e7d32280cd6cd30e42a955da9561820540ee77b2da8ad1b9d1c7a83820f56be94ba9c2f172ad7bc285e68d8d60a000cde8271810569fa146a26cb15 kamailio.initd"
diff --git a/main/kamailio/kamailio.initd b/main/kamailio/kamailio.initd
index a99992edf9..3d10fe5ab8 100644
--- a/main/kamailio/kamailio.initd
+++ b/main/kamailio/kamailio.initd
@@ -12,6 +12,7 @@ depend() {
start() {
ebegin "Starting Kamailio"
+ checkpath -d -o kamailio:kamailio /var/run/kamailio
start-stop-daemon --start --quiet --pidfile $pidfile --exec $daemon \
-- \
-u ${KAMAILIO_USER:-kamailio} \