Files
bpfire/lfs/libsodium
Adolf Belka db9698c9cc libsodium: Update to version 1.0.20
- 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 <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-13 09:09:07 +00:00

83 lines
3.2 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2024 IPFire Team <info@ipfire.org> #
# #
# 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 #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 1.0.20
THISAPP = libsodium-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 2f1d8b2dc8a65f95433132b12bdccb7e0e4750326b05c4f42ddd3a74bf568faa2515384bfe94bba2ef420aff35c515d3d44945ea5a68f72e6a73b3a9b5bb234c
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
dist:
@$(PAK)
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(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) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)