From 9309cbbc05b3ea70e2130601dcf2f5d1f1acf6f338a5279105aad043e5adacdb Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 5 Jan 2016 17:01:53 +0000 Subject: [PATCH] Accepting request 351962 from home:aboe76:branches:devel:languages:python Updated to latest version 1.4.4 OBS-URL: https://build.opensuse.org/request/show/351962 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libnacl?expand=0&rev=26 --- libnacl-1.4.3.tar.gz | 3 --- libnacl-1.4.3_bump_libsodium_soversion.patch | 13 ----------- libnacl-1.4.4.tar.gz | 3 +++ python-libnacl.changes | 23 ++++++++++++++++++++ python-libnacl.spec | 9 ++++---- 5 files changed, 30 insertions(+), 21 deletions(-) delete mode 100644 libnacl-1.4.3.tar.gz delete mode 100644 libnacl-1.4.3_bump_libsodium_soversion.patch create mode 100644 libnacl-1.4.4.tar.gz diff --git a/libnacl-1.4.3.tar.gz b/libnacl-1.4.3.tar.gz deleted file mode 100644 index 5ee144d..0000000 --- a/libnacl-1.4.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:873614913c90c4011f791a8fd1448f6bb3ab7dc8cdd329d1baaa65e7e1d1a929 -size 28777 diff --git a/libnacl-1.4.3_bump_libsodium_soversion.patch b/libnacl-1.4.3_bump_libsodium_soversion.patch deleted file mode 100644 index 816e0b7..0000000 --- a/libnacl-1.4.3_bump_libsodium_soversion.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: libnacl-1.4.3/libnacl/__init__.py -=================================================================== ---- libnacl-1.4.3.orig/libnacl/__init__.py -+++ libnacl-1.4.3/libnacl/__init__.py -@@ -9,7 +9,7 @@ from libnacl.version import __version__ - import ctypes - import sys - --__SONAMES = (13, 10, 5, 4) -+__SONAMES = (17, 13, 10, 5, 4) - - - def _get_nacl(): diff --git a/libnacl-1.4.4.tar.gz b/libnacl-1.4.4.tar.gz new file mode 100644 index 0000000..49f8836 --- /dev/null +++ b/libnacl-1.4.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f2ee401a78dc693fcbc2051befcee2f76bb13ce75a933420646abfa47a39a6db +size 30965 diff --git a/python-libnacl.changes b/python-libnacl.changes index 2b08675..b53af12 100644 --- a/python-libnacl.changes +++ b/python-libnacl.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Mon Jan 4 20:13:15 UTC 2016 - aboe76@gmail.com + +- Updated to 1.4.4 + - Add pack_nonce options to secretbox + libnacl secretbox has been packing the nonce in each message, + the new pack_nonce option allows for the nonce to be omitted + which allows for more flexible options + - Add soversion 17 detection + Added explicit soversion support for libsodium 17 + - Fix crypto_onetimeauth tests + The crypto onetimeauth test issues have been resolved + - Remove tweetnacl Support + The tweetnacl support was never really tested, and since the + tweetnacl api is not complete we have removed support for it + - Add sodium_init calls + Added calls to sodium_init when the lib is loaded + - packaging: + - New BuildRequirement python-setuptools + - Updated the description + - Removed the patch for soname: libnacl-1.4.3_bump_libsodium_soversion.patch + not needed anymore + ------------------------------------------------------------------- Thu Nov 19 17:04:26 UTC 2015 - mrueckert@suse.de diff --git a/python-libnacl.spec b/python-libnacl.spec index e98f298..154d544 100644 --- a/python-libnacl.spec +++ b/python-libnacl.spec @@ -16,17 +16,17 @@ # Name: python-libnacl -Version: 1.4.3 +Version: 1.4.4 Release: 0 License: Apache-2.0 -Summary: Python bindings for libsodium/tweetnacl based on ctypes +Summary: Python bindings for libsodium based on ctypes Url: https://github.com/saltstack/libnacl Group: Development/Languages/Python Source0: https://pypi.python.org/packages/source/l/libnacl/libnacl-%{version}.tar.gz -Patch: libnacl-1.4.3_bump_libsodium_soversion.patch BuildRoot: %{_tmppath}/libnacl-%{version}-build BuildRequires: python +BuildRequires: python-setuptools BuildRequires: python-devel BuildRequires: libsodium-devel @@ -37,13 +37,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %(LC_ALL=C rpm -q -a --qf "Requires: %%{name}(%{__isa}) = %%{epoch}:%%{version}\n" 'libsodium*' | grep -v libsodium-devel | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") %description -This library is used to gain direct access to the functions exposed by Daniel J. Bernstein's nacl library via libsodium or tweetnacl. +This library is used to gain direct access to the functions exposed by Daniel J. Bernstein's nacl library via libsodium. It has been constructed to maintain extensive documentation on how to use nacl as well as being completely portable. The file in libnacl/__init__.py can be pulled out and placed directly in any project to give a single file binding to all of nacl. %prep %setup -q -n libnacl-%{version} -%patch -p1 %build python setup.py build