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

Generated by cgit