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>

View File

@ -2,6 +2,7 @@
# spec file for package libsodium
#
# 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
# 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