diff --git a/baselibs.conf b/baselibs.conf index e5cbeec..58b5f55 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -libsodium23 +libsodium26 diff --git a/libsodium-1.0.18.tar.gz b/libsodium-1.0.18.tar.gz deleted file mode 100644 index a2ad4a6..0000000 --- a/libsodium-1.0.18.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6f504490b342a4f8a4c4a02fc9b866cbef8622d5df4e5452b46be121e46636c1 -size 1919817 diff --git a/libsodium-1.0.18.tar.gz.sig b/libsodium-1.0.18.tar.gz.sig deleted file mode 100644 index eed705b..0000000 Binary files a/libsodium-1.0.18.tar.gz.sig and /dev/null differ diff --git a/libsodium-1.0.20.tar.gz b/libsodium-1.0.20.tar.gz new file mode 100644 index 0000000..4047ce4 --- /dev/null +++ b/libsodium-1.0.20.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ebb65ef6ca439333c2bb41a0c1990587288da07f6c7fd07cb3a18cc18d30ce19 +size 1925167 diff --git a/libsodium-1.0.20.tar.gz.sig b/libsodium-1.0.20.tar.gz.sig new file mode 100644 index 0000000..7bda856 Binary files /dev/null and b/libsodium-1.0.20.tar.gz.sig differ diff --git a/libsodium.changes b/libsodium.changes index 1fa9b36..50cb136 100644 --- a/libsodium.changes +++ b/libsodium.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Mon Dec 16 16:56:02 UTC 2024 - Lucas Mulling + +- Update to 1.0.20 + * 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. + * crypto_kdf_hkdf_sha512_statebytes() was added. + * Compatibility issues with LLVM 18 and AVX512 have been addressed. + For the full changelog see: https://github.com/jedisct1/libsodium/releases/tag/1.0.20-RELEASE + * Update baselibs.conf +- Included from 1.0.19 + * New AEADs: AEGIS-128L and AEGIS-256 are now available in the + crypto_aead_aegis128l_*() and crypto_aead_aegis256_*() namespaces. AEGIS is + a family of authenticated ciphers for high-performance applications, + leveraging hardware AES acceleration on x86_64 and aarch64. In addition to + performance, AEGIS ciphers have unique properties making them easier and + safer to use than AES-GCM. They can also be used as high-performance MACs. + * The HKDF key derivation mechanism, required by many standard protocols, is + now available in the crypto_kdf_hkdf_*() namespace. It is implemented for + the SHA-256 and SHA-512 hash functions. + ------------------------------------------------------------------- Mon Aug 26 14:44:21 UTC 2019 - Michel Normand diff --git a/libsodium.spec b/libsodium.spec index ba244a6..5244595 100644 --- a/libsodium.spec +++ b/libsodium.spec @@ -18,10 +18,10 @@ %define _lto_cflags %{nil} -%define sover 23 +%define sover 26 %define lname %{name}%{sover} Name: libsodium -Version: 1.0.18 +Version: 1.0.20 Release: 0 Summary: Portable NaCl-based crypto library License: ISC @@ -63,7 +63,7 @@ This package contains all necessary include files and libraries needed to compile and develop applications that use libsodium. %prep -%setup -q +%autosetup -p1 %build # Do _NOT_ change CFLAGS @@ -71,17 +71,16 @@ to compile and develop applications that use libsodium. %configure \ --disable-static \ --disable-silent-rules -make %{?_smp_mflags} +%make_build %install %make_install find %{buildroot} -type f -name "*.la" -delete -print %check -make %{?_smp_mflags} check +%make_build check -%post -n %{lname} -p /sbin/ldconfig -%postun -n %{lname} -p /sbin/ldconfig +%ldconfig_scriptlets -n %{lname} %files -n %{lname} %license LICENSE