2006-02-23 15:26:10 +00:00
|
|
|
|
# Description: Simple Authentication and Security Layer
|
|
|
|
|
# URL: http://asg.web.cmu.edu/sasl/sasl-library.html
|
|
|
|
|
# Maintainer: Simon Glo<6C>ner, viper at hometux dot de
|
|
|
|
|
# Packager: Daniel Mueller, daniel at danm dot de
|
|
|
|
|
# Depends on: db, openssl
|
|
|
|
|
|
|
|
|
|
name=cyrus-sasl
|
2006-05-22 12:57:07 +00:00
|
|
|
|
version=2.1.22
|
2006-12-16 13:24:00 +01:00
|
|
|
|
release=2
|
2007-11-04 13:38:46 +01:00
|
|
|
|
source=(ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$name-$version.tar.gz \
|
2006-03-20 14:27:53 +00:00
|
|
|
|
$name-$version-crypt.patch \
|
2006-02-23 15:26:10 +00:00
|
|
|
|
saslauthd)
|
|
|
|
|
|
|
|
|
|
build(){
|
|
|
|
|
cd $name-$version
|
|
|
|
|
|
2006-03-20 14:27:53 +00:00
|
|
|
|
# fix the crypt function
|
2006-04-18 20:47:35 +00:00
|
|
|
|
patch -p1 < $SRC/$name-$version-crypt.patch
|
2006-02-23 15:26:10 +00: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 \
|
|
|
|
|
--enable-shared
|
2008-04-02 17:46:40 +02:00
|
|
|
|
make -j 1
|
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
|
|
|
|
|
2006-12-16 13:24:00 +01:00
|
|
|
|
install -m 644 saslauthd/saslauthd.mdoc $PKG/usr/man/man8/saslauthd.8
|
2006-02-23 15:26:10 +00:00
|
|
|
|
install -m 755 $SRC/saslauthd $PKG/etc/rc.d
|
|
|
|
|
}
|