Sun Jan 2 09:32:06 2022 UTC ()
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.


(schmonz)
diff -r1.45 -r1.46 pkgsrc/textproc/xapian-omega/Makefile
diff -r1.37 -r1.38 pkgsrc/textproc/xapian-omega/distinfo

cvs diff -r1.45 -r1.46 pkgsrc/textproc/xapian-omega/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/xapian-omega/Makefile 2021/05/24 19:55:00 1.45
+++ pkgsrc/textproc/xapian-omega/Makefile 2022/01/02 09:32:06 1.46
@@ -1,16 +1,15 @@ @@ -1,16 +1,15 @@
1# $NetBSD: Makefile,v 1.45 2021/05/24 19:55:00 wiz Exp $ 1# $NetBSD: Makefile,v 1.46 2022/01/02 09:32:06 schmonz Exp $
2 2
3PKGREVISION= 1 
4.include "../../textproc/xapian/Makefile.common" 3.include "../../textproc/xapian/Makefile.common"
5 4
6DISTNAME= xapian-omega-${VERSION} 5DISTNAME= xapian-omega-${VERSION}
7 6
8HOMEPAGE= https://xapian.org/docs/omega/overview.html 7HOMEPAGE= https://xapian.org/docs/omega/overview.html
9COMMENT= Search engine application for websites using Xapian 8COMMENT= Search engine application for websites using Xapian
10 9
11CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} 10CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
12USE_TOOLS+= perl:run 11USE_TOOLS+= perl:run
13 12
14TEST_TARGET= check 13TEST_TARGET= check
15 14
16REPLACE_PERL= dbi2omega htdig2omega mbox2omega 15REPLACE_PERL= dbi2omega htdig2omega mbox2omega

cvs diff -r1.37 -r1.38 pkgsrc/textproc/xapian-omega/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/xapian-omega/distinfo 2021/10/26 11:23:39 1.37
+++ pkgsrc/textproc/xapian-omega/distinfo 2022/01/02 09:32:06 1.38
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
1$NetBSD: distinfo,v 1.37 2021/10/26 11:23:39 nia Exp $ 1$NetBSD: distinfo,v 1.38 2022/01/02 09:32:06 schmonz Exp $
2 2
3BLAKE2s (xapian-omega-1.4.18.tar.xz) = 25e65bd6c19200984de9a8767ffff6b2fda0a230026fd4936efdac77d1e5838c 3BLAKE2s (xapian-omega-1.4.19.tar.xz) = 74fd6fb4fc0e86d5a45ce560b57f948ae14da671da3a82ec39f8a93f41198a1a
4SHA512 (xapian-omega-1.4.18.tar.xz) = 35da36bdaa6997353554604db5ced3f3a05d0862ce5cf357fae639ca88a65ea83bf0be039629e6aedd67f8cb369a7eaeba7f279980c9e2f585083c737c61ea43 4SHA512 (xapian-omega-1.4.19.tar.xz) = 82b682bc9d244256afffc2ab1b12b0f577184296a979dc42b2865b689c6d46eca6b838b95a5d040dc228de0c2e2261e81279e0a748eaff2d018732ce4bc07fae
5Size (xapian-omega-1.4.18.tar.xz) = 549892 bytes 5Size (xapian-omega-1.4.19.tar.xz) = 553680 bytes
6SHA1 (patch-Makefile.in) = 10275e2771cefcc96b23c5ccce0877861b2da795 6SHA1 (patch-Makefile.in) = 10275e2771cefcc96b23c5ccce0877861b2da795
7SHA1 (patch-omega.conf) = f1e941dac326de7005cad0a5a4a2848e401855c4 7SHA1 (patch-omega.conf) = f1e941dac326de7005cad0a5a4a2848e401855c4
8SHA1 (patch-values.h) = b3758856f5a34c47e4247d8076fbbdc1e65305e2 8SHA1 (patch-values.h) = b3758856f5a34c47e4247d8076fbbdc1e65305e2