[oe] [PATCH 1/2][meta-oe] libsodium: create recipe

rongqing.li at windriver.com rongqing.li at windriver.com
Thu Aug 20 05:39:14 UTC 2015


From: Roy Li <rongqing.li at windriver.com>

zeromq 4.1.3 requires libsodium

Sodium is a new, easy-to-use software library for encryption, decryption,
signatures, password hashing and more. It is a portable, cross-compilable,
installable, packageable fork of NaCl, with a compatible API, and an extended
API to improve usability even further. Its goal is to provide all of the core
operations needed to build higher-level cryptographic tools. The design
choices emphasize security, and "magic constants" have clear rationales.

The same cannot be said of NIST curves, where the specific origins of certain
constants are not described by the standards. And despite the emphasis on
higher security, primitives are faster across-the-board than most
implementations of the NIST standards.

Signed-off-by: Roy Li <rongqing.li at windriver.com>
---
 meta-oe/recipes-support/libsodium/libsodium_1.0.3.bb | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 meta-oe/recipes-support/libsodium/libsodium_1.0.3.bb

diff --git a/meta-oe/recipes-support/libsodium/libsodium_1.0.3.bb b/meta-oe/recipes-support/libsodium/libsodium_1.0.3.bb
new file mode 100644
index 0000000..d02bb9b
--- /dev/null
+++ b/meta-oe/recipes-support/libsodium/libsodium_1.0.3.bb
@@ -0,0 +1,11 @@
+SUMMARY = "The Sodium crypto library"
+HOMEPAGE = "http://libsodium.org/"
+LICENSE = "ISC"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=092a09b78c3be486fac807435bf17b7a"
+
+SRC_URI = "https://download.libsodium.org/libsodium/releases/${BPN}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "b3bcc98e34d3250f55ae196822307fab"
+SRC_URI[sha256sum] = "cbcfc63cc90c05d18a20f229a62c7e7054a73731d0aa858c0517152c549b1288"
+
+inherit autotools
-- 
1.9.1



More information about the Openembedded-devel mailing list