aboutsummaryrefslogtreecommitdiff
path: root/mail/dovecot2
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2012-07-18 11:04:42 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2012-07-18 11:04:42 +0000
commit312decad6853d5a7a4a86db0b83762eb282e2987 (patch)
tree5757aad2bc51a659609124ae330db2fc1e08dfc9 /mail/dovecot2
parent1a62f945ade4c0d1cce62defd789ccc70644aa3b (diff)
downloadports-312decad6853d5a7a4a86db0b83762eb282e2987.tar.gz
ports-312decad6853d5a7a4a86db0b83762eb282e2987.zip
Notes
Diffstat (limited to 'mail/dovecot2')
-rw-r--r--mail/dovecot2/Makefile13
-rw-r--r--mail/dovecot2/pkg-plist1
2 files changed, 13 insertions, 1 deletions
diff --git a/mail/dovecot2/Makefile b/mail/dovecot2/Makefile
index c23f13b0b4d0..23e30564adb2 100644
--- a/mail/dovecot2/Makefile
+++ b/mail/dovecot2/Makefile
@@ -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
diff --git a/mail/dovecot2/pkg-plist b/mail/dovecot2/pkg-plist
index 57342d33ad5b..5adb4ac81370 100644
--- a/mail/dovecot2/pkg-plist
+++ b/mail/dovecot2/pkg-plist
@@ -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