summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/nettle
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2015-08-27 16:06:00 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-01 11:43:59 +0100
commit38f4e92ab96fe472b3efc2d359a25a6916019c49 (patch)
tree2e81e4e2508cd664dd8f4c3e1fbd731ee238b092 /meta/recipes-support/nettle
parent6fac60da96eee89d5b7c2156bbb92fe72dc28aef (diff)
downloadpoky-38f4e92ab96fe472b3efc2d359a25a6916019c49.tar.gz
nettle: Add (LGPLv3) version 3.1.1
Newer nettle versions are "LGPLv3+ | GPLv2+". Add 3.1.1 but also keep version 2.7.1 since it's LGPLv2.1+ (From OE-Core rev: 1299a222653d94f5c61f8d9ce8e450bf5684242e) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/nettle')
-rw-r--r--meta/recipes-support/nettle/nettle.inc26
-rw-r--r--meta/recipes-support/nettle/nettle_2.7.1.bb20
-rw-r--r--meta/recipes-support/nettle/nettle_3.1.1.bb11
3 files changed, 39 insertions, 18 deletions
diff --git a/meta/recipes-support/nettle/nettle.inc b/meta/recipes-support/nettle/nettle.inc
new file mode 100644
index 0000000000..0579b6c923
--- /dev/null
+++ b/meta/recipes-support/nettle/nettle.inc
@@ -0,0 +1,26 @@
1SUMMARY = "A low level cryptographic library"
2HOMEPAGE = "http://www.lysator.liu.se/~nisse/nettle/"
3SECTION = "libs"
4
5LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
6 file://serpent-decrypt.c;beginline=53;endline=67;md5=bcfd4745d53ca57f82907089898e390d \
7 file://serpent-set-key.c;beginline=56;endline=70;md5=bcfd4745d53ca57f82907089898e390d"
8
9DEPENDS += "gmp"
10
11SRC_URI = "http://www.lysator.liu.se/~nisse/archive/${BP}.tar.gz"
12
13SRC_URI[md5sum] = "003d5147911317931dd453520eb234a5"
14SRC_URI[sha256sum] = "bc71ebd43435537d767799e414fce88e521b7278d48c860651216e1fc6555b40"
15
16EXTRA_OECONF = "--disable-openssl"
17
18do_configure_prepend() {
19 if [ ! -e ${S}/acinclude.m4 -a -e ${S}/aclocal.m4 ]; then
20 cp ${S}/aclocal.m4 ${S}/acinclude.m4
21 fi
22}
23
24inherit autotools
25
26BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-support/nettle/nettle_2.7.1.bb b/meta/recipes-support/nettle/nettle_2.7.1.bb
index 7823df95fe..ae2574a23d 100644
--- a/meta/recipes-support/nettle/nettle_2.7.1.bb
+++ b/meta/recipes-support/nettle/nettle_2.7.1.bb
@@ -1,6 +1,5 @@
1SUMMARY = "A low level cryptographic library" 1require nettle.inc
2HOMEPAGE = "http://www.lysator.liu.se/~nisse/nettle/" 2
3SECTION = "libs"
4LICENSE = "LGPLv2.1 & GPLv2" 3LICENSE = "LGPLv2.1 & GPLv2"
5LICENSE_${PN} = "LGPLv2.1+" 4LICENSE_${PN} = "LGPLv2.1+"
6 5
@@ -8,21 +7,6 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
8 file://serpent-decrypt.c;beginline=53;endline=67;md5=bcfd4745d53ca57f82907089898e390d \ 7 file://serpent-decrypt.c;beginline=53;endline=67;md5=bcfd4745d53ca57f82907089898e390d \
9 file://serpent-set-key.c;beginline=56;endline=70;md5=bcfd4745d53ca57f82907089898e390d" 8 file://serpent-set-key.c;beginline=56;endline=70;md5=bcfd4745d53ca57f82907089898e390d"
10 9
11DEPENDS += "gmp"
12
13SRC_URI = "http://www.lysator.liu.se/~nisse/archive/${BP}.tar.gz"
14
15SRC_URI[md5sum] = "003d5147911317931dd453520eb234a5" 10SRC_URI[md5sum] = "003d5147911317931dd453520eb234a5"
16SRC_URI[sha256sum] = "bc71ebd43435537d767799e414fce88e521b7278d48c860651216e1fc6555b40" 11SRC_URI[sha256sum] = "bc71ebd43435537d767799e414fce88e521b7278d48c860651216e1fc6555b40"
17 12
18EXTRA_OECONF = "--disable-openssl"
19
20do_configure_prepend() {
21 if [ ! -e ${S}/acinclude.m4 -a -e ${S}/aclocal.m4 ]; then
22 cp ${S}/aclocal.m4 ${S}/acinclude.m4
23 fi
24}
25
26inherit autotools
27
28BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-support/nettle/nettle_3.1.1.bb b/meta/recipes-support/nettle/nettle_3.1.1.bb
new file mode 100644
index 0000000000..7d7134f192
--- /dev/null
+++ b/meta/recipes-support/nettle/nettle_3.1.1.bb
@@ -0,0 +1,11 @@
1require nettle.inc
2
3LICENSE = "LGPLv3+ | GPLv2+"
4
5LIC_FILES_CHKSUM = "file://COPYING.LESSERv3;md5=6a6a8e020838b23406c81b19c1d46df6 \
6 file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
7 file://serpent-decrypt.c;beginline=14;endline=36;md5=ca0d220bc413e1842ecc507690ce416e \
8 file://serpent-set-key.c;beginline=14;endline=36;md5=ca0d220bc413e1842ecc507690ce416e"
9
10SRC_URI[md5sum] = "b40fa88dc32f37a182b6b42092ebb144"
11SRC_URI[sha256sum] = "5fd4d25d64d8ddcb85d0d897572af73b05b4d163c6cc49438a5bfbb8ff293d4c"