ports/145154: New port: devel/luafilesystem A library to access directory structure and file attributes

Kelly Hays kelly.hays at jkhfamily.org
Mon Mar 29 03:30:10 UTC 2010


>Number:         145154
>Category:       ports
>Synopsis:       New port: devel/luafilesystem A library to access directory structure and file attributes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 29 03:30:07 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Kelly Hays
>Release:        
>Organization:
>Environment:
>Description:
LuaFileSystem is a Lua library developed to complement the
set of functions related to file systems offered by the
standard Lua distribution.

LuaFileSystem offers a portable way to access the underlying
directory structure and file attributes.

This is needed for the upcoming net-im/prosody updates.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/devel/luafilesystem/
#	/usr/ports/devel/luafilesystem/distinfo
#	/usr/ports/devel/luafilesystem/pkg-descr
#	/usr/ports/devel/luafilesystem/Makefile
#
echo c - /usr/ports/devel/luafilesystem/
mkdir -p /usr/ports/devel/luafilesystem/ > /dev/null 2>&1
echo x - /usr/ports/devel/luafilesystem/distinfo
sed 's/^X//' >/usr/ports/devel/luafilesystem/distinfo << '753fb4a32601fea7766f51c52ea51770'
XMD5 (luafilesystem-1.4.2.tar.gz) = 8e7b2a9b899d669280456d0f95afd961
XSHA256 (luafilesystem-1.4.2.tar.gz) = 954d19f16d5f97cbd7b09893cbad7f42af44770930f5c1caec80d0b04547121a
XSIZE (luafilesystem-1.4.2.tar.gz) = 25408
753fb4a32601fea7766f51c52ea51770
echo x - /usr/ports/devel/luafilesystem/pkg-descr
sed 's/^X//' >/usr/ports/devel/luafilesystem/pkg-descr << '6cbf7e911be5fae740f77e07874b6a3e'
XLuaFileSystem is a Lua library developed to complement the
Xset of functions related to file systems offered by the
Xstandard Lua distribution.
X
XLuaFileSystem offers a portable way to access the underlying
Xdirectory structure and file attributes.
X
XWWW: http://www.keplerproject.org/luafilesystem/index.html
6cbf7e911be5fae740f77e07874b6a3e
echo x - /usr/ports/devel/luafilesystem/Makefile
sed 's/^X//' >/usr/ports/devel/luafilesystem/Makefile << '56ccbf1659dbb5f96367462b79d99c8c'
X# New ports collection makefile for:   luafilesystem
X# Date created:                        28 Mar 2010
X# Whom:                                Kelly Hays <kelly.hays at jkhfamily.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	luafilesystem
XPORTVERSION=	1.4.2
XCATEGORIES=	devel
XMASTER_SITES=	http://luaforge.net/frs/download.php/3931/
XPKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}
X
XMAINTAINER=	kelly.hays at jkhfamily.org
XCOMMENT=	A library to access directory structure and file attributes.
X
XUSE_LUA=	5.1
X
XPLIST_FILES=	%%LUA_MODLIBDIR%%/lfs.so
X
Xdo-build:
X	cd ${WRKSRC}/src && \
X		${CC} -O2 -Wall -fPIC -W -Waggregate-return \
X		-Wcast-align -Wmissing-prototypes -Wnested-externs \
X		-Wshadow -Wwrite-strings -pedantic -shared \
X		-o lfs.so lfs.c -I${LUA_INCDIR}
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/src/lfs.so ${LUA_MODLIBDIR}
X
X.include <bsd.port.mk>
56ccbf1659dbb5f96367462b79d99c8c
exit



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



More information about the freebsd-ports-bugs mailing list