diff options
author | root <root@rshg047.dnsready.net> | 2011-04-09 14:42:55 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-04-09 14:42:55 +0000 |
commit | f87ab435eb966ec44eb006c48699e6ee90613286 (patch) | |
tree | 28582481a3d3b5d8d82425bc3930f58a0572ae42 /community/courier-imap | |
parent | 59075f0265483f32e9ac4c67ba9e69cb019ba044 (diff) |
Sat Apr 9 14:42:55 UTC 2011
Diffstat (limited to 'community/courier-imap')
-rw-r--r-- | community/courier-imap/PKGBUILD | 8 | ||||
-rw-r--r-- | community/courier-imap/courier-imap.rc.d | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/community/courier-imap/PKGBUILD b/community/courier-imap/PKGBUILD index 921f4e5a0..1ebc4d91d 100644 --- a/community/courier-imap/PKGBUILD +++ b/community/courier-imap/PKGBUILD @@ -5,7 +5,7 @@ pkgname=courier-imap pkgver=4.8.1 -pkgrel=1 +pkgrel=2 pkgdesc="IMAP(s)/POP3(s) Server" arch=('i686' 'x86_64') license=('GPL2') @@ -19,10 +19,11 @@ conflicts=('courier-mta') provides=('imap-server' 'pop3-server') options=('!libtool') source=(http://downloads.sourceforge.net/project/courier/imap/${pkgver}/${pkgname}-${pkgver}.tar.bz2 - courier-imap.conf.d courier-imap.rc.d) + courier-imap.conf.d + courier-imap.rc.d) md5sums=('67dbd0e698f03d1a50db906318af8db9' '3e08f017f6c5a52dea28f6f0dbd50b86' - '5bba44fc650d1671a84ae9b2bdf09561') + '16153138a5a784abe45e97131f9f809d') build() { cd ${srcdir}/${pkgname}-${pkgver} @@ -73,5 +74,4 @@ package() { # install thingies install -D -m 755 ${srcdir}/courier-imap.rc.d ${pkgdir}/etc/rc.d/courier-imap install -D -m 644 ${srcdir}/courier-imap.conf.d ${pkgdir}/etc/conf.d/courier-imap - install -dm755 -g courier -o courier ${pkgdir}/var/run/courier } diff --git a/community/courier-imap/courier-imap.rc.d b/community/courier-imap/courier-imap.rc.d index 924265b9d..03b9e0183 100644 --- a/community/courier-imap/courier-imap.rc.d +++ b/community/courier-imap/courier-imap.rc.d @@ -8,6 +8,10 @@ CI_DAEMONS= case "$1" in start) + + [ -d /var/run/courier ] || mkdir -p /var/run/courier + chown courier:courier /var/run/courier + if [ "$AUTO_AUTHDAEMON" == "true" ]; then /etc/rc.d/authdaemond start sleep ${AUTO_AUTHDAEMON_LAG} |