libsodium: new package
authorFrank Hunleth <fhunleth@troodon-software.com>
Tue, 19 May 2015 12:01:10 +0000 (08:01 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 10 Jul 2015 20:26:20 +0000 (22:26 +0200)
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/libsodium/Config.in [new file with mode: 0644]
package/libsodium/libsodium.hash [new file with mode: 0644]
package/libsodium/libsodium.mk [new file with mode: 0644]

index 4df5cdbb4cf7d678e92af4041472ae5933635aa4..9f04b54d0ac907453c3367a3e1f17445b91899a3 100644 (file)
@@ -730,6 +730,7 @@ menu "Crypto"
        source "package/libnss/Config.in"
        source "package/libsecret/Config.in"
        source "package/libsha1/Config.in"
+       source "package/libsodium/Config.in"
        source "package/libssh2/Config.in"
        source "package/nettle/Config.in"
        source "package/openssl/Config.in"
diff --git a/package/libsodium/Config.in b/package/libsodium/Config.in
new file mode 100644 (file)
index 0000000..47b9bb3
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LIBSODIUM
+       bool "libsodium"
+       help
+         A modern and easy-to-use crypto library.
+
+         http://libsodium.org/
diff --git a/package/libsodium/libsodium.hash b/package/libsodium/libsodium.hash
new file mode 100644 (file)
index 0000000..089dc03
--- /dev/null
@@ -0,0 +1,2 @@
+# Locally computed:
+sha256 cbcfc63cc90c05d18a20f229a62c7e7054a73731d0aa858c0517152c549b1288        libsodium-1.0.3.tar.gz
diff --git a/package/libsodium/libsodium.mk b/package/libsodium/libsodium.mk
new file mode 100644 (file)
index 0000000..c032863
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# libsodium
+#
+################################################################################
+
+LIBSODIUM_VERSION = 1.0.3
+LIBSODIUM_SITE = https://github.com/jedisct1/libsodium/releases/download/$(LIBSODIUM_VERSION)
+LIBSODIUM_LICENSE = ISC
+LIBSODIUM_LICENSE_FILES = LICENSE
+LIBSODIUM_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))