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..e1e870a 100644 --- a/libsodium.changes +++ b/libsodium.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sat May 25 16:54:11 UTC 2024 - Andreas Stieger + +_ update to 1.0.20: + * build system updates and portability fixes +- includes changes from 1.0.19: + * New AEADs: AEGIS-128L and AEGIS-256 + * The HKDF key derivation mechanism, required by many standard + protocols + ------------------------------------------------------------------- Mon Aug 26 14:44:21 UTC 2019 - Michel Normand diff --git a/libsodium.spec b/libsodium.spec index ba244a6..edadf95 100644 --- a/libsodium.spec +++ b/libsodium.spec @@ -2,6 +2,7 @@ # spec file for package libsodium # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2024 Andreas Stieger # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,12 +17,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,31 +62,29 @@ 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 -# See https://github.com/jedisct1/libsodium/issues/604 %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 %{_libdir}/%{name}.so.%{sover}* %files devel +%license LICENSE %doc AUTHORS ChangeLog README.markdown THANKS %{_includedir}/sodium.h %{_includedir}/sodium