Index: head/mail/dovecot-fts-xapian/Makefile =================================================================== --- head/mail/dovecot-fts-xapian/Makefile (revision 511915) +++ head/mail/dovecot-fts-xapian/Makefile (revision 511916) @@ -1,34 +1,35 @@ # $FreeBSD$ PORTNAME= fts-xapian PORTVERSION= 1.2.1 +PORTREVISION= 1 CATEGORIES= mail PKGNAMEPREFIX= dovecot- MAINTAINER= bapt@FreeBSD.org COMMENT= Dovecot FTS plugin based on Xapian LICENSE= LGPL21 LIB_DEPENDS= libxapian.so:databases/xapian-core \ libicuuc.so:devel/icu BUILD_DEPENDS= dovecot>=2.3.7:mail/dovecot RUN_DEPENDS= dovecot>=2.3.7:mail/dovecot USES= autoreconf libtool pkgconfig USE_LDCONFIG= yes USE_GITHUB=yes GH_ACCOUNT= grosjo GH_TAGNAME= ${PORTNAME}-${PORTVERSION} GNU_CONFIGURE= yes PLIST_FILES= lib/dovecot/lib21_fts_xapian_plugin.a \ lib/dovecot/lib21_fts_xapian_plugin.so post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dovecot/lib21_fts_xapian_plugin.so .include Index: head/mail/dovecot-fts-xapian/files/patch-reduce-verbosity =================================================================== --- head/mail/dovecot-fts-xapian/files/patch-reduce-verbosity (nonexistent) +++ head/mail/dovecot-fts-xapian/files/patch-reduce-verbosity (revision 511916) @@ -0,0 +1,74 @@ +diff --git src/fts-backend-xapian-functions.cpp src/fts-backend-xapian-functions.cpp +index e7f8324..ed0ab1a 100644 +--- src/fts-backend-xapian-functions.cpp ++++ src/fts-backend-xapian-functions.cpp +@@ -35,7 +35,6 @@ class XQuerySet + bool item_neg; // for the term + long qsize; + long limit; +- bool display; + + XQuerySet() + { +@@ -45,7 +44,6 @@ class XQuerySet + header=NULL; + text=NULL; + global_neg=false; +- display=false; + } + + XQuerySet(bool is_and, bool is_neg, long l) +@@ -57,7 +55,6 @@ class XQuerySet + text=NULL; + global_and=is_and; + global_neg=is_neg; +- display=true; + } + + ~XQuerySet() +@@ -293,7 +290,7 @@ class XQuerySet + + char *s = i_strdup(get_string().c_str()); + +- if(display) { i_info("FTS Xapian: Query= %s",s); } ++ i_debug("FTS Xapian: Query= %s",s); + + qp->set_database(*db); + +@@ -452,7 +449,7 @@ static void fts_backend_xapian_oldbox(struct xapian_fts_backend *backend) + } + /* End Performance calculator*/ + +- i_info("FTS Xapian: Done indexing '%s' (%ld msgs in %ld ms, rate: %.1f)",backend->oldbox,backend->perf_nb,dt,r); ++ i_debug("FTS Xapian: Done indexing '%s' (%ld msgs in %ld ms, rate: %.1f)",backend->oldbox,backend->perf_nb,dt,r); + i_free(backend->oldbox); + backend->oldbox=NULL; + } +diff --git src/fts-backend-xapian.cpp src/fts-backend-xapian.cpp +index 5ff83d0..d55852c 100644 +--- src/fts-backend-xapian.cpp ++++ src/fts-backend-xapian.cpp +@@ -442,12 +442,12 @@ static int fts_backend_xapian_lookup(struct fts_backend *_backend, struct mailbo + + if((flags & FTS_LOOKUP_FLAG_AND_ARGS) != 0) + { +- i_info("FTS Xapian: FLAG=AND"); ++ i_debug("FTS Xapian: FLAG=AND"); + is_and=true; + } + else + { +- i_info("FTS Xapian: FLAG=OR"); ++ i_debug("FTS Xapian: FLAG=OR"); + } + + XQuerySet * qs = new XQuerySet(is_and,false,backend->partial); +@@ -480,7 +480,7 @@ static int fts_backend_xapian_lookup(struct fts_backend *_backend, struct mailbo + /* Performance calc */ + gettimeofday(&tp, NULL); + dt = tp.tv_sec * 1000 + tp.tv_usec / 1000 - dt; +- i_info("FTS Xapian: %ld results in %ld ms",n,dt); ++ i_debug("FTS Xapian: %ld results in %ld ms",n,dt); + + return 0; + } Property changes on: head/mail/dovecot-fts-xapian/files/patch-reduce-verbosity ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property