Hi!
This is an update for luafs.
I need this to update awesome to the latest major release (3.5),
since luafs-1.5.x does not support lua-5.2.
Regress tests are ok for both lua-5.1 and lua-5.2 on amd64.
Tested with awesome-3.4.14 too.
OK?
Ciao,
David
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/luafs/Makefile,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile
--- Makefile 10 Jul 2012 15:22:44 -0000 1.16
+++ Makefile 7 Jan 2013 13:34:24 -0000
@@ -2,10 +2,9 @@
SHARED_ONLY= Yes
COMMENT= file system library for the lua language
-V= 1.5.0
+V= 1.6.2
DISTNAME= luafilesystem-${V}
PKGNAME= luafs-${V}
-REVISION= 3
CATEGORIES= devel
MASTER_SITES= http://github.com/downloads/keplerproject/luafilesystem/
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/luafs/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- distinfo 5 May 2011 23:16:19 -0000 1.7
+++ distinfo 7 Jan 2013 13:34:24 -0000
@@ -1,5 +1,2 @@
-MD5 (luafilesystem-1.5.0.tar.gz) = PPSIK7zpVuegsBDxSPGUow==
-RMD160 (luafilesystem-1.5.0.tar.gz) = 2x5ZcEbUerEt8gLnxl+zuBXJ+SI=
-SHA1 (luafilesystem-1.5.0.tar.gz) = HuLKO128PPfCHHFooIc7KYO34kE=
-SHA256 (luafilesystem-1.5.0.tar.gz) =
APbh3B4dp/D6d+N18KBJCOxCQaTF6NmAMWFPSkpQx8s=
-SIZE (luafilesystem-1.5.0.tar.gz) = 26660
+SHA256 (luafilesystem-1.6.2.tar.gz) =
StFt+ZWDFGYqRZ/shI0jPVkxPvSZKAiikAU8FhRTIBg=
+SIZE (luafilesystem-1.6.2.tar.gz) = 27886
Index: patches/patch-config
===================================================================
RCS file: /cvs/ports/devel/luafs/patches/patch-config,v
retrieving revision 1.8
diff -u -p -r1.8 patch-config
--- patches/patch-config 10 Jul 2012 15:22:44 -0000 1.8
+++ patches/patch-config 7 Jan 2013 13:34:24 -0000
@@ -1,9 +1,7 @@
$OpenBSD: patch-config,v 1.8 2012/07/10 15:22:44 jasper Exp $
--- config.orig Tue Oct 20 22:54:35 2009
+++ config Sun Jul 8 19:36:28 2012
-@@ -1,24 +1,24 @@
- # Installation directories
-
+@@ -3,9 +3,9 @@
# Default installation prefix
-PREFIX=/usr/local
+#PREFIX=/usr/local
@@ -16,9 +14,7 @@ $OpenBSD: patch-config,v 1.8 2012/07/10
-LUA_INC= $(PREFIX)/include
+LUA_INC?= $(LOCALBASE)/include
- # OS dependent
- LIB_OPTION= -shared #for Linux
- #LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
+@@ -15,9 +15,9 @@
-LIBNAME= $T.so.$V
+LIBNAME= $T.so
@@ -32,4 +28,3 @@ $OpenBSD: patch-config,v 1.8 2012/07/10
+CFLAGS+= -fPIC $(INCS)
+#CC= gcc
- # $Id: patch-config,v 1.8 2012/07/10 15:22:44 jasper Exp $
Index: patches/patch-tests_test_lua
===================================================================
RCS file: /cvs/ports/devel/luafs/patches/patch-tests_test_lua,v
retrieving revision 1.2
diff -u -p -r1.2 patch-tests_test_lua
--- patches/patch-tests_test_lua 10 May 2007 20:23:29 -0000 1.2
+++ patches/patch-tests_test_lua 7 Jan 2013 13:34:24 -0000
@@ -1,9 +1,9 @@
$OpenBSD: patch-tests_test_lua,v 1.2 2007/05/10 20:23:29 pedro Exp $
---- tests/test.lua.orig Thu May 10 10:06:03 2007
-+++ tests/test.lua Thu May 10 10:06:06 2007
+--- tests/test.lua.orig Thu Oct 4 16:25:54 2012
++++ tests/test.lua Mon Jan 7 10:59:01 2013
@@ -1,5 +1,3 @@
--#!/usr/local/bin/lua5.1
+-#!/usr/bin/env lua5.1
-
local tmp = "/tmp"
- local sep = "/"
+ local sep = string.match (package.config, "[^\n]+")
local upper = ".."