summaryrefslogtreecommitdiff
path: root/cyrus-sasl/Pkgfile
blob: 795c06fe8e39b0ddd8fec7abab323c7f05238ca9 (plain)
    1 # Description: Simple Authentication and Security Layer
    2 # URL: https://www.cyrusimap.org/sasl/
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: db openssl linux-pam
    5 
    6 name=cyrus-sasl
    7 version=2.1.28
    8 release=1
    9 source=(https://github.com/cyrusimap/$name/releases/download/$name-$version/$name-$version.tar.gz
   10   saslauthd)
   11 
   12 build() {
   13   cd $name-$version
   14 
   15   ./configure \
   16       --prefix=/usr \
   17       --sysconfdir=/etc/sasl \
   18       --with-plugindir=/usr/lib/sasl2 \
   19       --with-saslauthd=/var/sasl/saslauthd \
   20       --with-dbpath=/etc/sasl/sasldb2 \
   21       --with-dblib=berkeley \
   22       --with-bdb-incdir=/usr/include \
   23       --with-bdb-libdir=/usr/lib \
   24       --with-openssl=/usr \
   25       --enable-login \
   26       --enable-cram \
   27       --enable-digest \
   28       --enable-shared
   29 
   30   make CFLAGS="$CFLAGS -fPIC"
   31   make DESTDIR=$PKG install
   32 
   33   install -d \
   34       $PKG/usr/lib/sasl2 \
   35       $PKG/var/sasl/saslauthd \
   36 
   37   install -Dm 755 $SRC/saslauthd $PKG/etc/rc.d/saslauthd
   38 }

Generated by cgit