summaryrefslogtreecommitdiff
path: root/community-testing/courier-authlib/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-12-01 14:10:29 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-12-01 14:10:29 +0000
commitbc0657f7159d0b01373ecb59afc426b98a172b1e (patch)
tree7fba1eb77eb1a2965fe5f3ed72cc77aa63d14f40 /community-testing/courier-authlib/PKGBUILD
parentfd115d7057eb8243df6edfaf1ed440d6f3e70692 (diff)
Thu Dec 1 14:10:27 UTC 2011
Diffstat (limited to 'community-testing/courier-authlib/PKGBUILD')
-rw-r--r--community-testing/courier-authlib/PKGBUILD63
1 files changed, 0 insertions, 63 deletions
diff --git a/community-testing/courier-authlib/PKGBUILD b/community-testing/courier-authlib/PKGBUILD
deleted file mode 100644
index 99e43c8c3..000000000
--- a/community-testing/courier-authlib/PKGBUILD
+++ /dev/null
@@ -1,63 +0,0 @@
-# $Id: PKGBUILD 53167 2009-09-26 09:48:47Z allan $
-# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
-# Contributor: tobias <tobias@archlinux.org>
-# Contributor: Tobias Kieslich <tobias@justdreams.de>
-
-pkgname=courier-authlib
-pkgver=0.63.0
-pkgrel=5
-pkgdesc="Authentification library for the courier mailserver(s)"
-arch=(i686 x86_64)
-license=('GPL2')
-url="http://courier-mta.org/authlib/"
-backup=('etc/authlib/authdaemonrc' 'etc/authlib/authldaprc' \
- 'etc/authlib/authmysqlrc' 'etc/authlib/authpgsqlrc')
-depends=('openssl' 'gdbm' 'perl' 'libtool' 'expect')
-makedepends=('pam' 'expect' 'libldap' 'libmysqlclient' 'postgresql-libs>=8.3.0')
-optdepends=('libmysqlclient' 'libldap' 'postgresql-libs')
-conflicts=('courier-imap-mysql' 'courier-imap-pgsql' 'courier-imap-ldap')
-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
- authdaemond.rc.d)
-md5sums=('411a927d178f783a1e8fab9964ce0dd2'
- '911ee9f40d70fafc6bb4cc636c5ad531')
-
-build() {
- #export MAKEFLAGS="-j1"
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --libdir=/usr/lib \
- --libexecdir=/usr/lib \
- --with-db=gdbm \
- --with-mailuser=courier --with-mailgroup=courier \
- --with-authpam --with-authpwd --with-authshadow \
- --with-authldap --with-authmysql --with-authpgsql \
- --with-authuserdb --with-authcram --with-authdaemon
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
- ###############################################################################
- # post_installation ---- rename the config file and change ownerschip
- for distfile in ${pkgdir}/etc/authlib/*.dist; do
- chown 72:72 ${distfile}
- mv ${distfile} ${pkgdir}/etc/authlib/`basename ${distfile} .dist`
- done
- # copy the .schema; mostly refered to as courier.schema -> rename it
- install -Dm 444 authldap.schema \
- ${pkgdir}/etc/openldap/schema/courier.schema
- ###############################################################################
- # Install daemon, that wraps couriers bashscript
- install -Dm 755 ${srcdir}/authdaemond.rc.d ${pkgdir}/etc/rc.d/authdaemond
- chown -R 72:72 ${pkgdir}/var/spool/authdaemon
- mkdir ${pkgdir}/var/spool/courier
- chown -R 72:72 ${pkgdir}/var/spool/courier
- # docs say we can remove .a files after make
- find ${pkgdir} -name '*\.a' -exec rm -f {} \;
-}