pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Wed May 17 23:35:45 UTC 2023

Modified Files:
        pkgsrc/textproc/libxslt: Makefile Makefile.common distinfo
        pkgsrc/textproc/py-libxslt: Makefile

Log Message:
libxslt & py-libxslt: update to 1.1.38

### Major changes

About 40 memory errors in code paths handling malloc failures have been fixed.
While these issues shouldn't impact security, this improves robustness under
memory pressure.

The result of generate-id() is now deterministic across multiple
transformations fixing many issues with reproducible builds.

Most of the test suite has been ported to C.

### Bug fixes

- Fix memory errors in code handling malloc failures
- imports: Fix import/include cycle check
- xsltlocale: Fix xsltNewLocale on macOS
- Make xsl:sort thread-safe
- Make generate-id() deterministic

### Improvements

- Stop using xmlStringCurrentChar
- attributes.h needs to include xsltInternals.h (David Kilzer)
- transform: Avoid null deref on documents without root node
- numbers: Fix floating point overflows
- date: Fix integer overflow in exsltDateFormatDuration
- numbers: Fix harmless integer sign change
- date: Add more overflow checks to formatting code (David Kilzer)
- date: Fix rounding to make Windows tests pass
- date: Rewrite duration and seconds formatting
- xsltlocale: Make API platform-independent
- Also accept application/xslt+xml media type in stylesheet PIs
- warnings: Fix strict prototypes warning
- xsltEvalUserParams() and xsltQuoteUserParams() are susceptible to integer
  overflow when iterating through const char** array (David Kilzer)
- xslt: Return NULL stylesheet on attribute set errors
- xsltproc: Fix unused variable warning
- xslt: Remove declaration for old libxml2
- Fix various compiler warnings
- Fix compiler warnings in xsltGenerateIdFunction
- Disable Python bindings for debugger
- Don't declare disabled functions
- Migrate from PyEval_ to PyObject_

### Build system

- cmake: Use version script
- autotools: Link with --undefined-version
- win32: Remove broken libxslt.def.src
- Stop updating version script
- add support for Windows time functions (Rosen Penev)
- cmake: link against libm on UNIX systems (Alex Richardson)
- build: Add a distutils-based build system for the Python bits (Chun-wei Fan)
- CMake: Relax check for Python 3.x support on Windows (Chun-wei Fan)
- python/types.c: Fix building against older libxml2 (Chun-wei Fan)
- python/libxslt.c: Replace ssize_t with Py_ssize_t (Chun-wei Fan)
- cmake: Fix build with libxslt and libxml2 as subprojects
- cmake: Set SOVERSION
- cmake: Extract version from configure.ac
- Fix classic Windows configuration for libexslt (Christoph M. Becker)
- autotools: Fix Python tests in VPATH builds
- autotools: Disable parallel Python build
- autotools: Use AM_CFLAGS consistently
- autotools: Link with -no-undefined
- cmake: Fix Python installation
- cmake: Don't check for Python 2
- python: Don't output missing generators during build
- python: Create .pyd on Windows
- python: Fix build on Windows
- python: Support Python 3 on Windows
- cmake: Enable GCC compiler warnings
- Update GCC compiler warnings

### Tests

- python: Remove temp file when running tests/basic.py
- fuzz: Improve fuzzers
- xsltlocale: Add test
- gitlab-ci: Reenable MSan and LeakSanitizer
- tests: Remove unused files
- tests: Enable runtest.exe under MSVC
- tests: Fix LIBXSLT_PLUGINS_PATH for multi-config CMake
- tests: Remove unused leak statistics
- tests: Skip some tests if iconv/ICU is disabled
- gitlab-ci: Run Autotools tests with out-of-tree (VPATH) builds
- tests: Port most of the test suite to C
- tests: Fix out-of-tree Python tests
- tests: Fix source directory for reports tests
- gitlab-ci: Consolidate CMake test scripts
- gitlab-ci: Only install cmake MinGW package if needed
- gitlab-ci: Install 7-Zip using the .msi
- gitlab-ci: Add CI job for MinGW/Autotools
- gitlab-ci: Disable MSan for now
- Run CI tests with -fsanitize=integer
- Fix EXSLT functions tests when libxml2 is built --without-debug
- Make CI tests exit on failure
- Run Python 3 CI job with minimal configuration
- Set library path when running Python tests

### Documentation

- doc: Remove unused cross-reference data
- doc: Update apibuild.py


To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 pkgsrc/textproc/libxslt/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/libxslt/Makefile.common
cvs rdiff -u -r1.70 -r1.71 pkgsrc/textproc/libxslt/distinfo
cvs rdiff -u -r1.66 -r1.67 pkgsrc/textproc/py-libxslt/Makefile

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

Modified files:

Index: pkgsrc/textproc/libxslt/Makefile
diff -u pkgsrc/textproc/libxslt/Makefile:1.124 pkgsrc/textproc/libxslt/Makefile:1.125
--- pkgsrc/textproc/libxslt/Makefile:1.124      Wed Apr 19 08:08:46 2023
+++ pkgsrc/textproc/libxslt/Makefile    Wed May 17 23:35:45 2023
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.124 2023/04/19 08:08:46 adam Exp $
+# $NetBSD: Makefile,v 1.125 2023/05/17 23:35:45 gutteridge Exp $
 
-PKGREVISION= 2
 .include "Makefile.common"
 
 BUILD_DEPENDS+=        docbook-xml-[0-9]*:../../textproc/docbook-xml

Index: pkgsrc/textproc/libxslt/Makefile.common
diff -u pkgsrc/textproc/libxslt/Makefile.common:1.7 pkgsrc/textproc/libxslt/Makefile.common:1.8
--- pkgsrc/textproc/libxslt/Makefile.common:1.7 Thu Oct 13 11:22:24 2022
+++ pkgsrc/textproc/libxslt/Makefile.common     Wed May 17 23:35:45 2023
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.7 2022/10/13 11:22:24 wiz Exp $
+# $NetBSD: Makefile.common,v 1.8 2023/05/17 23:35:45 gutteridge Exp $
 #
 # used by textproc/libxslt/Makefile
 # used by textproc/py-libxslt/Makefile
 
-DISTNAME=      libxslt-1.1.37
+DISTNAME=      libxslt-1.1.38
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/libxslt/${PKGVERSION_NOREV:R}/}
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/textproc/libxslt/distinfo
diff -u pkgsrc/textproc/libxslt/distinfo:1.70 pkgsrc/textproc/libxslt/distinfo:1.71
--- pkgsrc/textproc/libxslt/distinfo:1.70       Thu Oct 13 11:22:24 2022
+++ pkgsrc/textproc/libxslt/distinfo    Wed May 17 23:35:45 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.70 2022/10/13 11:22:24 wiz Exp $
+$NetBSD: distinfo,v 1.71 2023/05/17 23:35:45 gutteridge Exp $
 
-BLAKE2s (libxslt-1.1.37.tar.xz) = 43105aa9f0956bede37f422d6c7ac2dabf454b82c7292ddb898b3545081b54c2
-SHA512 (libxslt-1.1.37.tar.xz) = a4e477d2bb918b7d01945e2c7491c3a4aae799dc1602bbd13de55c8a5052e210a20bc45115347eae44473c8b1d03dbc5e4a2aa18c2218f1fdfd376d87cd501ca
-Size (libxslt-1.1.37.tar.xz) = 1588572 bytes
+BLAKE2s (libxslt-1.1.38.tar.xz) = 23c109c76b13f3dda0bc3a64346979ab54ea5d979f4506a802b705c5fe305f6f
+SHA512 (libxslt-1.1.38.tar.xz) = 2836bd2990b95680db0960ac4c465d0c6c28a293ad095a224c05021a1c8d2576a45e41da8947a31f4ef3e6ef368cbda65243661e311c9886c19694be5a7c9a8e
+Size (libxslt-1.1.38.tar.xz) = 1576676 bytes

Index: pkgsrc/textproc/py-libxslt/Makefile
diff -u pkgsrc/textproc/py-libxslt/Makefile:1.66 pkgsrc/textproc/py-libxslt/Makefile:1.67
--- pkgsrc/textproc/py-libxslt/Makefile:1.66    Wed Apr 19 08:11:39 2023
+++ pkgsrc/textproc/py-libxslt/Makefile Wed May 17 23:35:45 2023
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.66 2023/04/19 08:11:39 adam Exp $
+# $NetBSD: Makefile,v 1.67 2023/05/17 23:35:45 gutteridge Exp $
 
-PKGREVISION= 2
 .include "../../textproc/libxslt/Makefile.common"
 
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}



Home | Main Index | Thread Index | Old Index