Up to [cvs.NetBSD.org] / pkgsrc / sysutils / e2fsprogs
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
e2fsprogs: add conflict with mit-krb (partially revert last commit)0 e2fsprogs ships its own version of the com_err library (alongside related headers and binaries) which conflicts with that provided by mit-krb5. This is a known issue: * https://github.com/chromebrew/chromebrew/issues/5820 * https://github.com/openwrt/openwrt/issues/5829 * https://lists.freebsd.org/archives/freebsd-ports/2022-January/001289.html Other software distributions have addressed the issue by patching krb5 to use e2fsprogs com_err, or the other way round. Since on pkgsrc we can't assume to have krb5 installed (we might be using heimdal), this seems impractical. The problem needs to be sorted out elsewhere, most likely by renaming files installed by e2fsprogs, and instructing any package requiring e2fsprogs to use the renamed library/headers.
sysutils/e2fsprogs: fix installation Install target is broken when gettext tools are leaked from system, generating NLS files. Make them, default. Also, avoid PLIST conflict with mit-krb5. Bump revision.
e2fsprogs: Update to 1.47.2
pkgsrc changes:
---------------
+ Remove nls option since it seems to not produce .mo files for at least
four years. Actually, generate .mo files by stamping .po files needs
CONFIGURE_ARGS+= --enable-maintainer-mode
Even if this option is enabled, the GETTEXT_MACRO_VERSION mismatches.
+ Remove useless options.mk file because the only option it contains breaks
the installation process if it is enabled.
upstream changes:
-----------------
+ Main issues addresses: CVE-2022-1304, Debian Bug #98961
+ https://github.com/tytso/e2fsprogs/blob/master/doc/RelNotes/v1.47.2.txt
+ https://github.com/tytso/e2fsprogs/blob/master/doc/RelNotes/v1.47.1.txt
+ https://github.com/tytso/e2fsprogs/blob/master/doc/RelNotes/v1.47.0.txt
+ https://github.com/tytso/e2fsprogs/blob/master/doc/RelNotes/v1.46.6.txt
+ https://github.com/tytso/e2fsprogs/blob/master/doc/RelNotes/v1.46.5.txt
+ https://github.com/tytso/e2fsprogs/blob/master/doc/RelNotes/v1.46.4.txt
+ https://github.com/tytso/e2fsprogs/blob/master/doc/RelNotes/v1.46.3.txt
Fix PLIST by not implicitly depending on gettext-tools
Update e2fsprogs to 1.46.4. The defaults for mke2fs now call for 256 byte inodes for all file systems (with the exception of file systems for the GNU Hurd, which only supports 128 byte inodes). Creating non-Hurd file systems with 128 byte inodes will trigger a warning message to make sure users are aware of the potential problems of using small/legacy inode sizes. The bigalloc feature is now considered supported if the cluster size no more than 16 times the block size. So the mke2fs program has been changes to only warn if the cluster size is larger than that. Fixes: - E2fsck now checks to make sure directory entries do not reference internal quota inodes. - E2image now includes the quota inodes when creating file system image, since they are part of the file system metadata. - E2fsck now properly accounts the quota usage of the project quota file. - Fix a regression introduced in 1.64.3 where attempting to create a file system image using mke2fs into a non-existent file would fail. - Fix mke2fs to correctly create Posix ACL's on big-endian systems when copying files from a directory hierarchy. - Updated and clarified the resize2fs man pages.
e2fsprogs: install the libraries & headers. Add bl3. Bump rev.
e2fsprogs: updated to 1.43.7 PkgSrc: * Depend on devel/libuuid and devel/libblkid * Do not install uuidgen; now it is provided by devel/libuuid * Fix PLIST/fsck on Linux. E2fsprogs 1.43.7: Fix the error handling code in debugfs, fuse2fs and tune2fs so errors trying to replay the journal won't accidentally result in a seg fault if reopening the file system after the journal replay fails for some reason. Fix resize2fs to avoid it from either failing or corrupting the file system image in certain corner cases when doing an off-line resize. Fix many spelling mistakes in various man pages, code comments, and program messages. Fix e2fsck and debugfs so that maliciously corrupted file systems will not cause buffer overflows. Update German translation. Fixed various Debian Packaging Issues.
Updated sysutils/e2fsprogs to 1.43.4
-------------------------------------
(from RELEASE-NOTE, some 170 lines, sorry)
-----------------------------------------
E2fsprogs 1.43.4 (January 31, 2017)
===================================
Fix e2fsck to require that the system.data extended attribute is
always present even for files smaller than 60 bytes, to be consistent
with the kernel.
Fix a bug which was causing mke2fs -d and fuse2fs to improperly handle
Posix ACL's.
Fix a bug which could cause mke2fs -d to fail if there is an
zero-length file in source directory tree.
Clarify the default for the "proceed?" question printed by mke2fs and
tune2fs. (Addresses Debian Bug: #852727)
Debugfs will now display project quota information.
Debugfs's do_set_xattr now uses C strings to parse extended attribute
values, and will print the extended attributes using either C strings
or hex bytes when using debugfs's do_get_xattr command. It will now
allow developers to see the contents of the system.data extended
attribute.
Fix a bug in mke2fs where I/O errors weren't getting properly reported
to the user.
Fix multiblock writes in the unaligned Direct I/O fallback code.
(Which is rarely needed on Linux systems, but which is required on
Freebsd systems.)
Make sure the default mke2fs.conf file includes the uninit_bg feature
flag. (Which was accidentally dropped in v1.43).
Fix a bug in resize2fs when operating on very large file systems which
have a block size different from the VM page size.
If the reported device size is absurdly large, mke2fs will now report
an error instead looping forever or crashing.
Fix various Coverity warnings and other memory leaks in fuse2fs and
extended attribute manipulation functions.
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)
Stop installing mkfs.ext4dev and fsck.ext4dev
Update Chinese, Czech, Polish, Serbian, and Spanish translations and
add the Finnish and Malay translation. (Addresses-Debian-Bug: #774379)
Update various man pages (Addresses-Debian-Bug: #852726)
Programming notes
-----------------
Fix more FreeBSD-11 compatibility bugs, including some unmasked by
FreeBSD 11-rc2.
Fix the Mac build.
Fix build failure on RHEL 5.x systems caused by an old version of
libmagic.
Fix a number of bugs reported by ASAN that can cause some (mostly
harmless) memory dereferences beyond allocated memory.
E2fsprogs 1.43.3 (September 4, 2016)
====================================
Fix e2fsck's handling of timestamps on 32-bit systems.
E2fsck will now check, and if necessary repair the extra isize fields
in the inode and superblock.
Fix crashes on architectures such as sparc64 that are sensitive to
unaligned pointer derferences in the journal recovery code when
journal checksums are enabled.
Programming notes
-----------------
Support reproducible builds by not capturing the build directory into
the mk_cmds and compile_et scripts. Also fix debian build rules to
ensure build reproducibility.
Fix debian build rules to ensure build reproducibility and to avoid
hiding the linker flags for e2fsck.static so the build hardening log
scanner can properly audit the build.
Fix compatibility with FreeBSD's pmake and teach the configure script
to force the creation of pmake-compatible Makefiles if the
FORCE_NATIVE_MAKE environment variable is set to a non-empty value.
E2fsprogs 1.43.2 (September 1, 2016)
====================================
Fix resize2fs so it will not crash if there is an extended attribute
block but it doesn't need to migate any blocks during an off-line
resize
Fix a crash when mke2fs or debugfs tries to copy in a directory
hierarchy containing an empty directory
Mke2fs will now use a larger journal by default for filesystems
greater than 128 GB. (1GB instead of 128 MB.)
Fix an alignment bug in e2fsck which caused sparc64 architectures to
crash when replaying the journal on file systems with a 64-bit block
number.
Clarify the message printed by tune2fs message when the user needs to
run e2fsck so it's clear that the -f flag to e2fsck is needed to
force a full e2fsck scan. (Addresses Debian Bug: #828022)
Fix a bug in e2fsck caused by a power failure during e2fsck's journal
replay could leave the file system in a state where if the file system
is mounted without doing a full e2fsck scan, the file system could get
corrupted
Fix the logic in e2fsck which decides when to repair legacy negative
timestamp encodings.
Add a command to debugfs to copy the inode structure from one inode to
another.
Fix a typo in debugfs's stat command when printing out the dtime field
on file systems with an extended timestamp.
Fix big endian bugs in the e2undo program. (Addresses Red Hat Bug
#1344636)
Debugfs's logdump can now properly handle journals larger than 2GB.
Avoid installing the man page for fuse2fs if it has not been built.
Update the Catalan, Chinese, Danish, Dutch, French, German, Polish,
Swedish, Ukrainian translations and added new translations for
Hugarian and Serbian.
Programming notes
-----------------
Fix portability problems in fuse2fs. Previously it wouldn't build on
systems with older glibc versions where clock_gettime() is only
available in the librt library, and if libintl is not bundled into the
C library.
Remove complicated logic which caused a static code analyzer to flag a
false positive. (A static code analyzer also found a valid bug in
deciding when to repair a legacy negative timestamp encoding, so
eliminating false positives is important.)
Fixed a bug where the ext2fs library cloud provoke when a
extfs2_zero_blocks() is used (via fallocation, initializing a file
system, uninitialized uninitialized inode table blocks) after a
different file system which also used ext2fs_zero_blocks().
Enable the unix_io manager in the ext2fs library so it can accept the
use of a file descriptor. This is helpful in cases where the file
descriptor comes from temporary file created using O_TMPFILE, or
passed in from a unix domain socket.
Fix a Windows64 portability bug.
Update e2fsprogs to 1.43.1, using wip package for version 1.42.12 as base Changes too numerous, see following page for details: http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.1 Compile-tested on NetBSD and Mac OS X
Update e2fsprogs to 1.41.12 from 1.40.7. Fix PR pkg/43950. Major change from 1.40.7: * ext4 filesystem support * many translation updates * many bug-fixes in detail, see RELEASE-NOTES.
Convert to use PLIST_VARS instead of manually passing "@comment " through PLIST_SUBST to the plist module.
Update "e2fsprogs" to version 1.40.7. Changes since version 1.39: - a lot of bug fixes - security fix for CVE-2007-5497 - uuid support
* Honor PKG_SYSCONFDIR. * Simplify the PLISTs by merging them. This makes it easier to handle future platforms that want to install fsck. * Don't compress the info files during installation. The plist module can handle that automatically. * Install the example mke2fs.conf file into the right place. This should fix the latest bulk build error for e2fsprogs. Bump PKGREVISION to 1.
When on Linux, don't disable fsck. Thus, rename PLIST to PLIST.common and add PLIST.Linux. Changes suggested by Jeremy C. Reed (reed at reedmedia dot net) in PR pkg/19477. Thanks and sorry for the delay.
Move pkg/ files into package's toplevel directory