expat: Update to version 2.4.9

Message ID 20220921171611.4110606-1-adolf.belka@ipfire.org
State Accepted
Commit aa4d18a8fbcdfc6123b3aea85a8df4d71e7a22e4
Headers
Series expat: Update to version 2.4.9 |

Commit Message

Adolf Belka Sept. 21, 2022, 5:16 p.m. UTC
  - Update from version 2.4.8 to 2.4.9
- Update of rootfile
- Changelog
   Release 2.4.9 Tue September 20 2022
        Security fixes:
	       #629 #640  CVE-2022-40674 -- Heap use-after-free vulnerability in
	                    function doContent. Expected impact is denial of service
	                    or potentially arbitrary code execution.
        Bug fixes:
	       	    #634  MinGW: Fix mis-compilation for -D__USE_MINGW_ANSI_STDIO=0
	            #614  docs: Fix documentation on effect of switch XML_DTD on
	                    symbol visibility in doc/reference.html
        Other changes:
	            #638  MinGW: Make fix-xmltest-log.sh drop more Wine bug output
	       #596 #625  Autotools: Sync CMake templates with CMake 3.22
	            #608  CMake: Migrate from use of CMAKE_*_POSTFIX to
	                    dedicated variables EXPAT_*_POSTFIX to stop affecting
	                    other projects
	       #597 #599  Windows|CMake: Add missing -DXML_STATIC to test runners
	                    and fuzzers
	       #512 #621  Windows|CMake: Render .def file from a template to fix
	                    linking with -DEXPAT_DTD=OFF and/or -DEXPAT_ATTR_INFO=ON
	       #611 #621  MinGW|CMake: Apply MSVC .def file when linking
	       #622 #624  MinGW|CMake: Sync library name with GNU Autotools,
	                    i.e. produce libexpat-1.dll rather than libexpat.dll
	                    by default.  Filename libexpat.dll.a is unaffected.
	            #632  MinGW|CMake: Set missing variable CMAKE_RC_COMPILER in
	                    toolchain file "cmake/mingw-toolchain.cmake" to avoid
	                    error "windres: Command not found" on e.g. Ubuntu 20.04
	       #597 #627  CMake: Unify inconsistent use of set() and option() in
	                    context of public build time options to take need for
	                    set(.. FORCE) in projects using Expat by means of
	                    add_subdirectory(..) off Expat's users' shoulders
	       #626 #641  Stop exporting API symbols when building a static library
	            #644  Resolve use of deprecated "fgrep" by "grep -F"
	            #620  CMake: Make documentation on variables a bit more consistent
	            #636  CMake: Drop leading whitespace from a #cmakedefine line in
	                    file expat_config.h.cmake
	            #594  xmlwf: Fix harmless variable mix-up in function nsattcmp
	  #592 #593 #610  Address Cppcheck warnings
	            #643  Address Clang 15 compiler warnings
	       #642 #644  Version info bumped from 9:8:8 to 9:9:8;
	                    see https://verbump.de/ for what these numbers do
        Infrastructure:
	       #597 #598  CI: Windows: Start covering MSVC 2022
	            #619  CI: macOS: Migrate off deprecated macOS 10.15
	            #632  CI: Linux: Make migration off deprecated Ubuntu 18.04 work
	            #643  CI: Upgrade Clang from 14 to 15
	            #637  apply-clang-format.sh: Add support for BSD find
	            #633  coverage.sh: Exclude MinGW headers
		    #635  coverage.sh: Fix name collision for -funsigned-char

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/expat | 20 ++++++++++----------
 lfs/expat                     |  4 ++--
 2 files changed, 12 insertions(+), 12 deletions(-)
  

Comments

Peter Müller Sept. 23, 2022, 10:40 a.m. UTC | #1
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> - Update from version 2.4.8 to 2.4.9
> - Update of rootfile
> - Changelog
>    Release 2.4.9 Tue September 20 2022
>         Security fixes:
> 	       #629 #640  CVE-2022-40674 -- Heap use-after-free vulnerability in
> 	                    function doContent. Expected impact is denial of service
> 	                    or potentially arbitrary code execution.
>         Bug fixes:
> 	       	    #634  MinGW: Fix mis-compilation for -D__USE_MINGW_ANSI_STDIO=0
> 	            #614  docs: Fix documentation on effect of switch XML_DTD on
> 	                    symbol visibility in doc/reference.html
>         Other changes:
> 	            #638  MinGW: Make fix-xmltest-log.sh drop more Wine bug output
> 	       #596 #625  Autotools: Sync CMake templates with CMake 3.22
> 	            #608  CMake: Migrate from use of CMAKE_*_POSTFIX to
> 	                    dedicated variables EXPAT_*_POSTFIX to stop affecting
> 	                    other projects
> 	       #597 #599  Windows|CMake: Add missing -DXML_STATIC to test runners
> 	                    and fuzzers
> 	       #512 #621  Windows|CMake: Render .def file from a template to fix
> 	                    linking with -DEXPAT_DTD=OFF and/or -DEXPAT_ATTR_INFO=ON
> 	       #611 #621  MinGW|CMake: Apply MSVC .def file when linking
> 	       #622 #624  MinGW|CMake: Sync library name with GNU Autotools,
> 	                    i.e. produce libexpat-1.dll rather than libexpat.dll
> 	                    by default.  Filename libexpat.dll.a is unaffected.
> 	            #632  MinGW|CMake: Set missing variable CMAKE_RC_COMPILER in
> 	                    toolchain file "cmake/mingw-toolchain.cmake" to avoid
> 	                    error "windres: Command not found" on e.g. Ubuntu 20.04
> 	       #597 #627  CMake: Unify inconsistent use of set() and option() in
> 	                    context of public build time options to take need for
> 	                    set(.. FORCE) in projects using Expat by means of
> 	                    add_subdirectory(..) off Expat's users' shoulders
> 	       #626 #641  Stop exporting API symbols when building a static library
> 	            #644  Resolve use of deprecated "fgrep" by "grep -F"
> 	            #620  CMake: Make documentation on variables a bit more consistent
> 	            #636  CMake: Drop leading whitespace from a #cmakedefine line in
> 	                    file expat_config.h.cmake
> 	            #594  xmlwf: Fix harmless variable mix-up in function nsattcmp
> 	  #592 #593 #610  Address Cppcheck warnings
> 	            #643  Address Clang 15 compiler warnings
> 	       #642 #644  Version info bumped from 9:8:8 to 9:9:8;
> 	                    see https://verbump.de/ for what these numbers do
>         Infrastructure:
> 	       #597 #598  CI: Windows: Start covering MSVC 2022
> 	            #619  CI: macOS: Migrate off deprecated macOS 10.15
> 	            #632  CI: Linux: Make migration off deprecated Ubuntu 18.04 work
> 	            #643  CI: Upgrade Clang from 14 to 15
> 	            #637  apply-clang-format.sh: Add support for BSD find
> 	            #633  coverage.sh: Exclude MinGW headers
> 		    #635  coverage.sh: Fix name collision for -funsigned-char
> 
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
>  config/rootfiles/common/expat | 20 ++++++++++----------
>  lfs/expat                     |  4 ++--
>  2 files changed, 12 insertions(+), 12 deletions(-)
> 
> diff --git a/config/rootfiles/common/expat b/config/rootfiles/common/expat
> index 69b3fbfe6..8feb895b3 100644
> --- a/config/rootfiles/common/expat
> +++ b/config/rootfiles/common/expat
> @@ -2,20 +2,20 @@
>  #usr/include/expat.h
>  #usr/include/expat_config.h
>  #usr/include/expat_external.h
> -#usr/lib/cmake/expat-2.4.8
> -#usr/lib/cmake/expat-2.4.8/expat-config-version.cmake
> -#usr/lib/cmake/expat-2.4.8/expat-config.cmake
> -#usr/lib/cmake/expat-2.4.8/expat-noconfig.cmake
> -#usr/lib/cmake/expat-2.4.8/expat.cmake
> +#usr/lib/cmake/expat-2.4.9
> +#usr/lib/cmake/expat-2.4.9/expat-config-version.cmake
> +#usr/lib/cmake/expat-2.4.9/expat-config.cmake
> +#usr/lib/cmake/expat-2.4.9/expat-noconfig.cmake
> +#usr/lib/cmake/expat-2.4.9/expat.cmake
>  #usr/lib/libexpat.la
>  #usr/lib/libexpat.so
>  usr/lib/libexpat.so.1
> -usr/lib/libexpat.so.1.8.8
> +usr/lib/libexpat.so.1.8.9
>  #usr/lib/pkgconfig/expat.pc
>  #usr/share/doc/expat
> -#usr/share/doc/expat-2.4.8
> -#usr/share/doc/expat-2.4.8/ok.min.css
> -#usr/share/doc/expat-2.4.8/reference.html
> -#usr/share/doc/expat-2.4.8/style.css
> +#usr/share/doc/expat-2.4.9
> +#usr/share/doc/expat-2.4.9/ok.min.css
> +#usr/share/doc/expat-2.4.9/reference.html
> +#usr/share/doc/expat-2.4.9/style.css
>  #usr/share/doc/expat/AUTHORS
>  #usr/share/doc/expat/changelog
> diff --git a/lfs/expat b/lfs/expat
> index 76f5a8e94..a1a1326d0 100644
> --- a/lfs/expat
> +++ b/lfs/expat
> @@ -24,7 +24,7 @@
>  
>  include Config
>  
> -VER        = 2.4.8
> +VER        = 2.4.9
>  
>  THISAPP    = expat-$(VER)
>  DL_FILE    = $(THISAPP).tar.bz2
> @@ -40,7 +40,7 @@ objects = $(DL_FILE)
>  
>  $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>  
> -$(DL_FILE)_BLAKE2 = a829bd94d2cc9b305874ae2539dd4388ea99eaed21d2da17bbd99a1e7735b0f7cb910d096f72c71b128dcb8ffdff9021109e7ff5e562d8cefad228fd8d66f897
> +$(DL_FILE)_BLAKE2 = d60183f96f3359acc069af638cc8d16ba19f51fbd8a61eddd80c2babddde357dcf0561e87af901f53617bfd9452e146c9dd9f317729cd3648b65832a38388640
>  
>  install : $(TARGET)
>
  

Patch

diff --git a/config/rootfiles/common/expat b/config/rootfiles/common/expat
index 69b3fbfe6..8feb895b3 100644
--- a/config/rootfiles/common/expat
+++ b/config/rootfiles/common/expat
@@ -2,20 +2,20 @@ 
 #usr/include/expat.h
 #usr/include/expat_config.h
 #usr/include/expat_external.h
-#usr/lib/cmake/expat-2.4.8
-#usr/lib/cmake/expat-2.4.8/expat-config-version.cmake
-#usr/lib/cmake/expat-2.4.8/expat-config.cmake
-#usr/lib/cmake/expat-2.4.8/expat-noconfig.cmake
-#usr/lib/cmake/expat-2.4.8/expat.cmake
+#usr/lib/cmake/expat-2.4.9
+#usr/lib/cmake/expat-2.4.9/expat-config-version.cmake
+#usr/lib/cmake/expat-2.4.9/expat-config.cmake
+#usr/lib/cmake/expat-2.4.9/expat-noconfig.cmake
+#usr/lib/cmake/expat-2.4.9/expat.cmake
 #usr/lib/libexpat.la
 #usr/lib/libexpat.so
 usr/lib/libexpat.so.1
-usr/lib/libexpat.so.1.8.8
+usr/lib/libexpat.so.1.8.9
 #usr/lib/pkgconfig/expat.pc
 #usr/share/doc/expat
-#usr/share/doc/expat-2.4.8
-#usr/share/doc/expat-2.4.8/ok.min.css
-#usr/share/doc/expat-2.4.8/reference.html
-#usr/share/doc/expat-2.4.8/style.css
+#usr/share/doc/expat-2.4.9
+#usr/share/doc/expat-2.4.9/ok.min.css
+#usr/share/doc/expat-2.4.9/reference.html
+#usr/share/doc/expat-2.4.9/style.css
 #usr/share/doc/expat/AUTHORS
 #usr/share/doc/expat/changelog
diff --git a/lfs/expat b/lfs/expat
index 76f5a8e94..a1a1326d0 100644
--- a/lfs/expat
+++ b/lfs/expat
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 2.4.8
+VER        = 2.4.9
 
 THISAPP    = expat-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
@@ -40,7 +40,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = a829bd94d2cc9b305874ae2539dd4388ea99eaed21d2da17bbd99a1e7735b0f7cb910d096f72c71b128dcb8ffdff9021109e7ff5e562d8cefad228fd8d66f897
+$(DL_FILE)_BLAKE2 = d60183f96f3359acc069af638cc8d16ba19f51fbd8a61eddd80c2babddde357dcf0561e87af901f53617bfd9452e146c9dd9f317729cd3648b65832a38388640
 
 install : $(TARGET)