Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id E68191A9239 for ; Sun, 2 Jan 2022 09:32:08 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 3589084EC4; Sun, 2 Jan 2022 09:32:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 6FD0084EE7 for ; Sun, 2 Jan 2022 09:32:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id Ks3Jf7G0a2WT for ; Sun, 2 Jan 2022 09:32:06 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 84F3F84CEF for ; Sun, 2 Jan 2022 09:32:06 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 826D7FAEC; Sun, 2 Jan 2022 09:32:06 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1641115926119330" MIME-Version: 1.0 Date: Sun, 2 Jan 2022 09:32:06 +0000 From: "Amitai Schleier" Subject: CVS commit: pkgsrc/textproc/xapian-omega To: pkgsrc-changes@NetBSD.org Reply-To: schmonz@netbsd.org X-Mailer: log_accum Message-Id: <20220102093206.826D7FAEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1641115926119330 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: schmonz Date: Sun Jan 2 09:32:06 UTC 2022 Modified Files: pkgsrc/textproc/xapian-omega: Makefile distinfo Log Message: Update to 1.4.19. From the changelog: documentation: * configure: Add missing AC_ARG_VAR for all programs so that they are documented in --help output, and so that autoconf knows they are "precious" and preserves them if configure is rerun even when they're specified via an environment variable. * Add usage examples for $jsonobject. * Fix path to omega in quickstart document. Fixes #813, reported by Jim Lynch. * Update for the IRC channel move from freenode to libera.chat. indexers: * Fix handling of UTF-16 BOMs in XML and HTML - we had the sense of the endianness indicated by the BOM the wrong way round. * Avoid making an extra temporary copy of HTML/XML data which has a UTF16 BOM. * We now ignore an end of line immediately after a PHP close tag to match what PHP does. * omindex: + Fix handling of formatted xlsx dates in certain cases. * scriptindex: + Add new scriptindex whitespace removal actions `ltrim`, `rtrim`, `squash`, and `trim`. + Improve `truncate` action - if a word ends exactly on the requested length we now leave it in place rather than removing it. + Report the location of previous `unique` action in the error given when `unique` is used more than once. omega: * Clamp START and END with packed timestamps. The 4-byte unsigned packed time_t format can't represent dates before 1970 or after Sun 07 Feb 2106 06:28:15 UTC so clamp dates before or after these - previously they would wrap around. * The JSON produced by $jsonobject no longer contains newlines, which makes it usable as a single line serialisation format without post-processing. * Add $base64 OmegaScript command. * omega: Add flag_no_positions to wrap new Xapian::QueryParser::FLAG_NO_POSITIONS. templates: * Fix topterms template to not trigger early matching. We were checking $msize before including the `query` template, but doing so would trigger the query to be run, which means that settings early in the `query` template which should affect the result (such as $setmap{prefix,...}) were being ignored when the `topterms` template was used. Partly addresses #815, reported by Gennadiy. * Add field support to opensearch and xml templates. These templates now also search title, topic and filename by default and support `title:`, `author:` and `topic:` in the query string (both like the template `query` already does). Fixes remaining issue in #815, reported by Gennadiy. testsuite: * Expand omegatest. All scriptindex actions now have test coverage. build system: * Replace uses of obsolete autoconf macros, fixing warnings if configure is regenerated with a recent release of autoconf. portability: * Don't automatically use _FORTIFY_SOURCE on mingw-w64. Recent mingw-w64 versions require -lssp to be linked when _FORTIFY_SOURCE is enabled, so just skip the automatic enabling. Users who want to enable it can specify it explicitly. Fixes #808, reported by xpbxf4. * Automatically enable GCC warnings -Wduplicated-cond and -Wduplicated-branches if using a GCC version new enough to support them. The usefulness of -Wduplicated-cond was highlighted by dcb in #816. * Fix GCC -Wshadow warning. * Use clock_gettime() and nanosleep() under modern mingw as these allow higher precision than what we previously used. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 pkgsrc/textproc/xapian-omega/Makefile cvs rdiff -u -r1.37 -r1.38 pkgsrc/textproc/xapian-omega/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1641115926119330 Content-Disposition: inline Content-Length: 1800 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/textproc/xapian-omega/Makefile diff -u pkgsrc/textproc/xapian-omega/Makefile:1.45 pkgsrc/textproc/xapian-omega/Makefile:1.46 --- pkgsrc/textproc/xapian-omega/Makefile:1.45 Mon May 24 19:55:00 2021 +++ pkgsrc/textproc/xapian-omega/Makefile Sun Jan 2 09:32:06 2022 @@ -1,6 +1,5 @@ -# $NetBSD: Makefile,v 1.45 2021/05/24 19:55:00 wiz Exp $ +# $NetBSD: Makefile,v 1.46 2022/01/02 09:32:06 schmonz Exp $ -PKGREVISION= 1 .include "../../textproc/xapian/Makefile.common" DISTNAME= xapian-omega-${VERSION} Index: pkgsrc/textproc/xapian-omega/distinfo diff -u pkgsrc/textproc/xapian-omega/distinfo:1.37 pkgsrc/textproc/xapian-omega/distinfo:1.38 --- pkgsrc/textproc/xapian-omega/distinfo:1.37 Tue Oct 26 11:23:39 2021 +++ pkgsrc/textproc/xapian-omega/distinfo Sun Jan 2 09:32:06 2022 @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.37 2021/10/26 11:23:39 nia Exp $ +$NetBSD: distinfo,v 1.38 2022/01/02 09:32:06 schmonz Exp $ -BLAKE2s (xapian-omega-1.4.18.tar.xz) = 25e65bd6c19200984de9a8767ffff6b2fda0a230026fd4936efdac77d1e5838c -SHA512 (xapian-omega-1.4.18.tar.xz) = 35da36bdaa6997353554604db5ced3f3a05d0862ce5cf357fae639ca88a65ea83bf0be039629e6aedd67f8cb369a7eaeba7f279980c9e2f585083c737c61ea43 -Size (xapian-omega-1.4.18.tar.xz) = 549892 bytes +BLAKE2s (xapian-omega-1.4.19.tar.xz) = 74fd6fb4fc0e86d5a45ce560b57f948ae14da671da3a82ec39f8a93f41198a1a +SHA512 (xapian-omega-1.4.19.tar.xz) = 82b682bc9d244256afffc2ab1b12b0f577184296a979dc42b2865b689c6d46eca6b838b95a5d040dc228de0c2e2261e81279e0a748eaff2d018732ce4bc07fae +Size (xapian-omega-1.4.19.tar.xz) = 553680 bytes SHA1 (patch-Makefile.in) = 10275e2771cefcc96b23c5ccce0877861b2da795 SHA1 (patch-omega.conf) = f1e941dac326de7005cad0a5a4a2848e401855c4 SHA1 (patch-values.h) = b3758856f5a34c47e4247d8076fbbdc1e65305e2 --_----------=_1641115926119330--