- add a sample Sendmail.conf-sql for Sendmail authentication (*sql FLAVORS only)
based on a bigger diff by Mike Erdely <mike at erdelynet dot com>
This commit is contained in:
parent
eec4380de4
commit
79b1a483cd
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.41 2007/07/07 15:03:35 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.42 2007/07/25 16:25:57 ajacoutot Exp $
|
||||
|
||||
COMMENT= RFC 2222 SASL (Simple Authentication and Security Layer)
|
||||
|
||||
DISTNAME= cyrus-sasl-2.1.22
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
SHARED_LIBS= anonymous 2.22 \
|
||||
crammd5 2.22 \
|
||||
digestmd5 2.22 \
|
||||
@ -123,5 +123,10 @@ 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
|
||||
${INSTALL_DATA} ${FILESDIR}/Sendmail.conf-sql \
|
||||
${PREFIX}/share/examples/sasl2
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
12
security/cyrus-sasl2/files/Sendmail.conf-sql
Normal file
12
security/cyrus-sasl2/files/Sendmail.conf-sql
Normal file
@ -0,0 +1,12 @@
|
||||
# $OpenBSD: Sendmail.conf-sql,v 1.1 2007/07/25 16:25:57 ajacoutot Exp $
|
||||
|
||||
pwcheck_method: auxprop
|
||||
auxprop_plugin: sql
|
||||
sql_engine: mysql # or pgsql, sqlite
|
||||
mech_list: plain login cram-md5 digest-md5
|
||||
sql_hostnames: localhost
|
||||
sql_user: sql_user
|
||||
sql_passwd: sql_pass
|
||||
sql_database: sql_db
|
||||
sql_verbose: yes
|
||||
sql_select: SELECT passwd FROM users WHERE login='%u@%r'
|
@ -1,4 +1,6 @@
|
||||
@comment $OpenBSD: PFRAG.sql,v 1.5 2007/06/18 12:31:20 ajacoutot Exp $
|
||||
@comment $OpenBSD: PFRAG.sql,v 1.6 2007/07/25 16:25:57 ajacoutot Exp $
|
||||
%%SHARED%%
|
||||
lib/sasl2/libsql.a
|
||||
lib/sasl2/libsql.la
|
||||
share/examples/sasl2/
|
||||
share/examples/sasl2/Sendmail.conf-sql
|
||||
|
Loading…
Reference in New Issue
Block a user