svn commit: r301076 - head/mail/dovecot2
Niclas Zeising
zeising at FreeBSD.org
Wed Jul 18 11:04:43 UTC 2012
Author: zeising
Date: Wed Jul 18 11:04:42 2012
New Revision: 301076
URL: http://svn.freebsd.org/changeset/ports/301076
Log:
Add an optional dependency on libwrap, using option LIBWRAP.
PR: ports/169932 (minor modifications)
Submitted by: vfx9as <vfx9as [AT] gmail.com>
Approved by: maintainer, kwm (mentor)
Modified:
head/mail/dovecot2/Makefile
head/mail/dovecot2/pkg-plist
Modified: head/mail/dovecot2/Makefile
==============================================================================
--- head/mail/dovecot2/Makefile Wed Jul 18 10:50:02 2012 (r301075)
+++ head/mail/dovecot2/Makefile Wed Jul 18 11:04:42 2012 (r301076)
@@ -48,7 +48,8 @@ PROTOCOLS= imap pop3
# Default requirement for dovecot rc script
_REQUIRE= LOGIN
-OPTIONS_DEFINE= KQUEUE SSL GSSAPI VPOPMAIL LDAP PGSQL MYSQL SQLITE SOLR DOCS EXAMPLES
+OPTIONS_DEFINE= KQUEUE SSL GSSAPI VPOPMAIL LDAP PGSQL MYSQL SQLITE SOLR DOCS \
+ EXAMPLES LIBWRAP
OPTIONS_DEFAULT= KQUEUE SSL
KQUEUE_DESC= kqueue(2) support
@@ -169,6 +170,16 @@ CONFIGURE_ARGS+=--without-solr
PLIST_SUB+= SOLR="@comment "
.endif
+## libwrap support
+#
+.if ${PORT_OPTIONS:MLIBWRAP}
+CONFIGURE_ARGS+=--with-libwrap
+PLIST_SUB+= LIBWRAP=""
+.else
+CONFIGURE_ARGS+=--without-libwrap
+PLIST_SUB+= LIBWRAP="@comment "
+.endif
+
SUB_LIST= REQUIRE="${_REQUIRE}"
SUB_FILES= pkg-deinstall pkg-message
Modified: head/mail/dovecot2/pkg-plist
==============================================================================
--- head/mail/dovecot2/pkg-plist Wed Jul 18 10:50:02 2012 (r301075)
+++ head/mail/dovecot2/pkg-plist Wed Jul 18 11:04:42 2012 (r301076)
@@ -489,6 +489,7 @@ libexec/dovecot/script
libexec/dovecot/script-login
libexec/dovecot/ssl-params
libexec/dovecot/stats
+%%LIBWRAP%%libexec/dovecot/tcpwrap
libexec/dovecot/xml2text
sbin/dovecot
share/aclocal/dovecot.m4
More information about the svn-ports-head
mailing list