From 2828c139afda449eaf72e55fc8536a3a56823daf Mon Sep 17 00:00:00 2001 From: sibel Date: Sun, 20 Feb 2011 12:10:23 +0100 Subject: cyrus-sasl, corrections --- base/cyrus-sasl/Pkgfile | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'base/cyrus-sasl/Pkgfile') diff --git a/base/cyrus-sasl/Pkgfile b/base/cyrus-sasl/Pkgfile index 7b9894fe2..7534a428c 100644 --- a/base/cyrus-sasl/Pkgfile +++ b/base/cyrus-sasl/Pkgfile @@ -5,19 +5,22 @@ name=cyrus-sasl version=2.1.23 -release=1 -source=( http://ftp.andrew.cmu.edu/pub/cyrus-mail/$name-$version.tar.gz\ - http://nutyx.meticul.eu/files/patchs/$name/gcc44-1.patch) +release=2 +source=( http://ftp.andrew.cmu.edu/pub/cyrus-mail/$name-$version.tar.gz) + build() { cd $name-$version -# patch -Np1 -i ../gcc44-1.patch - ./configure --prefix=/usr --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --with-dbpath=/var/lib/sasl/sasldb2 \ - --with-saslauthd=/var/run/saslauthd + sed -i.bak 's/#elif WITH_DES/#elif defined(WITH_DES)/' \ + plugins/digestmd5.c && + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --with-dbpath=/var/lib/sasl/sasldb2 \ + --with-saslauthd=/var/run/saslauthd make make DESTDIR=$PKG install install -v -m700 -d $PKG/var/lib/sasl $PKG/var/run/saslauthd } - + -- cgit v1.2.3-70-g09d2