- provide @sample saslauthd.conf for saslauthd LDAP auth
- also add LDAP_SASLAUTHD doc
This commit is contained in:
parent
3547cc62aa
commit
6fb3bea15a
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.43 2007/10/25 21:05:33 steven Exp $
|
||||
# $OpenBSD: Makefile,v 1.44 2008/03/15 12:50:46 ajacoutot Exp $
|
||||
|
||||
COMMENT= RFC 2222 SASL (Simple Authentication and Security Layer)
|
||||
|
||||
DISTNAME= cyrus-sasl-2.1.22
|
||||
PKGNAME= ${DISTNAME}p2
|
||||
PKGNAME= ${DISTNAME}p3
|
||||
SHARED_LIBS= anonymous 2.22 \
|
||||
crammd5 2.22 \
|
||||
digestmd5 2.22 \
|
||||
@ -112,7 +112,8 @@ CONFIGURE_ARGS+=--enable-sql \
|
||||
|
||||
pre-configure:
|
||||
@perl -pi -e "s,/usr/local/etc,${SYSCONFDIR},g" \
|
||||
${WRKSRC}/saslauthd/saslauthd.mdoc
|
||||
${WRKSRC}/saslauthd/saslauthd.mdoc \
|
||||
${WRKSRC}/saslauthd/LDAP_SASLAUTHD
|
||||
|
||||
post-build:
|
||||
cd ${WRKBUILD}/saslauthd; \
|
||||
@ -123,10 +124,16 @@ post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sasl2
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/{*.html,*.txt} ${PREFIX}/share/doc/sasl2
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/saslauthd/testsaslauthd ${PREFIX}/sbin
|
||||
.if ${FLAVOR:L:Mmysql} || ${FLAVOR:L:Mpgsql} || ${FLAVOR:L:Msqlite}
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sasl2
|
||||
.if ${FLAVOR:L:Mmysql} || ${FLAVOR:L:Mpgsql} || ${FLAVOR:L:Msqlite}
|
||||
${INSTALL_DATA} ${FILESDIR}/Sendmail.conf-sql \
|
||||
${PREFIX}/share/examples/sasl2
|
||||
.endif
|
||||
.if ${FLAVOR:L:Mldap}
|
||||
${INSTALL_DATA} ${WRKSRC}/saslauthd/LDAP_SASLAUTHD \
|
||||
${PREFIX}/share/doc/sasl2
|
||||
sed -e 's,!!PREFIX!!,${TRUEPREFIX},g' ${FILESDIR}/saslauthd.conf > \
|
||||
${PREFIX}/share/examples/sasl2/saslauthd.conf
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
15
security/cyrus-sasl2/files/saslauthd.conf
Normal file
15
security/cyrus-sasl2/files/saslauthd.conf
Normal file
@ -0,0 +1,15 @@
|
||||
# $OpenBSD: saslauthd.conf,v 1.1 2008/03/15 12:50:46 ajacoutot Exp $
|
||||
|
||||
# auth_ldap authentication/authorization module for saslauthd
|
||||
# see !!PREFIX!!/share/doc/sasl2/LDAP_SASLAUTHD for details
|
||||
|
||||
# ldap_bind_dn:
|
||||
# ldap_bind_pw:
|
||||
|
||||
ldap_servers: ldap://ldap1.domain.tld/ ldap://ldap2.domain.tld/
|
||||
ldap_search_base: dc=domain,dc=tld
|
||||
ldap_filter: uid=%u
|
||||
ldap_start_tls: no
|
||||
ldap_use_sasl: no
|
||||
ldap_version: 3
|
||||
ldap_scope: sub
|
6
security/cyrus-sasl2/pkg/PFRAG.ldap
Normal file
6
security/cyrus-sasl2/pkg/PFRAG.ldap
Normal file
@ -0,0 +1,6 @@
|
||||
@comment $OpenBSD: PFRAG.ldap,v 1.1 2008/03/15 12:50:46 ajacoutot Exp $
|
||||
share/doc/sasl2/LDAP_SASLAUTHD
|
||||
share/examples/sasl2/saslauthd.conf
|
||||
@mode 640
|
||||
@sample ${SYSCONFDIR}/saslauthd.conf
|
||||
@mode
|
@ -1,6 +1,5 @@
|
||||
@comment $OpenBSD: PFRAG.sql,v 1.6 2007/07/25 16:25:57 ajacoutot Exp $
|
||||
@comment $OpenBSD: PFRAG.sql,v 1.7 2008/03/15 12:50:46 ajacoutot Exp $
|
||||
%%SHARED%%
|
||||
lib/sasl2/libsql.a
|
||||
lib/sasl2/libsql.la
|
||||
share/examples/sasl2/
|
||||
share/examples/sasl2/Sendmail.conf-sql
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.16 2007/07/07 15:03:35 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.17 2008/03/15 12:50:46 ajacoutot Exp $
|
||||
@conflict cyrus-sasl-*
|
||||
include/sasl/
|
||||
include/sasl/hmac-md5.h
|
||||
@ -122,6 +122,8 @@ share/doc/sasl2/sysadmin.html
|
||||
share/doc/sasl2/testing.txt
|
||||
share/doc/sasl2/upgrading.html
|
||||
share/doc/sasl2/windows.html
|
||||
share/examples/sasl2/
|
||||
%%ldap%%
|
||||
%%sql%%
|
||||
%%SHARED%%
|
||||
@sample /var/sasl2/
|
||||
|
Loading…
Reference in New Issue
Block a user