From patchwork Mon May 20 12:56:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Assaf Inbal X-Patchwork-Id: 245027 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 180DC2C0090 for ; Mon, 20 May 2013 22:58:30 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 648A2318D0; Mon, 20 May 2013 12:58:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IS85i4rwIdsQ; Mon, 20 May 2013 12:58:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 445333195B; Mon, 20 May 2013 12:58:14 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id A4DF38F76F for ; Mon, 20 May 2013 12:58:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2207E8C928 for ; Mon, 20 May 2013 12:57:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ty8+k-MlLJTg for ; Mon, 20 May 2013 12:57:54 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ee0-f42.google.com (mail-ee0-f42.google.com [74.125.83.42]) by whitealder.osuosl.org (Postfix) with ESMTPS id 411518C923 for ; Mon, 20 May 2013 12:57:54 +0000 (UTC) Received: by mail-ee0-f42.google.com with SMTP id c50so4091540eek.29 for ; Mon, 20 May 2013 05:57:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=kfVvh60gmsXB8LjEMhH+Y3/quo5MsUGjsh8lk4dECjA=; b=YPTRHK+yqBvXPTiyqjV1rcfsbDJ1kn88PrXWneIoiF3KBShHMNCV4aGDQXw0KOtEB5 K3CdyBR61g3s41kxfd4CFvlgd7WiH6aOdDT/ra6xCnWeRPaz/nuWxZ7Y095DKD6Rde0s bFcxqpZGI/aj7qadpoLQ7IU6x8WikXsu1ShJ9oaAtdYFOEy7HtywpC9td4rbtilK30t3 zBOXK1OgEYVcgsM26FAGAlvVFkRTTbnwx+KXeth92vuXb6PR8EivX8rHLZPADkio3SZ5 KvsYMyFTicA8hM1GDT1XZ9bdChgzPrBeHmtWwOyp8lpIGwr3thS0hZEVExtg1VD1Znzi jMkQ== X-Received: by 10.14.206.136 with SMTP id l8mr13145009eeo.26.1369054671841; Mon, 20 May 2013 05:57:51 -0700 (PDT) Received: from localhost.localdomain (80.179.199.150.cable.012.net.il. [80.179.199.150]) by mx.google.com with ESMTPSA id g7sm37514827eew.15.2013.05.20.05.57.49 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 05:57:50 -0700 (PDT) From: Assaf Inbal To: buildroot@busybox.net Date: Mon, 20 May 2013 15:56:39 +0300 Message-Id: <1369054604-26139-7-git-send-email-shmuelzon@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1369054604-26139-1-git-send-email-shmuelzon@gmail.com> References: <1369054604-26139-1-git-send-email-shmuelzon@gmail.com> Cc: Assaf Inbal Subject: [Buildroot] [PATCH 07/12] luacrypto: New package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net LuaCrypto provides a Lua frontend to the OpenSSL cryptographic library. Signed-off-by: Assaf Inbal --- package/Config.in | 1 + package/luacrypto/Config.in | 12 ++++++++++++ package/luacrypto/luacrypto.mk | 15 +++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 package/luacrypto/Config.in create mode 100644 package/luacrypto/luacrypto.mk diff --git a/package/Config.in b/package/Config.in index 1089533..c11ff27 100644 --- a/package/Config.in +++ b/package/Config.in @@ -310,6 +310,7 @@ source "package/coxpcall/Config.in" source "package/lbase64/Config.in" source "package/luabitop/Config.in" source "package/luacjson/Config.in" +source "package/luacrypto/Config.in" source "package/luaexpat/Config.in" source "package/luafilesystem/Config.in" source "package/luasocket/Config.in" diff --git a/package/luacrypto/Config.in b/package/luacrypto/Config.in new file mode 100644 index 0000000..f4587c3 --- /dev/null +++ b/package/luacrypto/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_LUACRYPTO + bool "luacrypto" + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LUASOCKET + help + LuaCrypto provides a Lua frontend to the OpenSSL cryptographic + library. + The OpenSSL features that are currently exposed are digests (MD5, + SHA-1, HMAC, and more) and crypto-grade random number generators + communication. + + http://luacrypto.luaforge.net diff --git a/package/luacrypto/luacrypto.mk b/package/luacrypto/luacrypto.mk new file mode 100644 index 0000000..b0cdfc3 --- /dev/null +++ b/package/luacrypto/luacrypto.mk @@ -0,0 +1,15 @@ +############################################################# +# +# lucrypto +# +############################################################# + +LUACRYPTO_VERSION = master +LUACRYPTO_SITE = git://github.com/mkottman/luacrypto.git +LUACRYPTO_SITE_METHOD = git +LUACRYPTO_LICENSE = MIT +LUACRYPTO_LICENSE_FILES = COPYING +LUACRYPTO_DEPENDENCIES = lua luasocket openssl +LUACRYPTO_CONF_OPT = "-DLUA_LIBRARIES=\"$(STAGING_DIR)/usr/lib/liblua.so\"" + +$(eval $(cmake-package))