From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 28 17:20:00 2012 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C5A944BF for ; Fri, 28 Dec 2012 17:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 97E718FC0C for ; Fri, 28 Dec 2012 17:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qBSHK06t037524 for ; Fri, 28 Dec 2012 17:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBSHK0hS037523; Fri, 28 Dec 2012 17:20:00 GMT (envelope-from gnats) Resent-Date: Fri, 28 Dec 2012 17:20:00 GMT Resent-Message-Id: <201212281720.qBSHK0hS037523@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Veniamin Gvozdikov Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E5B4C417 for ; Fri, 28 Dec 2012 17:13:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id B3D508FC15 for ; Fri, 28 Dec 2012 17:13:37 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qBSHDb11055123 for ; Fri, 28 Dec 2012 17:13:37 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qBSHDbi3055122; Fri, 28 Dec 2012 17:13:37 GMT (envelope-from nobody) Message-Id: <201212281713.qBSHDbi3055122@red.freebsd.org> Date: Fri, 28 Dec 2012 17:13:37 GMT From: Veniamin Gvozdikov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/174779: [update]: mail/dovecot2 added support FTS clucene X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2012 17:20:00 -0000 >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 @@ -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: