aboutsummaryrefslogtreecommitdiffstats
path: root/main/fetchmail
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-09-16 06:53:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-09-16 06:53:35 +0000
commit47ccffb4c0eb924b04584f5523224b8ffe77e91a (patch)
tree2993acd4ae2d998829e4d5068ddf7bc581ac46ab /main/fetchmail
parentc9fd7ba83a7a75567e6bf6e90eab70b5df2ea26d (diff)
downloadaports-47ccffb4c0eb924b04584f5523224b8ffe77e91a.tar.bz2
aports-47ccffb4c0eb924b04584f5523224b8ffe77e91a.tar.xz
main/fetchmail: create dir for pidfile on startup
ref #3367
Diffstat (limited to 'main/fetchmail')
-rw-r--r--main/fetchmail/APKBUILD8
-rwxr-xr-xmain/fetchmail/fetchmail.initd1
2 files changed, 5 insertions, 4 deletions
diff --git a/main/fetchmail/APKBUILD b/main/fetchmail/APKBUILD
index 43f4663e58..b7155ed0ad 100644
--- a/main/fetchmail/APKBUILD
+++ b/main/fetchmail/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fetchmail
pkgver=6.3.26
-pkgrel=2
+pkgrel=3
pkgdesc="A remote-mail retrieval and forwarding utility"
url="http://fetchmail.berlios.de/"
arch="all"
@@ -57,8 +57,8 @@ fetchmailconf() {
}
md5sums="d9ae3d939205a3c06a21ea79b8f14793 fetchmail-6.3.26.tar.bz2
-20ad22948fd77cf24e2bb288af6fd266 fetchmail.initd"
+74637211b1b2a31e85acdb0700d74567 fetchmail.initd"
sha256sums="1c724a4e48c47e84981aef0da31cf01e0334c99b295d907d0d21d31674762a23 fetchmail-6.3.26.tar.bz2
-7a8cf11f172bf747453b98e97723b98953c1b06f95f68ad0d8332a253604e8dd fetchmail.initd"
+203e54b7b661c7ee5507c23208818ec278b323843d97a9dd7787059d6bd6b677 fetchmail.initd"
sha512sums="6f9a8a1901acccfa5438866ef1b07b2d688f502cbee53050beb9e8dffa54ba509d5d9c4fc6326b299ed50db943a6be67ba38a8e7fe9e86d4aa41488a91ecf2b1 fetchmail-6.3.26.tar.bz2
-a4606676085d69e08633665b11994ba0a2deb54e00d99ca191058b1cc4f0e2ff681f941f5ef88254fda78d620ed835d4107f51a484f2ddefa53e05b925cea61e fetchmail.initd"
+77a41268de4c9fe6e3b6b3d606c977d9cb8fca46340ff3c18a150a947feff85dc2ea690c37ca40661dc8a1e0904a66747ca3a9f050a297d5c8dd7335f5405b74 fetchmail.initd"
diff --git a/main/fetchmail/fetchmail.initd b/main/fetchmail/fetchmail.initd
index 0857d652fa..42acf6152a 100755
--- a/main/fetchmail/fetchmail.initd
+++ b/main/fetchmail/fetchmail.initd
@@ -17,6 +17,7 @@ checkconfig() {
start() {
checkconfig || return 1
+ checkpath -d ${pidfile%/*} -o fetchmail
ebegin "Starting fetchmail"
start-stop-daemon --start --quiet \