freebsd-ports/sysutils/e2fsprogs
Matthias Andree 6ddee9b011 MFH: r418578 r418755 r418756 r418815 r418816 r418844 r418901 r419254 r421716 r421726 r421812 r421966
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)
2016-09-16 19:50:51 +00:00
..
files MFH: r418578 r418755 r418756 r418815 r418816 r418844 r418901 r419254 r421716 r421726 r421812 r421966 2016-09-16 19:50:51 +00:00
distinfo MFH: r418578 r418755 r418756 r418815 r418816 r418844 r418901 r419254 r421716 r421726 r421812 r421966 2016-09-16 19:50:51 +00:00
Makefile MFH: r418578 r418755 r418756 r418815 r418816 r418844 r418901 r419254 r421716 r421726 r421812 r421966 2016-09-16 19:50:51 +00:00
pkg-descr
pkg-install
pkg-message
pkg-plist MFH: r418578 r418755 r418756 r418815 r418816 r418844 r418901 r419254 r421716 r421726 r421812 r421966 2016-09-16 19:50:51 +00:00