Date: Mon, 28 Jan 2013 23:38:33 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311138 - head/mail/dovecot2 Message-ID: <201301282338.r0SNcXCX063747@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301282338.r0SNcXCX063747>