From patchwork Mon Feb 8 19:56:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 3876 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 RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4DZGxY0hStz3wps for ; Mon, 8 Feb 2021 19:56:33 +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 4DZGxX5Ht3zmc; Mon, 8 Feb 2021 19:56:32 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4DZGxX4VHhz2xl3; Mon, 8 Feb 2021 19:56:32 +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) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4DZGxV4GLLz2xfh for ; Mon, 8 Feb 2021 19:56:30 +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 4DZGxV0WW2zg7; Mon, 8 Feb 2021 19:56:30 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1612814190; 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; bh=Vx34pyKJwSYqMaAYLaPgg2/fPr5wNi6w/wrBSBth7R4=; b=bzY7Uw8s7hVQj8iBEsFnb5ydfGTSuba7TJ/6Er55YqGYxBwO15nVqdzz7mxuXCzmQRSHfg Ucp5o8PJv8G2p1DQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1612814190; 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; bh=Vx34pyKJwSYqMaAYLaPgg2/fPr5wNi6w/wrBSBth7R4=; b=aecO0scfiM03cRWadsBDhSTKldLbgg1Nn71WTzLbj/tVjiiMeIfg5+ZptRgwFUjI89nC8x pnHaCkHKbW7ORU3JivTdKQ92ogHIN9G+oZE0a+VqL9fPMWhUmF+ApX5S9OsgtYZH2Qpkrc 6+NR4qUZjDbWivgK5xNI30xvwnDdFAtth9xW7JSMWCmxlZPtNz/M7LEHdZdQ93hOlmk1Bj 0SWDm+uv6mR0xWnEouN4EXWMX/gM8whDwCGkn4aE9YHqG1GQ1gbJ0FVFgVPiyN0vdg0YXZ t8VBaddroi8tvHawu6TymFDf1dmxgAK0+xa+8PQiePEI9updLLWv7/rzZ8qEhQ== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] lz4: Update to 1.9.3 Date: Mon, 8 Feb 2021 20:56:29 +0100 Message-Id: <20210208195629.3201074-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 lz4 from 1.9.2 to 1.9.3 - Updated rootfile - Removed old patches and updated to new version name - Changelog v1.9.3 perf: highly improved speed in kernel space, by @terrelln perf: faster speed with Visual Studio, thanks to @wolfpld and @remittor perf: improved dictionary compression speed, by @felixhandte perf: fixed LZ4_compress_HC_destSize() ratio, detected by @hsiangkao perf: reduced stack usage in high compression mode, by @Yanpas api : LZ4_decompress_safe_partial() supports unknown compressed size, requested by @jfkthame api : improved LZ4F_compressBound() with automatic flushing, by Christopher Harvie api : can (de)compress to/from NULL without UBs api : fix alignment test on 32-bit systems (state initialization) api : fix LZ4_saveDictHC() in corner case scenario, detected by @IgorKorkin cli : `-l` legacy format is now compatible with `-m` multiple files, by Filipe Calasans cli : benchmark mode supports dictionary, by @rkoradi cli : fix --fast with large argument, detected by @picoHz build: link to user-defined memory functions with LZ4_USER_MEMORY_FUNCTIONS, suggested by Yuriy Levchenko build: contrib/cmake_unofficial/ moved to build/cmake/ build: visual/* moved to build/ build: updated meson script, by @neheb build: tinycc support, by Anton Kochkov install: Haiku support, by Jerome Duval doc : updated LZ4 frame format, clarify EndMark Signed-off-by: Adolf Belka --- config/rootfiles/common/lz4 | 2 +- lfs/lz4 | 6 ++-- .../lz4-1.8.1.2_mod_install_path.patch | 36 ------------------- ...patch => lz4-1.9.3_mod_install_path.patch} | 14 ++++---- 4 files changed, 11 insertions(+), 47 deletions(-) delete mode 100644 src/patches/lz4-1.8.1.2_mod_install_path.patch rename src/patches/{lz4-1.9.2_mod_install_path.patch => lz4-1.9.3_mod_install_path.patch} (61%) diff --git a/config/rootfiles/common/lz4 b/config/rootfiles/common/lz4 index ab03c65f7..9a8abcd2b 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.2 +usr/lib/liblz4.so.1.9.3 #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 17b10cfed..b09191c5e 100644 --- a/lfs/lz4 +++ b/lfs/lz4 @@ -24,7 +24,7 @@ include Config -VER = 1.9.2 +VER = 1.9.3 THISAPP = lz4-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -41,7 +41,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 3898c56c82fb3d9455aefd48db48eaad +$(DL_FILE)_MD5 = 3a1ab1684e14fc1afc66228ce61b2db3 install : $(TARGET) @@ -74,7 +74,7 @@ $(subst %,%_MD5,$(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.2_mod_install_path.patch + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/lz4-1.9.3_mod_install_path.patch cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install diff --git a/src/patches/lz4-1.8.1.2_mod_install_path.patch b/src/patches/lz4-1.8.1.2_mod_install_path.patch deleted file mode 100644 index 8b9646e1c..000000000 --- a/src/patches/lz4-1.8.1.2_mod_install_path.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -Nur lz4-1.8.1.2.orig/lib/Makefile lz4-1.8.1.2/lib/Makefile ---- lz4-1.8.1.2.orig/lib/Makefile 2018-01-21 07:24:41.881357925 +0000 -+++ lz4-1.8.1.2/lib/Makefile 2018-01-21 07:25:44.823444081 +0000 -@@ -120,7 +120,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 uppercase in script --prefix ?= /usr/local -+prefix ?= /usr - PREFIX ?= $(prefix) - exec_prefix ?= $(PREFIX) - libdir ?= $(exec_prefix)/lib -diff -Nur lz4-1.8.1.2.orig/NEWS lz4-1.8.1.2/NEWS ---- lz4-1.8.1.2.orig/NEWS 2018-01-21 07:24:41.809360114 +0000 -+++ lz4-1.8.1.2/NEWS 2018-01-21 07:26:00.838957106 +0000 -@@ -96,7 +96,7 @@ - New : lz4 cli supports long commands (suggested by Takayuki Matsuoka) - New : lz4frame & lz4cli frame content size support - New : lz4frame supports skippable frames, as requested by Sergey Cherepanov --Changed: Default "make install" directory is /usr/local, as notified by Ron Johnson -+Changed: Default "make install" directory is /usr, as notified by Ron Johnson - New : lz4 cli supports "pass-through" mode, requested by Neil Wilson - New : datagen can generate sparse files - New : scan-build tests, thanks to kind help by Takayuki Matsuoka -diff -Nur lz4-1.8.1.2.orig/programs/Makefile lz4-1.8.1.2/programs/Makefile ---- lz4-1.8.1.2.orig/programs/Makefile 2018-01-21 07:24:41.881357925 +0000 -+++ lz4-1.8.1.2/programs/Makefile 2018-01-21 07:26:24.562235766 +0000 -@@ -121,7 +121,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 uppercase in script --prefix ?= /usr/local -+prefix ?= /usr - PREFIX ?= $(prefix) - exec_prefix ?= $(PREFIX) - bindir ?= $(exec_prefix)/bin diff --git a/src/patches/lz4-1.9.2_mod_install_path.patch b/src/patches/lz4-1.9.3_mod_install_path.patch similarity index 61% rename from src/patches/lz4-1.9.2_mod_install_path.patch rename to src/patches/lz4-1.9.3_mod_install_path.patch index 2eee0462e..3b674c4d8 100644 --- a/src/patches/lz4-1.9.2_mod_install_path.patch +++ b/src/patches/lz4-1.9.3_mod_install_path.patch @@ -1,6 +1,6 @@ -diff -Nur lz4-1.9.2.orig/lib/Makefile lz4-1.9.2/lib/Makefile ---- lz4-1.9.2.orig/lib/Makefile 2019-10-29 08:14:03.167415441 +0000 -+++ lz4-1.9.2/lib/Makefile 2019-10-29 08:14:43.243864994 +0000 +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 @@ # directory variables : GNU conventions prefer lowercase # see https://www.gnu.org/prep/standards/html_node/Makefile-Conventions.html @@ -10,10 +10,10 @@ diff -Nur lz4-1.9.2.orig/lib/Makefile lz4-1.9.2/lib/Makefile prefix ?= $(PREFIX) EXEC_PREFIX ?= $(prefix) exec_prefix ?= $(EXEC_PREFIX) -diff -Nur lz4-1.9.2.orig/programs/Makefile lz4-1.9.2/programs/Makefile ---- lz4-1.9.2.orig/programs/Makefile 2019-10-29 08:14:03.177415386 +0000 -+++ lz4-1.9.2/programs/Makefile 2019-10-29 08:14:30.267268628 +0000 -@@ -132,7 +132,7 @@ +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 @@ # 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