2006-02-23 15:26:10 +00:00
|
|
|
# Description: Simple Authentication and Security Layer
|
2019-04-07 21:27:59 +10:00
|
|
|
# URL: https://www.cyrusimap.org/sasl/
|
2011-09-15 22:20:02 +02:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2012-10-19 11:59:21 +09:00
|
|
|
# Depends on: db openssl
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=cyrus-sasl
|
2019-05-19 22:33:17 +02:00
|
|
|
version=2.1.27
|
|
|
|
release=1
|
|
|
|
source=(https://www.cyrusimap.org/releases/$name-$version.tar.gz saslauthd)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build(){
|
2014-07-16 13:32:37 +02:00
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc/sasl \
|
|
|
|
--with-plugindir=/usr/lib/sasl2 \
|
|
|
|
--with-saslauthd=/var/sasl/saslauthd \
|
|
|
|
--with-dbpath=/etc/sasl/sasldb2 \
|
|
|
|
--with-dblib=berkeley \
|
|
|
|
--with-bdb-incdir=/usr/include \
|
|
|
|
--with-bdb-libdir=/usr/lib \
|
|
|
|
--with-openssl=/usr \
|
|
|
|
--enable-login \
|
|
|
|
--enable-cram \
|
|
|
|
--enable-digest \
|
2017-08-20 23:03:15 +02:00
|
|
|
--enable-shared
|
2014-07-16 13:32:37 +02:00
|
|
|
|
2019-05-19 22:33:17 +02:00
|
|
|
make
|
2014-07-16 13:32:37 +02:00
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
mkdir -p \
|
|
|
|
$PKG/usr/lib/sasl2 \
|
|
|
|
$PKG/var/sasl/saslauthd \
|
|
|
|
$PKG/etc/rc.d
|
|
|
|
|
|
|
|
install -m 755 $SRC/saslauthd $PKG/etc/rc.d
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|