- Refresh old patches to avoid fuzz.
- Add two upstream patches to fix the use-after-free() issue.
- There seem to be double-free() issues left but these do not show during
self-test, only under valgrind instrumentation so we'll move the port
ahead and get packages while working with upstream to debug this through
the end.
- Bump PORTREVISION to 1.
To avoid PORTEPOCH/rollback-and-forth-again, let's give upstream a few
days for a fix before rolling back to 1.42.10.
Added a comment to Makefile:
# Regression that apparently causes use-after-free in·
# http://git.kernel.org/cgit/fs/ext2/e2fsprogs.git/commit/?h=maint&id=47fee2ef6a23ae06f680336ffde57caa64604a4c
# and can be reproduced under MALLOC_OPTIONS=J regime on 9.3-amd64, or
# alternatively confirmed with valgrind, was reported upstream.
#
# Let's wait until 2014-10-15 whether upstream provides a fix,
# else we'll bump PORTEPOCH and roll back to 1.42.10;
# 1.42.11 is also faulty.
ChangeLog: <http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.42.8>
Switch to KERNEL_ORG site and enable USE_XZ for 25 % smaller download.
Switch to USE_CSTD=gnu99 (was gnu89). Disable 2TB r_*_big_expand tests due
to their space requirements, reenable m_bigjournal, and also skip
f_extent_oobounds which breaks inside Tinderbox but is fine outside.
The patch, and one removing bashisms in tests/*/script, have been submitted
to Ted Y. Ts'o, the upstream maintainer, for inclusion in the next release.
Reported by: pointyhat (by way of pav@)
Fix spurious complaint in mke2fs where it would complain if the file system type default is not defined in mke2fs.conf.
The resize2fs program will no longer clear the resize_inode feature when the number reserved group descriptor blocks reaches zero. This allows for subsequent shrinks of the file system to work cleanly for flex_bg file systems.
The resize2fs program now handles devices which are exactly 16T; previously it would give an error saying that the file system was too big.
E2fsck (and the libext2fs library) will not use the extended rec_len encoding for file systems whose block size is less than 64k, for consistency with the kernel.
Programming notes
E2fsprogs 1.41.13 would not compile on big-endian systems. This has been fixed. (Addresses Sourceforge Bug: #3138115)
The ext2fs_block_iterator2() function passed an incorrect ref_offset to its callback function in the case of sparse files. (Addresses Sourceforge Bug: #3081087)
Fix some type-punning warnings generated by newer versions of gcc.
Lots of bugfixes, ouf of these are noteworthy:
Fixes several bugs around flex_bg (hopefully also the one on sparc64)
Fixes alignment of bitmaps to 4-byte boundaries.
The build process now uses standard variables for tuning compiler and linker
settings and no longer relies on --with-ccopt and similar options.
Approved by: garga@ (mentor)
pkg-descr: ----------------------------------------------------------
This package includes a tool that parses a command table to generate a
simple command-line interface parser, the include files needed to compile
and use it, and the libraries needed to run programs that use it.
It was originally inspired by the Multics SubSystem library.
EOF------------------------------------------------------------------
PR: ports/140767
Submitted by: Benjamin Kaduk <kaduk@mit.edu>
Approved by: garga (mentor)