summaryrefslogtreecommitdiffstats
path: root/cyrus-sasl/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'cyrus-sasl/Pkgfile')
-rw-r--r--cyrus-sasl/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/cyrus-sasl/Pkgfile b/cyrus-sasl/Pkgfile
new file mode 100644
index 000000000..646116176
--- /dev/null
+++ b/cyrus-sasl/Pkgfile
@@ -0,0 +1,27 @@
+# Description: Système d'identification et couche de sécurité
+# URL: http://asg.web.cmu.edu/cyrus/download/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+
+name=cyrus-sasl
+version=2.1.25
+release=1
+source=(http://ftp.andrew.cmu.edu/pub/cyrus-mail/$name-$version.tar.gz)
+
+build() {
+ cd $name-$version
+
+# 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 \
+ --disable-gssapi
+ make
+ make DESTDIR=$PKG install
+ install -v -m700 -d $PKG/var/lib/sasl $PKG/var/run/saslauthd
+}
+