pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/libxslt libxslt: update to 1.1.34.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b98c7875f33f
branches:  trunk
changeset: 417240:b98c7875f33f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Nov 06 13:23:45 2019 +0000

description:
libxslt: update to 1.1.34.

The release is out, includes a number of bug fixes and portability
patches.  Some improvement about enabling fuzzers and removings
some of the issues found, some having security implications, users
are invited to upgrade.

Documentation:
- Fix EXSLT web pages (Nick Wellnhofer)
- Regenerate web pages (Nick Wellnhofer)
- Fix Git link in news.html (Nick Wellnhofer)
- Minor documentation fixes after recent changes (Nick Wellnhofer)
- Fix typos (Jan Pokorn?)
- Regenerate symbols and API docs (Nick Wellnhofer)
- Regenerate EXSLT website (Nick Wellnhofer)

Portability:
- Remove stubs when compiling without debugger or profiler (Nick Wellnhofer)
- configure.ac: Invoke PKG_CHECK_MODULES for building shared libraries (Hugh McMaster)
- configure.ac: Conditionally determine whether xml2-config should pass shared libraries or static libraries
(Hugh McMaster)
- xslt-config.in: Fix broken --prefix=DIR support (Hugh McMaster)
- libexslt.pc.in: Do not expose private library  dependencies unless invoked (Hugh McMaster)
- libxslt.pc.in: Do not expose private library dependencies  unless invoked (Hugh McMaster)
- Fix -Wformat-overflow warning (GCC 9) (Nick Wellnhofer)
- Stop including ansidecl.h (Nick Wellnhofer)
- Remove WIN32_EXTRA_* variables (Nick Wellnhofer)
- Fix vsnprintf in Python bindings on Windows (Nick Wellnhofer)
- Build without winsock (Nick Wellnhofer)
- Stop redefining snprintf on MinGW (Nick Wellnhofer)

Bug Fixes:
- xsl:template without name and match attributes should not be allowed (Nikolai Weibull)
- Make sure that Python tests exit with error code (Nick Wellnhofer)
- Improve handling of invalid UTF-8 in format-number (Nick Wellnhofer)
- Fix dangling pointer in xsltCopyText (Nick Wellnhofer)
- Fix memory leak in pattern compilation error path (Nick Wellnhofer)
- Fix uninitialized read with UTF-8 grouping chars (Nick Wellnhofer)
- Fix integer overflow in FORMAT_GYEAR (Nick Wellnhofer)
- Fix performance regression with xsl:number (Nick Wellnhofer)
- Backup XPath context node in xsltInitCtxtKey (Nick Wellnhofer)
- Fix unsigned integer overflow in date.c (Nick Wellnhofer)
- Fix insertion of xsl:fallback content (Nick Wellnhofer)
- Avoid quadratic behavior in xsltSaveResultTo (Nick Wellnhofer)
- Fix numbering in non-Latin scripts (Nick Wellnhofer)
- Fix uninitialized read of xsl:number token (Nick Wellnhofer)
- Fix integer overflow in _exsltDateDayInWeek (Nick Wellnhofer)
- Rework xsltAttrVT allocation (Nick Wellnhofer)
- Fix check of xsltTestCompMatch return value (Nick Wellnhofer)
- Fix security framework bypass (Nick Wellnhofer)
- Use xmlNewTextChild in EXSLT dyn:map (Nick Wellnhofer)
- Fix float casts in exsltDateDuration (Nick Wellnhofer)
- Always set context node before calling XPath iterators (Nick Wellnhofer)
- Fix attribute precedence with xsl:use-attribute-sets (Nick Wellnhofer)
- Backup context node in exsltFuncFunctionFunction (Nick Wellnhofer)
- Initialize ctxt->output before evaluating global vars (Nick Wellnhofer)
- Fix memory leak in EXSLT functions error path (Nick Wellnhofer)

Improvements:
- Enable continuous integration via GitLab CI (Nick Wellnhofer)
- Fix -Wimplicit-fallthrough warnings (Nick Wellnhofer)
- Adjust number of API index pages (Nick Wellnhofer)
- Make xsltCompileRelativePathPattern non-recursive (Nick Wellnhofer)
- Check that crypto:rc4_decrypt produces valid UTF-8 (Nick Wellnhofer)
- Avoid recursion in keys.c:skipPredicate (Nick Wellnhofer)
- xslt-config.in: Simply handling of $all_flags (Hugh McMaster)
- xslt-config.in: Add a --dynamic option to --libs (Hugh McMaster)
- xslt-config.in: Simplify basic library handling (Hugh McMaster)
- xslt-config.in: Remove unused variable (Hugh McMaster)
- xslt-config: Simply handling of --cflags (Hugh McMaster)
- Add Travis test with MemorySanitizer (Nick Wellnhofer)
- Run Travis ASan tests under Xenial (Nick Wellnhofer)
- Improve fuzzers (Nick Wellnhofer)
- Always reuse XPath context (Nick Wellnhofer)
- Compile with -Wextra (Nick Wellnhofer)
- Make profiler support optional (Nick Wellnhofer)
- Hide unused code when compiling without debugger (Nick Wellnhofer)
- Reorganize fuzzing code (Nick Wellnhofer)
- Simplify .gitignore (Nick Wellnhofer)
- Optional operation limit (Nick Wellnhofer)
- Improve seed corpus and dictionary (Nick Wellnhofer)
- Reuse XPath context when compiling stylesheets (Nick Wellnhofer)
- Reuse XPath context in dyn:map (Nick Wellnhofer)
- Reuse XPath context in saxon:expression (Nick Wellnhofer)
- Add libFuzzer targets (Nick Wellnhofer)
- Adjust error message in expected test output (Nick Wellnhofer)
- Change bug tracker URL (Nick Wellnhofer)
- Change git repo URL (Nick Wellnhofer)
- Regenerate NEWS (Nick Wellnhofer)
- Fix misleading indentation in security.c (Nick Wellnhofer)

Cleanups:
- Remove empty TODO file (Nick Wellnhofer)
- Remove generated file libxsltclass.txt from version control (Nick Wellnhofer)
- Rebuild docs (Nick Wellnhofer)

Thanks to Nick and everybody who helped to build this release!

diffstat:

 textproc/libxslt/Makefile          |   5 ++---
 textproc/libxslt/Makefile.common   |   4 ++--
 textproc/libxslt/PLIST             |   3 +--
 textproc/libxslt/distinfo          |  10 +++++-----
 textproc/libxslt/xsltproc-nonet.mk |   5 +++--
 5 files changed, 13 insertions(+), 14 deletions(-)

diffs (89 lines):

diff -r cd921c7e067e -r b98c7875f33f textproc/libxslt/Makefile
--- a/textproc/libxslt/Makefile Wed Nov 06 13:19:53 2019 +0000
+++ b/textproc/libxslt/Makefile Wed Nov 06 13:23:45 2019 +0000
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.109 2019/08/11 13:23:25 wiz Exp $
+# $NetBSD: Makefile,v 1.110 2019/11/06 13:23:45 wiz Exp $
 
-PKGREVISION= 1
 .include "Makefile.common"
 
 BUILD_DEPENDS+=        docbook-xml-[0-9]*:../../textproc/docbook-xml
@@ -20,7 +19,7 @@
 BUILDLINK_TRANSFORM.SunOS+=    opt:-Wl,./libxslt.syms:-Wl,./libxslt_solaris.syms
 
 .include "../../mk/bsd.prefs.mk"
-.if !empty(MACHINE_PLATFORM:MIRIX-5*)
+.if !empty(MACHINE_PLATFORM:MIRIX-5.*)
 CPPFLAGS+=     -Dsocklen_t=int
 .endif
 
diff -r cd921c7e067e -r b98c7875f33f textproc/libxslt/Makefile.common
--- a/textproc/libxslt/Makefile.common  Wed Nov 06 13:19:53 2019 +0000
+++ b/textproc/libxslt/Makefile.common  Wed Nov 06 13:23:45 2019 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.5 2019/01/09 19:12:14 adam Exp $
+# $NetBSD: Makefile.common,v 1.6 2019/11/06 13:23:45 wiz Exp $
 #
 # used by textproc/libxslt/Makefile
 # used by textproc/py-libxslt/Makefile
 
-DISTNAME=      libxslt-1.1.33
+DISTNAME=      libxslt-1.1.34
 CATEGORIES=    textproc
 MASTER_SITES=  ftp://xmlsoft.org/libxslt/
 MASTER_SITES+= http://xmlsoft.org/sources/
diff -r cd921c7e067e -r b98c7875f33f textproc/libxslt/PLIST
--- a/textproc/libxslt/PLIST    Wed Nov 06 13:19:53 2019 +0000
+++ b/textproc/libxslt/PLIST    Wed Nov 06 13:23:45 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.40 2010/04/13 16:14:03 drochner Exp $
+@comment $NetBSD: PLIST,v 1.41 2019/11/06 13:23:45 wiz Exp $
 bin/xslt-config
 bin/xsltproc
 include/libexslt/exslt.h
@@ -40,7 +40,6 @@
 share/doc/libxslt/APIchunk10.html
 share/doc/libxslt/APIchunk11.html
 share/doc/libxslt/APIchunk12.html
-share/doc/libxslt/APIchunk13.html
 share/doc/libxslt/APIchunk2.html
 share/doc/libxslt/APIchunk3.html
 share/doc/libxslt/APIchunk4.html
diff -r cd921c7e067e -r b98c7875f33f textproc/libxslt/distinfo
--- a/textproc/libxslt/distinfo Wed Nov 06 13:19:53 2019 +0000
+++ b/textproc/libxslt/distinfo Wed Nov 06 13:23:45 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.64 2019/01/09 19:12:14 adam Exp $
+$NetBSD: distinfo,v 1.65 2019/11/06 13:23:45 wiz Exp $
 
-SHA1 (libxslt-1.1.33.tar.gz) = 7dcda921d9d3d3325449dae5cf84dbb102d26928
-RMD160 (libxslt-1.1.33.tar.gz) = e1c3ad9b6f7dbdf069320097e19fce0f11ce5c12
-SHA512 (libxslt-1.1.33.tar.gz) = ebbe438a38bf6355950167d3b580edc22baa46a77068c18c42445c1c9c716d42bed3b30c5cd5bec359ab32d03843224dae458e9e32dc61693e7cf4bab23536e0
-Size (libxslt-1.1.33.tar.gz) = 3444093 bytes
+SHA1 (libxslt-1.1.34.tar.gz) = 5b42a1166a1688207028e4a5e72090828dd2a61e
+RMD160 (libxslt-1.1.34.tar.gz) = 46a5d1ac1524ad685447cec71c0f8313d727f0af
+SHA512 (libxslt-1.1.34.tar.gz) = 1516a11ad608b04740674060d2c5d733b88889de5e413b9a4e8bf8d1a90d712149df6d2b1345b615f529d7c7d3fa6dae12e544da828b39c7d415e54c0ee0776b
+Size (libxslt-1.1.34.tar.gz) = 3552258 bytes
 SHA1 (patch-libexslt_date.c) = 40ce3940a93b6a2dc804f62676909d3313e0ea52
diff -r cd921c7e067e -r b98c7875f33f textproc/libxslt/xsltproc-nonet.mk
--- a/textproc/libxslt/xsltproc-nonet.mk        Wed Nov 06 13:19:53 2019 +0000
+++ b/textproc/libxslt/xsltproc-nonet.mk        Wed Nov 06 13:23:45 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: xsltproc-nonet.mk,v 1.3 2015/07/09 01:56:44 richard Exp $
+# $NetBSD: xsltproc-nonet.mk,v 1.4 2019/11/06 13:23:45 wiz Exp $
 
 BUILD_DEPENDS+=        libxslt-[0-9]*:../../textproc/libxslt
 
@@ -7,9 +7,10 @@
 # --nonet avoids network connections during builds
 # XLSTPROC_PATH allows any necessary files (e.g. dtds) to be found
 # locally in the paths provided with the default being '--path .'
+.PHONY: create-xsltproc-wrapper
 create-xsltproc-wrapper:
        ${PRINTF} "#! ${SH}\\n\
-       ${LOCALBASE}/bin/xsltproc --nonet \
+       ${PREFIX}/bin/xsltproc --nonet \
        --path ${XSLTPROC_PATH:U.:O:u:ts::Q} \$$*\\n\
        " > ${BUILDLINK_DIR}/bin/xsltproc
        ${CHMOD} +x ${BUILDLINK_DIR}/bin/xsltproc



Home | Main Index | Thread Index | Old Index