diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2015-08-27 16:06:00 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-01 11:43:59 +0100 |
commit | 38f4e92ab96fe472b3efc2d359a25a6916019c49 (patch) | |
tree | 2e81e4e2508cd664dd8f4c3e1fbd731ee238b092 /meta/recipes-support/nettle | |
parent | 6fac60da96eee89d5b7c2156bbb92fe72dc28aef (diff) | |
download | poky-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.inc | 26 | ||||
-rw-r--r-- | meta/recipes-support/nettle/nettle_2.7.1.bb | 20 | ||||
-rw-r--r-- | meta/recipes-support/nettle/nettle_3.1.1.bb | 11 |
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 @@ | |||
1 | SUMMARY = "A low level cryptographic library" | ||
2 | HOMEPAGE = "http://www.lysator.liu.se/~nisse/nettle/" | ||
3 | SECTION = "libs" | ||
4 | |||
5 | LIC_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 | |||
9 | DEPENDS += "gmp" | ||
10 | |||
11 | SRC_URI = "http://www.lysator.liu.se/~nisse/archive/${BP}.tar.gz" | ||
12 | |||
13 | SRC_URI[md5sum] = "003d5147911317931dd453520eb234a5" | ||
14 | SRC_URI[sha256sum] = "bc71ebd43435537d767799e414fce88e521b7278d48c860651216e1fc6555b40" | ||
15 | |||
16 | EXTRA_OECONF = "--disable-openssl" | ||
17 | |||
18 | do_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 | |||
24 | inherit autotools | ||
25 | |||
26 | BBCLASSEXTEND = "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 @@ | |||
1 | SUMMARY = "A low level cryptographic library" | 1 | require nettle.inc |
2 | HOMEPAGE = "http://www.lysator.liu.se/~nisse/nettle/" | 2 | |
3 | SECTION = "libs" | ||
4 | LICENSE = "LGPLv2.1 & GPLv2" | 3 | LICENSE = "LGPLv2.1 & GPLv2" |
5 | LICENSE_${PN} = "LGPLv2.1+" | 4 | LICENSE_${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 | ||
11 | DEPENDS += "gmp" | ||
12 | |||
13 | SRC_URI = "http://www.lysator.liu.se/~nisse/archive/${BP}.tar.gz" | ||
14 | |||
15 | SRC_URI[md5sum] = "003d5147911317931dd453520eb234a5" | 10 | SRC_URI[md5sum] = "003d5147911317931dd453520eb234a5" |
16 | SRC_URI[sha256sum] = "bc71ebd43435537d767799e414fce88e521b7278d48c860651216e1fc6555b40" | 11 | SRC_URI[sha256sum] = "bc71ebd43435537d767799e414fce88e521b7278d48c860651216e1fc6555b40" |
17 | 12 | ||
18 | EXTRA_OECONF = "--disable-openssl" | ||
19 | |||
20 | do_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 | |||
26 | inherit autotools | ||
27 | |||
28 | BBCLASSEXTEND = "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 @@ | |||
1 | require nettle.inc | ||
2 | |||
3 | LICENSE = "LGPLv3+ | GPLv2+" | ||
4 | |||
5 | LIC_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 | |||
10 | SRC_URI[md5sum] = "b40fa88dc32f37a182b6b42092ebb144" | ||
11 | SRC_URI[sha256sum] = "5fd4d25d64d8ddcb85d0d897572af73b05b4d163c6cc49438a5bfbb8ff293d4c" | ||