Files
bpfire/lfs/xz
Adolf Belka 19d67c8202 xz: Update to version 5.4.5
- Update from version 5.4.0 to 5.4.5
- Update of rootfile
- Changelog
    5.4.5 (2023-11-01)
	    * liblzma:
	        - Use __attribute__((__no_sanitize_address__)) to avoid address
	          sanitization with CRC64 CLMUL. It uses 16-byte-aligned reads
	          which can extend past the bounds of the input buffer and
	          inherently trigger address sanitization errors. This isn't
	          a bug.
	        - Fixed an assertion failure that could be triggered by a large
	          unpadded_size argument. It was verified that there was no
	          other bug than the assertion failure.
	        - Fixed a bug that prevented building with Windows Vista
	          threading when __attribute__((__constructor__)) is not
	          supported.
	    * xz now properly handles special files such as "con" or "nul" on
	      Windows. Before this fix, the following wrote "foo" to the
	      console and deleted the input file "con_xz":
	          echo foo | xz > con_xz
	          xz --suffix=_xz --decompress con_xz
	    * Build systems:
	        - Allow builds with Windows win95 threading and small mode when
	          __attribute__((__constructor__)) is supported.
	        - Added a new line to liblzma.pc for MSYS2 (Windows):
	              Cflags.private: -DLZMA_API_STATIC
	          When compiling code that will link against static liblzma,
	          the LZMA_API_STATIC macro needs to be defined on Windows.
	        - CMake specific changes:
	            * Fixed a bug that allowed CLOCK_MONOTONIC to be used even
	              if the check for it failed.
	            * Fixed a bug where configuring CMake multiple times
	              resulted in HAVE_CLOCK_GETTIME and HAVE_CLOCK_MONOTONIC
	              not being set.
	            * Fixed the build with MinGW-w64-based Clang/LLVM 17.
	              llvm-windres now has more accurate GNU windres emulation
	              so the GNU windres workaround from 5.4.1 is needed with
	              llvm-windres version 17 too.
	            * The import library on Windows is now properly named
	              "liblzma.dll.a" instead of "libliblzma.dll.a"
	            * Fixed a bug causing the Ninja Generator to fail on
	              UNIX-like systems. This bug was introduced in 5.4.0.
	            * Added a new option to disable CLMUL CRC64.
	            * A module-definition (.def) file is now created when
	              building liblzma.dll with MinGW-w64.
	            * The pkg-config liblzma.pc file is now installed on all
	              builds except when using MSVC on Windows.
	            * Added large file support by default for platforms that
	              need it to handle files larger than 2 GiB. This includes
	              MinGW-w64, even 64-bit builds.
	    * Small fixes and improvements to the tests.
	    * Updated translations: Chinese (simplified) and Esperanto.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2023-11-21 19:26:44 +00:00

83 lines
3.2 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2023 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 = 5.4.5
THISAPP = xz-$(VER)
DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
ifeq "$(ROOT)" ""
TARGET = $(DIR_INFO)/$(THISAPP)
else
TARGET = $(DIR_INFO)/$(THISAPP)-tools
endif
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 08d9afebd927ea5d155515a4c9eedda4d1a249f2b1ab6ada11f50e5b7a3c90b389b32378ab1c0872c7f4627de8dff37149d85e49f7f4d30614add37320ec4f3e
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)
cd $(DIR_APP) && ./configure --prefix=$(PREFIX)
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)