summaryrefslogtreecommitdiffstats
path: root/base/cyrus-sasl/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-02-20 12:10:23 +0100
committersibel <lesibel@free.fr>2011-02-20 12:10:23 +0100
commit2828c139afda449eaf72e55fc8536a3a56823daf (patch)
treef6184b0c440e8d461f2aad28c49e8c4791a076ea /base/cyrus-sasl/Pkgfile
parent77d065cc7715c29f1313042f900eebb285c8b570 (diff)
downloadnutyx-pakxe-2828c139afda449eaf72e55fc8536a3a56823daf.tar.gz
nutyx-pakxe-2828c139afda449eaf72e55fc8536a3a56823daf.tar.bz2
nutyx-pakxe-2828c139afda449eaf72e55fc8536a3a56823daf.tar.xz
nutyx-pakxe-2828c139afda449eaf72e55fc8536a3a56823daf.zip
cyrus-sasl, corrections
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
}
-
+