summaryrefslogtreecommitdiff
path: root/community/courier-mta
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-09 14:42:55 +0000
committerroot <root@rshg047.dnsready.net>2011-04-09 14:42:55 +0000
commitf87ab435eb966ec44eb006c48699e6ee90613286 (patch)
tree28582481a3d3b5d8d82425bc3930f58a0572ae42 /community/courier-mta
parent59075f0265483f32e9ac4c67ba9e69cb019ba044 (diff)
Sat Apr 9 14:42:55 UTC 2011
Diffstat (limited to 'community/courier-mta')
-rw-r--r--community/courier-mta/PKGBUILD12
-rw-r--r--community/courier-mta/courier-mta.rc.d4
2 files changed, 11 insertions, 5 deletions
diff --git a/community/courier-mta/PKGBUILD b/community/courier-mta/PKGBUILD
index 7b74f25fb..4d57566d9 100644
--- a/community/courier-mta/PKGBUILD
+++ b/community/courier-mta/PKGBUILD
@@ -9,7 +9,7 @@
pkgname=courier-mta
pkgver=0.65.3
-pkgrel=1
+pkgrel=2
pkgdesc="IMAP(s)/POP3(s) and SMTP Server with ML-manager, webmail and webconfig"
arch=(i686 x86_64)
license=('GPL2')
@@ -30,9 +30,10 @@ conflicts=('courier-imap' 'smtp-server' 'imap-server' 'courier-maildrop' 'ucspi-
options=('!libtool')
install=courier-mta.install
source=(http://downloads.sourceforge.net/project/courier/courier/${pkgver}/courier-${pkgver}.tar.bz2
- courier-mta.rc.d courier-mta.conf.d )
+ courier-mta.rc.d
+ courier-mta.conf.d)
md5sums=('581f73ffad17e0a106177ff1209b042d'
- '6b05b7f4f633201e8ae471a185e779df'
+ 'e140f320968e57cfe459cd7a3b4017e0'
'f3ff70b40c7a1f7a017e8c4cc4d92f4f')
build() {
@@ -102,8 +103,9 @@ package() {
find ${pkgdir}/usr/lib -name '*\.a' -exec rm -f {} \;
# fixing some permissions
chown -R courier:courier ${pkgdir}/usr/lib/courier/modules
- chown -R courier:courier ${pkgdir}/var/run/courier
- chown root.root ${pkgdir}/usr/{.,bin,lib,sbin,share}
+ rm -r ${pkgdir}/var/run
+ #chown -R courier:courier ${pkgdir}/var/run/courier
+ chown root:root ${pkgdir}/usr/{.,bin,lib,sbin,share}
# make a link to /usr/sbin/sendmail
install -dm 755 ${pkgdir}/usr/sbin
cd ${pkgdir}/usr/sbin
diff --git a/community/courier-mta/courier-mta.rc.d b/community/courier-mta/courier-mta.rc.d
index 71970c6a3..6c5fbc914 100644
--- a/community/courier-mta/courier-mta.rc.d
+++ b/community/courier-mta/courier-mta.rc.d
@@ -10,6 +10,10 @@
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}