ports/96071: Maintainer Update: net/luasocket
Andrew Turner
andrew+ports at fubar.geek.nz
Wed Apr 19 20:30:28 UTC 2006
>Number: 96071
>Category: ports
>Synopsis: Maintainer Update: net/luasocket
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Apr 19 20:30:27 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Andrew Turner
>Release: FreeBSD 6.1-PRERELEASE i386
>Organization:
none
>Environment:
System: FreeBSD hermies.int.fubar.geek.nz 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #2: Sun Mar 12 21:30:28 NZDT 2006 root at hermies.int.fubar.geek.nz:/usr/obj/srctrees/RELENG_6/sys/GENERIC i386
>Description:
The attached patch, port-net-luasocket-3.diff, adds a dependency on devel/lua-compat51. This is to ensure share/lua/5.0/compat-5.1.lua is installed.
patch-Makefile needs to be placed in the ports files directory to stop luasocket from installing its own copy of share/lua/5.0/compat-5.1.lua.
>How-To-Repeat:
>Fix:
1. Apply port-net-luasocket-3.diff
2. Add patch-Makefile to the port's files directory
--- port-net-luasocket-3.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 16 Apr 2006 23:41:17 -0000
@@ -7,6 +7,7 @@
PORTNAME= luasocket
PORTVERSION= 2.0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://luaforge.net/frs/download.php/1097/
@@ -14,6 +15,8 @@ MAINTAINER= andrew+ports at fubar.geek.nz
COMMENT= IPv4 Sockets support for the Lua language
BUILD_DEPENDS= ${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua
+RUN_DEPENDS= ${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua \
+ ${LOCALBASE}/share/lua/5.0/compat-5.1.lua:${PORTSDIR}/devel/lua50-compat51
USE_GMAKE= yes
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 16 Apr 2006 23:37:22 -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-3.diff ends here ---
--- patch-Makefile begins here ---
--- Makefile.orig Mon Apr 17 11:33:50 2006
+++ Makefile Mon Apr 17 11:33:57 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 ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list