[Lunar-commits] <moonbase> nettle: version 2.1 added to moonbase (needed for newer gnutls)

Duncan Gibson engelsman at lunar-linux.org
Sat Apr 23 16:09:02 CEST 2011


commit 210c8e3a2336c33003e4cdb547e05e133c42585c
Author: Christian Krause <kizkizzbangbang at googlemail.com>
Date:   Sat Apr 23 16:09:02 2011 +0200

    nettle: version 2.1 added to moonbase (needed for newer gnutls)
    
    NOTE: downloads, compiles and installs OK,
          but otherwise untested here - engelsman
---
 zbeta/nettle/BUILD   |   12 ++++++++++++
 zbeta/nettle/DEPENDS |    1 +
 zbeta/nettle/DETAILS |   17 +++++++++++++++++
 3 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/zbeta/nettle/BUILD b/zbeta/nettle/BUILD
new file mode 100644
index 0000000..7d23333
--- /dev/null
+++ b/zbeta/nettle/BUILD
@@ -0,0 +1,12 @@
+(
+
+  OPTS+=" --enable-shared" &&
+
+  # hack the statics away (unfortunately no --disable-static)
+  sedit "/LIBTARGETS = libnettle.a/d" Makefile.in  &&
+  sedit "s?../libnettle.a??g"  tools/Makefile.in testsuite/Makefile.in examples/Makefile.in  &&
+  sedit "s?../libhogweed.a??g" tools/Makefile.in testsuite/Makefile.in examples/Makefile.in  &&
+
+  default_build
+
+) > $C_FIFO 2>&1
diff --git a/zbeta/nettle/DEPENDS b/zbeta/nettle/DEPENDS
new file mode 100644
index 0000000..e2b10a2
--- /dev/null
+++ b/zbeta/nettle/DEPENDS
@@ -0,0 +1 @@
+depends gmp
diff --git a/zbeta/nettle/DETAILS b/zbeta/nettle/DETAILS
new file mode 100644
index 0000000..f747103
--- /dev/null
+++ b/zbeta/nettle/DETAILS
@@ -0,0 +1,17 @@
+          MODULE=nettle
+         VERSION=2.1
+          SOURCE=$MODULE-$VERSION.tar.gz
+   SOURCE_URL[1]=http://www.lysator.liu.se/~nisse/archive
+   SOURCE_URL[2]=ftp://ftp.lysator.liu.se/pub/security/lsh
+      SOURCE_VFY=sha1:15f660ef6cfd62c1c3302f68055f194913de0dfb
+        WEB_SITE=http://www.lysator.liu.se/~nisse/nettle/
+         ENTERED=20110404
+         UPDATED=20110404
+           SHORT="a low-level cryptographic library"
+
+cat << EOF
+Nettle is a cryptographic library that is designed to fit easily in more or
+less any context: In crypto toolkits for object-oriented languages (C++,
+Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel
+space.
+EOF


More information about the Lunar-commits mailing list