[arch-commits] Commit in courier-authlib/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Sat Sep 26 09:48:47 UTC 2009
Date: Saturday, September 26, 2009 @ 05:48:47
Author: allan
Revision: 53167
upgpkg: courier-authlib 0.62.4-4
db-4.8 rebuild
Modified:
courier-authlib/trunk/PKGBUILD
----------+
PKGBUILD | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-09-26 09:33:25 UTC (rev 53166)
+++ PKGBUILD 2009-09-26 09:48:47 UTC (rev 53167)
@@ -4,27 +4,27 @@
pkgname=courier-authlib
pkgver=0.62.4
-pkgrel=3
+pkgrel=4
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' 'db>=4.7' 'perl' 'libtool' 'expect')
+depends=('openssl' 'db>=4.8' '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')
install=${pkgname}.install
-source=(http://downloads.sourceforge.net/sourceforge/courier/${pkgname}-${pkgver}.tar.bz2 \
+source=(http://downloads.sourceforge.net/project/courier/authlib/${pkgver}/${pkgname}-${pkgver}.tar.bz2
authdaemond.rc.d)
md5sums=('40b01d7f19c29db7c919c0938a7537c7'
'911ee9f40d70fafc6bb4cc636c5ad531')
build() {
export MAKEFLAGS="-j1"
- cd ${startdir}/src/${pkgname}-${pkgver}
+ cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
@@ -36,22 +36,22 @@
--with-authldap --with-authmysql --with-authpgsql \
--with-authuserdb --with-authcram --with-authdaemon
make || return 1
- make DESTDIR=${startdir}/pkg install
+ make DESTDIR=${pkgdir} install
###############################################################################
# post_installation ---- rename the config file and change ownerschip
- for distfile in ${startdir}/pkg/etc/authlib/*.dist; do
+ for distfile in ${pkgdir}/etc/authlib/*.dist; do
chown 72:72 ${distfile}
- mv ${distfile} ${startdir}/pkg/etc/authlib/`basename ${distfile} .dist`
+ 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 \
- ${startdir}/pkg/etc/openldap/schema/courier.schema
+ ${pkgdir}/etc/openldap/schema/courier.schema
###############################################################################
# Install daemon, that wraps couriers bashscript
- install -Dm 755 ../authdaemond.rc.d ${startdir}/pkg/etc/rc.d/authdaemond
- chown -R 72:72 ${startdir}/pkg/var/spool/authdaemon
- mkdir ${startdir}/pkg/var/spool/courier
- chown -R 72:72 ${startdir}/pkg/var/spool/courier
+ 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 ${startdir}/pkg -name '*\.a' -exec rm -f {} \;
+ find ${pkgdir} -name '*\.a' -exec rm -f {} \;
}
More information about the arch-commits
mailing list