From patchwork Sat Aug 10 14:32:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 7966 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 (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4Wh3DC4691z3x2s for ; Sat, 10 Aug 2024 14:33:15 +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 RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E5" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Wh3D83ZQ3z2Pq; Sat, 10 Aug 2024 14:33:12 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Wh3D80cyBz343T; Sat, 10 Aug 2024 14:33:12 +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 (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Wh3D50VvSz340x for ; Sat, 10 Aug 2024 14:33:09 +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 4Wh3D44yFQz1Sv; Sat, 10 Aug 2024 14:33:08 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1723300388; 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=MjuaINQbayuf4jfg7vjkHoNH3JN97Tg3tp3Wiirk80k=; b=HPM/4UCGjYSDnBpDRZNqQNg2DIew+hKyefo2lRZZxJGVuj0K5OEPI+tPQeSy+XCDW/RJfA kUQ3b91fU3E+dlBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1723300388; 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=MjuaINQbayuf4jfg7vjkHoNH3JN97Tg3tp3Wiirk80k=; b=aai9P+yoMSsuu7j9K4lfIc8KQMTUb3oI1s6eZFbBflejPk0WJQY9PGUuw+oVEwn5qfNoI8 BbOcJWv0UEkClSiWA2LzP8yhvnkWSEeU5wfWEztkrEKRWKjgC/HtBOQzGCPZl6J35vbh3V OzU1S8FnEGW9xT7nWauTaVMgamvXPGIY3FMHhfipO7KqQPkdUXzXFOreYDOQajTMzhUn+Y f5QVvFL9kX0o2aEXJ5hbZ+mLdYk6tHSVBf2lbJteOJo4wU9roSV790w+HDCYpTDW+fyfGg C4NwmfzbTeQPKI2NFUT558SQ3unuZ4BENUGYmOCQFgWXl3/OnCIlqMQCUxEzZw== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] libsodium: Update to version 1.0.20 Date: Sat, 10 Aug 2024 16:32:58 +0200 Message-ID: <20240810143303.6227-3-adolf.belka@ipfire.org> In-Reply-To: <20240810143303.6227-1-adolf.belka@ipfire.org> References: <20240810143303.6227-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: QXDHP5WUANTKBYAAL4PFGJNTE6YLZD6J X-Message-ID-Hash: QXDHP5WUANTKBYAAL4PFGJNTE6YLZD6J X-MailFrom: adolf.belka@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: - Update from version 1.0.19 to 1.0.20 - Update of rootfile - Changelog 1.0.20 This point release includes all the changes from 1.0.19-stable, mainly addressing compilation issues and improvements to the .NET packages. * Version 1.0.19-stable - Building with `zig build` now requires Zig 0.12. - When using the traditional build system, -O3 is used instead of -Ofast. - Improved detection of the compiler flags required on aarch64. - Improved compatibility with custom build systems on aarch64. - apple-xcframework: VisionOS packages are not built if Xcode doesn't include that SDK. - `crypto_kdf_hkdf_sha512_statebytes()` was added. - When using Visual Studio, runtime CPU feature detection is now enabled on Windows/aarch64. - There were issues with C++ guards affecting usage of libsodium using Swift on Windows. This has been fixed. - Emscripten: `crypto_aead_aegis*()` functions are now exported in JavaScript builds - Emscripten: unsupported `--memory-init-file` option has been removed. - apple-xcframework: the minimal deployment target can be set to iOS 11+. - .NET packages now include precompiled libraries for Windows/arm64, iOS, TvOS and Catalyst. - .NET precompiled libraries now work on any CPUs, using only runtime feature detection. - SYSV assembly should not be used when targeting Windows (reported by @meiyese, thanks!) - Compatibility issues with LLVM 18 and AVX512 have been addressed. - GitHub attestation build provenance are now added to NuGet packages. - JavaScript tests can now use Bun as an alternative to Node. Signed-off-by: Adolf Belka --- config/rootfiles/common/libsodium | 2 +- lfs/libsodium | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/config/rootfiles/common/libsodium b/config/rootfiles/common/libsodium index 7abf85a7e..baa63e259 100644 --- a/config/rootfiles/common/libsodium +++ b/config/rootfiles/common/libsodium @@ -69,5 +69,5 @@ #usr/lib/libsodium.la #usr/lib/libsodium.so usr/lib/libsodium.so.26 -usr/lib/libsodium.so.26.1.0 +usr/lib/libsodium.so.26.2.0 #usr/lib/pkgconfig/libsodium.pc diff --git a/lfs/libsodium b/lfs/libsodium index 892118a8e..07c13adca 100644 --- a/lfs/libsodium +++ b/lfs/libsodium @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2023 IPFire Team # +# Copyright (C) 2007-2024 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,12 +24,12 @@ include Config -VER = 1.0.19 +VER = 1.0.20 THISAPP = libsodium-$(VER) DL_FILE = $(THISAPP).tar.gz DL_FROM = $(URL_IPFIRE) -DIR_APP = $(DIR_SRC)/libsodium-stable +DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) ############################################################################### @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = de43520150b55760142d186404cc3e49471c6e911a7a590c7ae08bc61e928c063c459555f49cd88155238fb0008ef3924b6d7c14ba9cff2f90f1e96201e1259c +$(DL_FILE)_BLAKE2 = 2f1d8b2dc8a65f95433132b12bdccb7e0e4750326b05c4f42ddd3a74bf568faa2515384bfe94bba2ef420aff35c515d3d44945ea5a68f72e6a73b3a9b5bb234c install : $(TARGET) @@ -73,7 +73,9 @@ $(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) && ./configure --prefix=/usr --disable-static + cd $(DIR_APP) && ./configure \ + --prefix=/usr \ + --disable-static cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install @rm -rf $(DIR_APP)