From owner-svn-ports-all@FreeBSD.ORG Tue Mar 24 17:38:36 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0AD7C5E1; Tue, 24 Mar 2015 17:38:36 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DF1CBAE9; Tue, 24 Mar 2015 17:38:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2OHcZte092787; Tue, 24 Mar 2015 17:38:35 GMT (envelope-from adamw@FreeBSD.org) Received: (from adamw@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2OHcYnp092783; Tue, 24 Mar 2015 17:38:34 GMT (envelope-from adamw@FreeBSD.org) Message-Id: <201503241738.t2OHcYnp092783@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: adamw set sender to adamw@FreeBSD.org using -f From: Adam Weinberger Date: Tue, 24 Mar 2015 17:38:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r382128 - in head/mail/dovecot2: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 17:38:36 -0000 Author: adamw Date: Tue Mar 24 17:38:34 2015 New Revision: 382128 URL: https://svnweb.freebsd.org/changeset/ports/382128 QAT: https://qat.redports.org/buildarchive/r382128/ Log: Move the sample configuration files into ETCDIR. After talking more with Rozhuk Ivan (submitter of 198792, see r381930), the sample configuration files don't belong in DOCSDIR, and they really don't belong underneath an OPTION that many people have disabled by default. I still don't think that they're good candidates for @sample, but they make more sense living in ETCDIR. While here, shuffle around a few other docs/examples files. PORTREVISION bump for the plist changes. PR: 198792 Submitted by: Rozhuk Ivan Modified: head/mail/dovecot2/Makefile head/mail/dovecot2/files/pkg-message.in head/mail/dovecot2/pkg-plist Modified: head/mail/dovecot2/Makefile ============================================================================== --- head/mail/dovecot2/Makefile Tue Mar 24 17:29:47 2015 (r382127) +++ head/mail/dovecot2/Makefile Tue Mar 24 17:38:34 2015 (r382128) @@ -3,6 +3,7 @@ PORTNAME= dovecot PORTVERSION= 2.2.16 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= http://www.dovecot.org/releases/${PORTVERSION:R}/ PKGNAMESUFFIX= 2 @@ -128,11 +129,15 @@ post-patch: ${WRKSRC}/doc/example-config/*.conf ${WRKSRC}/doc/example-config/conf.d/* @${REINPLACE_CMD} -e '/^LIBS =/s/$$/ @LTLIBICONV@/' \ ${WRKSRC}/src/lib-mail/Makefile.in + # Install the sample config files into ETCDIR/example-config/ + @${REINPLACE_CMD} -e '/^exampledir =/s|\$$(docdir)|${ETCDIR}|' \ + ${WRKSRC}/doc/example-config/Makefile.in \ + ${WRKSRC}/doc/example-config/conf.d/Makefile.in post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/dovecot-openssl.cnf ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh ${STAGEDIR}${EXAMPLESDIR} + ${MV} ${STAGEDIR}${DOCSDIR}/dovecot-openssl.cnf ${STAGEDIR}${EXAMPLESDIR} + ${MV} ${STAGEDIR}${DOCSDIR}/mkcert.sh ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}) .include Modified: head/mail/dovecot2/files/pkg-message.in ============================================================================== --- head/mail/dovecot2/files/pkg-message.in Tue Mar 24 17:29:47 2015 (r382127) +++ head/mail/dovecot2/files/pkg-message.in Tue Mar 24 17:38:34 2015 (r382128) @@ -3,7 +3,7 @@ You must create the configuration files yourself. Copy them over to %%ETCDIR%% and edit them as desired: - cp -R %%DOCSDIR%%/example-config \ + cp -R %%ETCDIR%%/example-config/* \ %%ETCDIR%% The default configuration includes IMAP and POP3 services, will Modified: head/mail/dovecot2/pkg-plist ============================================================================== --- head/mail/dovecot2/pkg-plist Tue Mar 24 17:29:47 2015 (r382127) +++ head/mail/dovecot2/pkg-plist Tue Mar 24 17:38:34 2015 (r382128) @@ -1,6 +1,36 @@ bin/doveadm bin/doveconf bin/dsync +%%ETCDIR%%/example-config/conf.d/10-auth.conf +%%ETCDIR%%/example-config/conf.d/10-director.conf +%%ETCDIR%%/example-config/conf.d/10-logging.conf +%%ETCDIR%%/example-config/conf.d/10-mail.conf +%%ETCDIR%%/example-config/conf.d/10-master.conf +%%ETCDIR%%/example-config/conf.d/10-ssl.conf +%%ETCDIR%%/example-config/conf.d/15-lda.conf +%%ETCDIR%%/example-config/conf.d/15-mailboxes.conf +%%ETCDIR%%/example-config/conf.d/20-imap.conf +%%ETCDIR%%/example-config/conf.d/20-lmtp.conf +%%ETCDIR%%/example-config/conf.d/20-pop3.conf +%%ETCDIR%%/example-config/conf.d/90-acl.conf +%%ETCDIR%%/example-config/conf.d/90-plugin.conf +%%ETCDIR%%/example-config/conf.d/90-quota.conf +%%ETCDIR%%/example-config/conf.d/auth-checkpassword.conf.ext +%%ETCDIR%%/example-config/conf.d/auth-deny.conf.ext +%%ETCDIR%%/example-config/conf.d/auth-dict.conf.ext +%%ETCDIR%%/example-config/conf.d/auth-ldap.conf.ext +%%ETCDIR%%/example-config/conf.d/auth-master.conf.ext +%%ETCDIR%%/example-config/conf.d/auth-passwdfile.conf.ext +%%ETCDIR%%/example-config/conf.d/auth-sql.conf.ext +%%ETCDIR%%/example-config/conf.d/auth-static.conf.ext +%%ETCDIR%%/example-config/conf.d/auth-system.conf.ext +%%ETCDIR%%/example-config/conf.d/auth-vpopmail.conf.ext +%%ETCDIR%%/example-config/dovecot-dict-auth.conf.ext +%%ETCDIR%%/example-config/dovecot-dict-sql.conf.ext +%%ETCDIR%%/example-config/dovecot-ldap.conf.ext +%%ETCDIR%%/example-config/dovecot-sql.conf.ext +%%ETCDIR%%/example-config/dovecot.conf +%%ETCDIR%%/README include/dovecot/abspath.h include/dovecot/access-lookup.h include/dovecot/anvil-client.h @@ -615,7 +645,6 @@ man/man1/dsync.1.gz man/man7/doveadm-search-query.7.gz sbin/dovecot share/aclocal/dovecot.m4 -%%PORTDOCS%%%%ETCDIR%%/README %%LIBWRAP%%libexec/dovecot/tcpwrap %%LUCENE%%lib/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.a %%LUCENE%%lib/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.so