head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.10 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.8 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.6 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.4 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.2 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.6.0.58 pkgsrc-2024Q4-base:1.6 pkgsrc-2024Q3:1.6.0.56 pkgsrc-2024Q3-base:1.6 pkgsrc-2024Q2:1.6.0.54 pkgsrc-2024Q2-base:1.6 pkgsrc-2024Q1:1.6.0.52 pkgsrc-2024Q1-base:1.6 pkgsrc-2023Q4:1.6.0.50 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.48 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.46 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.44 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.42 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.40 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.6.0.38 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.36 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.34 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.32 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.30 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.28 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.26 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.6.0.24 pkgsrc-2020Q3-base:1.6 pkgsrc-2020Q2:1.6.0.22 pkgsrc-2020Q2-base:1.6 pkgsrc-2020Q1:1.6.0.18 pkgsrc-2020Q1-base:1.6 pkgsrc-2019Q4:1.6.0.20 pkgsrc-2019Q4-base:1.6 pkgsrc-2019Q3:1.6.0.16 pkgsrc-2019Q3-base:1.6 pkgsrc-2019Q2:1.6.0.14 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.6.0.12 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.10 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.8 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.6 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.4 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.2 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.5.0.8 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.4 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.2 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.4.0.4 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.2 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.3.0.64 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.62 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.60 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.58 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.56 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.54 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.52 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.50 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.48 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.46 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.44 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.42 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.40 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.38 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.36 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.34 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.32 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.30 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.28 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.26 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.24 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.22 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.20 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.18 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.16 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.14 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.12 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.10 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.8 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.6 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.4 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.2 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.2.0.12 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.10 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.8 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.6 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.4 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.2 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.1.0.28 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.26 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.24 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.22 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.20 pkgsrc-2006Q1-base:1.1 pkgsrc-2005Q4:1.1.0.18 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.16 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.14 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.12 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.10 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.8 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.0.6 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.0.4 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.0.2 pkgsrc-2003Q4-base:1.1; locks; strict; comment @# @; 1.7 date 2025.01.21.18.13.57; author triaxx; state Exp; branches; next 1.6; commitid tk0TiIlcAz24GnGF; 1.6 date 2017.12.08.08.12.58; author adam; state Exp; branches; next 1.5; commitid 9vLsqo9R6J8GW3iA; 1.5 date 2017.02.03.14.08.11; author mef; state Exp; branches; next 1.4; commitid aRz3IAACj5XyOvEz; 1.4 date 2016.08.09.21.46.07; author jdolecek; state Exp; branches; next 1.3; commitid tKN4ySCGDaHz4Ghz; 1.3 date 2008.09.21.16.16.06; author joerg; state Exp; branches; next 1.2; 1.2 date 2007.06.06.09.35.18; author martti; state dead; branches; next 1.1; 1.1 date 2003.04.14.23.15.55; author hubertf; state Exp; branches; next ; desc @@ 1.7 log @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 @ text @$NetBSD: patch-ac,v 1.6 2017/12/08 08:12:58 adam Exp $ DragonFly Support --- lib/blkid/getsize.c.orig 2017-10-16 05:45:45.000000000 +0000 +++ lib/blkid/getsize.c @@@@ -36,6 +36,9 @@@@ #ifdef HAVE_SYS_DISKLABEL_H #include #endif +#ifdef __DragonFly__ +#include +#endif #ifdef HAVE_SYS_DISK_H #include #endif @@@@ -137,8 +140,13 @@@@ blkid_loff_t blkid_get_dev_size(int fd) #if defined(HAVE_SYS_DISKLABEL_H) && defined(DIOCGDINFO) { int part = -1; +#ifdef __DragonFly__ + struct disklabel32 lab; + struct partition32 *pp; +#else struct disklabel lab; struct partition *pp; +#endif char ch; struct stat st; @@@@ -154,8 +162,11 @@@@ blkid_loff_t blkid_get_dev_size(int fd) if (fstat(fd, &st) >= 0 && blkidP_is_disk_device(st.st_mode)) part = st.st_rdev & 7; - +#ifdef __DragonFly__ + if (part >= 0 && (ioctl(fd, DIOCGDINFO32, (char *)&lab) >= 0)) { +#else if (part >= 0 && (ioctl(fd, DIOCGDINFO, (char *)&lab) >= 0)) { +#endif pp = &lab.d_partitions[part]; if (pp->p_size) return pp->p_size << 9; @ 1.6 log @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. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 2017/02/03 14:08:11 mef Exp $ d17 1 a17 1 @@@@ -134,8 +137,13 @@@@ blkid_loff_t blkid_get_dev_size(int fd) d31 1 a31 1 @@@@ -151,8 +159,11 @@@@ blkid_loff_t blkid_get_dev_size(int fd) @ 1.5 log @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. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.4 2016/08/09 21:46:07 jdolecek Exp $ d5 1 a5 1 --- lib/blkid/getsize.c.orig 2016-06-08 21:39:43.000000000 +0000 d33 1 a33 1 (S_ISBLK(st.st_mode) || S_ISCHR(st.st_mode))) @ 1.4 log @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 @ text @d1 3 a3 1 $NetBSD$ @ 1.3 log @Patches for changes in DragonFly's disklabel structure. From PR 39585. @ text @d3 1 a3 1 --- lib/blkid/getsize.c.orig 2008-06-30 00:05:45 +0300 d5 1 a5 1 @@@@ -32,6 +32,9 @@@@ d13 1 a13 3 #ifdef HAVE_SYS_QUEUE_H #include /* for LIST_HEAD */ @@@@ -86,8 +89,13 @@@@ blkid_loff_t blkid_get_dev_size(int fd) d15 4 a18 2 #ifdef HAVE_SYS_DISKLABEL_H int part = -1; d20 2 a21 2 + struct disklabel32 lab; + struct partition32 *pp; d23 2 a24 2 struct disklabel lab; struct partition *pp; d26 8 a33 7 char ch; struct stat st; #endif /* HAVE_SYS_DISKLABEL_H */ @@@@ -144,7 +152,11 @@@@ blkid_loff_t blkid_get_dev_size(int fd) */ if ((fstat(fd, &st) >= 0) && (S_ISBLK(st.st_mode) || S_ISCHR(st.st_mode))) part = st.st_rdev & 7; d35 1 a35 1 + if (part >= 0 && (ioctl(fd, DIOCGDINFO32, (char *)&lab) >= 0)) { d37 1 a37 1 if (part >= 0 && (ioctl(fd, DIOCGDINFO, (char *)&lab) >= 0)) { d39 3 a41 3 pp = &lab.d_partitions[part]; if (pp->p_size) return pp->p_size << 9; @ 1.2 log @Updated sysutils/e2fsprogs to 1.39 This release contains a number of bug fixes and enhancements over the previous releases. For details, see http://e2fsprogs.sourceforge.net/e2fsprogs-release.html @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 2003/04/14 23:15:55 hubertf Exp $ d3 38 a40 11 --- e2fsck/pass1.c.orig Fri Nov 8 17:37:28 2002 +++ e2fsck/pass1.c @@@@ -162,7 +162,7 @@@@ * Incredibly, libc5 doesn't appear to have strnlen. So we have to * provide our own. */ -static int strnlen(const char * s, int count) +int strnlen(const char * s, int count) { const char *cp = s; @ 1.1 log @Update e2fsprogs to 1.32. No list of changes available. @ text @d1 1 a1 1 $NetBSD$ @