Bug 169932 - [PATCH] mail/dovecot2 libwrap option
Summary: [PATCH] mail/dovecot2 libwrap option
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Niclas Zeising
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-17 11:30 UTC by vfx9as
Modified: 2012-07-18 12:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vfx9as 2012-07-17 11:30:13 UTC
dovercot2 libwrap option support

Fix: 

Makefile 

51c51
< 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 TCPWRAP
56a57
> TCPWRAP_DESC=	libwrap support
171a173,183
> ## libwrap support
> #
> .if ${PORT_OPTIONS:MTCPWRAP}
> CONFIGURE_ARGS+=--with-libwrap
> PLIST_SUB+=	TCPWRAP=""
> .else
> CONFIGURE_ARGS+=--without-libwrap
> PLIST_SUB+=	TCPWRAP="@comment "
> .endif
> 

pkg-plist
502a503
> %%TCPWRAP%%libexec/dovecot/tcpwrap
Comment 1 Niclas Zeising freebsd_committer freebsd_triage 2012-07-17 22:12:38 UTC
Responsible Changed
From-To: freebsd-ports-bugs->zeising

I'll take it.
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-07-18 00:35:32 UTC
Maintainer of mail/dovecot2,

Please note that PR ports/169932 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/169932

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2012-07-18 00:35:34 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 nagy.attila 2012-07-18 10:46:00 UTC
Fine with me (couldn't check it).

On 07/18/12 01:35, Edwin Groothuis wrote:
> Maintainer of mail/dovecot2,
>
> Please note that PR ports/169932 has just been submitted.
>
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
>
> The full text of the PR can be found at:
>      http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/169932
>
Comment 5 dfilter service freebsd_committer freebsd_triage 2012-07-18 12:04:57 UTC
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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 6 Niclas Zeising freebsd_committer freebsd_triage 2012-07-18 12:06:08 UTC
State Changed
From-To: feedback->closed

Committed, with minor changes. Thanks!