Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2012 11:04:42 +0000 (UTC)
From:      Niclas Zeising <zeising@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r301076 - head/mail/dovecot2
Message-ID:  <201207181104.q6IB4gUj063466@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207181104.q6IB4gUj063466>