* Move conflicting e2fsprogs headers & libs into .../e2fsprogs/... subdirs.
* Move conflicting awk scripts into ${DATADIR}.
* Rename and patch compile_et to e2fsprogs-compile_et.
* Remove conflict markers (from e2fsprogs and krb5-*).
* Add CPPFLAGS/LDFLAGS to sysutils/fusefs-ext2, including
--rpath setting.
While here, also:
* sort pkg-plist and files/unwanted
* use FUSEFS_CONFIGURE_ENABLE=fuse2fs to prevent e2fsprogs from picking up
fusefs (implies --disable-fuse2fs if the option remains disabled)
* add --without-included-gettext to CONFIGURE_ARGS just to be on the safe
side.
And of course, bump PORTREVISION to 3 in e2fsprogs. Since other ports
do not change files or runtime behaviour, their PORTREVISION remains
untouched.
This fixes FreeBSD-related regressions observed in 1.43.4 and 1.43.5,
and portability issues around quota support on 32-bit builds.
Changelog: <http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.6>
[The MFH request will also need to take 1.43.5 upgrades into account,
so the easiest would probably to merge the entire history since branching.]
MFH: 2017Q3
e2fsprogs v1.43.4 and .5 appear to attempt unaligned writes to disk
devices, which causes "invalid argument" errors and failures.
Patch unix_io.c to always obtain the alignment requirements on
FreeBSD, so that e2fsprogs uses its own write buffers and read-
modify-write cycles when writing only parts of a block.
Bump PORTREVISION, as crucial executables and libs change.
While here, bump self-test requirement to FreeBSD >= 12,
since the maintainer has tested these on 11.0/11.1 amd64/i386.
Reported by: Artyon Mirgorodsky (in private)
This is predominantly a bug-fix release, it however ceases installing
the *ext4dev files, which have been replaced by *ext4 for quite a while,
and adds two translations [fi, ms].
While here, reset PORTREVISION on two slave ports.
ChangeLog: <http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.4>
Note in particular this part of the ChangeLog:
«Replace a test file but which had a "non-commercial use-only" copyright
permission file with a newer version from the Cyrus imapd package which
now has a 4-clause BSD license, which was making some lawyers nervous,
even though the test file in question was only used in lib/et's
regression testing and was never included in any compiled binary.
(Addresses Debian Bug: #840733)»
PR: 216774
Reported by: Thomas Zander (riggs@)
MFH: 2017Q1
The bounce-buffer I/O driver fix in patch-lib_ext2fs_unix__io.c is a
prototypical fix, and has been forwarded upstream, but it permits us to
pass all self-tests (mostly undo-related) that were still failing on
11.0-RC2 amd64. There is some potential for optimization,
posix_memalign() might save us quite a few memcpy() calls and replace
the now-repaired code paths by a simple pread[64]() or pwrite[64]().
Remove BROKEN, but 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.
Bump PORTREVISION.
Pull in upstream Git patch for lib/ext2fs/unix_io.c to fix unaligned
multi-block writes, and disable the two known failing e2undo patches
ONLY for the exact 1.43.3_2, even if "ALLTESTS" is enabled.
(Modify the post-patch:: target to avoid that.)
The port is still marked BROKEN on FreeBSD 11+ to protect the innocent,
but a TRYBROKEN=1 build that will not use e2undo should be fine now.
Obtained from: Ted Y. Ts'o (upstream maintainer)
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.
Bump PORTREVISION because this changes the e2fsck utility.
ChangeLog: (also see the log for 1.43.2 that the port skipped!)
<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.
Still no joy on FreeBSD 11+ - the self-test results hint to massive data
loss, and more than 10 self-tests fail.
The code path that preferred DIOCGMEDIASIZE has been there for years
(since FreeBSD 6.1 at the latest), but there was no guard that checked
DIOCGINFO in one of the two getsize.c files.
- 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.
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@)
- bump revision, as we're changing files and fixing a bug even for
those who had successfully built libuuid before
- patch one more source file to make sure the clock.txt state file
gets saved to the right directory
- try to run the newly-build uuidd for our self-test (ignoring
failures, as they are non-fatal)
- (the actual build fix is inherited from the other port)
* sysutils/e2fsprogs:
- add files/patch-uuid-loop to actually fix the "self-test does not
terminate" bug. What causes the client to see EOF prematurely or the
server to fail to send a response remains unknown, but we'll fix the
worse part of the issue: loop on EOF (read returning 0).
PR: 134156
Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer)
- Use assembly bitops, a new patch (provided by upstream maintainer Ted Ts'o to
OpenBSD porter Frantisek Holop) fixes the related crashes.
PR: 124715
Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer)
- Add a regression check to avoid libintl/libiconv dependency
regressions as observed in 1.40.5 and _1
- Add a few comments
- Dump tests/*.failed files on failure, to aid debugging sparc64 problems
- Adjust patch line numbers
- Drop one misc/Makefile patch that was integrated upstream
PR: 120500
Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer)
* fsck_ext2fs.8 (1.3): Reformat long lines.
* fsck_ext2fs.8 (1.2): Add copyright notice and license. Change -
to \- where appropriate. Add Id and FreeBSD keywords for ident.
* fsck_ext2fs.c (1.6): Update license.
* fsck_ext2fs.8 (1.1): Add a manual page.
* fsck_ext2fs.c (1.5): When run with -F, do not report 'unknown
option'.
PR: 99712
Submitted by: Matthias Andree <matthias.andree at gmx.de>