diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
commit | b70981b68efcce5256eb11c6cd26ae123b10b6ea (patch) | |
tree | a38be6efae5e2ba15c2e839504632f9b7bfd5f91 /main/cyrus-sasl/APKBUILD | |
parent | 2b4df81538b8398442d5296650905c70341dd8d3 (diff) | |
download | aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.bz2 aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.xz |
moved extra/* to main/
and fixed misc build issues
Diffstat (limited to 'main/cyrus-sasl/APKBUILD')
-rw-r--r-- | main/cyrus-sasl/APKBUILD | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/main/cyrus-sasl/APKBUILD b/main/cyrus-sasl/APKBUILD new file mode 100644 index 0000000000..4e9075769a --- /dev/null +++ b/main/cyrus-sasl/APKBUILD @@ -0,0 +1,55 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=cyrus-sasl +pkgver=2.1.23 +pkgrel=0 +pkgdesc="Cyrus Simple Authentication Service Layer (SASL)" +url="http://cyrusimap.web.cmu.edu/downloads.html#sasl" +license="custom" +subpackages="$pkgname-dev $pkgname-doc libsasl" +depends="db openssl uclibc libsasl" +makedepends="db-dev openssl-dev" +#install=libsasl.install +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" + +build () +{ + cd "$srcdir"/cyrus-sasl-$pkgver + for i in ../*.patch; do + msg "Applying $i..." + patch -p0 -i $i || return 1 + done + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-anon \ + --disable-cram \ + --disable-digest \ + --disable-gssapi \ + --enable-login \ + --disable-otp \ + --enable-plain \ + --with-devrandom=/dev/urandom \ + --mandir=/usr/share/man + + make -j1 || return 1 + make -j1 DESTDIR="$pkgdir" install || return 1 + install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING + + install -Dm755 ../saslauthd.initd "$pkgdir"/etc/init.d/saslauthd +} + +libsasl() { + depends="uclibc db" + pkgdesc="Cyrus Simple Authentication and Security Layer (SASL) library" + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/lib "$subpkgdir"/usr/ +} + +md5sums="2eb0e48106f0e9cd8001e654f267ecbc cyrus-sasl-2.1.23.tar.gz +9045c1b9c79a6ae0727b31e602d098ad saslauthd.initd +e27ddff076342e7a3041c4759817d04b cyrus-sasl-2.1.19-checkpw.c.patch +71a3b7454f4d7cc2966b347bdf03f2fc db-4.7.patch" |