aboutsummaryrefslogtreecommitdiffstats
path: root/main/sircbot
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-02-12 09:07:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-02-12 09:07:23 +0000
commit619c4e6fa62ea9be9a98a3f03ee3f6fdc9ccbe68 (patch)
tree312decd5fca0ffa4b9de8745e9fd6db4cc053899 /main/sircbot
parent0e1e087322b10ded282638c8d25a62a2c1ce18e3 (diff)
downloadaports-619c4e6fa62ea9be9a98a3f03ee3f6fdc9ccbe68.tar.bz2
aports-619c4e6fa62ea9be9a98a3f03ee3f6fdc9ccbe68.tar.xz
main/sircbot: set permissions on rundir
Diffstat (limited to 'main/sircbot')
-rw-r--r--main/sircbot/APKBUILD10
-rw-r--r--main/sircbot/sircbot.initd1
2 files changed, 9 insertions, 2 deletions
diff --git a/main/sircbot/APKBUILD b/main/sircbot/APKBUILD
index 9d3a6eef01..bd4173b13e 100644
--- a/main/sircbot/APKBUILD
+++ b/main/sircbot/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sircbot
pkgver=0.2
-pkgrel=4
+pkgrel=5
pkgdesc="Minimalistic IRC bot"
url="http://git.alpinelinux.org/cgit/sircbot/"
arch="all"
@@ -42,5 +42,11 @@ luamod() {
}
md5sums="a9d16db48c97ebfa30e1c84f37e70838 sircbot-0.2.tar.bz2
-494717b7824e271093511a48955e4a14 sircbot.initd
+1451771566a969550ef3c0ced26fc9bb sircbot.initd
8443ac189030c7b8beb8e579dc16ebc7 sircbot.confd"
+sha256sums="572ee420fc7dbc4732c3d51841694f2b8800f22eea9909c9047c45b4eca847d8 sircbot-0.2.tar.bz2
+f554417bd15db266ccf05f4f193ee45cb5a318230543a3fb39fb2b37a3050988 sircbot.initd
+b0bf9767150e486815aada1761b6fca7b7838df3045082ff8083167dbce613e6 sircbot.confd"
+sha512sums="4afac87a63fe76314168fa363dee8766a03c85ae3cd603096e4f33b26823333a9dadf30e773af019d4c7c3bd83dce5838f967071c6393a02d844dc6a30768c7a sircbot-0.2.tar.bz2
+00c8a90a0c12b052622b674bd81b426303a0a43cdf01c808e421938782074758ad6d3021165bb6fde49557b0a62d42bda62dd871c4d093f35b7adba1abc024cb sircbot.initd
+315167ec664ce859908fcd230f6e0c604a0b02e56286156ba6ec76c32d6d514726acb493fe7a13b44d9255ec2e34fe4b2a6f02edf039b06e487cea6528d4d6a7 sircbot.confd"
diff --git a/main/sircbot/sircbot.initd b/main/sircbot/sircbot.initd
index 045f7ee2aa..f52a30ce94 100644
--- a/main/sircbot/sircbot.initd
+++ b/main/sircbot/sircbot.initd
@@ -20,6 +20,7 @@ checkconfig() {
start() {
checkconfig || return 1
+ checkpath --directory /var/run/sircbot --owner ${sircbot_user}
ebegin "Starting sircbot"
start-stop-daemon --start --user $sircbot_user --group $sircbot_group \
--umask 0002 --pidfile "$pidfile" \