summaryrefslogtreecommitdiffstats
path: root/base/cyrus-sasl/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-02-20 12:20:49 +0100
committertnut <thierryn1 at hispeed dot ch>2011-02-20 12:20:49 +0100
commite62236e289a7748650ad543eb52cb5c20d8066dd (patch)
treeee73448666248adbd7b94f2ed6bd3958b3f707a9 /base/cyrus-sasl/Pkgfile
parent806904a861dca53505a4f387ef868e4ac21010b7 (diff)
parentadc4fa7a4eab64c22704c061975649db9e69f6ea (diff)
downloadnutyx-extra-e62236e289a7748650ad543eb52cb5c20d8066dd.tar.gz
nutyx-extra-e62236e289a7748650ad543eb52cb5c20d8066dd.tar.bz2
nutyx-extra-e62236e289a7748650ad543eb52cb5c20d8066dd.tar.xz
nutyx-extra-e62236e289a7748650ad543eb52cb5c20d8066dd.zip
Merge branch 'master' of ssh://kiao.no-ip.info:443/~/pakxe
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
}
-
+