From 907972a5f498307be2ca2b5029d20d109f61fba1 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Mon, 30 Jun 2008 20:03:42 +0000 Subject: [PATCH] [lua-wsapi] Added lua-wsapi 1.0.0 - Lua Web Server API --- lua/lua-wsapi/lua-wsapi.cache | 5 ++++ lua/lua-wsapi/lua-wsapi.conf | 32 +++++++++++++++++++++++++ lua/lua-wsapi/lua-wsapi.desc | 44 +++++++++++++++++++++++++++++++++++ 3 files changed, 81 insertions(+) create mode 100644 lua/lua-wsapi/lua-wsapi.cache create mode 100644 lua/lua-wsapi/lua-wsapi.conf create mode 100644 lua/lua-wsapi/lua-wsapi.desc diff --git a/lua/lua-wsapi/lua-wsapi.cache b/lua/lua-wsapi/lua-wsapi.cache new file mode 100644 index 000000000..27ed07adb --- /dev/null +++ b/lua/lua-wsapi/lua-wsapi.cache @@ -0,0 +1,5 @@ + +[TIMESTAMP] 1214855717 Mon Jun 30 19:55:17 2008 +[BUILDTIME] 0 (1) +[SIZE] 0.15 MB, 37 files + diff --git a/lua/lua-wsapi/lua-wsapi.conf b/lua/lua-wsapi/lua-wsapi.conf new file mode 100644 index 000000000..9bde2e083 --- /dev/null +++ b/lua/lua-wsapi/lua-wsapi.conf @@ -0,0 +1,32 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../lua-wsapi/lua-wsapi.conf +# Copyright (C) 2008 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 --- + +runconf=0 + +pkgprefix -t lua + +hook_add premake 5 'lua_wsapi_config' +lua_wsapi_config() +{ +cat <<-EOF > config +LIB_OPTION= -shared +BIN_DIR=$root$( pkgprefix bindir lua ) +LUA_DIR=$root$pkgdatadir +LUA_LIBDIR=$root$pkglibdir +EOF +} + +var_append makeinstopt ' ' 'install-fcgi' + +hook_add postmake 5 'cp -a doc samples $root$docdir/' diff --git a/lua/lua-wsapi/lua-wsapi.desc b/lua/lua-wsapi/lua-wsapi.desc new file mode 100644 index 000000000..2a34c4fc8 --- /dev/null +++ b/lua/lua-wsapi/lua-wsapi.desc @@ -0,0 +1,44 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../lua-wsapi/lua-wsapi.desc +[COPY] Copyright (C) 2008 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] Lua Web Server API + +[T] WSAPI is an API that abstracts the web server from Lua web applications. +[T] By coding against WSAPI your application can run on any of the supported +[T] servers and interfaces (currently CGI, FastCGI and Xavante, on Windows +[T] and UNIX-based systems). +[T] +[T] WSAPI provides a set of helper libraries that help with request processing +[T] and output buffering. You can also write applications that act as filters +[T] that provide some kind of service to other applications, such as +[T] authentication, file uploads, request isolation, or multiplexing. +[T] +[T] WSAPI's main influence is Ruby's Rack framework, but it was also +[T] influenced by Python's WSGI (PEP 333). It's not a direct clone of either +[T] of them, though, and tries to follow standard Lua idioms. + +[U] http://wsapi.luaforge.net/ + +[A] Andre Carregal +[M] Alejandro Mery + +[C] extra/development +[F] LUA + +[L] MIT +[S] Stable +[V] 1.0.0 +[P] X -?---5---9 800.000 + +[D] 2673596702 wsapi-1.0.0.tar.gz http://luaforge.net/frs/download.php/3382/