Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Nov 2020 04:15:09 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r553951 - in head/mail/dovecot-fts-xapian: . files
Message-ID:  <202011030415.0A34F9o1054312@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lwhsu
Date: Tue Nov  3 04:15:08 2020
New Revision: 553951
URL: https://svnweb.freebsd.org/changeset/ports/553951

Log:
  mail/dovecot-fts-xapian: Update to 1.4.2
  
  Changelog:
    - Fixed concurrent access
    - Crash while indexing - terminate called after throwing an instance of
      'std::bad_alloc'
  
  PR:		250803
  Submitted by:	Juraj Lutter <juraj@lutter.sk> (maintainer)
  MFH:		2020Q4

Added:
  head/mail/dovecot-fts-xapian/files/
  head/mail/dovecot-fts-xapian/files/patch-src_fts-backend-xapian.cpp   (contents, props changed)
Modified:
  head/mail/dovecot-fts-xapian/Makefile
  head/mail/dovecot-fts-xapian/distinfo

Modified: head/mail/dovecot-fts-xapian/Makefile
==============================================================================
--- head/mail/dovecot-fts-xapian/Makefile	Tue Nov  3 04:05:25 2020	(r553950)
+++ head/mail/dovecot-fts-xapian/Makefile	Tue Nov  3 04:15:08 2020	(r553951)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	fts-xapian
-PORTVERSION=	1.4.1
-PORTREVISION=	1
+PORTVERSION=	1.4.2
 CATEGORIES=	mail
 PKGNAMEPREFIX=	dovecot-
 

Modified: head/mail/dovecot-fts-xapian/distinfo
==============================================================================
--- head/mail/dovecot-fts-xapian/distinfo	Tue Nov  3 04:05:25 2020	(r553950)
+++ head/mail/dovecot-fts-xapian/distinfo	Tue Nov  3 04:15:08 2020	(r553951)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1603446932
-SHA256 (grosjo-fts-xapian-1.4.1_GH0.tar.gz) = 219ce1a0cb261745ec005156a6b9e3cdd47319750736eab727132b1c222cd7c2
-SIZE (grosjo-fts-xapian-1.4.1_GH0.tar.gz) = 27633
+TIMESTAMP = 1604301654
+SHA256 (grosjo-fts-xapian-1.4.2_GH0.tar.gz) = 11ff20bd91d81754bbe4f9ad52cf1fd74be8c3bb8633a7023a35cf4cc3c18c58
+SIZE (grosjo-fts-xapian-1.4.2_GH0.tar.gz) = 27812

Added: head/mail/dovecot-fts-xapian/files/patch-src_fts-backend-xapian.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/dovecot-fts-xapian/files/patch-src_fts-backend-xapian.cpp	Tue Nov  3 04:15:08 2020	(r553951)
@@ -0,0 +1,13 @@
+--- src/fts-backend-xapian.cpp.orig	2020-11-02 07:45:52 UTC
++++ src/fts-backend-xapian.cpp
+@@ -11,8 +11,8 @@ extern "C" {
+ 
+ #define XAPIAN_FILE_PREFIX "xapian-indexes"
+ #define XAPIAN_TERM_SIZELIMIT 245
+-#define XAPIAN_COMMIT_ENTRIES 1000000
+-#define XAPIAN_COMMIT_TIMEOUT 300
++#define XAPIAN_COMMIT_ENTRIES 1000000L
++#define XAPIAN_COMMIT_TIMEOUT 300L
+ #define XAPIAN_COMMIT_MEMORY 10240
+ #define XAPIAN_WILDCARD "wldcrd"
+ #define XAPIAN_EXPUNGE_SIZE 3



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011030415.0A34F9o1054312>