summaryrefslogtreecommitdiff
path: root/community/courier-authlib/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/courier-authlib/PKGBUILD')
-rw-r--r--community/courier-authlib/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/community/courier-authlib/PKGBUILD b/community/courier-authlib/PKGBUILD
index b4389d8a1..2a0024544 100644
--- a/community/courier-authlib/PKGBUILD
+++ b/community/courier-authlib/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=courier-authlib
pkgver=0.63.0
-pkgrel=6
+pkgrel=7
pkgdesc="Authentification library for the courier mailserver(s)"
arch=(i686 x86_64 'mips64el')
license=('GPL2')
@@ -22,7 +22,7 @@ install=${pkgname}.install
source=(http://downloads.sourceforge.net/project/courier/authlib/${pkgver}/${pkgname}-${pkgver}.tar.bz2
authdaemond.rc.d)
md5sums=('411a927d178f783a1e8fab9964ce0dd2'
- '911ee9f40d70fafc6bb4cc636c5ad531')
+ '7de75a9a74796f4fd2e81fd3ca16ed8d')
build() {
#export MAKEFLAGS="-j1"
@@ -36,7 +36,8 @@ build() {
--with-mailuser=courier --with-mailgroup=courier \
--with-authpam --with-authpwd --with-authshadow \
--with-authldap --with-authmysql --with-authpgsql \
- --with-authuserdb --with-authcram --with-authdaemon
+ --with-authuserdb --with-authcram --with-authdaemon \
+ --with-authdaemonvar=/var/run/authdaemon
make
}
@@ -55,9 +56,11 @@ package() {
###############################################################################
# Install daemon, that wraps couriers bashscript
install -Dm 755 ${srcdir}/authdaemond.rc.d ${pkgdir}/etc/rc.d/authdaemond
+ mkdir -p ${pkgdir}/var/spool/authdaemon
chown -R 72:72 ${pkgdir}/var/spool/authdaemon
- mkdir ${pkgdir}/var/spool/courier
+ mkdir -p ${pkgdir}/var/spool/courier
chown -R 72:72 ${pkgdir}/var/spool/courier
+ chown -R 72:72 ${pkgdir}/var/run/authdaemon
# docs say we can remove .a files after make
find ${pkgdir} -name '*\.a' -exec rm -f {} \;
# Make libs available to /usr/lib