diff options
Diffstat (limited to 'extra/cyrus-sasl/Pkgfile')
-rw-r--r-- | extra/cyrus-sasl/Pkgfile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/cyrus-sasl/Pkgfile b/extra/cyrus-sasl/Pkgfile new file mode 100644 index 000000000..7534a428c --- /dev/null +++ b/extra/cyrus-sasl/Pkgfile @@ -0,0 +1,26 @@ +# 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.23 +release=2 +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 + make + make DESTDIR=$PKG install + install -v -m700 -d $PKG/var/lib/sasl $PKG/var/run/saslauthd +} + |