summaryrefslogtreecommitdiffstats
path: root/abs/core/libsasl/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-20 03:53:34 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-20 03:53:34 (GMT)
commit9b4d2dbda96bc86d0070a7097c8975075af5caa5 (patch)
tree9efd927e6b0fe8056aa0a11c8dc6362217607eb6 /abs/core/libsasl/PKGBUILD
parent09c7e00229191d88b39dfd457776f8d68dd3216c (diff)
downloadlinhes_pkgbuild-9b4d2dbda96bc86d0070a7097c8975075af5caa5.zip
linhes_pkgbuild-9b4d2dbda96bc86d0070a7097c8975075af5caa5.tar.gz
linhes_pkgbuild-9b4d2dbda96bc86d0070a7097c8975075af5caa5.tar.bz2
libsasl: upgrade
Diffstat (limited to 'abs/core/libsasl/PKGBUILD')
-rw-r--r--abs/core/libsasl/PKGBUILD47
1 files changed, 29 insertions, 18 deletions
diff --git a/abs/core/libsasl/PKGBUILD b/abs/core/libsasl/PKGBUILD
index d9b49b8..e5ba8e9 100644
--- a/abs/core/libsasl/PKGBUILD
+++ b/abs/core/libsasl/PKGBUILD
@@ -1,26 +1,28 @@
-# $Id: PKGBUILD 5269 2008-07-14 11:33:26Z pierre $
+# $Id: PKGBUILD 96213 2010-10-19 11:41:43Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libsasl
-pkgver=2.1.22
-pkgrel=7
+pkgver=2.1.23
+pkgrel=5
pkgdesc="Cyrus Simple Authentication Service Layer (SASL) library"
-arch=(i686 x86_64)
-url="http://asg.web.cmu.edu/cyrus/download/"
+arch=('i686' 'x86_64')
+url="http://cyrusimap.web.cmu.edu/downloads.html#sasl"
license=('custom')
-depends=('db>=4.7')
-install=libsasl.install
+depends=('db>=4.8')
+optdepends=('cyrus-sasl: saslauthd'
+ 'cyrus-sasl-plugins: authentication plugins other than sasldb')
source=(ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-${pkgver}.tar.gz
- cyrus-sasl-2.1.19-checkpw.c.patch db-4.7.patch)
-md5sums=('45dde9d19193ae9dd388eb68b2027bc9'
- 'e27ddff076342e7a3041c4759817d04b'
- '71a3b7454f4d7cc2966b347bdf03f2fc')
+ cyrus-sasl-2.1.19-checkpw.c.patch
+ cyrus-sasl-db.patch)
options=('!makeflags')
+md5sums=('2eb0e48106f0e9cd8001e654f267ecbc'
+ 'e27ddff076342e7a3041c4759817d04b'
+ '0658201497aad359c0d66b0ab8032859')
build() {
- cd ${srcdir}/cyrus-sasl-${pkgver}
- patch -Np0 -i ${srcdir}/cyrus-sasl-2.1.19-checkpw.c.patch || return 1
- patch -Np0 -i ${srcdir}/db-4.7.patch || return 1
+ cd "${srcdir}/cyrus-sasl-${pkgver}"
+ patch -Np0 -i ${srcdir}/cyrus-sasl-2.1.19-checkpw.c.patch
+ patch -Np1 -i ${srcdir}/cyrus-sasl-db.patch
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
@@ -30,14 +32,23 @@ build() {
--disable-gssapi \
--enable-login \
--disable-otp \
- --enable-plain
+ --enable-plain \
+ --mandir=/usr/share/man
+ for dir in include lib sasldb plugins utils; do
+ pushd ${dir}
+ make
+ popd
+ done
+}
+
+package() {
+ cd "${srcdir}/cyrus-sasl-${pkgver}"
for dir in include lib sasldb plugins utils; do
pushd ${dir} || return 1
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
+ make DESTDIR="${pkgdir}" install
popd
done
# install license
- install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING || return 1
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}