Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2006 15:37:00 +1200 (NZST)
From:      Andrew Turner <andrew@fubar.geek.nz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        andrew@fubar.geek.nz
Subject:   ports/95722: Maintainer Update of net/luasocket
Message-ID:  <20060414033700.D4DFD613C@serv.int.fubar.geek.nz>
Resent-Message-ID: <200604140340.k3E3eEtM007929@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         95722
>Category:       ports
>Synopsis:       Maintainer Update of net/luasocket
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 14 03:40:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Turner
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
none
>Environment:
System: FreeBSD serv.int.fubar.geek.nz 5.4-STABLE FreeBSD 5.4-STABLE #9: Sun Jan 29 12:45:34 NZDT 2006 root@serv.int.fubar.geek.nz:/usr/obj/srctrees/RELENG_5/sys/GENERIC i386


	
>Description:
Update to port to use devel/lua50-compat51. PR ports/95720 needs to be applyed first to supply devel/lua50-compat51.
Update pkg-descr to remove references to Lua 4 and fix the installation location
>How-To-Repeat:
	
>Fix:

	

--- port-net-luasocket-1.diff begins here ---
Index: Makefile
===================================================================
RCS file: /cvsroot/ports/net/luasocket/Makefile,v
retrieving revision 1.5
diff -u -3 -p -r1.5 Makefile
--- Makefile	26 Mar 2006 13:43:34 -0000	1.5
+++ Makefile	14 Apr 2006 03:33:26 -0000
@@ -13,7 +13,8 @@ MASTER_SITES=	http://luaforge.net/frs/do
 MAINTAINER=	andrew+ports@fubar.geek.nz
 COMMENT=	IPv4 Sockets support for the Lua language
 
-BUILD_DEPENDS=	${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua
+BUILD_DEPENDS=	${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua \
+		${LOCALBASE}/lib/liblua-compat-5.1.a:${PORTSDIR}/devel/lua50-compat51
 
 USE_GMAKE=	yes
 
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-1.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060414033700.D4DFD613C>