Files
bpfire/lfs/expat
Adolf Belka dbaba25987 expat: Update to version 2.6.3
- Update from version 2.6.2 to 2.6.3
- Update of rootfile
- 3 CVE Fixes in this release.
- Changelog
    2.6.3
	Security fixes:
	       #887 #890  CVE-2024-45490 -- Calling function XML_ParseBuffer with
	                    len < 0 without noticing and then calling XML_GetBuffer
	                    will have XML_ParseBuffer fail to recognize the problem
	                    and XML_GetBuffer corrupt memory.
	                    With the fix, XML_ParseBuffer now complains with error
	                    XML_ERROR_INVALID_ARGUMENT just like sibling XML_Parse
	                    has been doing since Expat 2.2.1, and now documented.
	                    Impact is denial of service to potentially artitrary code
	                    execution.
	       #888 #891  CVE-2024-45491 -- Internal function dtdCopy can have an
	                    integer overflow for nDefaultAtts on 32-bit platforms
	                    (where UINT_MAX equals SIZE_MAX).
	                    Impact is denial of service to potentially artitrary code
	                    execution.
	       #889 #892  CVE-2024-45492 -- Internal function nextScaffoldPart can
	                    have an integer overflow for m_groupSize on 32-bit
	                    platforms (where UINT_MAX equals SIZE_MAX).
	                    Impact is denial of service to potentially artitrary code
	                    execution.
	Other changes:
	       #851 #879  Autotools: Sync CMake templates with CMake 3.28
	            #853  Autotools: Always provide path to find(1) for portability
	            #861  Autotools: Ensure that the m4 directory always exists.
	            #870  Autotools: Simplify handling of SIZEOF_VOID_P
	            #869  Autotools: Support non-GNU sed
	            #856  Autotools|CMake: Fix main() to main(void)
	            #865  Autotools|CMake: Fix compile tests for HAVE_SYSCALL_GETRANDOM
	            #863  Autotools|CMake: Stop requiring dos2unix
	       #854 #855  CMake: Fix check for symbols size_t and off_t
	            #864  docs|tests: Convert README to Markdown and update
	            #741  Windows: Drop support for Visual Studio <=15.0/2017
	            #886  Drop needless XML_DTD guards around is_param access
	            #885  Fix typo in a code comment
	       #894 #896  Version info bumped from 10:2:9 (libexpat*.so.1.9.2)
	                    to 10:3:9 (libexpat*.so.1.9.3); see https://verbump.de/
	                    for what these numbers do
	Infrastructure:
	            #880  Readme: Promote the call for help
	            #868  CI: Fix various issues
	            #849  CI: Allow triggering GitHub Actions workflows manually
	    #851 #872 ..
	       #873 #879  CI: Adapt to breaking changes in GitHub Actions

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-09-05 08:50:35 +00:00

83 lines
3.4 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2024 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 2.6.3
THISAPP = expat-$(VER)
DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = b8e0a0e779f0f136eaca91115cbbcf5a5cca457cab1cca6f8d6141151d19f8ef2dccb41b0e9134459c1e7d99cb2e0b4ce3922d2bd9221002ec43fe9d53a0084a
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
$(UPDATE_AUTOMAKE)
cd $(DIR_APP) && ./configure \
--prefix=/usr \
--disable-static
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
cd $(DIR_APP) && install -v -m755 -d /usr/share/doc/$(THISAPP)
cd $(DIR_APP) && install -v -m644 doc/*.{html,css} /usr/share/doc/$(THISAPP)
@rm -rf $(DIR_APP)
@$(POSTBUILD)