expat: update to 2.3.0. Release 2.3.0 Thu March 25 2021 Bug fixes: #438 When calling XML_ParseBuffer without a prior successful call to XML_GetBuffer as a user, no longer trigger undefined behavior (by adding an integer to a NULL pointer) but rather return XML_STATUS_ERROR and set the error code to (new) code XML_ERROR_NO_BUFFER. Found by UBSan (UndefinedBehaviorSanitizer) of Clang 11 (but not Clang 9). #444 xmlwf: Exit status 2 was used for both: - malformed input files (documented) and - invalid command-line arguments (undocumented). The case of invalid command-line arguments now has its own exit status 4, resolving the ambiguity. Other changes: #439 xmlwf: Add argument -k to allow continuing after non-fatal errors #439 xmlwf: Add section about exit status to the -h help output #422 #426 #447 Windows: Drop support for Visual Studio <=14.0/2015 #434 Windows: CMake: Detect unsupported Visual Studio at configure time (rather than at compile time) #382 #428 testrunner: Make verbose mode (argument "-v") report about passed tests, and make default mode report about failures, as well. #442 CMake: Call "enable_language(CXX)" prior to tinkering with CMAKE_CXX_* variables #448 Document use of libexpat from a CMake-based project #451 Autotools: Install CMake files as generated by CMake 3.19.6 so that users with "find_package(expat [..] CONFIG [..])" are served on distributions that are *not* using the CMake build system inside for libexpat packaging #436 #437 Autotools: Drop obsolescent macro AC_HEADER_STDC #450 #452 Autotools: Resolve use of obsolete macro AC_CONFIG_HEADER #441 Address compiler warnings #443 Version info bumped from 7:12:6 to 8:0:7 due to addition of error code XML_ERROR_NO_BUFFER (see https://verbump.de/ for what these numbers do) Infrastructure: #435 #446 Replace Travis CI by GitHub Actions Special thanks to: Alexander Richardson Oleksandr Popovych Thomas Beutlich Tim Bray and Clang LeakSan, Clang 11 UBSan and the Clang teamdiff -r1.45 -r1.46 pkgsrc/textproc/expat/Makefile
(wiz)
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.45 2020/10/09 12:00:56 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.46 2021/05/10 09:33:33 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= expat-2.2.10 | 3 | DISTNAME= expat-2.3.0 | |
4 | PKGREVISION= 1 | |||
5 | CATEGORIES= textproc | 4 | CATEGORIES= textproc | |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=libexpat/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=libexpat/} | |
7 | GITHUB_PROJECT= libexpat | 6 | GITHUB_PROJECT= libexpat | |
8 | GITHUB_RELEASE= R_${PKGVERSION_NOREV:S/./_/g} | 7 | GITHUB_RELEASE= R_${PKGVERSION_NOREV:S/./_/g} | |
9 | 8 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= https://libexpat.github.io/ | 10 | HOMEPAGE= https://libexpat.github.io/ | |
12 | COMMENT= XML parser library written in C | 11 | COMMENT= XML parser library written in C | |
13 | LICENSE= mit | 12 | LICENSE= mit | |
14 | 13 | |||
15 | GNU_CONFIGURE= yes | 14 | GNU_CONFIGURE= yes | |
16 | USE_LIBTOOL= yes | 15 | USE_LIBTOOL= yes | |
17 | 16 |
@@ -1,12 +1,16 @@ | @@ -1,12 +1,16 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.15 2020/10/08 16:55:04 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.16 2021/05/10 09:33:33 wiz Exp $ | |
2 | bin/xmlwf | 2 | bin/xmlwf | |
3 | include/expat.h | 3 | include/expat.h | |
4 | include/expat_config.h | 4 | include/expat_config.h | |
5 | include/expat_external.h | 5 | include/expat_external.h | |
6 | lib/cmake/${PKGNAME}/expat-config-version.cmake | |||
7 | lib/cmake/${PKGNAME}/expat-config.cmake | |||
8 | lib/cmake/${PKGNAME}/expat-noconfig.cmake | |||
9 | lib/cmake/${PKGNAME}/expat.cmake | |||
6 | lib/libexpat.la | 10 | lib/libexpat.la | |
7 | lib/pkgconfig/expat.pc | 11 | lib/pkgconfig/expat.pc | |
8 | man/man1/xmlwf.1 | 12 | man/man1/xmlwf.1 | |
9 | share/doc/expat/AUTHORS | 13 | share/doc/expat/AUTHORS | |
10 | share/doc/expat/changelog | 14 | share/doc/expat/changelog | |
11 | share/doc/expat/reference.html | 15 | share/doc/expat/reference.html | |
12 | share/doc/expat/style.css | 16 | share/doc/expat/style.css |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.35 2020/10/07 19:53:02 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.36 2021/05/10 09:33:33 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (expat-2.2.10.tar.gz) = 042cd99f79d7141e9eec12cc215646aac3f307db | 3 | SHA1 (expat-2.3.0.tar.gz) = 8928f1d87b2b475ebf1b0a5b1f27032c0fc99dbc | |
4 | RMD160 (expat-2.2.10.tar.gz) = 6b62f98ef8bf05cccf2c375f132589e336ddef19 | 4 | RMD160 (expat-2.3.0.tar.gz) = 4d13fc507ae057a3d1620225b59fc09f17eff5b7 | |
5 | SHA512 (expat-2.2.10.tar.gz) = b22019832fe1be1ddfea5e5e14f3079ac77803096fbd464699a245d51a4a610d1c9657ad4353868a545290df37ad2a796882922da2a77314b6b34edab67506a7 | 5 | SHA512 (expat-2.3.0.tar.gz) = 5ba6f707d5f2c758ecfa02e43f412e8ab09283f91d06f95fc24ac2b7ffbe2cd3e561390a40ef90448573881a7561622fdfbc5f7bd53cff7abc1ef310f411a16a | |
6 | Size (expat-2.2.10.tar.gz) = 665590 bytes | 6 | Size (expat-2.3.0.tar.gz) = 676629 bytes |