diff mbox

[07/12] luacrypto: New package

Message ID 1369054604-26139-7-git-send-email-shmuelzon@gmail.com
State Changes Requested
Headers show

Commit Message

Assaf Inbal May 20, 2013, 12:56 p.m. UTC
LuaCrypto provides a Lua frontend to the OpenSSL cryptographic library.

Signed-off-by: Assaf Inbal <shmuelzon@gmail.com>
---
 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

Comments

Francois Perrad May 20, 2013, 4:07 p.m. UTC | #1
2013/5/20 Assaf Inbal <shmuelzon@gmail.com>

> LuaCrypto provides a Lua frontend to the OpenSSL cryptographic library.
>
> Signed-off-by: Assaf Inbal <shmuelzon@gmail.com>
> ---
>  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
>

typo : luacrypto


> +#
> +#############################################################
> +
> +LUACRYPTO_VERSION = master
> +LUACRYPTO_SITE = git://github.com/mkottman/luacrypto.git
> +LUACRYPTO_SITE_METHOD = git
>

master is not fixed reference.

-LUACRYPTO_VERSION = master
-LUACRYPTO_SITE = git://github.com/mkottman/luacrypto.git
-LUACRYPTO_SITE_METHOD = git
+LUACRYPTO_VERSION = 0.3.2
+LUACRYPTO_SOURCE = $(LUACRYPTO_VERSION).tar.gz
+LUACRYPTO_SITE = https://github.com/mkottman/luacrypto/archive




> +LUACRYPTO_LICENSE = MIT
> +LUACRYPTO_LICENSE_FILES = COPYING
> +LUACRYPTO_DEPENDENCIES = lua luasocket openssl
>

luasocket is not a built dependency.

François


> +LUACRYPTO_CONF_OPT =
> "-DLUA_LIBRARIES=\"$(STAGING_DIR)/usr/lib/liblua.so\""
> +
> +$(eval $(cmake-package))
> --
> 1.8.1.2
>
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
Peter Korsgaard June 16, 2013, 8:16 p.m. UTC | #2
>>>>> "François" == François Perrad <francois.perrad@gadz.org> writes:

Hi,

 François>     +++ b/package/luacrypto/luacrypto.mk
 François>     @@ -0,0 +1,15 @@
 François>     +#############################################################
 François>     +#
 François>     +# lucrypto


 François> typo : luacrypto
 François>  

 François>     +#
 François>     +#############################################################
 François>     +
 François>     +LUACRYPTO_VERSION = master
 François>     +LUACRYPTO_SITE = git://github.com/mkottman/luacrypto.git
 François>     +LUACRYPTO_SITE_METHOD = git


 François> master is not fixed reference.

 François> -LUACRYPTO_VERSION = master
 François> -LUACRYPTO_SITE = git://github.com/mkottman/luacrypto.git
 François> -LUACRYPTO_SITE_METHOD = git
 François> +LUACRYPTO_VERSION = 0.3.2
 François> +LUACRYPTO_SOURCE = $(LUACRYPTO_VERSION).tar.gz
 François> +LUACRYPTO_SITE = https://github.com/mkottman/luacrypto/archive


 François>  

 François>     +LUACRYPTO_LICENSE = MIT
 François>     +LUACRYPTO_LICENSE_FILES = COPYING
 François>     +LUACRYPTO_DEPENDENCIES = lua luasocket openssl


 François> luasocket is not a built dependency.

Assaf, will you send an updated patch taking the review feedback into
consideration?
Assaf Inbal June 17, 2013, 6:18 a.m. UTC | #3
>
> Assaf, will you send an updated patch taking the review feedback into
> consideration?
>

Yes, please see attached.
Again, minor changes to download site.
Peter Korsgaard June 17, 2013, 9:18 p.m. UTC | #4
>>>>> "Assaf" == Assaf Inbal <shmuelzon@gmail.com> writes:

 Assaf>     Assaf, will you send an updated patch taking the review feedback into
 Assaf>     consideration?


 Assaf> Yes, please see attached.
 Assaf> Again, minor changes to download site.

Committed, thanks.
diff mbox

Patch

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))