[asterisk-commits] pabelanger: branch pabelanger/non-root r627 - in /asterisk/team/pabelanger/no...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jul 28 19:57:48 CDT 2010
Author: pabelanger
Date: Wed Jul 28 19:57:43 2010
New Revision: 627
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=627
Log:
Import luaposix, luafilesystem, and luasocket
Added:
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/Makefile (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/Makefile.win (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/README (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/config (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/config.win (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/examples.html (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/index.html (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/license.html (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/luafilesystem.png (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/manual.html (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/rockspecs/
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/rockspecs/luafilesystem-1.3.0-1.rockspec (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/rockspecs/luafilesystem-1.4.0-1.rockspec (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/rockspecs/luafilesystem-1.4.0-2.rockspec (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/rockspecs/luafilesystem-1.4.1-1.rockspec (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/rockspecs/luafilesystem-1.4.1rc1-1.rockspec (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/rockspecs/luafilesystem-1.4.2-1.rockspec (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/rockspecs/luafilesystem-cvs-1.rockspec (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/rockspecs/luafilesystem-cvs-2.rockspec (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/src/
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/src/lfs.c (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/src/lfs.def (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/src/lfs.h (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/tests/
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/tests/test.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/vc6/
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/vc6/lfs.def (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/vc6/luafilesystem.dsw (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/vc6/luafilesystem_dll.dsp (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luaposix/
asterisk/team/pabelanger/non-root/asttest/lib/lua/luaposix/ChangeLog (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luaposix/Makefile (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luaposix/README (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luaposix/lposix.c (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luaposix/modemuncher.c (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luaposix/test.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luaposix/tree.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/LICENSE (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/NEW (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/README (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/config (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/doc/
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/doc/dns.html (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/doc/ftp.html (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/doc/http.html (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/doc/index.html (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/doc/installation.html (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/doc/introduction.html (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/doc/ltn12.html (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/doc/luasocket.png (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/doc/mime.html (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/doc/reference.css (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/doc/reference.html (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/doc/smtp.html (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/doc/socket.html (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/doc/tcp.html (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/doc/udp.html (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/doc/url.html (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/etc/
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/etc/README (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/etc/b64.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/etc/check-links.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/etc/check-memory.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/etc/dict.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/etc/dispatch.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/etc/eol.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/etc/forward.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/etc/get.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/etc/lp.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/etc/qp.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/etc/tftp.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/luasocket.sln (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/makefile (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/mime.vcproj (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/samples/
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/samples/README (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/samples/cddb.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/samples/daytimeclnt.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/samples/echoclnt.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/samples/echosrvr.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/samples/listener.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/samples/lpr.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/samples/talker.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/samples/tinyirc.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/socket.vcproj (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/auxiliar.c (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/auxiliar.h (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/buffer.c (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/buffer.h (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/except.c (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/except.h (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/ftp.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/http.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/inet.c (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/inet.h (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/io.c (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/io.h (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/ltn12.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/luasocket.c (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/luasocket.h (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/makefile (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/mime.c (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/mime.h (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/mime.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/options.c (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/options.h (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/select.c (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/select.h (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/smtp.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/socket.h (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/socket.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/tcp.c (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/tcp.h (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/timeout.c (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/timeout.h (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/tp.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/udp.c (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/udp.h (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/unix.c (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/unix.h (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/url.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/usocket.c (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/usocket.h (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/wsocket.c (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/src/wsocket.h (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/test/
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/test/README (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/test/testclnt.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/test/testsrvr.lua (with props)
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket/test/testsupport.lua (with props)
Removed:
asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem-1.4.2.tar.gz
asterisk/team/pabelanger/non-root/asttest/lib/lua/luaposix-5.1.4.tar.gz
asterisk/team/pabelanger/non-root/asttest/lib/lua/luasocket-2.0.2.tar.gz
Modified:
asterisk/team/pabelanger/non-root/asttest/Makefile
Modified: asterisk/team/pabelanger/non-root/asttest/Makefile
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/non-root/asttest/Makefile?view=diff&rev=627&r1=626&r2=627
==============================================================================
--- asterisk/team/pabelanger/non-root/asttest/Makefile (original)
+++ asterisk/team/pabelanger/non-root/asttest/Makefile Wed Jul 28 19:57:43 2010
@@ -20,9 +20,9 @@
.PHONY: clean dist-clean distclean test check asterisk
-LUAFILESYSTEM=luafilesystem-1.4.2
-LUASOCKET=luasocket-2.0.2
-LUAPOSIX=luaposix-5.1.4
+LUAFILESYSTEM=luafilesystem
+LUASOCKET=luasocket
+LUAPOSIX=luaposix
LUAFILESYSTEM_OBJS=lib/lua/$(LUAFILESYSTEM)/src/lfs.o
LUASOCKET_OBJS=lib/lua/$(LUASOCKET)/src/luasocket.a
@@ -76,32 +76,14 @@
lib/lua/astlib.o: lib/lua/astlib.c lib/lua/astlib_lua.h include/asttest/lua/astlib.h
lib/lua/proclib.o: lib/lua/proclib.c lib/lua/proclib_lua.h include/asttest/lua/proclib.h
-$(LUAFILESYSTEM_OBJS): lib/lua/$(LUAFILESYSTEM) lib/lua/lfs-patched.stamp
+$(LUAFILESYSTEM_OBJS): lib/lua/$(LUAFILESYSTEM)
$(MAKE) -C lib/lua/$(LUAFILESYSTEM)
-lib/lua/lfs-patched.stamp lib/lua/$(LUAFILESYSTEM): lib/lua/$(LUAFILESYSTEM).tar.gz tools/lfs.diff
- rm -rf lib/lua/$(LUAFILESYSTEM)
- tar -C lib/lua -zxf lib/lua/$(LUAFILESYSTEM).tar.gz
- patch -p1 -d lib/lua/$(LUAFILESYSTEM) < tools/lfs.diff
- touch lib/lua/lfs-patched.stamp
-
-$(LUASOCKET_OBJS): lib/lua/$(LUASOCKET) lib/lua/luasocket-patched.stamp
+$(LUASOCKET_OBJS): lib/lua/$(LUASOCKET)
$(MAKE) -C lib/lua/$(LUASOCKET)
-lib/lua/luasocket-patched.stamp lib/lua/$(LUASOCKET): lib/lua/$(LUASOCKET).tar.gz tools/luasocket.diff
- rm -rf lib/lua/$(LUASOCKET)
- tar -C lib/lua -zxf lib/lua/$(LUASOCKET).tar.gz
- patch -p1 -d lib/lua/$(LUASOCKET) < tools/luasocket.diff
- touch lib/lua/luasocket-patched.stamp
-
-$(LUAPOSIX_OBJS): lib/lua/$(LUAPOSIX) lib/lua/luaposix-patched.stamp
+$(LUAPOSIX_OBJS): lib/lua/$(LUAPOSIX)
$(MAKE) -C lib/lua/$(LUAPOSIX)
-
-lib/lua/luaposix-patched.stamp lib/lua/$(LUAPOSIX): lib/lua/$(LUAPOSIX).tar.gz tools/luaposix.diff
- rm -rf lib/lua/$(LUAPOSIX)
- tar -C lib/lua -zxf lib/lua/$(LUAPOSIX).tar.gz
- patch -p1 -d lib/lua/$(LUAPOSIX) < tools/luaposix.diff
- touch lib/lua/luaposix-patched.stamp
asttest: asttest.c $(OBJS) $(T_OBJS) $(L_OBJS) include/asttest/asttest.h
$(CC) -o $@ $(OBJS) $(L_OBJS) $(T_LIBS) $(L_MODULES) $(L_LIBS)
@@ -127,9 +109,15 @@
rm -f lib/lua/*_lua.h
rm -f lib/lua/*.luac
rm -f tools/mkstring
- -$(MAKE) -C lib/lua/$(LUAFILESYSTEM) clean
- -$(MAKE) -C lib/lua/$(LUASOCKET) clean
- -$(MAKE) -C lib/lua/$(LUAPOSIX) clean
+ @if [ -d lib/lua/$(LUAFILESYSTEM) ] ; then \
+ $(MAKE) -C lib/lua/$(LUAFILESYSTEM) clean ; \
+ fi
+ @if [ -d lib/lua/$(LUASOCKET) ] ; then \
+ $(MAKE) -C lib/lua/$(LUASOCKET) clean ; \
+ fi
+ @if [ -d lib/lua/$(LUAPOSIX) ] ; then \
+ $(MAKE) -C lib/lua/$(LUAPOSIX) clean ; \
+ fi
dist-clean: distclean
@@ -137,9 +125,6 @@
rm -rf $(ASTDSTDIR)
rm -f aclocal.m4 autoconfig.h config.status config.log makeopts
rm -rf autom4te.cache
- rm -rf lib/lua/$(LUAFILESYSTEM)
- rm -rf lib/lua/$(LUASOCKET)
- rm -rf lib/lua/$(LUAPOSIX)
rm -f lib/lua/lfs-patched.stamp
rm -f lib/lua/luasocket-patched.stamp
rm -f lib/lua/luaposix-patched.stamp
Added: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/Makefile
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/Makefile?view=auto&rev=627
==============================================================================
--- asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/Makefile (added)
+++ asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/Makefile Wed Jul 28 19:57:43 2010
@@ -1,0 +1,22 @@
+# $Id$
+
+T= lfs
+
+CONFIG= ./config
+
+include $(CONFIG)
+
+SRCS= src/$T.c
+OBJS= src/$T.o
+
+lib: src/lfs.so
+
+src/lfs.so: $(OBJS)
+ MACOS_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/lfs.so $(OBJS)
+
+install:
+ mkdir -p $(LUA_LIBDIR)
+ cp src/lfs.so $(LUA_LIBDIR)
+
+clean:
+ rm -f src/lfs.so $(OBJS)
Propchange: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/Makefile
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/Makefile
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/Makefile
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/Makefile.win
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/Makefile.win?view=auto&rev=627
==============================================================================
--- asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/Makefile.win (added)
+++ asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/Makefile.win Wed Jul 28 19:57:43 2010
@@ -1,0 +1,25 @@
+# $Id$
+
+T= lfs
+
+include config.win
+
+SRCS= src\$T.c
+OBJS= src\$T.obj
+
+lib: src\lfs.dll
+
+.c.obj:
+ $(CC) /c /Fo$@ $(CFLAGS) $<
+
+src\lfs.dll: $(OBJS)
+ link /dll /def:src\$T.def /out:src\lfs.dll $(OBJS) "$(LUA_LIB)"
+ IF EXIST src\lfs.dll.manifest mt -manifest src\lfs.dll.manifest -outputresource:src\lfs.dll;2
+
+install: src\lfs.dll
+ IF NOT EXIST "$(LUA_LIBDIR)" mkdir "$(LUA_LIBDIR)"
+ copy src\lfs.dll "$(LUA_LIBDIR)"
+
+clean:
+ del src\lfs.dll $(OBJS) src\$T.lib src\$T.exp
+ IF EXIST src\lfs.dll.manifest del src\lfs.dll.manifest
Propchange: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/Makefile.win
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/Makefile.win
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/Makefile.win
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/README
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/README?view=auto&rev=627
==============================================================================
--- asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/README (added)
+++ asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/README Wed Jul 28 19:57:43 2010
@@ -1,0 +1,74 @@
+LuaFileSystem - File System Library for Lua
+Copyright 2003 Kepler Project
+http://www.keplerproject.org/luafilesystem
+
+Description
+-----------
+LuaFileSystem is a Lua library developed to complement the set of functions
+related to file systems offered by the standard Lua distribution.
+
+LuaFileSystem offers a portable way to access the underlying directory structure and file attributes.
+LuaFileSystem is free software and uses the same license as Lua 5.1
+
+LuaRocks Installation
+---------------------
+luarocks install luafilesystem
+
+Unix Installation
+-----------------
+To install on Linux/OSX/BSD, please edit the config file and then call
+
+make
+make install
+
+The last step may require root privileges.
+
+Windows Installation
+--------------------
+To install on Windows, please copy lfs.dll to your package.cpath directory
+
+Documentation
+-------------
+Please check the documentation at /doc/us/ for more information.
+
+History
+-------
+
+Version 1.4.2 [03/Feb/2009]
+
+ * fixed bug [#13198] lfs.attributes(filename, 'size') overflow on files > 2 Gb again (bug report and patch by KUBO Takehiro).
+ * fixed bug [#39794] Compile error on Solaris 10 (bug report and patch by Aaron B).
+ * fixed compilation problems with Borland C.
+
+Version 1.4.1 [07/May/2008]
+
+ * documentation review
+ * fixed Windows compilation issues
+ * fixed bug in the Windows tests (patch by Shmuel Zeigerman)
+ * fixed bug [#2185] lfs.attributes(filename, 'size') overflow on files > 2 Gb
+
+Version 1.4.0 [13/Feb/2008]
+
+ * added function lfs.setmode (works only in Windows systems).
+ * lfs.attributes raises an error if attribute does not exist
+
+Version 1.3.0 [26/Oct/2007]
+
+ * added function lfs.symlinkattributes (works only in non Windows systems).
+
+Version 1.2.1 [08/May/2007]
+
+ * compatible only with Lua 5.1 (Lua 5.0 support was dropped)
+
+Version 1.2 [15/Mar/2006]
+
+ * added optional argument to lfs.attributes
+ * added function lfs.rmdir
+ * bug correction on lfs.dir
+
+Version 1.1 [30/May/2005]
+
+ * added function lfs.touch.
+
+Version 1.0 [21/Jan/2005]
+Version 1.0 Beta [10/Nov/2004]
Propchange: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/README
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/README
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/README
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/config
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/config?view=auto&rev=627
==============================================================================
--- asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/config (added)
+++ asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/config Wed Jul 28 19:57:43 2010
@@ -1,0 +1,25 @@
+# Installation directories
+
+# Default installation prefix
+PREFIX=/usr/local
+
+# System's libraries directory (where binary libraries are installed)
+LUA_LIBDIR= $(PREFIX)/lib/lua/5.1
+
+# Lua includes directory
+LUA_INC= $(PREFIX)/include
+
+# OS dependent
+LIB_OPTION= -shared #for Linux
+#LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
+
+LIBNAME= $T.so.$V
+
+# Compilation directives
+WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic
+INCS= -I$(LUA_INC)
+LUA_CFLAGS=`pkg-config --cflags lua5.1 2> /dev/null || pkg-config --cflags lua 2> /dev/null`
+CFLAGS= $(WARN) $(LUA_CFLAGS)
+CC= gcc
+
+# $Id$
Propchange: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/config
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/config
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/config
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/config.win
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/config.win?view=auto&rev=627
==============================================================================
--- asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/config.win (added)
+++ asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/config.win Wed Jul 28 19:57:43 2010
@@ -1,0 +1,19 @@
+# Installation directories
+# System's libraries directory (where binary libraries are installed)
+LUA_LIBDIR= "c:\lua5.1"
+
+# Lua includes directory
+LUA_INC= "c:\lua5.1\include"
+
+# Lua library
+LUA_LIB= "c:\lua5.1\lua5.1.lib"
+
+LIBNAME= $T.dll
+
+# Compilation directives
+WARN= /O2
+INCS= /I$(LUA_INC)
+CFLAGS= /MD $(WARN) $(INCS)
+CC= cl
+
+# $Id$
Propchange: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/config.win
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/config.win
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/config.win
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/examples.html
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/examples.html?view=auto&rev=627
==============================================================================
--- asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/examples.html (added)
+++ asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/examples.html Wed Jul 28 19:57:43 2010
@@ -1,0 +1,103 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>LuaFileSystem</title>
+ <link rel="stylesheet" href="http://www.keplerproject.org/doc.css" type="text/css"/>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+</head>
+
+<body>
+
+<div id="container">
+
+<div id="product">
+ <div id="product_logo">
+ <a href="http://www.keplerproject.org">
+ <img alt="LuaFileSystem" src="luafilesystem.png"/>
+ </a>
+ </div>
+ <div id="product_name"><big><strong>LuaFileSystem</strong></big></div>
+ <div id="product_description">File System Library for the Lua Programming Language</div>
+</div> <!-- id="product" -->
+
+<div id="main">
+
+<div id="navigation">
+<h1>LuaFileSystem</h1>
+ <ul>
+ <li><a href="index.html">Home</a>
+ <ul>
+ <li><a href="index.html#overview">Overview</a></li>
+ <li><a href="index.html#status">Status</a></li>
+ <li><a href="index.html#download">Download</a></li>
+ <li><a href="index.html#history">History</a></li>
+ <li><a href="index.html#credits">Credits</a></li>
+ <li><a href="index.html#contact">Contact us</a></li>
+ </ul>
+ </li>
+ <li><a href="manual.html">Manual</a>
+ <ul>
+ <li><a href="manual.html#introduction">Introduction</a></li>
+ <li><a href="manual.html#building">Building</a></li>
+ <li><a href="manual.html#installation">Installation</a></li>
+ <li><a href="manual.html#reference">Reference</a></li>
+ </ul>
+ </li>
+ <li><strong>Examples</strong></li>
+ <li><a href="http://luaforge.net/projects/luafilesystem/">Project</a>
+ <ul>
+ <li><a href="http://luaforge.net/tracker/?group_id=66">Bug Tracker</a></li>
+ <li><a href="http://luaforge.net/scm/?group_id=66">CVS</a></li>
+ </ul>
+ </li>
+ <li><a href="license.html">License</a></li>
+ </ul>
+</div> <!-- id="navigation" -->
+
+<div id="content">
+
+<h2><a name="example"></a>Examples</h2>
+
+<h3>Directory iterator</h3>
+
+<p>The following example iterates over a directory and recursively lists the
+attributes for each file inside it.</p>
+
+<pre class="example">
+require"lfs"
+
+function attrdir (path)
+ for file in lfs.dir(path) do
+ if file ~= "." and file ~= ".." then
+ local f = path..'/'..file
+ print ("\t "..f)
+ local attr = lfs.attributes (f)
+ assert (type(attr) == "table")
+ if attr.mode == "directory" then
+ attrdir (f)
+ else
+ for name, value in pairs(attr) do
+ print (name, value)
+ end
+ end
+ end
+ end
+end
+
+attrdir (".")
+</pre>
+
+</div> <!-- id="content" -->
+
+</div> <!-- id="main" -->
+
+<div id="about">
+ <p><a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0!</a></p>
+ <p><small>$Id$</small></p>
+</div> <!-- id="about" -->
+
+</div> <!-- id="container" -->
+
+</body>
+</html>
Propchange: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/examples.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/examples.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/examples.html
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/index.html
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/index.html?view=auto&rev=627
==============================================================================
--- asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/index.html (added)
+++ asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/index.html Wed Jul 28 19:57:43 2010
@@ -1,0 +1,190 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>LuaFileSystem</title>
+ <link rel="stylesheet" href="http://www.keplerproject.org/doc.css" type="text/css"/>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+</head>
+
+<body>
+
+<div id="container">
+
+<div id="product">
+ <div id="product_logo">
+ <a href="http://www.keplerproject.org">
+ <img alt="LuaFileSystem" src="luafilesystem.png"/>
+ </a>
+ </div>
+ <div id="product_name"><big><strong>LuaFileSystem</strong></big></div>
+ <div id="product_description">File System Library for the Lua Programming Language</div>
+</div> <!-- id="product" -->
+
+<div id="main">
+
+<div id="navigation">
+<h1>LuaFileSystem</h1>
+ <ul>
+ <li><strong>Home</strong>
+ <ul>
+ <li><a href="index.html#overview">Overview</a></li>
+ <li><a href="index.html#status">Status</a></li>
+ <li><a href="index.html#download">Download</a></li>
+ <li><a href="index.html#history">History</a></li>
+ <li><a href="index.html#credits">Credits</a></li>
+ <li><a href="index.html#contact">Contact us</a></li>
+ </ul>
+ </li>
+ <li><a href="manual.html">Manual</a>
+ <ul>
+ <li><a href="manual.html#introduction">Introduction</a></li>
+ <li><a href="manual.html#building">Building</a></li>
+ <li><a href="manual.html#installation">Installation</a></li>
+ <li><a href="manual.html#reference">Reference</a></li>
+ </ul>
+ </li>
+ <li><a href="examples.html">Examples</a></li>
+ <li><a href="http://luaforge.net/projects/luafilesystem/">Project</a>
+ <ul>
+ <li><a href="http://luaforge.net/tracker/?group_id=66">Bug Tracker</a></li>
+ <li><a href="http://luaforge.net/scm/?group_id=66">CVS</a></li>
+ </ul>
+ </li>
+ <li><a href="license.html">License</a></li>
+ </ul>
+</div> <!-- id="navigation" -->
+
+<div id="content">
+
+<h2><a name="overview"></a>Overview</h2>
+
+<p>LuaFileSystem is a <a href="http://www.lua.org">Lua</a> library
+developed to complement the set of functions related to file
+systems offered by the standard Lua distribution.</p>
+
+<p>LuaFileSystem offers a portable way to access
+the underlying directory structure and file attributes.</p>
+
+<p>LuaFileSystem is free software and uses the same
+<a href="license.html">license</a> as Lua 5.1.</p>
+
+<h2><a name="status"></a>Status</h2>
+
+<p>Current version is 1.4.2. It was developed for Lua 5.1.</p>
+
+<h2><a name="download"></a>Download</h2>
+
+<p>LuaFileSystem source can be downloaded from its
+<a href="http://luaforge.net/projects/luafilesystem/files">Lua Forge</a>
+page. If you are using
+<a href="http://luabinaries.luaforge.net">LuaBinaries</a> a Windows binary
+version of LuaFileSystem (compiled with Visual Studio 2005 Express) can be found at the same LuaForge page.</p>
+
+<h2><a name="history"></a>History</h2>
+
+<dl class="history">
+ <dt><strong>Version 1.4.2</strong> [03/Feb/2009]</dt>
+ <dd>
+ <ul>
+ <li>fixed bug [<a href="http://luaforge.net/tracker/?func=detail&group_id=66&aid=13198&atid=356">#13198</a>]
+ lfs.attributes(filename, 'size') overflow on files > 2 Gb again (bug report and patch by KUBO Takehiro).</li>
+ <li>fixed bug [<a href="http://luaforge.net/tracker/?group_id=66&atid=356&func=detail&aid=39794">#39794</a>]
+ Compile error on Solaris 10 (bug report and patch by Aaron B).</li>
+ <li>fixed compilation problems with Borland C.</li>
+ </ul>
+ </dd>
+
+ <dt><strong>Version 1.4.1</strong> [07/May/2008]</dt>
+ <dd>
+ <ul>
+ <li>documentation review</li>
+ <li>fixed Windows compilation issues</li>
+ <li>fixed bug in the Windows tests (patch by Shmuel Zeigerman)</li>
+ <li>fixed bug [<a href="http://luaforge.net/tracker/?func=detail&group_id=66&aid=2185&atid=356">#2185</a>]
+ <code>lfs.attributes(filename, 'size')</code> overflow on files > 2 Gb
+ </li>
+ </ul>
+ </dd>
+
+ <dt><strong>Version 1.4.0</strong> [13/Feb/2008]</dt>
+ <dd>
+ <ul>
+ <li>added function
+ <a href="manual.html#setmode"><code>lfs.setmode</code></a>
+ (works only in Windows systems).</li>
+ <li><a href="manual.html#attributes"><code>lfs.attributes</code></a>
+ raises an error if attribute does not exist</li>
+ </ul>
+ </dd>
+
+ <dt><strong><a href="http://www.keplerproject.org/luafilesystem/1.3/">Version 1.3.0</a></strong> [26/Oct/2007]</dt>
+ <dd>
+ <ul>
+ <li>added function
+ <a href="manual.html#symlinkattributes"><code>lfs.symlinkattributes</code></a>
+ (works only in non Windows systems).</li>
+ </ul>
+ </dd>
+
+ <dt><strong><a href="http://www.keplerproject.org/luafilesystem/1.2/">Version 1.2.1</a></strong> [08/May/2007]</dt>
+ <dd>
+ <ul>
+ <li>compatible only with Lua 5.1 (Lua 5.0 support was dropped)</li>
+ </ul>
+ </dd>
+
+ <dt><strong><a href="http://www.keplerproject.org/luafilesystem/1.2/">Version 1.2</a></strong> [15/Mar/2006]</dt>
+ <dd>
+ <ul>
+ <li>added optional argument to
+ <a href="manual.html#attributes"><code>lfs.attributes</code></a></li>
+ <li>added function
+ <a href="manual.html#rmdir"><code>lfs.rmdir</code></a></li>
+ <li>bug correction on <a href="manual.html#dir"><code>lfs.dir</code></a></li>
+ </ul>
+ </dd>
+
+ <dt><strong><a href="http://www.keplerproject.org/luafilesystem/1.1/">Version 1.1</a></strong> [30/May/2005]</dt>
+ <dd>
+ <ul>
+ <li>added function <a href="manual.html#touch"><code>lfs.touch</code></a>.</li>
+ </ul>
+ </dd>
+
+ <dt><strong><a href="http://www.keplerproject.org/luafilesystem/1.0/">Version 1.0</a></strong> [21/Jan/2005]</dt>
+ <dd />
+
+ <dt><strong>Version 1.0 Beta</strong> [10/Nov/2004]</dt>
+ <dd />
+</dl>
+
+<h2><a name="credits"></a>Credits</h2>
+
+<p>LuaFileSystem was designed by Roberto Ierusalimschy,
+André Carregal and Tomás Guisasola as part of the
+<a href="http://www.keplerproject.org">Kepler Project</a>,
+which holds its copyright.</p>
+
+<h2><a name="contact"></a>Contact us</h2>
+
+<p>For more information please
+<a href="mailto:info-NO-SPAM-THANKS at keplerproject.org">contact us</a>.
+Comments are welcome!</p>
+
+<p>You can also reach other Kepler developers and users on the Kepler Project
+<a href="http://luaforge.net/mail/?group_id=104">mailing list</a>.</p>
+
+</div> <!-- id="content" -->
+
+</div> <!-- id="main" -->
+
+<div id="about">
+ <p><a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0!</a></p>
+ <p><small>$Id$</small></p>
+</div> <!-- id="about" -->
+
+</div> <!-- id="container" -->
+
+</body>
+</html>
Propchange: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/index.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/index.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/index.html
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/license.html
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/license.html?view=auto&rev=627
==============================================================================
--- asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/license.html (added)
+++ asterisk/team/pabelanger/non-root/asttest/lib/lua/luafilesystem/doc/us/license.html Wed Jul 28 19:57:43 2010
@@ -1,0 +1,122 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>LuaFileSystem</title>
+ <link rel="stylesheet" href="http://www.keplerproject.org/doc.css" type="text/css"/>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+</head>
+
+<body>
+
+<div id="container">
+
+<div id="product">
+ <div id="product_logo">
+ <a href="http://www.keplerproject.org">
+ <img alt="LuaFileSystem" src="luafilesystem.png"/>
+ </a>
+ </div>
+ <div id="product_name"><big><strong>LuaFileSystem</strong></big></div>
+ <div id="product_description">File System Library for the Lua Programming Language</div>
+</div> <!-- id="product" -->
+
+<div id="main">
+
+<div id="navigation">
+<h1>LuaFileSystem</h1>
+ <ul>
+ <li><a href="index.html">Home</a>
+ <ul>
+ <li><a href="index.html#overview">Overview</a></li>
+ <li><a href="index.html#status">Status</a></li>
+ <li><a href="index.html#download">Download</a></li>
+ <li><a href="index.html#history">History</a></li>
+ <li><a href="index.html#credits">Credits</a></li>
[... 19998 lines stripped ...]
More information about the asterisk-commits
mailing list