From ef0cb1e70d00784c175a4af311a3bb463cf1eb3a Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Sat, 26 May 2012 15:15:27 +0200 Subject: [PATCH] tnetstrings-lua: Added tnetstrings-lua 1.1.0 - An implementation of TNetStrings in Lua --- lua/tnetstrings-lua/tnetstrings-lua.cache | 17 +++++++++ lua/tnetstrings-lua/tnetstrings-lua.conf | 22 ++++++++++++ lua/tnetstrings-lua/tnetstrings-lua.desc | 43 +++++++++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 lua/tnetstrings-lua/tnetstrings-lua.cache create mode 100644 lua/tnetstrings-lua/tnetstrings-lua.conf create mode 100644 lua/tnetstrings-lua/tnetstrings-lua.desc diff --git a/lua/tnetstrings-lua/tnetstrings-lua.cache b/lua/tnetstrings-lua/tnetstrings-lua.cache new file mode 100644 index 000000000..67ab6d6f3 --- /dev/null +++ b/lua/tnetstrings-lua/tnetstrings-lua.cache @@ -0,0 +1,17 @@ + +[TIMESTAMP] 1338037942 Sat May 26 15:12:22 2012 +[BUILDTIME] 0 (5) +[SIZE] 0.03 MB, 10 files + +[DEP] bash +[DEP] bzip2 +[DEP] coreutils +[DEP] diffutils +[DEP] fhs +[DEP] findutils +[DEP] gcc +[DEP] glibc +[DEP] grep +[DEP] sed +[DEP] sysfiles +[DEP] tar diff --git a/lua/tnetstrings-lua/tnetstrings-lua.conf b/lua/tnetstrings-lua/tnetstrings-lua.conf new file mode 100644 index 000000000..2b586cf26 --- /dev/null +++ b/lua/tnetstrings-lua/tnetstrings-lua.conf @@ -0,0 +1,22 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../tnetstrings-lua/tnetstrings-lua.conf +# Copyright (C) 2012 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +# package does not provide a regular Makefile +tnetstrings_lua_custmain() { + install -m 644 tnetstrings.lua $root$luadatadir + install -d -m 755 $root$docdir + install -m 644 README.md $root$docdir + install -m 644 LICENCE $root$docdir/LICENSE +} +custmain="tnetstrings_lua_custmain" diff --git a/lua/tnetstrings-lua/tnetstrings-lua.desc b/lua/tnetstrings-lua/tnetstrings-lua.desc new file mode 100644 index 000000000..af24ecbb5 --- /dev/null +++ b/lua/tnetstrings-lua/tnetstrings-lua.desc @@ -0,0 +1,43 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../tnetstrings-lua/tnetstrings-lua.desc +[COPY] Copyright (C) 2012 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] An implementation of TNetStrings in Lua + +[T] TNetStrings stand for a "tagged netstrings" and are a modification of Dan +[T] Bernstein's netstrings specification to allow for the same data structures +[T] as JSON but in a format that meets these requirements: +[T] - Trivial to parse in every language without making errors. +[T] - Resistant to buffer overflows and other problems. +[T] - Fast and low resource intensive. +[T] - Makes no assumptions about string contents and can store binary data +[T] without escaping or encoding them. +[T] - Backward compatible with original netstrings. +[T] - Transport agnostic, so it works with streams, messages, files, anything +[T] that's 8-bit clean. + +[U] https://github.com/jsimmons/tnetstrings.lua +[U] http://tnetstrings.org (TNetStrings Specification) + +[A] Josh Simmons +[M] Christian Wiese + +[C] extra/development +[F] LUA + +[L] MIT +[S] Stable +[V] 1.1.0 +[P] X -----5---9 800.000 + +[D] 1552901771 tnetstrings-1.1.0.tar.bz2 http://cloud.github.com/downloads/jsimmons/tnetstrings.lua/