summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-09-15 13:13:47 +0000
committernia <nia@pkgsrc.org>2019-09-15 13:13:47 +0000
commitb14a80ca5000f45eda15112639a6f6cf74fbfdf0 (patch)
treec5ebc35d3f6628735fd3a58bd0d68b9baf2188d7 /textproc
parent26984da1147df55a40334d91766c0e5adbf610b4 (diff)
downloadpkgsrc-b14a80ca5000f45eda15112639a6f6cf74fbfdf0.tar.gz
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
Diffstat (limited to 'textproc')
-rw-r--r--textproc/expat/Makefile11
-rw-r--r--textproc/expat/distinfo10
2 files changed, 11 insertions, 10 deletions
diff --git a/textproc/expat/Makefile b/textproc/expat/Makefile
index 72377cd3336..e42fb2256a8 100644
--- a/textproc/expat/Makefile
+++ b/textproc/expat/Makefile
@@ -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
-HOMEPAGE= http://expat.sourceforge.net/
+HOMEPAGE= https://libexpat.github.io/
COMMENT= XML parser library written in C
LICENSE= mit
diff --git a/textproc/expat/distinfo b/textproc/expat/distinfo
index 5decb3367b6..507a835c1cb 100644
--- a/textproc/expat/distinfo
+++ b/textproc/expat/distinfo
@@ -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