2016-02-24 01:27:23 +01:00
|
|
|
# Description: Cyrus saslauthd SASL authentication daemon
|
|
|
|
# URL: http://cyrusimap.org/
|
2017-01-30 23:55:06 +01:00
|
|
|
# Packager: milisarge
|
|
|
|
# Depends on: db
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
name=cyrus-sasl
|
|
|
|
version=2.1.26
|
|
|
|
release=1
|
|
|
|
source=(ftp://ftp.cyrusimap.org/cyrus-sasl/$name-$version.tar.gz
|
|
|
|
http://www.linuxfromscratch.org/patches/blfs/svn/cyrus-sasl-$version-fixes-3.patch)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
patch -Np1 -i ../cyrus-sasl-$version-fixes-3.patch
|
2017-01-30 23:55:06 +01:00
|
|
|
autoreconf -fi
|
2016-02-24 01:27:23 +01:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
--enable-auth-sasldb \
|
|
|
|
--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
|
|
|
|
}
|