pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/expat
Module Name: pkgsrc
Committed By: nia
Date: Sun Sep 15 13:13:47 UTC 2019
Modified Files:
pkgsrc/textproc/expat: Makefile distinfo
Log Message:
expat: Update to 2.2.8
Release 2.2.8 Fri Septemper 13 2019
Security fixes:
#317 #318 CVE-2019-15903 -- Fix heap overflow triggered by
XML_GetCurrentLineNumber (or XML_GetCurrentColumnNumber),
and deny internal entities closing the doctype;
fixed in commit c20b758c332d9a13afbbb276d30db1d183a85d43
Bug fixes:
#240 Fix cases where XML_StopParser did not have any effect
when called from inside of an end element handler
#341 xmlwf: Fix exit code for operation without "-d DIRECTORY";
previously, only "-d DIRECTORY" would give you a proper
exit code:
# xmlwf -d . <<<'<not well-formed>' 2>/dev/null ; echo $?
2
# xmlwf <<<'<not well-formed>' 2>/dev/null ; echo $?
0
Now both cases return exit code 2.
Other changes:
#299 #302 Windows: Replace LoadLibrary hack to access
unofficial API function SystemFunction036 (RtlGenRandom)
by using official API function rand_s (needs WinXP+)
#325 Windows: Drop support for Visual Studio <=7.1/2003
and document supported compilers in README.md
#286 Windows: Remove COM code from xmlwf; in case it turns
out needed later, there will be a dedicated repository
below https://github.com/libexpat/ for that code
#322 Windows: Remove explicit MSVC solution and project files.
You can generate Visual Studio solution files through
CMake, e.g.: cmake -G"Visual Studio 15 2017" .
#338 xmlwf: Make "xmlwf -h" help output more friendly
#339 examples: Improve elements.c
#244 #264 Autotools: Add argument --enable-xml-attr-info
#239 #301 Autotools: Add arguments
--with-getrandom
--without-getrandom
--with-sys-getrandom
--without-sys-getrandom
#312 #343 Autotools: Fix linking issues with "./configure LD=clang"
Autotools: Fix "make run-xmltest" for out-of-source builds
#329 #336 CMake: Pull all options from Expat <=2.2.7 into namespace
prefix EXPAT_ with the exception of DOCBOOK_TO_MAN:
- BUILD_doc -> EXPAT_BUILD_DOCS (plural)
- BUILD_examples -> EXPAT_BUILD_EXAMPLES
- BUILD_shared -> EXPAT_SHARED_LIBS
- BUILD_tests -> EXPAT_BUILD_TESTS
- BUILD_tools -> EXPAT_BUILD_TOOLS
- DOCBOOK_TO_MAN -> DOCBOOK_TO_MAN (unchanged)
- INSTALL -> EXPAT_ENABLE_INSTALL
- MSVC_USE_STATIC_CRT -> EXPAT_MSVC_STATIC_CRT
- USE_libbsd -> EXPAT_WITH_LIBBSD
- WARNINGS_AS_ERRORS -> EXPAT_WARNINGS_AS_ERRORS
- XML_CONTEXT_BYTES -> EXPAT_CONTEXT_BYTES
- XML_DEV_URANDOM -> EXPAT_DEV_URANDOM
- XML_DTD -> EXPAT_DTD
- XML_NS -> EXPAT_NS
- XML_UNICODE -> EXPAT_CHAR_TYPE=ushort (!)
- XML_UNICODE_WCHAR_T -> EXPAT_CHAR_TYPE=wchar_t (!)
#244 #264 CMake: Add argument -DEXPAT_ATTR_INFO=(ON|OFF),
default OFF
#326 CMake: Add argument -DEXPAT_LARGE_SIZE=(ON|OFF),
default OFF
#328 CMake: Add argument -DEXPAT_MIN_SIZE=(ON|OFF),
default OFF
#239 #277 CMake: Add arguments
-DEXPAT_WITH_GETRANDOM=(ON|OFF|AUTO), default AUTO
-DEXPAT_WITH_SYS_GETRANDOM=(ON|OFF|AUTO), default AUTO
#326 CMake: Install expat_config.h to include directory
#326 CMake: Generate and install configuration files for
future find_package(expat [..] CONFIG [..])
CMake: Now produces a summary of applied configuration
CMake: Require C++ compiler only when tests are enabled
#330 CMake: Fix compilation for 16bit character types,
i.e. ex -DXML_UNICODE=ON (and ex -DXML_UNICODE_WCHAR_T=ON)
#265 CMake: Fix linking with MinGW
#330 CMake: Add full support for MinGW; to enable, use
-DCMAKE_TOOLCHAIN_FILE=[expat]/cmake/mingw-toolchain.cmake
#330 CMake: Port "make run-xmltest" from GNU Autotools to CMake
#316 CMake: Windows: Make binary postfix match MSVC
Old: expat[d].lib
New: expat[w][d][MD|MT].lib
CMake: Migrate files from Windows to Unix line endings
#308 CMake: Integrate OSS-Fuzz fuzzers, option
-DEXPAT_BUILD_FUZZERS=(ON|OFF), default OFF
#14 Drop an OpenVMS support leftover
#235 #268 ..
#270 #310 ..
#313 #331 #333 Address compiler warnings
#282 #283 ..
#284 #285 Address cppcheck warnings
#294 #295 Address Clang Static Analyzer warnings
#24 #293 Mass-apply clang-format 9 (and ensure conformance during CI)
Version info bumped from 7:9:6 to 7:10:6
Special thanks to:
David Loffredo
Joonun Jang
Khajapasha Mohammed
Kishore Kunche
Marco Maggi
Mitch Phillips
Rolf Ade
xantares
Zhongyuan Zhou
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 pkgsrc/textproc/expat/Makefile
cvs rdiff -u -r1.32 -r1.33 pkgsrc/textproc/expat/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/expat/Makefile
diff -u pkgsrc/textproc/expat/Makefile:1.39 pkgsrc/textproc/expat/Makefile:1.40
--- pkgsrc/textproc/expat/Makefile:1.39 Sat Jun 29 22:36:04 2019
+++ pkgsrc/textproc/expat/Makefile Sun Sep 15 13:13:47 2019
@@ -1,12 +1,13 @@
-# $NetBSD: Makefile,v 1.39 2019/06/29 22:36:04 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2019/09/15 13:13:47 nia Exp $
-DISTNAME= expat-2.2.7
+DISTNAME= expat-2.2.8
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=expat/}
-EXTRACT_SUFX= .tar.bz2
+MASTER_SITES= ${MASTER_SITE_GITHUB:=libexpat/}
+GITHUB_PROJECT= libexpat
+GITHUB_RELEASE= R_2_2_8
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://expat.sourceforge.net/
+HOMEPAGE= https://libexpat.github.io/
COMMENT= XML parser library written in C
LICENSE= mit
Index: pkgsrc/textproc/expat/distinfo
diff -u pkgsrc/textproc/expat/distinfo:1.32 pkgsrc/textproc/expat/distinfo:1.33
--- pkgsrc/textproc/expat/distinfo:1.32 Sat Jun 29 22:36:04 2019
+++ pkgsrc/textproc/expat/distinfo Sun Sep 15 13:13:47 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.32 2019/06/29 22:36:04 wiz Exp $
+$NetBSD: distinfo,v 1.33 2019/09/15 13:13:47 nia Exp $
-SHA1 (expat-2.2.7.tar.bz2) = 9c8a268211e3f1ae31c4d550e5be7708973ec6a6
-RMD160 (expat-2.2.7.tar.bz2) = 69422879994f197d8b2fe613a7e24d50703f0188
-SHA512 (expat-2.2.7.tar.bz2) = a078692317b44f14a9acdca4ddc04adac6a48d22ab321bba3e9e32c92131752aa397915d7121c4a95dc1b603d6a6128f7dce3741093d4322944787e0b49b4c00
-Size (expat-2.2.7.tar.bz2) = 524943 bytes
+SHA1 (expat-2.2.8.tar.gz) = 2097c111a23d0583cc8ea42f99ebfe7e29aeba92
+RMD160 (expat-2.2.8.tar.gz) = ecaa41cf9bf0363fa9dcaca062a2d29015b14343
+SHA512 (expat-2.2.8.tar.gz) = a7f29d451a235e326906b7c657234d97e4400397122d2cf13da96e437b558e29bec124ab02e32679c90614d53638adbb8d9d2ca441fb139f5d673f493c34115b
+Size (expat-2.2.8.tar.gz) = 661011 bytes
Home |
Main Index |
Thread Index |
Old Index