./devel/physfs, Library providing abstract access to various archives

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.2.0, Package name: physfs-3.2.0, Maintainer: pkgsrc-users

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.


Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 237.165 KB

Version history: (Expand)


CVS history: (Expand)


   2025-08-29 08:23:40 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
physfs: do not force CMAKE_SKIP_RPATH
   2025-08-17 11:09:13 by Thomas Klausner | Files touched by this commit (2)
Log message:
physfs: fix build with cmake 4
   2025-08-16 12:29:37 by Patrick Welche | Files touched by this commit (3)
Log message:
Update physfs to 3.2.0

Notable changes:

Release 3.2.0:
- Several changes were made to accommodate our migration from hg on our own \ 
Mercurial server to git and GitHub.
- Minimum CMake required is now 3.0.0.
- Tons of important fixes going back to Sep 27, 2017. Including static analysis \ 
fixes, platform compatibility improvements, etc.
- Added PHYSFS_setRoot, to mount a subset of an archive.
- Support for HOG2 (Descent 3) archives.
- Android support! Please see the notes in PHYSFS_init about this.

Release 3.0.3:
- Several changes were made to accommodate our migration from hg on our own \ 
Mercurial server to git and GitHub.
- Minimum CMake required is now 2.8.12.
- Patched to compile on Microsoft Visual Studio.
- Patched to compile on Solaris.
- Static analysis fixes in the 7zip archiver
- POSIX: Open files with O_CLOEXEC and FD_CLOEXEC so you aren't surprised to \ 
find them open in random child processes.
- POSIX: Repeat system calls if they generate EINTR.
- Fixes for UTF-16 strings containing surrogate pairs.
- Added a Watcom makefile for OS/2 support, other OS/2 fixes.
- zip: workaround Windows Explorer bug.
- Other less notable fixes.
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2020-01-26 18:32:28 by Roland Illig | Files touched by this commit (981)
Log message:
all: migrate homepages from http to https

pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
   2019-04-18 09:38:53 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
physfs: updated to 3.0.2

3.0.2:
Fixed compiler warning.
windows: Workaround for WinXP systems.
Only flush file handles on close if they were opened for writing.
Added some whitespace to test a fix to revision control.
Updated copyright year for 2019.
   2017-11-28 15:47:32 by Thomas Klausner | Files touched by this commit (4) | Package updated
Log message:
physfs: update to 3.0.1.

Many years of development, not summarized by upstream.
For a detailed log see the hg shortlog at
https://hg.icculus.org/icculus/physfs/shortlog