Skip to contentSkip to conversation

nettle: add new package

PATCH New Gustavo Zacarias 2 participants 3 messages Dec 28, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nettle: add new package

---
 package/Config.in        |    1 +
 package/nettle/Config.in |    9 +++++++++
 package/nettle/nettle.mk |   12 ++++++++++++
 3 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 package/nettle/Config.in
 create mode 100644 package/nettle/nettle.mk
package/Config.in +1 -0
index 6d64e2c..301b52a 100644
@@ -364,6 +364,7 @@ source "package/gnutls/Config.in"
 source "package/libgcrypt/Config.in"
 source "package/libgpg-error/Config.in"
 source "package/libnss/Config.in"
+source "package/nettle/Config.in"
 source "package/ocf-linux/Config.in"
 source "package/openssl/Config.in"
 source "package/polarssl/Config.in"
package/nettle/Config.in new file +9 -0
new file mode 100644
index 0000000..5577621
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_NETTLE
+	bool "nettle"
+	select BR2_PACKAGE_GMP
+	help
+	  Nettle is a cryptographic library that is designed to fit easily
+	  in more or less any context: In crypto toolkits for object-oriented
+	  languages, in applications like LSH or GNUPG, or even in kernel space
+
+	  http://www.lysator.liu.se/~nisse/nettle/
package/nettle/nettle.mk new file +12 -0
new file mode 100644
index 0000000..ef7640a
@@ -0,0 +1,12 @@
+NETTLE_VERSION = 2.5
+NETTLE_SITE = http://www.lysator.liu.se/~nisse/archive
+NETTLE_DEPENDENCIES = gmp
+NETTLE_INSTALL_STAGING = YES
+
+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
1.7.8.6
#1 lore raw

PATCH 1/1 nettle: add new package

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Gustavo> Signed-off-by: Gustavo Zacarias <[email protected]>

Committed, thanks.

Care to send a followup patch adding LICENSE info?

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 nettle: add new package

Quoted 3 lines · Peter Korsgaard

Committed, thanks.

Care to send a followup patch adding LICENSE info?

Sure, the gnutls3 patchset has been sitting from before the 2012.11 release pending some details (like this one) :)
Sent.