diff options
Diffstat (limited to 'community/courier-authlib/PKGBUILD')
-rw-r--r-- | community/courier-authlib/PKGBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/community/courier-authlib/PKGBUILD b/community/courier-authlib/PKGBUILD index 964be4a2a..4e82387ec 100644 --- a/community/courier-authlib/PKGBUILD +++ b/community/courier-authlib/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 70428 2012-05-06 03:21:33Z svenstaro $ +# $Id: PKGBUILD 72136 2012-06-09 00:24:01Z dreisner $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: tobias <tobias@archlinux.org> # Contributor: Tobias Kieslich <tobias@justdreams.de> pkgname=courier-authlib pkgver=0.64.0 -pkgrel=1 +pkgrel=2 pkgdesc="Authentification library for the courier mailserver(s)" arch=(i686 x86_64) license=('GPL2') @@ -20,8 +20,10 @@ provides=('courier-imap-mysql' 'courier-imap-pgsql' 'courier-imap-ldap') options=(!libtool) install=${pkgname}.install source=(http://downloads.sourceforge.net/project/courier/authlib/${pkgver}/${pkgname}-${pkgver}.tar.bz2 + courier-authlib.tmpfiles authdaemond.rc.d) md5sums=('d946a76e81e45a139543305d310399f6' + 'bef189740e9516b0beaace4e8954ef14' '7de75a9a74796f4fd2e81fd3ca16ed8d') build() { @@ -37,7 +39,7 @@ build() { --with-authpam --with-authpwd --with-authshadow \ --with-authldap --with-authmysql --with-authpgsql \ --with-authuserdb --with-authcram --with-authdaemon \ - --with-authdaemonvar=/var/run/authdaemon + --with-authdaemonvar=/run/authdaemon make } @@ -60,7 +62,6 @@ package() { #chown -R 72:72 ${pkgdir}/var/spool/authdaemon 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 @@ -68,4 +69,9 @@ package() { for lib in courier-authlib/*.so; do ln -s $lib . done + + install -Dm644 "$srcdir/courier-authlib.tmpfiles" "$pkgdir/usr/lib/tmpfiles/courier-authlib.conf" + + # avoid conflict with filesystem>=2012.06 + rmdir "$pkgdir/run/authdaemon" } |