add example config files.

This commit is contained in:
brad 2005-07-23 20:38:17 +00:00
parent f4369d8921
commit 38a809902d
4 changed files with 15 additions and 3 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.17 2005/07/23 19:34:22 brad Exp $
# $OpenBSD: Makefile,v 1.18 2005/07/23 20:38:17 brad Exp $
COMMENT= "compact IMAP/POP3 server"
DISTNAME= dovecot-0.99.14
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= mail
MASTER_SITES= ${HOMEPAGE}releases/
@ -27,11 +27,13 @@ FLAVOR?=
CONFIGURE_ARGS+= --with-mysql
LIB_DEPENDS+= lib/mysql/mysqlclient.10::databases/mysql
WANTLIB+= m z
CONF_FILE+= dovecot-mysql.conf
.endif
.if ${FLAVOR:L:Mpostgresql}
CONFIGURE_ARGS+= --with-pgsql
LIB_DEPENDS+= pq.4::databases/postgresql
CONF_FILE+= dovecot-pgsql.conf
.endif
CONFIGURE_STYLE= autoconf
@ -48,6 +50,10 @@ post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dovecot
${INSTALL_DATA} ${WRKSRC}/doc/dovecot-openssl.cnf \
${WRKSRC}/dovecot-example.conf ${PREFIX}/share/examples/dovecot
.if defined(CONF_FILE) && !empty(CONF_FILE)
cd ${WRKSRC}/doc; ${INSTALL_DATA} ${CONF_FILE} \
${PREFIX}/share/examples/dovecot
.endif
${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh \
${PREFIX}/sbin/dovecot-mkcert.sh

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.mysql,v 1.1 2005/07/23 20:38:17 brad Exp $
share/examples/dovecot/dovecot-mysql.conf

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.postgresql,v 1.1 2005/07/23 20:38:17 brad Exp $
share/examples/dovecot/dovecot-pgsql.conf

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.8 2005/02/12 12:17:07 brad Exp $
@comment $OpenBSD: PLIST,v 1.9 2005/07/23 20:38:17 brad Exp $
@newgroup _dovecot:518
@newuser _dovecot:518:_dovecot:daemon:Dovecot Account:/nonexistent:/sbin/nologin
libexec/dovecot/
@ -21,6 +21,8 @@ share/doc/dovecot/nfs.txt
share/doc/dovecot/securecoding.txt
share/examples/dovecot/
share/examples/dovecot/dovecot-example.conf
%%mysql%%
%%postgresql%%
@sample ${SYSCONFDIR}/dovecot.conf
share/examples/dovecot/dovecot-openssl.cnf
@sample ${SYSCONFDIR}/ssl/dovecot-openssl.cnf