ports/95722: Maintainer Update of net/luasocket
Andrew Turner
andrew+ports at fubar.geek.nz
Fri Apr 14 09:30:15 UTC 2006
The following reply was made to PR ports/95722; it has been noted by GNATS.
From: Andrew Turner <andrew+ports at fubar.geek.nz>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/95722: Maintainer Update of net/luasocket
Date: Fri, 14 Apr 2006 21:23:53 +1200
I found a bug in the previous patch. The attached port-net-luasocket-2.diff fixes the bug by removing the dependency on devel/lua50-compat51 and ports/95720.
patch-Makefile also needs to be placed in the ports files directory.
--- port-net-luasocket-2.diff begins here ---
Index: pkg-descr
===================================================================
RCS file: /cvsroot/ports/net/luasocket/pkg-descr,v
retrieving revision 1.2
diff -u -3 -p -r1.2 pkg-descr
--- pkg-descr 14 Feb 2005 09:12:25 -0000 1.2
+++ pkg-descr 27 Mar 2006 01:19:03 -0000
@@ -1,9 +1,8 @@
LuaSocket is a Lua extension library that provides support for the TCP and UDP
transport layers.
-Extra Lua modules implementing SMTP, HTTP and FTP protocols are installed
-to /usr/local/lib/lua/luasocket.
-
-Note that this port requires Lua v4 and does not compile with Lua v5.
+Extra Lua modules implementing SMTP, HTTP and FTP protocols installed the
+*.lua files to /usr/local/share/lua/5.0 with the shared objects installed to
+/usr/local/lib/lua/5.0
WWW: http://www.cs.princeton.edu/~diego/professional/luasocket/
Index: pkg-plist
===================================================================
RCS file: /cvsroot/ports/net/luasocket/pkg-plist,v
retrieving revision 1.2
diff -u -3 -p -r1.2 pkg-plist
--- pkg-plist 26 Mar 2006 13:43:34 -0000 1.2
+++ pkg-plist 14 Apr 2006 02:45:33 -0000
@@ -1,7 +1,6 @@
share/lua/5.0/mime.lua
share/lua/5.0/socket.lua
share/lua/5.0/ltn12.lua
-share/lua/5.0/compat-5.1.lua
share/lua/5.0/socket/smtp.lua
share/lua/5.0/socket/ftp.lua
share/lua/5.0/socket/tp.lua
--- port-net-luasocket-2.diff ends here ---
--- patch-Makefile begins here ---
--- Makefile.orig Fri Apr 14 14:32:17 2006
+++ Makefile Fri Apr 14 14:32:28 2006
@@ -25,7 +25,6 @@
smtp.lua
TO_TOP_SHARE:= \
- $(COMPAT)/compat-5.1.lua \
ltn12.lua \
socket.lua \
mime.lua
--- patch-Makefile ends here ---
More information about the freebsd-ports-bugs
mailing list