From owner-svn-ports-head@FreeBSD.ORG Wed Jul 18 11:04:43 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E3041065670; Wed, 18 Jul 2012 11:04:43 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 29AA38FC17; Wed, 18 Jul 2012 11:04:43 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q6IB4hEk063470; Wed, 18 Jul 2012 11:04:43 GMT (envelope-from zeising@svn.freebsd.org) Received: (from zeising@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q6IB4gUj063466; Wed, 18 Jul 2012 11:04:42 GMT (envelope-from zeising@svn.freebsd.org) Message-Id: <201207181104.q6IB4gUj063466@svn.freebsd.org> From: Niclas Zeising Date: Wed, 18 Jul 2012 11:04:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r301076 - head/mail/dovecot2 X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 18 Jul 2012 11:04:43 -0000 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 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