2006-02-23 15:26:10 +00:00
|
|
|
# Description: Simple Authentication and Security Layer
|
2021-01-29 12:28:21 +00:00
|
|
|
# URL: https://www.cyrusimap.org/sasl/
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: db openssl linux-pam
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=cyrus-sasl
|
2019-05-19 22:33:17 +02:00
|
|
|
version=2.1.27
|
2020-05-27 22:07:01 +10:00
|
|
|
release=2
|
|
|
|
source=(https://github.com/cyrusimap/$name/releases/download/$name-$version/$name-$version.tar.gz
|
2021-01-29 12:28:21 +00:00
|
|
|
saslauthd cyrus-sasl-2.1.27-CVE-2019-19906.patch)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2020-05-27 22:07:01 +10:00
|
|
|
build() {
|
2014-07-16 13:32:37 +02:00
|
|
|
cd $name-$version
|
|
|
|
|
2020-05-27 22:07:01 +10:00
|
|
|
patch -p1 -i $SRC/cyrus-sasl-2.1.27-CVE-2019-19906.patch
|
|
|
|
|
2014-07-16 13:32:37 +02:00
|
|
|
./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
|
|
|
|
2020-05-27 22:07:01 +10:00
|
|
|
make CFLAGS="$CFLAGS -fPIC"
|
2014-07-16 13:32:37 +02:00
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2020-05-27 22:07:01 +10:00
|
|
|
install -d \
|
2014-07-16 13:32:37 +02:00
|
|
|
$PKG/usr/lib/sasl2 \
|
|
|
|
$PKG/var/sasl/saslauthd \
|
|
|
|
|
2020-05-27 22:07:01 +10:00
|
|
|
install -Dm 755 $SRC/saslauthd $PKG/etc/rc.d/saslauthd
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|