diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-02-23 10:00:15 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-02-23 10:00:15 +0000 |
commit | 72aeba8167fe2d7a4a9422b565726e229bb36a45 (patch) | |
tree | bf8f410431cb6d21953ff02d2ebde0356f07890d /main/cyrus-sasl/APKBUILD | |
parent | 9aba8a06f2056b4bc3e3980bd49ac5e0476a5ba8 (diff) | |
download | aports-72aeba8167fe2d7a4a9422b565726e229bb36a45.tar.bz2 aports-72aeba8167fe2d7a4a9422b565726e229bb36a45.tar.xz |
main/cyrus-sasl: rebuild against db5
Diffstat (limited to 'main/cyrus-sasl/APKBUILD')
-rw-r--r-- | main/cyrus-sasl/APKBUILD | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/main/cyrus-sasl/APKBUILD b/main/cyrus-sasl/APKBUILD index be51170ce9..685964c5ac 100644 --- a/main/cyrus-sasl/APKBUILD +++ b/main/cyrus-sasl/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=cyrus-sasl pkgver=2.1.23 -pkgrel=6 +pkgrel=7 pkgdesc="Cyrus Simple Authentication Service Layer (SASL)" url="http://cyrusimap.web.cmu.edu/downloads.html#sasl" arch="all" @@ -12,16 +12,21 @@ makedepends="db-dev openssl-dev" source="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$pkgname-$pkgver.tar.gz saslauthd.initd cyrus-sasl-2.1.19-checkpw.c.patch - db-4.7.patch" + cyrus-sasl-2.1.23-db5-fix.patch + " -build () -{ - cd "$srcdir"/cyrus-sasl-$pkgver - for i in ../*.patch; do - msg "Applying $i..." - patch -p0 -i $i || return 1 +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac done +} +build() { + cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ @@ -56,4 +61,4 @@ libsasl() { md5sums="2eb0e48106f0e9cd8001e654f267ecbc cyrus-sasl-2.1.23.tar.gz ba499a13d8d08d1b97bb0d5cb0b01bcc saslauthd.initd e27ddff076342e7a3041c4759817d04b cyrus-sasl-2.1.19-checkpw.c.patch -71a3b7454f4d7cc2966b347bdf03f2fc db-4.7.patch" +b60db0033f61106f8eb7740fa12feba5 cyrus-sasl-2.1.23-db5-fix.patch" |