From 21864d5f393d1dceb25c1289356c0781cd35e0ca Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Sat, 26 Jul 2003 16:22:18 +0000 Subject: [PATCH] Add physfs, a library to provide abstract access to various archives --- devel/Makefile | 1 + devel/physfs-devel/Makefile | 21 +++++++++++++++++++++ devel/physfs-devel/distinfo | 1 + devel/physfs-devel/pkg-descr | 19 +++++++++++++++++++ devel/physfs-devel/pkg-plist | 5 +++++ devel/physfs/Makefile | 21 +++++++++++++++++++++ devel/physfs/distinfo | 1 + devel/physfs/pkg-descr | 19 +++++++++++++++++++ devel/physfs/pkg-plist | 5 +++++ 9 files changed, 93 insertions(+) create mode 100644 devel/physfs-devel/Makefile create mode 100644 devel/physfs-devel/distinfo create mode 100644 devel/physfs-devel/pkg-descr create mode 100644 devel/physfs-devel/pkg-plist create mode 100644 devel/physfs/Makefile create mode 100644 devel/physfs/distinfo create mode 100644 devel/physfs/pkg-descr create mode 100644 devel/physfs/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index 14267e797faf..7e06ae2f492a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -785,6 +785,7 @@ SUBDIR += pharmacy SUBDIR += php-dbg SUBDIR += php-xdebug + SUBDIR += physfs SUBDIR += picasm SUBDIR += picp SUBDIR += picprog diff --git a/devel/physfs-devel/Makefile b/devel/physfs-devel/Makefile new file mode 100644 index 000000000000..7c753a272a64 --- /dev/null +++ b/devel/physfs-devel/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: physfs +# Date Created: 26 July 2003 +# Whom: Oliver Lehmann +# +# $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 diff --git a/devel/physfs-devel/distinfo b/devel/physfs-devel/distinfo new file mode 100644 index 000000000000..1fd158eb7ef8 --- /dev/null +++ b/devel/physfs-devel/distinfo @@ -0,0 +1 @@ +MD5 (physfs-0.1.8.tar.gz) = 4993d229d38c0207c00074831fd7b8be diff --git a/devel/physfs-devel/pkg-descr b/devel/physfs-devel/pkg-descr new file mode 100644 index 000000000000..c1e07bc80f7d --- /dev/null +++ b/devel/physfs-devel/pkg-descr @@ -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/ diff --git a/devel/physfs-devel/pkg-plist b/devel/physfs-devel/pkg-plist new file mode 100644 index 000000000000..840e41b40823 --- /dev/null +++ b/devel/physfs-devel/pkg-plist @@ -0,0 +1,5 @@ +bin/test_physfs +include/physfs.h +lib/libphysfs-0.1.so.8 +lib/libphysfs.la +lib/libphysfs.a diff --git a/devel/physfs/Makefile b/devel/physfs/Makefile new file mode 100644 index 000000000000..7c753a272a64 --- /dev/null +++ b/devel/physfs/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: physfs +# Date Created: 26 July 2003 +# Whom: Oliver Lehmann +# +# $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 diff --git a/devel/physfs/distinfo b/devel/physfs/distinfo new file mode 100644 index 000000000000..1fd158eb7ef8 --- /dev/null +++ b/devel/physfs/distinfo @@ -0,0 +1 @@ +MD5 (physfs-0.1.8.tar.gz) = 4993d229d38c0207c00074831fd7b8be diff --git a/devel/physfs/pkg-descr b/devel/physfs/pkg-descr new file mode 100644 index 000000000000..c1e07bc80f7d --- /dev/null +++ b/devel/physfs/pkg-descr @@ -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/ diff --git a/devel/physfs/pkg-plist b/devel/physfs/pkg-plist new file mode 100644 index 000000000000..840e41b40823 --- /dev/null +++ b/devel/physfs/pkg-plist @@ -0,0 +1,5 @@ +bin/test_physfs +include/physfs.h +lib/libphysfs-0.1.so.8 +lib/libphysfs.la +lib/libphysfs.a