From mboxrd@z Thu Jan 1 00:00:00 1970 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> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1554594478783661602==" List-Id: --===============1554594478783661602== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - 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/libs= odium 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 @@ =20 include Config =20 -VER =3D 1.0.19 +VER =3D 1.0.20 =20 THISAPP =3D libsodium-$(VER) DL_FILE =3D $(THISAPP).tar.gz DL_FROM =3D $(URL_IPFIRE) -DIR_APP =3D $(DIR_SRC)/libsodium-stable +DIR_APP =3D $(DIR_SRC)/$(THISAPP) TARGET =3D $(DIR_INFO)/$(THISAPP) =20 ############################################################################= ### @@ -40,7 +40,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_BLAKE2 =3D de43520150b55760142d186404cc3e49471c6e911a7a590c7ae08b= c61e928c063c459555f49cd88155238fb0008ef3924b6d7c14ba9cff2f90f1e96201e1259c +$(DL_FILE)_BLAKE2 =3D 2f1d8b2dc8a65f95433132b12bdccb7e0e4750326b05c4f42ddd3a= 74bf568faa2515384bfe94bba2ef420aff35c515d3d44945ea5a68f72e6a73b3a9b5bb234c =20 install : $(TARGET) =20 @@ -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=3D/usr --disable-static + cd $(DIR_APP) && ./configure \ + --prefix=3D/usr \ + --disable-static cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install @rm -rf $(DIR_APP) --=20 2.45.2 --===============1554594478783661602==--