diff --git a/libsodium-1.0.2.tar.gz b/libsodium-1.0.2.tar.gz deleted file mode 100644 index 748b213..0000000 --- a/libsodium-1.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:961d8f10047f545ae658bcc73b8ab0bf2c312ac945968dd579d87c768e5baa19 -size 1673394 diff --git a/libsodium-1.0.3.tar.gz b/libsodium-1.0.3.tar.gz new file mode 100644 index 0000000..a622df0 --- /dev/null +++ b/libsodium-1.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cbcfc63cc90c05d18a20f229a62c7e7054a73731d0aa858c0517152c549b1288 +size 1679664 diff --git a/libsodium.changes b/libsodium.changes index fbae967..fc6ad8f 100644 --- a/libsodium.changes +++ b/libsodium.changes @@ -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 diff --git a/libsodium.spec b/libsodium.spec index 7bcc2d5..ce2d922 100644 --- a/libsodium.spec +++ b/libsodium.spec @@ -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