pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/xapian-omega



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Mon Jul 11 18:27:07 UTC 2022

Modified Files:
        pkgsrc/textproc/xapian-omega: Makefile distinfo

Log Message:
Update to 1.4.20. From the changelog:

indexers:

* omindex:

  + OpenDocument: Previously we only inserted an implicit space before each
    paragraph.  Now we insert them both before and after each paragraph and
    heading, and before forced each line-break and tab.

  + Add extension mapping for .awt (Abiword templates).

  + Index metadata from XPS files.

  + -G and -C short options were documented in --help but not previously
    actually handled. Reported by David Bremner.

  + Show --max-size required argument in --help output.

  + Remove lingering handling for database backends without slot bounds since
    all backends have been required to support these since 1.4.11.

* scriptindex:

  + Process an incomplete final line from a dump file.  Previously if the final
    line lacked a newline scriptindex would quietly ignore it (unless it was
    the only line).

  + The `unique` action now takes an optional `missing` parameter to specify
    what to do if a record doesn't trigger the unique action or triggers it
    with an empty value.  The default is now to issue a warning and create a
    new document (the same as before, except that there was only previously a
    warning for the empty value case). In Omega 1.5.0 the default will change
    to an error as that seems a better default, but is less compatible with
    potential existing use.

  + Explicitly allow multiple blank lines in input files.  Previously such
    extra blank lines were treated as empty records and in many cases these
    got quietly skipped, but e.g. with the new UNIQUE checks this could result
    in a warning or error.

  + If we hit an error while parsing the index script we used to exit right
    away, but now we finish parsing the index script since it's more helpful to
    report all the errors in an index script rather than the user having to
    fix them one by one.  This requires us to sensibly recover after each index
    script parse error - if you find a case where this recovery triggers
    further bogus errors please report it and we'll try to improve the
    recovery.

  + In four cases while handling input data (two cases of bad hex data fed
    to `hextobin`, an input data line without a `=`, and `load` failing to
    load the specified file) we'd emit a diagnostic that was labelled as an
    "error" but really it was handled as a warning as we kept reading input
    and the "error" didn't affect the exit status.  It doesn't really make
    sense to continue in any of these cases so we now exit with non-zero status
    right away.

  + A parameter in the index script which should be an integer but isn't, or
    should be positive but isn't now gives an error rather than a warning since
    an error seems more helpful.

  + All diagnostics issued while parsing the index script now include column
    information.

  + Avoid forcibly flushing the output stream after every message.

testsuite:

* Improve test coverage for scriptindex.

portability:

* Require PCRE2 instead of PCRE. The original PCRE is now EOL and unmaintained
  (last release was June 2021).  In omega it's potentially used to process
  input from the internet, so security is a real concern hence we're switching
  to PCRE2.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/textproc/xapian-omega/Makefile
cvs rdiff -u -r1.38 -r1.39 pkgsrc/textproc/xapian-omega/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/xapian-omega/Makefile
diff -u pkgsrc/textproc/xapian-omega/Makefile:1.47 pkgsrc/textproc/xapian-omega/Makefile:1.48
--- pkgsrc/textproc/xapian-omega/Makefile:1.47  Tue Jun 28 11:36:50 2022
+++ pkgsrc/textproc/xapian-omega/Makefile       Mon Jul 11 18:27:07 2022
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.47 2022/06/28 11:36:50 wiz Exp $
+# $NetBSD: Makefile,v 1.48 2022/07/11 18:27:07 schmonz Exp $
 
-PKGREVISION= 1
 .include "../../textproc/xapian/Makefile.common"
 
 DISTNAME=              xapian-omega-${VERSION}
@@ -37,7 +36,7 @@ INSTALL_MAKE_FLAGS+=  ${MAKE_FLAGS} sysco
 
 BUILD_DEFS+=           VARBASE
 
-.include "../../devel/pcre/buildlink3.mk"
+.include "../../devel/pcre2/buildlink3.mk"
 .include "../../sysutils/file/buildlink3.mk"
 .include "../../textproc/xapian/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/xapian-omega/distinfo
diff -u pkgsrc/textproc/xapian-omega/distinfo:1.38 pkgsrc/textproc/xapian-omega/distinfo:1.39
--- pkgsrc/textproc/xapian-omega/distinfo:1.38  Sun Jan  2 09:32:06 2022
+++ pkgsrc/textproc/xapian-omega/distinfo       Mon Jul 11 18:27:07 2022
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.38 2022/01/02 09:32:06 schmonz Exp $
+$NetBSD: distinfo,v 1.39 2022/07/11 18:27:07 schmonz Exp $
 
-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
+BLAKE2s (xapian-omega-1.4.20.tar.xz) = 435e20b096cee4caecb69868a30e60c8e3f6b0500f13a4b0dcdb14169cfd2c1c
+SHA512 (xapian-omega-1.4.20.tar.xz) = 026ca234d072da39a29d47b5b53033ec7677d51f93a6fedffb2a57ff5b788cc08d94d1dc43ff8c0062639470b8fe3150781008e4b50abd3ec5526b2b98a3a676
+Size (xapian-omega-1.4.20.tar.xz) = 563324 bytes
 SHA1 (patch-Makefile.in) = 10275e2771cefcc96b23c5ccce0877861b2da795
 SHA1 (patch-omega.conf) = f1e941dac326de7005cad0a5a4a2848e401855c4
 SHA1 (patch-values.h) = b3758856f5a34c47e4247d8076fbbdc1e65305e2



Home | Main Index | Thread Index | Old Index