Accepting request 307034 from devel:libraries:c_c++

1

OBS-URL: https://build.opensuse.org/request/show/307034
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsodium?expand=0&rev=10
This commit is contained in:
Stephan Kulow 2015-05-15 05:44:13 +00:00 committed by Git OBS Bridge
commit 776876b104
4 changed files with 33 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:961d8f10047f545ae658bcc73b8ab0bf2c312ac945968dd579d87c768e5baa19
size 1673394

3
libsodium-1.0.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cbcfc63cc90c05d18a20f229a62c7e7054a73731d0aa858c0517152c549b1288
size 1679664

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Wed May 13 15:09:50 UTC 2015 - mpluskal@suse.com
- Update to 1.0.3
* In addition to sodium_bin2hex(), sodium_hex2bin() is now a
constant-time function.
* crypto_stream_xsalsa20_ic() has been added.
* crypto_generichash_statebytes(), crypto_auth_*_statebytes()
and crypto_hash_*_statebytes() have been added in order to
retrieve the size of structures keeping states from foreign
languages.
* The JavaScript target doesn't require /dev/urandom or an
external randombytes() implementation any more. Other minor
Emscripten-related improvements have been made in order to
support libsodium.js
* Custom randombytes implementations do not need to provide
their own implementation of randombytes_uniform() any more.
randombytes_stir() and randombytes_close() can also be NULL
pointers if they are not required.
* On Linux, getrandom(2) is being used instead of directly
accessing /dev/urandom, if the kernel supports this system
call.
* crypto_box_seal() and crypto_box_seal_open() have been added.
* A solutions for Visual Studio 2015 was added.
-------------------------------------------------------------------
Fri Jan 16 10:22:39 UTC 2015 - idonmez@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libsodium
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%define lname libsodium13
Name: libsodium
Version: 1.0.2
Version: 1.0.3
Release: 0
Summary: Portable NaCl-based crypto library
License: ISC
@ -65,12 +65,12 @@ to compile and develop applications that use libsodium.
make %{?_smp_mflags}
%install
%makeinstall
make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm -f %{buildroot}%{_libdir}/*.la
find %{buildroot} -type f -name "*.la" -delete -print
%check
make check
make %{?_smp_mflags} check
%post -n %{lname} -p /sbin/ldconfig