1 pkgname=giengerldap_auxprop
5 pkgdesc="ldap auth for SVN"
7 url="http://southbrain.com/south/2008/06/writing-a-cyrus-sasl-ldap-auxp.html"
12 source=(http://southbrain.com/software/ldap_auxprop/giengerldap_auxprop-$pkgver.tar.gz \
13 ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-${_cyrus_sasl_ver}.tar.gz)
14 md5sums=('636e8261198ea69372058e858fc496e9'
15 '2eb0e48106f0e9cd8001e654f267ecbc')
18 cd "$srcdir/cyrus-sasl-${_cyrus_sasl_ver}"
20 sed -i 's|#elif WITH_DES|#elif defined WITH_DES|' plugins/digestmd5.c
22 [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr --with-ldap=/usr --with-saslauthd=/var/run/saslauthd --with-des=/usr
25 cd "$srcdir/giengerldap-$pkgver"
27 sed -i "s#CYRUSSASLPATH=.*#CYRUSSASLPATH=$srcdir/cyrus-sasl-${_cyrus_sasl_ver}#" compile
29 patch -p0 giengerldap.c <<EOF
31 > char *_at = strchr(username, '@');
39 ./compile && make plugindir=$pkgdir/usr/lib/sasl2 install