- add sasldb and ldapdb auxprop plugins

from Pedro Almeida <palmeida at securenetworks dot pt>
This commit is contained in:
ajacoutot 2008-05-14 07:38:42 +00:00
parent 4129b57628
commit 343de25039
4 changed files with 24 additions and 6 deletions

View File

@ -1,13 +1,14 @@
# $OpenBSD: Makefile,v 1.44 2008/03/15 12:50:46 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.45 2008/05/14 07:38:42 ajacoutot Exp $
COMMENT= RFC 2222 SASL (Simple Authentication and Security Layer)
DISTNAME= cyrus-sasl-2.1.22
PKGNAME= ${DISTNAME}p3
PKGNAME= ${DISTNAME}p4
SHARED_LIBS= anonymous 2.22 \
crammd5 2.22 \
digestmd5 2.22 \
gssapiv2 2.22 \
ldapdb 2.22 \
login 2.22 \
ntlm 2.22 \
otp 2.22 \
@ -44,6 +45,7 @@ CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
--enable-login \
--enable-static \
--enable-ntlm \
--enable-auth-sasldb \
--disable-sample
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/config ${WRKSRC}/saslauthd/config
@ -66,8 +68,10 @@ CONFIGURE_ARGS+=--with-dblib=ndbm \
.endif
.if ${FLAVOR:L:Mldap}
WANTLIB+= ssl
LIB_DEPENDS+= ldap.>=2,lber:openldap-client-2.*:databases/openldap
CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} \
--enable-ldapdb
.else
CONFIGURE_ARGS+=--without-ldap
.endif

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-saslauthd_configure,v 1.12 2007/06/18 12:31:20 ajacoutot Exp $
$OpenBSD: patch-saslauthd_configure,v 1.13 2008/05/14 07:38:42 ajacoutot Exp $
--- saslauthd/configure.orig Thu May 18 21:30:20 2006
+++ saslauthd/configure Fri Jun 1 08:49:08 2007
+++ saslauthd/configure Wed May 14 09:18:39 2008
@@ -753,10 +753,10 @@ ac_env_CC_set=${CC+set}
ac_env_CC_value=$CC
ac_cv_env_CC_set=${CC+set}
@ -124,6 +124,15 @@ $OpenBSD: patch-saslauthd_configure,v 1.12 2007/06/18 12:31:20 ajacoutot Exp $
fi
SASL_MECHS="$SASL_MECHS libgssapiv2.la"
@@ -9427,7 +9430,7 @@ fi
- SASL_DB_LIB="$SASL_DB_LIB ../sasldb/.libs/libsasldb.al"
+ SASL_DB_LIB="$SASL_DB_LIB ../sasldb/.libs/libsasldb.a"
fi
# Check whether --enable-httpform or --disable-httpform was given.
@@ -9704,7 +9707,7 @@ if test "${ac_cv_lib_resolv_inet_aton+set}" = set; the
echo $ECHO_N "(cached) $ECHO_C" >&6
else

View File

@ -1,4 +1,7 @@
@comment $OpenBSD: PFRAG.ldap,v 1.1 2008/03/15 12:50:46 ajacoutot Exp $
@comment $OpenBSD: PFRAG.ldap,v 1.2 2008/05/14 07:38:42 ajacoutot Exp $
%%SHARED%%
lib/sasl2/libldapdb.a
lib/sasl2/libldapdb.la
share/doc/sasl2/LDAP_SASLAUTHD
share/examples/sasl2/saslauthd.conf
@mode 640

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared-ldap,v 1.1 2008/05/14 07:38:42 ajacoutot Exp $
@lib lib/sasl2/libldapdb.so.${LIBldapdb_VERSION}