Date: Fri, 28 Dec 2012 17:13:37 GMT From: Veniamin Gvozdikov <g.veniamin@googlemail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/174779: [update]: mail/dovecot2 added support FTS clucene Message-ID: <201212281713.qBSHDbi3055122@red.freebsd.org> Resent-Message-ID: <201212281720.qBSHK0hS037523@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 174779 >Category: ports >Synopsis: [update]: mail/dovecot2 added support FTS clucene >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Dec 28 17:20:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Veniamin Gvozdikov >Release: FreeBSD 8.3-RELEASE-p5 >Organization: >Environment: FreeBSD ololo 8.3-RELEASE-p5 FreeBSD 8.3-RELEASE-p5 #0: Thu Dec 6 16:25:28 MSK 2012 root@ololo:/usr/obj/usr/src/sys/OLOLO amd64 >Description: Added support clucene FTS plugin. This's changes depended by ports/174778. >How-To-Repeat: >Fix: diff -ruN dovecot2.orig/Makefile dovecot2/Makefile --- dovecot2.orig/Makefile 2012-12-28 21:05:16.342411743 +0400 +++ dovecot2/Makefile 2012-12-28 11:21:27.873422250 +0400 @@ -44,12 +44,13 @@ # 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,15 @@ PLIST_SUB+= LDAP="@comment " .endif +.if ${PORT_OPTIONS:MLUCENE} +CONFIGURE_ARGS+=--with-lucene +CONFLICTS= clucene-0.* +LIB_DEPENDS+= clucene-core:${PORTSDIR}/textproc/clucene2 +PLIST_SUB+= LUCENE="" +.else +PLIST_SUB+= LUCENE="@comment " +.endif + ## PostgreSQL Support # .if ${PORT_OPTIONS:MPGSQL} diff -ruN dovecot2.orig/pkg-plist dovecot2/pkg-plist --- dovecot2.orig/pkg-plist 2012-12-28 21:05:16.387670847 +0400 +++ dovecot2/pkg-plist 2012-12-28 11:08:00.720804529 +0400 @@ -433,6 +433,12 @@ %%SOLR%%lib/dovecot/lib21_fts_solr_plugin.a %%SOLR%%lib/dovecot/lib21_fts_solr_plugin.la %%SOLR%%lib/dovecot/lib21_fts_solr_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 +%%LUCENE%%lib/dovecot/lib21_fts_lucene_plugin.a +%%LUCENE%%lib/dovecot/lib21_fts_lucene_plugin.la +%%LUCENE%%lib/dovecot/lib21_fts_lucene_plugin.so lib/dovecot/lib30_imap_zlib_plugin.a lib/dovecot/lib30_imap_zlib_plugin.la lib/dovecot/lib30_imap_zlib_plugin.so >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212281713.qBSHDbi3055122>