From nobody Wed Jan 1 12:46:53 2025 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YNV316j8Wz5jtJB; Wed, 01 Jan 2025 12:46:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YNV3166qCz3x7X; Wed, 1 Jan 2025 12:46:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735735613; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ExotA/4YmoWHq19HlY5mgXxTDvnDlNrvgkixHuNk2kg=; b=L/CrTEna3M7LvcUWNA7VKdUljwYXoVC5cK1rBVQvT82vhXxcYBsmgMliniTXIZVXjrH1p5 Y+KpNH9Q7nqHcybCZ0kEhO2DzyXOUmjpoonISC4YN1vuY+YZPNh0MGW7IE6fyaax/upx8g lkIp9iULnOo9M7wgdsYbqTRZ2oWhA7rVTH+HFH4oA2iuf6rh0qnzMpLcVFR7BL0Wf+HA6Y PDyTX3i2VgXbawOlD1D2dTm9XSxQhKuElXiExKca/mRFxeq7bjaSs+Usqs9PBQWoY0Lsov g4ntnkq7uUIgGqwMpitsCL4cywgLnaG+C81XE4dgLOxwj8OJ8kW0cN1rtbWPxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735735613; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ExotA/4YmoWHq19HlY5mgXxTDvnDlNrvgkixHuNk2kg=; b=Pmgpk3SUBX3O9oj09Fw+QgHaKZA0wSJwnVq+ZFkwcgY5IW4UEDzSuRGlZx67N1N/ok4lwW W60EGWqSTb58FFn2L3eg82wzxDU1G9Ksl5995yKzb9k/OPC9B+b1MHQxERP3W1mdyKHG6c HBOfT8+Yi6fch2O/AVLRZmoQVa1Su7/Ag8NZ7ihWQVUxhVwd9jKJXRp5SCV2PouMT+jdiw v4yfML1imqiVqw73vaV5My5ofH8AUBf966JQgkycRHg4VOpDEoM+1X9s8UpA+h8L2Jejhb dIVB9BtT2eHNZb6zDog1hJU5cTtQM1utjlBhY0H/s+kjjiNWO1623erRe7PUMA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735735613; a=rsa-sha256; cv=none; b=NDIOIEGm6NIf4fHJPdxJYWwPeK2i06kCH62NlvQRYygoY+xXT3jY9EPUjA0iL7fwTIVlEh WaBWBESwhsxWhuK+tssliu7z3mCY4xSjBs0YxvY5hp8vtu0noFjy0UkP6wBsl+tbmFUNjb O9PcvBJ+LN7+YpVWLcqpOeN3gZoy3ko+EWSUiMBp8T+OEv95mqtnrxinx0VdGbgUgCtCe0 psi1ODDQDPCsp2xDJIMb32r+26ddmFzAycOUEK9v+ML6uDTj8gFFxZDvwy27T+ORGTtTZ5 P+EszckmuozA6K4xz2yg0bZxVGmFLDpkG2Y5T47WMr4+sdDdcZ5TjQsQh4z3Bg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YNV315bWqzPfX; Wed, 1 Jan 2025 12:46:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 501Ckrei028176; Wed, 1 Jan 2025 12:46:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 501CkrkO028173; Wed, 1 Jan 2025 12:46:53 GMT (envelope-from git) Date: Wed, 1 Jan 2025 12:46:53 GMT Message-Id: <202501011246.501CkrkO028173@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Juraj Lutter Subject: git: b644ba6ef0a2 - main - mail/dovecot-fts-xapian: Update to 1.8.2 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: otis X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b644ba6ef0a242bea11e4ee7a7e10107ed493bb5 Auto-Submitted: auto-generated The branch main has been updated by otis: URL: https://cgit.FreeBSD.org/ports/commit/?id=b644ba6ef0a242bea11e4ee7a7e10107ed493bb5 commit b644ba6ef0a242bea11e4ee7a7e10107ed493bb5 Author: Juraj Lutter AuthorDate: 2025-01-01 12:44:03 +0000 Commit: Juraj Lutter CommitDate: 2025-01-01 12:46:34 +0000 mail/dovecot-fts-xapian: Update to 1.8.2 Update to 1.8.2. This version fixes build with upcoming ICU 76, among other things. PR: 283541 --- mail/dovecot-fts-xapian/Makefile | 5 ++-- mail/dovecot-fts-xapian/distinfo | 6 ++--- .../patch-src_fts-backend-xapian-functions.cpp | 29 ++++++++++++++++++++++ .../files/patch-src_fts-backend-xapian.cpp | 22 ++++++++-------- 4 files changed, 44 insertions(+), 18 deletions(-) diff --git a/mail/dovecot-fts-xapian/Makefile b/mail/dovecot-fts-xapian/Makefile index 27ea473f77e7..40409fe7915e 100644 --- a/mail/dovecot-fts-xapian/Makefile +++ b/mail/dovecot-fts-xapian/Makefile @@ -1,7 +1,6 @@ PORTNAME= fts-xapian -DISTVERSION= 1.5.4 -DISTVERSIONSUFFIX= b -PORTREVISION= 8 +DISTVERSION= 1.8.2 +PORTREVISION?= 0 CATEGORIES= mail MASTER_SITES= https://github.com/grosjo/fts-xapian/releases/download/${DISTVERSIONFULL}/ PKGNAMEPREFIX= dovecot- diff --git a/mail/dovecot-fts-xapian/distinfo b/mail/dovecot-fts-xapian/distinfo index b49a38017d7d..40def155438d 100644 --- a/mail/dovecot-fts-xapian/distinfo +++ b/mail/dovecot-fts-xapian/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1648195324 -SHA256 (dovecot-fts-xapian-1.5.4b.tar.gz) = cfc60caade77aadc8441b971d2e49f7337033a1e83494163cd8abcd459c79f6d -SIZE (dovecot-fts-xapian-1.5.4b.tar.gz) = 33138 +TIMESTAMP = 1735735093 +SHA256 (dovecot-fts-xapian-1.8.2.tar.gz) = 197d78656f2d77c75b243b46281fca3f5b588d7da38ba50543b5e3522886a351 +SIZE (dovecot-fts-xapian-1.8.2.tar.gz) = 35326 diff --git a/mail/dovecot-fts-xapian/files/patch-src_fts-backend-xapian-functions.cpp b/mail/dovecot-fts-xapian/files/patch-src_fts-backend-xapian-functions.cpp new file mode 100644 index 000000000000..2e5cb7958c19 --- /dev/null +++ b/mail/dovecot-fts-xapian/files/patch-src_fts-backend-xapian-functions.cpp @@ -0,0 +1,29 @@ +--- src/fts-backend-xapian-functions.cpp.orig 2025-01-01 12:38:47 UTC ++++ src/fts-backend-xapian-functions.cpp +@@ -21,7 +21,7 @@ static long fts_backend_xapian_get_free_memory(int ver + if(verbose>1) syslog(LOG_WARNING,"FTS Xapian: Memory limit not available from getrlimit (probably vsz_limit not set"); + #if defined(__FreeBSD__) || defined(__NetBSD__) + u_int page_size; +- uint_size uint_size = sizeof(page_size); ++ size_t uint_size = sizeof(page_size); + sysctlbyname("vm.stats.vm.v_page_size", &page_size, &uint_size, NULL, 0); + struct vmtotal vmt; + size_t vmt_size = sizeof(vmt); +@@ -906,7 +906,7 @@ class XDocsWriter + + if(sqlite3_exec(db,sql.c_str(),NULL,0,&zErrMsg) != SQLITE_OK ) + { +- syslog(LOG_ERR,"FTS Xapian: Can not replace keyword : %s",sql.c_str(),zErrMsg); ++ syslog(LOG_ERR,"FTS Xapian: Can not replace keyword %s: %s",sql.c_str(),zErrMsg); + sqlite3_free(zErrMsg); + sqlite3_close(db); + return; +@@ -1531,7 +1531,7 @@ static void fts_backend_xapian_build_qs(XQuerySet * qs + std::vector st; st.clear(); + if(sqlite3_exec(db,sql.c_str(),fts_backend_xapian_sqlite3_vector_icu,&st,&zErrMsg) != SQLITE_OK ) + { +- syslog(LOG_ERR,"FTS Xapian: Can not search keyword : %s",sql.c_str(),zErrMsg); ++ syslog(LOG_ERR,"FTS Xapian: Can not search keyword %s: %s",sql.c_str(),zErrMsg); + sqlite3_free(zErrMsg); + } + sqlite3_close(db); diff --git a/mail/dovecot-fts-xapian/files/patch-src_fts-backend-xapian.cpp b/mail/dovecot-fts-xapian/files/patch-src_fts-backend-xapian.cpp index bab0275d4914..1bbdfc5eac0d 100644 --- a/mail/dovecot-fts-xapian/files/patch-src_fts-backend-xapian.cpp +++ b/mail/dovecot-fts-xapian/files/patch-src_fts-backend-xapian.cpp @@ -1,13 +1,11 @@ -Patch to silence a warning, until adopted by upstream (issue #101) - ---- src/fts-backend-xapian.cpp.orig 2022-03-25 21:16:29 UTC +--- src/fts-backend-xapian.cpp.orig 2025-01-01 12:39:49 UTC +++ src/fts-backend-xapian.cpp -@@ -750,7 +750,7 @@ struct fts_backend fts_backend_xapian = - { - .name = "xapian", - .flags = FTS_BACKEND_FLAG_BUILD_FULL_WORDS, -- { -+ .v = { - fts_backend_xapian_alloc, - fts_backend_xapian_init, - fts_backend_xapian_deinit, +@@ -542,7 +542,7 @@ static int fts_backend_xapian_optimize(struct fts_back + } + i_free(u); + } +- if(fts_xapian_settings.verbose>0) i_info("FTS Xapian: Optimize - Closing DB %s",s); ++ if(fts_xapian_settings.verbose>0) i_info("FTS Xapian: Optimize - Closing DB %s",s.c_str()); + fts_backend_xapian_close_db(db,s.c_str(),"fts_optimize",fts_xapian_settings.verbose); + } + catch(Xapian::Error e)