From owner-svn-ports-head@freebsd.org Fri Oct 20 16:08:22 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4BA9AE39C3D; Fri, 20 Oct 2017 16:08:22 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 1ACF58110E; Fri, 20 Oct 2017 16:08:22 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9KG8LRZ030402; Fri, 20 Oct 2017 16:08:21 GMT (envelope-from adamw@FreeBSD.org) Received: (from adamw@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9KG8Lk0030400; Fri, 20 Oct 2017 16:08:21 GMT (envelope-from adamw@FreeBSD.org) Message-Id: <201710201608.v9KG8Lk0030400@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adamw set sender to adamw@FreeBSD.org using -f From: Adam Weinberger Date: Fri, 20 Oct 2017 16:08:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r452539 - head/mail/dovecot X-SVN-Group: ports-head X-SVN-Commit-Author: adamw X-SVN-Commit-Paths: head/mail/dovecot X-SVN-Commit-Revision: 452539 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Oct 2017 16:08:22 -0000 Author: adamw Date: Fri Oct 20 16:08:20 2017 New Revision: 452539 URL: https://svnweb.freebsd.org/changeset/ports/452539 Log: Force kqueue and libwrap support, and install license files I don't know any reason that the kqueue or libwrap options should be disabled, so remove them from OPTIONS and enable their functionality for everyone. Also, remove the :3 from USES=sqlite, because that happens anyway. Add the license files with LICENSE_FILE_*, rather than putting them in DOCSDIR. Sort plist. PORTREVISION bump for above changes. Modified: head/mail/dovecot/Makefile head/mail/dovecot/pkg-plist Modified: head/mail/dovecot/Makefile ============================================================================== --- head/mail/dovecot/Makefile Fri Oct 20 16:02:12 2017 (r452538) +++ head/mail/dovecot/Makefile Fri Oct 20 16:08:20 2017 (r452539) @@ -13,6 +13,7 @@ PORTNAME= dovecot PORTVERSION= 2.2.33.2 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= https://www.dovecot.org/releases/2.2/ @@ -21,6 +22,8 @@ COMMENT= Secure, fast and powerful IMAP and POP3 serve LICENSE= LGPL21 MIT LICENSE_COMB= dual +LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LGPL +LICENSE_FILE_MIT= ${WRKSRC}/COPYING.MIT USES= cpe iconv libtool ssl USE_RC_SUBR= dovecot @@ -30,7 +33,8 @@ CONFIGURE_ARGS= --localstatedir=/var \ --with-statedir=/var/db/dovecot \ --without-shadow \ --with-ssl=openssl \ - --with-docs + --with-docs \ + --with-libwrap USE_LDCONFIG= ${PREFIX}/lib/dovecot INSTALL_TARGET= install-strip @@ -38,8 +42,8 @@ INSTALL_TARGET= install-strip USERS= dovecot dovenull GROUPS= ${USERS} -OPTIONS_DEFINE= KQUEUE LIBWRAP LZ4 VPOPMAIL DOCS EXAMPLES -OPTIONS_DEFAULT=KQUEUE GSSAPI_NONE +OPTIONS_DEFINE= LZ4 VPOPMAIL DOCS EXAMPLES +OPTIONS_DEFAULT=GSSAPI_NONE OPTIONS_SUB= yes OPTIONS_GROUP= DB FTS @@ -49,7 +53,6 @@ OPTIONS_GROUP_FTS= ICU LUCENE SOLR TEXTCAT OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_NONE GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT -KQUEUE_DESC= kqueue(2) support LZ4_DESC= LZ4 compression support VPOPMAIL_DESC= vpopmail support @@ -68,11 +71,6 @@ GSSAPI_HEIMDAL_DESC= Use Heimdal GSSAPI from security/ GSSAPI_MIT_DESC= Use MIT GSSAPI from security/krb5 # General options -KQUEUE_CONFIGURE_OFF= --with-ioloop=poll --with-notify=none -KQUEUE_CONFIGURE_ON= --with-ioloop=kqueue --with-notify=kqueue - -LIBWRAP_CONFIGURE_WITH= libwrap - LZ4_CONFIGURE_WITH= lz4 LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 @@ -92,7 +90,7 @@ MYSQL_CONFIGURE_WITH= mysql PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= pgsql -SQLITE_USES= sqlite:3 +SQLITE_USES= sqlite SQLITE_CONFIGURE_WITH= sqlite # FTS @@ -117,7 +115,7 @@ GSSAPI_BASE_USES= gssapi GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_MIT_USES= gssapi:mit -DOCS= AUTHORS COPYING COPYING.LGPL COPYING.MIT INSTALL NEWS TODO README +DOCS= AUTHORS COPYING INSTALL NEWS TODO README PORTDOCS= * PORTEXAMPLES= * @@ -144,7 +142,7 @@ post-patch: @${REINPLACE_CMD} -e '/^exampledir =/s|\$$(docdir)|${ETCDIR}|' \ ${WRKSRC}/doc/example-config/Makefile.in \ ${WRKSRC}/doc/example-config/conf.d/Makefile.in - @${REINPLACE_CMD} -e '/^[^#]/s|/usr|${LOCALBASE}|' \ + @${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|' \ ${WRKSRC}/src/plugins/fts/decode2text.sh post-install: Modified: head/mail/dovecot/pkg-plist ============================================================================== --- head/mail/dovecot/pkg-plist Fri Oct 20 16:02:12 2017 (r452538) +++ head/mail/dovecot/pkg-plist Fri Oct 20 16:08:20 2017 (r452539) @@ -696,6 +696,8 @@ lib/dovecot/libfs_crypt.a lib/dovecot/libfs_crypt.so lib/dovecot/libfs_mail_crypt.a lib/dovecot/libfs_mail_crypt.so +lib/dovecot/libssl_iostream_openssl.a +lib/dovecot/libssl_iostream_openssl.so lib/dovecot/stats/libstats_auth.a lib/dovecot/stats/libstats_auth.so lib/dovecot/stats/libstats_mail.a @@ -734,6 +736,7 @@ libexec/dovecot/script libexec/dovecot/script-login libexec/dovecot/ssl-params libexec/dovecot/stats +libexec/dovecot/tcpwrap libexec/dovecot/xml2text man/man1/deliver.1.gz man/man1/doveadm-acl.1.gz @@ -797,7 +800,6 @@ share/aclocal/dovecot.m4 %%DATADIR%%/stopwords/stopwords_ro.txt %%DATADIR%%/stopwords/stopwords_ru.txt %%DATADIR%%/stopwords/stopwords_sv.txt -%%LIBWRAP%%libexec/dovecot/tcpwrap %%LDAP%%include/dovecot/ldap-client.h %%LDAP%%lib/dovecot/dict/libdict_ldap.a %%LDAP%%lib/dovecot/dict/libdict_ldap.so @@ -811,6 +813,4 @@ share/aclocal/dovecot.m4 %%LUCENE%%lib/dovecot/lib21_fts_lucene_plugin.so %%SOLR%%lib/dovecot/lib21_fts_solr_plugin.a %%SOLR%%lib/dovecot/lib21_fts_solr_plugin.so -lib/dovecot/libssl_iostream_openssl.a -lib/dovecot/libssl_iostream_openssl.so @postunexec echo "If you are removing dovecot2 permanently, you should 'rm -rf /var/db/dovecot' to clear out any remaining data."