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.
This commit is contained in:
parent
dedad37c84
commit
77e466cd88
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=452539
2 changed files with 13 additions and 15 deletions
|
@ -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 server
|
|||
|
||||
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/heimdal
|
|||
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:
|
||||
|
|
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue