Skip to contentSkip to conversation

nettle: bump to version 3.1.1

PATCH New Gustavo Zacarias 2 participants 2 messages Oct 5, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 nettle: bump to version 3.1.1

API is now compatible with nettle 2.7.x

---
 ...patch => 0001-disable-testsuite-examples.patch} |  0
 package/nettle/0001-fix-shared-only-build.patch    | 75 ----------------------
 package/nettle/nettle.hash                         |  2 +-
 package/nettle/nettle.mk                           | 15 ++---
 4 files changed, 5 insertions(+), 87 deletions(-)
 rename package/nettle/{0002-disable-testsuite-examples.patch => 0001-disable-testsuite-examples.patch} (100%)
 delete mode 100644 package/nettle/0001-fix-shared-only-build.patch
package/nettle/0001-disable-testsuite-examples.patch renamed from package/nettle/0002-disable-testsuite-examples.patch +0 -0
similarity index 100%
rename from package/nettle/0002-disable-testsuite-examples.patch
rename to package/nettle/0001-disable-testsuite-examples.patch
package/nettle/0001-fix-shared-only-build.patch deleted +0 -75

75 lines not on this page · raw message

package/nettle/nettle.hash +1 -1
index 34c3862..f506992 100644
@@ -1,2 +1,2 @@
 # Locally calculated after checking pgp signature
-sha256	bc71ebd43435537d767799e414fce88e521b7278d48c860651216e1fc6555b40	nettle-2.7.1.tar.gz
+sha256	5fd4d25d64d8ddcb85d0d897572af73b05b4d163c6cc49438a5bfbb8ff293d4c	nettle-3.1.1.tar.gz
package/nettle/nettle.mk +4 -11
index a25bb24..67ae0a1 100644
@@ -4,12 +4,12 @@
 #
 ################################################################################
 
-NETTLE_VERSION = 2.7.1
+NETTLE_VERSION = 3.1.1
 NETTLE_SITE = http://www.lysator.liu.se/~nisse/archive
 NETTLE_DEPENDENCIES = gmp
 NETTLE_INSTALL_STAGING = YES
-NETTLE_LICENSE = LGPLv2.1+
-NETTLE_LICENSE_FILES = COPYING.LIB
+NETTLE_LICENSE = Dual GPLv2+/LGPLv3+
+NETTLE_LICENSE_FILES = COPYING.LESSERv3 COPYINGv2
 # don't include openssl support for (unused) examples as it has problems
 # with static linking
 NETTLE_CONF_OPTS = --disable-openssl
@@ -19,17 +19,10 @@ ifeq ($(BR2_ARM_CPU_ARMV4)$(BR2_ARM_CPU_ARMV5),y)
 NETTLE_CONF_OPTS += --disable-assembler
 endif
 
-# ARM NEON, requires binutils 2.21+
-ifeq ($(BR2_ARM_CPU_HAS_NEON)$(BR2_TOOLCHAIN_BUILDROOT)$(BR2_BINUTILS_VERSION_2_20_1),yy)
+ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
 NETTLE_CONF_OPTS += --enable-arm-neon
 else
 NETTLE_CONF_OPTS += --disable-arm-neon
 endif
 
-define NETTLE_DITCH_DEBUGGING_CFLAGS
-	$(SED) '/CFLAGS/ s/ -ggdb3//' $(@D)/configure
-endef
-
-NETTLE_POST_EXTRACT_HOOKS += NETTLE_DITCH_DEBUGGING_CFLAGS
-
 $(eval $(autotools-package))
Signature · 1 line
2.4.9
#1 lore raw

PATCH v2 1/1 nettle: bump to version 3.1.1

Dear Gustavo Zacarias,

Quoted 11 lines · Gustavo Zacarias

API is now compatible with nettle 2.7.x

---
 ...patch => 0001-disable-testsuite-examples.patch} |  0
 package/nettle/0001-fix-shared-only-build.patch    | 75 ----------------------
 package/nettle/nettle.hash                         |  2 +-
 package/nettle/nettle.mk                           | 15 ++---
 4 files changed, 5 insertions(+), 87 deletions(-)
 rename package/nettle/{0002-disable-testsuite-examples.patch => 0001-disable-testsuite-examples.patch} (100%)
 delete mode 100644 package/nettle/0001-fix-shared-only-build.patch

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com