From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4hrKCR4Ybpz30Gl for ; Thu, 24 Sep 2026 16:33:39 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1 raw public key) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "YR2" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4hrKCN0LSGz2yYL for ; Thu, 24 Sep 2026 16:33:36 +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 RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4hrKCL3jMmz3wJ; Thu, 24 Sep 2026 16:33:34 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1790267614; 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=LDdBPUUscxX/diF5PQJVuzxpEpIZmgdty8WYKOeF5Rs=; b=AfCRcy4evde4CRdjhB1u3jn37YvWH2rA8r519c/kYEOqERJXFc3FVzPWEpnxGVuvj2sK89 XNcMCm4buuRdS6CA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1790267614; 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=LDdBPUUscxX/diF5PQJVuzxpEpIZmgdty8WYKOeF5Rs=; b=nTqC8Z5ajUqv5MiRTjyO7dIFU4RZ9dOGlx+Sl1+FMiVFRt28ylsR5fID7GxXYAl7MnkwW5 c6ne509jIL4hQnudtd1yjLHRCxZF5ClEWXfmLHogdNtGhR7H9pknCR5Nl3F9psFN3QrYyW gHUwVy7aa6A2oRZ14NorGXoUpdL4ie842oLG5kof0zeEdBMHlsL9nengOjC9wafLAqhRu4 0TnRzynHprDr36MT86t16Ap1NLMCrf+twhSWqZxgpsn7ixN2AJZpXNRVOm0YIhQXET2jcs VFF4DG/awlCHY8YuIaRvQkWovknRjRV7wa43yurykl5zBw0SIPc5mj8/1ER3hg== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH v2] gzip: Update to version 1.15 Date: Thu, 24 Sep 2026 18:33:31 +0200 Message-ID: <20260924163331.2705840-2-adolf.belka@ipfire.org> In-Reply-To: <20260924163331.2705840-1-adolf.belka@ipfire.org> References: <20260924163331.2705840-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit - This v2 version includes the patch to allow gzip-1.15 to build on aarch64 Successful build confirmed on aarch64 builder. - Update from version 1.14 to 1.15 - No change in rootfile - Changelog 1.15 Bug fixes gzip no longer can mistakenly remove the wrong file if some other process simultaneously renames a gzip destination's ancestor. [bug present since the beginning] gzip -d no longer rejects PKZIP signatures, local header, and data descriptors. These can appear in well-formed streamed zip files. [bug present since the beginning] gzip diagnostics now quote file names containing unusual characters. [bug present since the beginning] A use of uninitialized memory on some malformed inputs has been fixed. [bug present since the beginning] A buffer overflow has been fixed when decompressing an .lzh file after decompressing a .Z file. [bug present since the beginning] When decompressing an .lzh file, the output is no longer corrupted when an internal bit buffer is not properly cleared. [bug present since the beginning] When decompressing an .lzh file after another .lzh file, the output is no longer corrupted by the previous file's decoding table. [bug present since the beginning] gzip --synchronous no longer fails to synchronize unreadable parent directories on platforms like GNU/Linux that have O_PATH, or to synchronize any parent directories on platforms like FreeBSD that have O_SEARCH but not O_PATH. [bug introduced in gzip-1.7] On old-fashioned or limited platforms lacking mktemp, gzexe, zdiff and znew no longer have a race when creating a temporary file. [bug present since the beginning] Changes in behavior gzip no longer insists on the "C" locale; instead, it follows the typical practice of using the locale specified by the environment. This change, which is needed for file name quoting, can affect the format of floating-point numbers output by gzip's -l and -v options. Diagnostics are still in English, though. gzip -l now reports "-Inf%" instead of "0.0%" for the infinite compression ratio of an empty file. znew's -P option is now ignored, with a warning. It was present only to improve performance, and its implementation had too many bugs to be worth supporting. Platforms no longer supported The following platforms (or earlier) are no longer supported because their old multibyte libraries do not work well enough: FreeBSD 4.11 (2005), HP-UX 11.00 (1997), Minix 3.1.8 (2010), MS-Windows 8.1 (2013) via mingw without UCRT. Signed-off-by: Adolf Belka --- lfs/gzip | 7 ++-- ...id_failure_to_build_on_linux_aarch64.patch | 40 +++++++++++++++++++ 2 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 src/patches/gzip-1.15_avoid_failure_to_build_on_linux_aarch64.patch diff --git a/lfs/gzip b/lfs/gzip index 8f036063d..73aea38e6 100644 --- a/lfs/gzip +++ b/lfs/gzip @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2025 IPFire Team # +# Copyright (C) 2007-2026 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.14 +VER = 1.15 THISAPP = gzip-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -49,7 +49,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 32f7241bd9f3b7f73a59905a5bc9abf4e360e787f692cbb00ad28d48abee52744846d10c07ce2f7aaa3e66bc4b6ab9cd4f1b8e98854bb7d1ec010ae0d5146932 +$(DL_FILE)_BLAKE2 = efa81df3df766502c5ffde551570b568c73d3b2ad0b2c76bd79b0ed5cea4deb5e0a3d803b942a078efdc4df9cde355863aadc51752498a9e7dec8737be559850 install : $(TARGET) @@ -79,6 +79,7 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/gzip-1.15_avoid_failure_to_build_on_linux_aarch64.patch cd $(DIR_APP) && ./configure $(EXTRA_CONFIG) cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install diff --git a/src/patches/gzip-1.15_avoid_failure_to_build_on_linux_aarch64.patch b/src/patches/gzip-1.15_avoid_failure_to_build_on_linux_aarch64.patch new file mode 100644 index 000000000..fdcd6f391 --- /dev/null +++ b/src/patches/gzip-1.15_avoid_failure_to_build_on_linux_aarch64.patch @@ -0,0 +1,40 @@ +From b4ed8e73401968bcad749afb0e636dd3ec205ca7 Mon Sep 17 00:00:00 2001 +From: Jim Meyering +Date: Mon, 21 Sep 2026 01:42:18 -0700 +Subject: [PATCH] build: avoid failure to build on linux aarch64 + +* gzip.c: Include gzip.h only after all system headers. +gzip.h's "head" definition affected a subsequent signal.h- +included system struct member named "head". +Reported by Adam Sampson in https://bugs.gnu.org/81904 +--- + gzip.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/gzip.c b/gzip.c +index 220f6fc..6c0af7f 100644 +--- a/gzip.c ++++ b/gzip.c +@@ -58,7 +58,6 @@ static char const license_msg[] = + + #include "tailor.h" + +-#include "gzip.h" + #include "lzw.h" + #include "revision.h" + #include "version.h" +@@ -99,6 +98,11 @@ static char const license_msg[] = + # include + #endif + ++/* Include this only after all system headers. Otherwise, its definition ++ of "head" conflicts with member names in linux-headers 7.2.6's ++ asm/sigcontext.h pulled in via . */ ++#include "gzip.h" ++ + #ifndef MAX_PATH_LEN + # define MAX_PATH_LEN 1024 /* max pathname length */ + #endif +-- +2.55.0 + -- 2.55.0