Bug 174779 - [update]: mail/dovecot2 added support FTS clucene
Summary: [update]: mail/dovecot2 added support FTS clucene
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-28 17:20 UTC by Veniamin
Modified: 2013-01-28 23:40 UTC (History)
0 users

See Also:


Attachments
file.diff (1.73 KB, patch)
2012-12-28 17:20 UTC, Veniamin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Veniamin 2012-12-28 17:20:00 UTC
Added support clucene FTS plugin.

This's changes depended by ports/174778.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-12-28 17:20:07 UTC
Maintainer of mail/dovecot2,

Please note that PR ports/174779 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/174779

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-12-28 17:20:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 nagy.attila 2012-12-28 18:31:58 UTC
Hi,

Fine with me, thanks.

On 12/28/2012 06:20 PM, Edwin Groothuis wrote:
> Maintainer of mail/dovecot2,
>
> Please note that PR ports/174779 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/174779
>
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-01-28 23:38:45 UTC
Author: jkim
Date: Mon Jan 28 23:38:32 2013
New Revision: 311138
URL: http://svnweb.freebsd.org/changeset/ports/311138

Log:
  Add an optional support for full-text search with CLucene 2.3.x.
  
  PR:		ports/174779
  Submitted by:	Veniamin Gvozdikov <g.veniamin@googlemail.com>
  Approved by:	Attila Nagy <bra@fsn.hu> (maintainer)

Modified:
  head/mail/dovecot2/Makefile
  head/mail/dovecot2/pkg-plist

Modified: head/mail/dovecot2/Makefile
==============================================================================
--- head/mail/dovecot2/Makefile	Mon Jan 28 22:25:05 2013	(r311137)
+++ head/mail/dovecot2/Makefile	Mon Jan 28 23:38:32 2013	(r311138)
@@ -44,12 +44,13 @@ PROTOCOLS=	imap pop3
 # Default requirement for dovecot rc script
 _REQUIRE=	LOGIN
 
-OPTIONS_DEFINE=	KQUEUE SSL GSSAPI VPOPMAIL LDAP PGSQL MYSQL SQLITE SOLR DOCS \
-		EXAMPLES LIBWRAP
+OPTIONS_DEFINE=	KQUEUE SSL GSSAPI VPOPMAIL LDAP LUCENE PGSQL MYSQL SQLITE \
+		SOLR DOCS EXAMPLES LIBWRAP
 OPTIONS_DEFAULT=	KQUEUE SSL
 
 KQUEUE_DESC=	kqueue(2) support
 VPOPMAIL_DESC=	vpopmail support
+LUCENE_DESC=	CLucene FTS support
 SOLR_DESC=	Solr FTS support
 
 .include <bsd.port.pre.mk>
@@ -123,6 +124,16 @@ CONFIGURE_ARGS+=--without-ldap
 PLIST_SUB+=	LDAP="@comment "
 .endif
 
+## CLucene FTS support
+#
+.if ${PORT_OPTIONS:MLUCENE}
+CONFIGURE_ARGS+=--with-lucene
+LIB_DEPENDS+=	clucene-core:${PORTSDIR}/textproc/clucene
+PLIST_SUB+=	LUCENE=""
+.else
+PLIST_SUB+=	LUCENE="@comment "
+.endif
+
 ## PostgreSQL Support
 #
 .if ${PORT_OPTIONS:MPGSQL}

Modified: head/mail/dovecot2/pkg-plist
==============================================================================
--- head/mail/dovecot2/pkg-plist	Mon Jan 28 22:25:05 2013	(r311137)
+++ head/mail/dovecot2/pkg-plist	Mon Jan 28 23:38:32 2013	(r311138)
@@ -369,6 +369,9 @@ lib/dovecot/doveadm/lib10_doveadm_quota_
 lib/dovecot/doveadm/lib10_doveadm_zlib_plugin.a
 lib/dovecot/doveadm/lib10_doveadm_zlib_plugin.la
 lib/dovecot/doveadm/lib10_doveadm_zlib_plugin.so
+%%LUCENE%%lib/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.a
+%%LUCENE%%lib/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.la
+%%LUCENE%%lib/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.so
 lib/dovecot/doveadm/lib20_doveadm_fts_plugin.a
 lib/dovecot/doveadm/lib20_doveadm_fts_plugin.la
 lib/dovecot/doveadm/lib20_doveadm_fts_plugin.so
@@ -427,12 +430,15 @@ lib/dovecot/lib20_virtual_plugin.so
 lib/dovecot/lib20_zlib_plugin.a
 lib/dovecot/lib20_zlib_plugin.la
 lib/dovecot/lib20_zlib_plugin.so
-lib/dovecot/lib21_fts_squat_plugin.a
-lib/dovecot/lib21_fts_squat_plugin.la
-lib/dovecot/lib21_fts_squat_plugin.so
+%%LUCENE%%lib/dovecot/lib21_fts_lucene_plugin.a
+%%LUCENE%%lib/dovecot/lib21_fts_lucene_plugin.la
+%%LUCENE%%lib/dovecot/lib21_fts_lucene_plugin.so
 %%SOLR%%lib/dovecot/lib21_fts_solr_plugin.a
 %%SOLR%%lib/dovecot/lib21_fts_solr_plugin.la
 %%SOLR%%lib/dovecot/lib21_fts_solr_plugin.so
+lib/dovecot/lib21_fts_squat_plugin.a
+lib/dovecot/lib21_fts_squat_plugin.la
+lib/dovecot/lib21_fts_squat_plugin.so
 lib/dovecot/lib30_imap_zlib_plugin.a
 lib/dovecot/lib30_imap_zlib_plugin.la
 lib/dovecot/lib30_imap_zlib_plugin.so
_______________________________________________
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 5 Jung-uk Kim freebsd_committer freebsd_triage 2013-01-28 23:38:59 UTC
State Changed
From-To: feedback->closed

Committed (with some changes), thanks!