From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 29 07:33:04 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 44FD216A528 for ; Wed, 29 Nov 2006 07:33:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6772043E3D for ; Wed, 29 Nov 2006 07:30:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kAT7UKAA094460 for ; Wed, 29 Nov 2006 07:30:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kAT7UK2w094459; Wed, 29 Nov 2006 07:30:20 GMT (envelope-from gnats) Resent-Date: Wed, 29 Nov 2006 07:30:20 GMT Resent-Message-Id: <200611290730.kAT7UK2w094459@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrew Turner Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 27F6916A412 for ; Wed, 29 Nov 2006 07:25:04 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from fep06.xtra.co.nz (fep06.xtra.co.nz [210.54.141.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id B007F43D7D for ; Wed, 29 Nov 2006 07:23:18 +0000 (GMT) (envelope-from andrew@fubar.geek.nz) Received: from serv.int.fubar.geek.nz ([222.155.175.74]) by fep06.xtra.co.nz with ESMTP id <20061129031847.VPSA29801.fep06.xtra.co.nz@serv.int.fubar.geek.nz> for ; Wed, 29 Nov 2006 16:18:47 +1300 Received: by serv.int.fubar.geek.nz (Postfix, from userid 1001) id 8503D6125; Wed, 29 Nov 2006 16:18:46 +1300 (NZDT) Message-Id: <20061129031846.8503D6125@serv.int.fubar.geek.nz> Date: Wed, 29 Nov 2006 16:18:46 +1300 (NZDT) From: Andrew Turner To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: andrew@fubar.geek.nz Subject: ports/105990: Maintainer update of devel/lua50-filename X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andrew Turner List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Nov 2006 07:33:04 -0000 >Number: 105990 >Category: ports >Synopsis: Maintainer update of devel/lua50-filename >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: Wed Nov 29 07:30:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Andrew Turner >Release: FreeBSD 5.5-RC1 i386 >Organization: None >Environment: System: FreeBSD serv.int.fubar.geek.nz 5.5-RC1 FreeBSD 5.5-RC1 #0: Mon May 15 14:09:18 NZST 2006 root@serv.int.fubar.geek.nz:/usr/obj/usr/src/sys/GENERIC i386 >Description: The attached patch makes devel/lua50-filename work with both Lua 5.0 and 5.1 >How-To-Repeat: >Fix: 1. Repocopy devel/lua50-filename to devel/lua-filename 2. Remove devel/lua50-filename/distinfo and devel/lua50-filename/pkg-descr 3. Add patch-filename.lua to devel/lua-filename/files 4. Apply port-devel-lua-filename.diff --- port-devel-lua-filename.diff begins here --- Index: devel/lua-filename/Makefile =================================================================== RCS file: /cvsroot/ports/devel/lua50-filename/Makefile,v retrieving revision 1.3 diff -u -r1.3 Makefile --- devel/lua-filename/Makefile 15 Sep 2006 08:17:06 -0000 1.3 +++ devel/lua-filename/Makefile 29 Nov 2006 01:41:37 -0000 @@ -14,16 +14,24 @@ EXTRACT_ONLY= # MAINTAINER= andrew+ports@fubar.geek.nz -COMMENT= Filename-manipulating functions for Lua 5.0.x +COMMENT= Filename-manipulating functions for Lua 5 -USE_LUA= 5.0 +USE_LUA?= 5.1 +LUA_COMPS= posix +.if ${USE_LUA} == 5.0 +LUA_COMPS+= compat51 +.endif NO_BUILD= yes NO_WRKSUBDIR= yes PLIST_FILES= %%LUA_MODSHAREDIR%%/filename.lua +post-extract: + echo ${LV} + ${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}/filename.lua + do-install: - ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} \ + ${INSTALL_DATA} ${WRKDIR}/filename.lua \ ${LUA_MODSHAREDIR}/${DISTFILES:C/\?.*$//} .include Index: devel/lua50-filename/Makefile =================================================================== RCS file: /cvsroot/ports/devel/lua50-filename/Makefile,v retrieving revision 1.3 diff -u -r1.3 Makefile --- devel/lua50-filename/Makefile 15 Sep 2006 08:17:06 -0000 1.3 +++ devel/lua50-filename/Makefile 16 Sep 2006 11:20:24 -0000 @@ -5,25 +5,8 @@ # $FreeBSD: ports/devel/lua50-filename/Makefile,v 1.3 2006/09/15 08:17:06 linimon Exp $ # -PORTNAME= filename -PORTVERSION= 1.2 -CATEGORIES= devel -MASTER_SITES= http://cvs.bsdinstaller.org/cgi-bin/cvsweb.cgi/installer/src/lib/lua/filename/ -PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} -DISTFILES= filename.lua?rev=${PORTVERSION} -EXTRACT_ONLY= # - -MAINTAINER= andrew+ports@fubar.geek.nz -COMMENT= Filename-manipulating functions for Lua 5.0.x - USE_LUA= 5.0 -NO_BUILD= yes -NO_WRKSUBDIR= yes - -PLIST_FILES= %%LUA_MODSHAREDIR%%/filename.lua -do-install: - ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} \ - ${LUA_MODSHAREDIR}/${DISTFILES:C/\?.*$//} +MASTERDIR= ${.CURDIR}/../lua-filename -.include +.include "${MASTERDIR}/Makefile" --- port-devel-lua-filename.diff ends here --- --- patch-filename.lua begins here --- --- filename.lua Mon Apr 17 10:52:51 2006 +++ filename.lua Wed Nov 29 12:37:50 2006 @@ -1,8 +1,7 @@ -- $Id: filename.lua,v 1.2 2005/07/12 19:32:55 cpressey Exp $ -module("filename") - local POSIX = require("posix") +module("filename") --[[----------]]-- --[[ FileName ]]-- --- patch-filename.lua ends here --- >Release-Note: >Audit-Trail: >Unformatted: