6ddee9b011
Since e2fsprogs 1.42.x and in fact anything before 1.43.3_3 in terms of FreeBSD's ports head/ trunk, and its full patch-lib_ext2fs_unix__io.c in particular, is deemed unsafe and can cause data corruption on FreeBSD 11 and newer (10.3 and older are deemed safe): Update to new upstream release 1.43.3, with a few additional fixes to the bounce-buffer I/O needed on FreeBSD 11 and newer where malloc() does not normally return page-aligned memory. Make set of self-tests configurable. Add Perl and GNU dd to build dependency list when needed so tests can pass in a poudriere build. Assorted other tweaks. Upstream's change log (please read all the way to and including 1.43): http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.3 While here, refresh patches, and time-limit programs in self-test suite to 60 s CPU time each, to avoid runaway processes from stalling the self-tests for too long. Ignore SIGINFO during self-tests: In the FreeBSD-specific patch, when the environment variable e2fsprogs_inhibit_SIGINFO exists (whatever its content, even if empty), do NOT install the SIGINFO handler. Leverage this when running the self-tests. This is to avoid false negatives during the self-tests due to interspersed SIGINFO output redirected from stderr to the log files. Insist (by setting BROKEN conditionally) on anything that is FreeBSD 11 or newer, or non-i386/non-amd64, that the user runs at least the small self-tests. Revise option descriptions a bit. Approved by: ports-secteam (feld) |
||
---|---|---|
.. | ||
files | ||
distinfo | ||
Makefile | ||
pkg-descr | ||
pkg-install | ||
pkg-message | ||
pkg-plist |