summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-07-20 10:49:14 -0400
committerMike Gilbert <floppym@gentoo.org>2016-07-20 10:52:59 -0400
commit3e4fb0e5e45eb8b2fb41fd5ab802c43454bbf00e (patch)
treed15bf20cd93230ab2cfafb1c149f134121871743 /app-mobilephone/kannel
parentdev-lang/go: stable 1.6.3 on amd64 for #589230 (diff)
downloadgentoo-3e4fb0e5e45eb8b2fb41fd5ab802c43454bbf00e.tar.gz
gentoo-3e4fb0e5e45eb8b2fb41fd5ab802c43454bbf00e.tar.bz2
gentoo-3e4fb0e5e45eb8b2fb41fd5ab802c43454bbf00e.zip
app-mobilephone/kannel: Don't keepdir /var/run/kannel
Call checkpath from the init script instead. Bug: https://bugs.gentoo.org/589212 Package-Manager: portage-2.3.0_p13
Diffstat (limited to 'app-mobilephone/kannel')
-rw-r--r--app-mobilephone/kannel/files/kannel-bearerbox.initd1
-rw-r--r--app-mobilephone/kannel/files/kannel-smsbox.initd1
-rw-r--r--app-mobilephone/kannel/files/kannel-wapbox.initd1
-rw-r--r--app-mobilephone/kannel/kannel-1.5.0-r2.ebuild (renamed from app-mobilephone/kannel/kannel-1.5.0-r1.ebuild)2
4 files changed, 4 insertions, 1 deletions
diff --git a/app-mobilephone/kannel/files/kannel-bearerbox.initd b/app-mobilephone/kannel/files/kannel-bearerbox.initd
index 14259d5ea8b..a37b08432c0 100644
--- a/app-mobilephone/kannel/files/kannel-bearerbox.initd
+++ b/app-mobilephone/kannel/files/kannel-bearerbox.initd
@@ -19,6 +19,7 @@ checkconfig() {
start() {
checkconfig || return 1
+ checkpath -o root:kannel -m 0770 -d /var/run/kannel
ebegin "Starting kannel ${KANNEL_SERVICE}"
start-stop-daemon --start --quiet --exec /usr/sbin/${KANNEL_SERVICE} -- \
diff --git a/app-mobilephone/kannel/files/kannel-smsbox.initd b/app-mobilephone/kannel/files/kannel-smsbox.initd
index 73087e6b53e..9ec5645bc8a 100644
--- a/app-mobilephone/kannel/files/kannel-smsbox.initd
+++ b/app-mobilephone/kannel/files/kannel-smsbox.initd
@@ -18,6 +18,7 @@ checkconfig() {
start() {
checkconfig || return 1
+ checkpath -o root:kannel -m 0770 -d /var/run/kannel
ebegin "Starting kannel ${KANNEL_SERVICE}"
start-stop-daemon --start --quiet --exec /usr/sbin/${KANNEL_SERVICE} -- \
diff --git a/app-mobilephone/kannel/files/kannel-wapbox.initd b/app-mobilephone/kannel/files/kannel-wapbox.initd
index 73087e6b53e..9ec5645bc8a 100644
--- a/app-mobilephone/kannel/files/kannel-wapbox.initd
+++ b/app-mobilephone/kannel/files/kannel-wapbox.initd
@@ -18,6 +18,7 @@ checkconfig() {
start() {
checkconfig || return 1
+ checkpath -o root:kannel -m 0770 -d /var/run/kannel
ebegin "Starting kannel ${KANNEL_SERVICE}"
start-stop-daemon --start --quiet --exec /usr/sbin/${KANNEL_SERVICE} -- \
diff --git a/app-mobilephone/kannel/kannel-1.5.0-r1.ebuild b/app-mobilephone/kannel/kannel-1.5.0-r2.ebuild
index ee84be244be..62a25f144c8 100644
--- a/app-mobilephone/kannel/kannel-1.5.0-r1.ebuild
+++ b/app-mobilephone/kannel/kannel-1.5.0-r2.ebuild
@@ -96,7 +96,7 @@ src_install() {
done
diropts -g kannel -m0770
- keepdir /var/log/kannel /var/run/kannel
+ keepdir /var/log/kannel
}
pkg_postinst() {