Accepting request 1176886 from devel:libraries:c_c++

libsodium 1.0.20 (forwarded request 1176876 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/1176886
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsodium?expand=0&rev=28
This commit is contained in:
Ana Guerrero 2024-05-28 15:27:43 +00:00 committed by Git OBS Bridge
commit e425827e57
7 changed files with 22 additions and 15 deletions

View File

@ -1 +1 @@
libsodium23 libsodium26

BIN
libsodium-1.0.18.tar.gz (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
libsodium-1.0.20.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
libsodium-1.0.20.tar.gz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sat May 25 16:54:11 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
_ 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 <normand@linux.vnet.ibm.com> Mon Aug 26 14:44:21 UTC 2019 - Michel Normand <normand@linux.vnet.ibm.com>

View File

@ -2,6 +2,7 @@
# spec file for package libsodium # spec file for package libsodium
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,12 +17,10 @@
# #
%define _lto_cflags %{nil} %define sover 26
%define sover 23
%define lname %{name}%{sover} %define lname %{name}%{sover}
Name: libsodium Name: libsodium
Version: 1.0.18 Version: 1.0.20
Release: 0 Release: 0
Summary: Portable NaCl-based crypto library Summary: Portable NaCl-based crypto library
License: ISC License: ISC
@ -63,31 +62,29 @@ This package contains all necessary include files and libraries needed
to compile and develop applications that use libsodium. to compile and develop applications that use libsodium.
%prep %prep
%setup -q %autosetup -p1
%build %build
# Do _NOT_ change CFLAGS
# See https://github.com/jedisct1/libsodium/issues/604
%configure \ %configure \
--disable-static \ --disable-static \
--disable-silent-rules --disable-silent-rules
make %{?_smp_mflags} %make_build
%install %install
%make_install %make_install
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
%check %check
make %{?_smp_mflags} check %make_build check
%post -n %{lname} -p /sbin/ldconfig %ldconfig_scriptlets -n %{lname}
%postun -n %{lname} -p /sbin/ldconfig
%files -n %{lname} %files -n %{lname}
%license LICENSE %license LICENSE
%{_libdir}/%{name}.so.%{sover}* %{_libdir}/%{name}.so.%{sover}*
%files devel %files devel
%license LICENSE
%doc AUTHORS ChangeLog README.markdown THANKS %doc AUTHORS ChangeLog README.markdown THANKS
%{_includedir}/sodium.h %{_includedir}/sodium.h
%{_includedir}/sodium %{_includedir}/sodium