Add physfs, a library to provide abstract access to various archives

This commit is contained in:
Oliver Lehmann 2003-07-26 16:22:18 +00:00
parent 39ac94bc84
commit 21864d5f39
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85630
9 changed files with 93 additions and 0 deletions

View File

@ -785,6 +785,7 @@
SUBDIR += pharmacy
SUBDIR += php-dbg
SUBDIR += php-xdebug
SUBDIR += physfs
SUBDIR += picasm
SUBDIR += picp
SUBDIR += picprog

View File

@ -0,0 +1,21 @@
# New ports collection makefile for: physfs
# Date Created: 26 July 2003
# Whom: Oliver Lehmann <oliver@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= physfs
PORTVERSION= 0.1.8
CATEGORIES= devel
MASTER_SITES= http://icculus.org/${PORTNAME}/downloads/
MAINTAINER= oliver@FreeBSD.org
COMMENT= A library to provide abstract access to various archives
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
CONFIGURE_ARGS= --program-transform-name=''
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (physfs-0.1.8.tar.gz) = 4993d229d38c0207c00074831fd7b8be

View File

@ -0,0 +1,19 @@
PhysicsFS is a library to provide abstract access to various archives.
It is intended for use in video games, and the design was somewhat
inspired by Quake 3's file subsystem. The programmer defines a "write
directory" on the physical filesystem. No file writing done through the
PhysicsFS API can leave that write directory, for security. For example,
an embedded scripting language cannot write outside of this path if it
uses PhysFS for all of its I/O, which means that untrusted scripts can
run more safely. Symbolic links can be disabled as well, for added
safety. For file reading, the programmer lists directories and archives
that form a "search path". Once the search path is defined, it becomes
a single, transparent hierarchical filesystem. This makes for easy
access to ZIP files in the same way as you access a file directly on the
disk, and it makes it easy to ship a new archive that will override a
previous archive on a per-file basis. Finally, PhysicsFS gives you
platform-abstracted means to determine if CD-ROMs are available, the
user's home directory, where in the real filesystem your program is
running, etc.
WWW: http://icculus.org/physfs/

View File

@ -0,0 +1,5 @@
bin/test_physfs
include/physfs.h
lib/libphysfs-0.1.so.8
lib/libphysfs.la
lib/libphysfs.a

21
devel/physfs/Makefile Normal file
View File

@ -0,0 +1,21 @@
# New ports collection makefile for: physfs
# Date Created: 26 July 2003
# Whom: Oliver Lehmann <oliver@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= physfs
PORTVERSION= 0.1.8
CATEGORIES= devel
MASTER_SITES= http://icculus.org/${PORTNAME}/downloads/
MAINTAINER= oliver@FreeBSD.org
COMMENT= A library to provide abstract access to various archives
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
CONFIGURE_ARGS= --program-transform-name=''
.include <bsd.port.mk>

1
devel/physfs/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (physfs-0.1.8.tar.gz) = 4993d229d38c0207c00074831fd7b8be

19
devel/physfs/pkg-descr Normal file
View File

@ -0,0 +1,19 @@
PhysicsFS is a library to provide abstract access to various archives.
It is intended for use in video games, and the design was somewhat
inspired by Quake 3's file subsystem. The programmer defines a "write
directory" on the physical filesystem. No file writing done through the
PhysicsFS API can leave that write directory, for security. For example,
an embedded scripting language cannot write outside of this path if it
uses PhysFS for all of its I/O, which means that untrusted scripts can
run more safely. Symbolic links can be disabled as well, for added
safety. For file reading, the programmer lists directories and archives
that form a "search path". Once the search path is defined, it becomes
a single, transparent hierarchical filesystem. This makes for easy
access to ZIP files in the same way as you access a file directly on the
disk, and it makes it easy to ship a new archive that will override a
previous archive on a per-file basis. Finally, PhysicsFS gives you
platform-abstracted means to determine if CD-ROMs are available, the
user's home directory, where in the real filesystem your program is
running, etc.
WWW: http://icculus.org/physfs/

5
devel/physfs/pkg-plist Normal file
View File

@ -0,0 +1,5 @@
bin/test_physfs
include/physfs.h
lib/libphysfs-0.1.so.8
lib/libphysfs.la
lib/libphysfs.a