From a465d7022c8d2eb2009efe47f1530bf03dfd7479183b3ebc2bb6f6de40629224 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 18 Apr 2015 08:38:24 +0000 Subject: [PATCH] Accepting request 295660 from devel:libraries:c_c++ 1 OBS-URL: https://build.opensuse.org/request/show/295660 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=19 --- baselibs.conf | 4 ++-- libnettle.changes | 43 ++++++++++++++++++++++++++++++++++++++++ libnettle.spec | 16 +++++++-------- nettle-2.7.1.tar.gz | 3 --- nettle-2.7.1.tar.gz.sig | Bin 351 -> 0 bytes nettle-3.1.tar.gz | 3 +++ nettle-3.1.tar.gz.sig | Bin 0 -> 351 bytes 7 files changed, 56 insertions(+), 13 deletions(-) delete mode 100644 nettle-2.7.1.tar.gz delete mode 100644 nettle-2.7.1.tar.gz.sig create mode 100644 nettle-3.1.tar.gz create mode 100644 nettle-3.1.tar.gz.sig diff --git a/baselibs.conf b/baselibs.conf index 77a1c50..3b15918 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,3 +1,3 @@ -libnettle4 +libnettle6 libnettle-devel -libhogweed2 +libhogweed4 diff --git a/libnettle.changes b/libnettle.changes index e249857..512a5a8 100644 --- a/libnettle.changes +++ b/libnettle.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Sat Apr 11 19:43:21 UTC 2015 - astieger@suse.com + +- nettle 3.1 (libnettle6, libhogweed4) +- bug fixes in 3.1: + * Fixed a missing include of , which made the camellia + implementation fail on all 64-bit non-x86 platforms. + * Eliminate out-of-bounds reads in the C implementation of memxor + (related to valgrind's --partial-loads-ok flag). [bso#926745) +- interface changes in 3.1: + * Declarations of many internal functions are moved from ecc.h to + ecc-internal.h. +- interface changes in 3.0: + * contains developer relevant incompatible interface changes +- Removed features: + * nettle_next_prime, use GMP's mpz_nextprime + * Deleted the RSAREF compatibility +- New features in 3.1: + * Support for curve25519 and for EdDSA25519 signatures. + * Support for "fat builds" on x86_64 and arm (not enabled) + * Support for building the hogweed library (public key support) + using "mini-gmp" (not enabled) + * The shared libraries are now built with versioned symbols. + * Support for "URL-safe" base64 encoding and decoding +- New features in 3.0: + * new DSA, AES, Camellia interfaces + * Support for Poly1305-AES MAC. + * Support for the ChaCha stream cipher and EXPERIMENTAL + support for the ChaCha-Poly1305 AEAD mode. + * Support for EAX mode. + * Support for CCM mode. + * Additional variants of SHA512 with output size of 224 and 256 bits + * New interface, struct nettle_aead, for mechanisms providing + authenticated encryption with associated data (AEAD). + * DSA: Support a wider range for the size of q and a wider + range for the digest size. + * New command line tool nettle-pbkdf2. +- Optimizations in 3.1: + * New x86_64 implementation of AES, using the "aesni" instructions +- Optimizations in 3.0: + * New x86_64 assembly for GCM and MD5. Modest speedups on the + order of 10%-20%. + ------------------------------------------------------------------- Fri Mar 13 14:10:01 UTC 2015 - tchvatal@suse.com diff --git a/libnettle.spec b/libnettle.spec index fd91c58..6d05a82 100644 --- a/libnettle.spec +++ b/libnettle.spec @@ -16,17 +16,17 @@ # -%define soname 4 -%define hogweed_soname 2 +%define soname 6 +%define hogweed_soname 4 Name: libnettle -Version: 2.7.1 +Version: 3.1 Release: 0 Summary: Cryptographic Library License: LGPL-2.1+ and GPL-2.0+ Group: System/Libraries Url: http://www.lysator.liu.se/~nisse/nettle/ -Source0: http://www.lysator.liu.se/~nisse/archive/nettle-%{version}.tar.gz -Source1: http://www.lysator.liu.se/~nisse/archive/nettle-%{version}.tar.gz.sig +Source0: https://ftp.gnu.org/gnu/nettle/nettle-%{version}.tar.gz +Source1: https://ftp.gnu.org/gnu/nettle/nettle-%{version}.tar.gz.sig Source2: %{name}.keyring Source3: baselibs.conf BuildRequires: gmp-devel @@ -93,13 +93,12 @@ operations using the nettle library. %setup -q -n nettle-%{version} %build -%configure +%configure \ + --disable-static make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %{?_smp_mflags} -# Not during configure as tests use it -rm -f %{buildroot}%{_libdir}/*.a %post -n libnettle%{soname} -p /sbin/ldconfig @@ -142,6 +141,7 @@ make check %{?_smp_mflags} %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING* NEWS README TODO %{_bindir}/nettle-lfib-stream +%{_bindir}/nettle-pbkdf2 %{_bindir}/pkcs1-conv %{_bindir}/sexp-conv %{_bindir}/nettle-hash diff --git a/nettle-2.7.1.tar.gz b/nettle-2.7.1.tar.gz deleted file mode 100644 index eae0001..0000000 --- a/nettle-2.7.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bc71ebd43435537d767799e414fce88e521b7278d48c860651216e1fc6555b40 -size 1558863 diff --git a/nettle-2.7.1.tar.gz.sig b/nettle-2.7.1.tar.gz.sig deleted file mode 100644 index ff71c67e4c771b643353f2460f3e327fcca48871efa5f124705a590ace8ea5f7..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 351 zcmV-l0igbg0bB$C0RjL91p-l|zjFWz2@vyHpZF-oa+nG{3H~8+nA&zIJD^k$q9I?! z^hr~cQ8d!2TqHsNi7!u0L4SF)-h$Qh1)}R4{$}^*)UIAFlQ8_np5r(5m7tu*y*N{> zNwNCR*E@N7AoCq3@lzI(q&VVzeHotRH(wrx@DSBXS2Auu(UhQR9g5I8PlWvPrR=qOJY+&O&S92y>ug|i0aTZ3^A>cJV;tWoo)Z1!q<5gsm21m;bpi@M$`p4- x8aBTF5;_58)MJ2aU<~_)7$&?~u*pGnoHU8Y5q&3!FMMr}l*o0FK&x{Q(IIXUrwaf8 diff --git a/nettle-3.1.tar.gz b/nettle-3.1.tar.gz new file mode 100644 index 0000000..e2b777b --- /dev/null +++ b/nettle-3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6859d4ec88e70805590af9862b4b8c43a2d1fc7991df0a7a711b1e7ca9fc9d3 +size 1851489 diff --git a/nettle-3.1.tar.gz.sig b/nettle-3.1.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..b9f4374ef8f2d35edb6b892b98dc5f435b5c68df4f627387ab46abc91e134498 GIT binary patch literal 351 zcmV-l0igbg0bB$C0RjL91p-whDJK`UjjARON7 z5#VX8+3N8U;y=^J+SPk=hC3eK>*l&=nk7~J7%#s@-sd^ z46px~@uYpJSSFn=mc*`$GFs5lwIn=z`A(Te#Z?4M&Ed-m3!QanUPKy>wbEJn!GEo~ z9j{64^8J!Do}n|ZA8(6bIEA802P3mfI%E`UVxL_@Rk-5JmzjvY(+eIh_F7aADugCi zeI}{-7@6c%3&%DT?(2f`4{o1WR>9`Fca`{cha#iy6*eN#0X~$=!a~C`?z-USzj?*E xEL*P!P)62rPeGNr%6Qxo4SG{p8WnaY0dVU5dljA6pz)KyxgVHR@!tHA&5!1