2006-02-23 15:26:10 +00:00
|
|
|
# Description: Simple Authentication and Security Layer
|
2011-09-15 22:20:02 +02:00
|
|
|
# URL: http://asg.web.cmu.edu/sasl/sasl-library.html
|
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
|
|
# Packager: Daniel Mueller, daniel at danm dot de
|
2006-02-23 15:26:10 +00:00
|
|
|
# Depends on: db, openssl
|
|
|
|
|
|
|
|
name=cyrus-sasl
|
2011-09-15 22:20:02 +02:00
|
|
|
version=2.1.25
|
|
|
|
release=1
|
|
|
|
source=(ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$name-$version.tar.gz saslauthd)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build(){
|
|
|
|
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 \
|
2011-09-15 22:20:02 +02:00
|
|
|
--enable-login \
|
|
|
|
--enable-cram \
|
|
|
|
--enable-digest \
|
|
|
|
--enable-shared \
|
|
|
|
--mandir=/usr/man
|
|
|
|
|
2011-11-10 17:50:00 +01:00
|
|
|
make -j1
|
2006-02-23 15:26:10 +00:00
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
mkdir -p \
|
|
|
|
$PKG/usr/lib/sasl2 \
|
|
|
|
$PKG/var/sasl/saslauthd \
|
2006-12-16 13:24:00 +01:00
|
|
|
$PKG/etc/rc.d
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
install -m 755 $SRC/saslauthd $PKG/etc/rc.d
|
|
|
|
}
|