summaryrefslogtreecommitdiffstats
path: root/base/cyrus-sasl/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/cyrus-sasl/Pkgfile')
-rw-r--r--base/cyrus-sasl/Pkgfile21
1 files changed, 12 insertions, 9 deletions
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
}
-
+