From patchwork Wed Jan 25 22:41:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 6466 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4P2Jjd6db0z3xG6 for ; Wed, 25 Jan 2023 22:41:41 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4P2JjX1b6bz3h7; Wed, 25 Jan 2023 22:41:36 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4P2JjW4FVRz30H8; Wed, 25 Jan 2023 22:41:35 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4P2JjT4pTGz2xbq for ; Wed, 25 Jan 2023 22:41:33 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4P2JjT1G0nzWw; Wed, 25 Jan 2023 22:41:33 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1674686493; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/huujk3z7EIWBHkXTWimhNsKHN7jNlexy3Fs5SCJNRA=; b=UL8YKE+0rZzXJjN0myr+cRmRQ6tALQDSC1+fyq47S3jyNBXsx12sC00I8WtED+gvWozcwI MaXOt/WIEyKxatDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1674686493; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/huujk3z7EIWBHkXTWimhNsKHN7jNlexy3Fs5SCJNRA=; b=OXwq1h+A0arrTJcMllXk46YFdxjnUZzqDZhbyfe28T1lJWgwjHhoV+24EqAB1JWB3D6one oQBHdd1KnB/pJZgq1LTrsuYmETlfejv6pexLSc71OXs6Brabo+3VJk14Hg8H/1zR11BORZ mLLRJEGiWSIjd/DR2x+eLeHerWzkWB8zRO26t3fzmgdEbFvgjnZHx/fUw7bMXiARJrw9PP CED7fUq6ECd9hWodyTAjeKjBtiS/eSBDWjqZgic/AvB1lqS/jzAcorT75bb4P/vkuFfgF5 ooU9mqjzk3GcWX2/Ck66eMezL949KR+LrsQ28c+oh1ErWf0ZrsetEO9RXdX+6g== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] lz4: Update to version 1.9.4 Date: Wed, 25 Jan 2023 23:41:21 +0100 Message-Id: <20230125224125.3599166-2-adolf.belka@ipfire.org> In-Reply-To: <20230125224125.3599166-1-adolf.belka@ipfire.org> References: <20230125224125.3599166-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - Update from version 1.9.3 to 1.9.4 - Update of rootfile - Changelog v1.9.4 perf : faster decoding speed (~+20%) on aarch64 platforms perf : faster decoding speed (~+70%) for -BD4 setting in CLI api : new function `LZ4_decompress_safe_partial_usingDict()` by @yawqi api : lz4frame: ability to provide custom allocators at state creation api : can skip checksum validation for improved decoding speed api : new experimental unit `lz4file` for file i/o API, by @anjiahao1 api : new experimental function `LZ4F_uncompressedUpdate()`, by @alexmohr cli : `--list` works on `stdin` input, by @Low-power cli : `--no-crc` does not produce (compression) nor check (decompression) checksums cli : fix: `--test` and `--list` produce an error code when parsing invalid input cli : fix: support skippable frames when passed via `stdin`, reported by @davidmankin build: fix: Makefile respects CFLAGS directives passed via environment variable build: `LZ4_FREESTANDING`, new build macro for freestanding environments, by @t-mat build: `make` and `make test` are compatible with `-j` parallel run build: AS/400 compatibility, by @jonrumsey build: Solaris 10 compatibility, by @pekdon build: MSVC 2022 support, by @t-mat build: improved meson script, by @eli-schwartz doc : Updated LZ4 block format, provide an "implementation notes" section Signed-off-by: Adolf Belka --- config/rootfiles/common/lz4 | 2 +- lfs/lz4 | 8 ++++---- ...th.patch => lz4-1.9.4_mod_install_path.patch} | 16 ++++++++-------- 3 files changed, 13 insertions(+), 13 deletions(-) rename src/patches/{lz4-1.9.3_mod_install_path.patch => lz4-1.9.4_mod_install_path.patch} (60%) diff --git a/config/rootfiles/common/lz4 b/config/rootfiles/common/lz4 index 9a8abcd2b..4864814ec 100644 --- a/config/rootfiles/common/lz4 +++ b/config/rootfiles/common/lz4 @@ -9,7 +9,7 @@ usr/bin/lz4 #usr/lib/liblz4.a #usr/lib/liblz4.so usr/lib/liblz4.so.1 -usr/lib/liblz4.so.1.9.3 +usr/lib/liblz4.so.1.9.4 #usr/lib/pkgconfig/liblz4.pc #usr/share/man/man1/lz4.1 #usr/share/man/man1/lz4c.1 diff --git a/lfs/lz4 b/lfs/lz4 index 7f3f87144..f15b962c9 100644 --- a/lfs/lz4 +++ b/lfs/lz4 @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2019 IPFire Team # +# Copyright (C) 2007-2023 IPFire Team # # # # 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 # @@ -24,7 +24,7 @@ include Config -VER = 1.9.3 +VER = 1.9.4 THISAPP = lz4-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -41,7 +41,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 9a194bd18ff52f780aa03a8a53fe7fab7b58117d768f4ba8e5005830c935d16328d0f7cc54f9413b58faf245017c0ac85fb4e709a9db150cb150a0a2a3c21645 +$(DL_FILE)_BLAKE2 = 2289cdce36acd35283bf2f02ef4d6d8f4805563be6d5a3492f3d6ea7975fb6bd14e1ac2e505df9747776edf8bcf0da7ba4ae7084b150e3ec08a52a9885f92ad5 install : $(TARGET) @@ -74,7 +74,7 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/lz4-1.9.3_mod_install_path.patch + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/lz4-1.9.4_mod_install_path.patch cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install diff --git a/src/patches/lz4-1.9.3_mod_install_path.patch b/src/patches/lz4-1.9.4_mod_install_path.patch similarity index 60% rename from src/patches/lz4-1.9.3_mod_install_path.patch rename to src/patches/lz4-1.9.4_mod_install_path.patch index 3b674c4d8..5bd227259 100644 --- a/src/patches/lz4-1.9.3_mod_install_path.patch +++ b/src/patches/lz4-1.9.4_mod_install_path.patch @@ -1,7 +1,7 @@ -diff -au lz4-1.9.3/lib/Makefile.orig lz4-1.9.3/lib/Makefile ---- lz4-1.9.3/lib/Makefile.orig 2020-11-16 05:59:35.000000000 +0100 -+++ lz4-1.9.3/lib/Makefile 2021-02-08 13:05:10.478443593 +0100 -@@ -144,7 +144,7 @@ +diff -Naur lz4-1.9.4.orig/lib/Makefile lz4-1.9.4/lib/Makefile +--- lz4-1.9.4.orig/lib/Makefile 2022-08-16 00:45:31.000000000 +0200 ++++ lz4-1.9.4/lib/Makefile 2023-01-25 14:31:42.117296250 +0100 +@@ -151,7 +151,7 @@ # directory variables : GNU conventions prefer lowercase # see https://www.gnu.org/prep/standards/html_node/Makefile-Conventions.html # support both lower and uppercase (BSD), use lower in script @@ -10,10 +10,10 @@ diff -au lz4-1.9.3/lib/Makefile.orig lz4-1.9.3/lib/Makefile prefix ?= $(PREFIX) EXEC_PREFIX ?= $(prefix) exec_prefix ?= $(EXEC_PREFIX) -diff -au lz4-1.9.3/programs/Makefile.orig lz4-1.9.3/programs/Makefile ---- lz4-1.9.3/programs/Makefile.orig 2020-11-16 05:59:35.000000000 +0100 -+++ lz4-1.9.3/programs/Makefile 2021-02-08 13:05:55.475676260 +0100 -@@ -146,7 +146,7 @@ +diff -Naur lz4-1.9.4.orig/programs/Makefile lz4-1.9.4/programs/Makefile +--- lz4-1.9.4.orig/programs/Makefile 2022-08-16 00:45:31.000000000 +0200 ++++ lz4-1.9.4/programs/Makefile 2023-01-25 14:31:56.923590369 +0100 +@@ -157,7 +157,7 @@ # directory variables : GNU conventions prefer lowercase # see https://www.gnu.org/prep/standards/html_node/Makefile-Conventions.html # support both lower and uppercase (BSD), use lowercase in script