pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/e2fsprogs Updated sysutils/e2fsprogs to 1.43.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/affce8840a88
branches:  trunk
changeset: 358016:affce8840a88
user:      mef <mef%pkgsrc.org@localhost>
date:      Fri Feb 03 14:08:11 2017 +0000

description:
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.

diffstat:

 sysutils/e2fsprogs/Makefile                          |   5 +++--
 sysutils/e2fsprogs/PLIST                             |  11 +++++------
 sysutils/e2fsprogs/distinfo                          |  16 ++++++++--------
 sysutils/e2fsprogs/patches/patch-ac                  |   4 +++-
 sysutils/e2fsprogs/patches/patch-an                  |   4 +++-
 sysutils/e2fsprogs/patches/patch-lib_ext2fs_bitops.c |   8 ++++----
 6 files changed, 26 insertions(+), 22 deletions(-)

diffs (155 lines):

diff -r 1be7c1662621 -r affce8840a88 sysutils/e2fsprogs/Makefile
--- a/sysutils/e2fsprogs/Makefile       Fri Feb 03 13:47:36 2017 +0000
+++ b/sysutils/e2fsprogs/Makefile       Fri Feb 03 14:08:11 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2016/08/09 21:46:06 jdolecek Exp $
+# $NetBSD: Makefile,v 1.23 2017/02/03 14:08:11 mef Exp $
 
-DISTNAME=      e2fsprogs-1.43.1
+DISTNAME=      e2fsprogs-1.43.4
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=e2fsprogs/}
 
@@ -24,6 +24,7 @@
 .else
 CONFIGURE_ARGS+=       --disable-fsck
 .endif
+#CONFIGURE_ARGS+=      --mandir=${PREFIX}/man
 
 EGDIR=                 ${PREFIX}/share/examples/ext2fs
 CONF_FILES+=           ${EGDIR}/mke2fs.conf ${PKG_SYSCONFDIR}/mke2fs.conf
diff -r 1be7c1662621 -r affce8840a88 sysutils/e2fsprogs/PLIST
--- a/sysutils/e2fsprogs/PLIST  Fri Feb 03 13:47:36 2017 +0000
+++ b/sysutils/e2fsprogs/PLIST  Fri Feb 03 14:08:11 2017 +0000
@@ -1,11 +1,10 @@
-@comment $NetBSD: PLIST,v 1.7 2016/08/09 21:46:06 jdolecek Exp $
+@comment $NetBSD: PLIST,v 1.8 2017/02/03 14:08:11 mef Exp $
 bin/chattr
 bin/lsattr
 bin/uuidgen
 info/libext2fs.info
 lib/e2initrd_helper
 man/man1/chattr.1
-man/man1/fuse2fs.1
 man/man1/lsattr.1
 man/man1/uuidgen.1
 man/man5/e2fsck.conf.5
@@ -27,13 +26,11 @@
 man/man8/fsck.ext2.8
 man/man8/fsck.ext3.8
 man/man8/fsck.ext4.8
-man/man8/fsck.ext4dev.8
 man/man8/logsave.8
 man/man8/mke2fs.8
 man/man8/mkfs.ext2.8
 man/man8/mkfs.ext3.8
 man/man8/mkfs.ext4.8
-man/man8/mkfs.ext4dev.8
 man/man8/mklost+found.8
 man/man8/resize2fs.8
 man/man8/tune2fs.8
@@ -52,13 +49,11 @@
 sbin/fsck.ext2
 sbin/fsck.ext3
 sbin/fsck.ext4
-sbin/fsck.ext4dev
 sbin/logsave
 sbin/mke2fs
 sbin/mkfs.ext2
 sbin/mkfs.ext3
 sbin/mkfs.ext4
-sbin/mkfs.ext4dev
 sbin/mklost+found
 sbin/resize2fs
 sbin/tune2fs
@@ -70,11 +65,15 @@
 share/locale/de/LC_MESSAGES/e2fsprogs.mo
 share/locale/eo/LC_MESSAGES/e2fsprogs.mo
 share/locale/es/LC_MESSAGES/e2fsprogs.mo
+share/locale/fi/LC_MESSAGES/e2fsprogs.mo
 share/locale/fr/LC_MESSAGES/e2fsprogs.mo
+share/locale/hu/LC_MESSAGES/e2fsprogs.mo
 share/locale/id/LC_MESSAGES/e2fsprogs.mo
 share/locale/it/LC_MESSAGES/e2fsprogs.mo
+share/locale/ms/LC_MESSAGES/e2fsprogs.mo
 share/locale/nl/LC_MESSAGES/e2fsprogs.mo
 share/locale/pl/LC_MESSAGES/e2fsprogs.mo
+share/locale/sr/LC_MESSAGES/e2fsprogs.mo
 share/locale/sv/LC_MESSAGES/e2fsprogs.mo
 share/locale/tr/LC_MESSAGES/e2fsprogs.mo
 share/locale/uk/LC_MESSAGES/e2fsprogs.mo
diff -r 1be7c1662621 -r affce8840a88 sysutils/e2fsprogs/distinfo
--- a/sysutils/e2fsprogs/distinfo       Fri Feb 03 13:47:36 2017 +0000
+++ b/sysutils/e2fsprogs/distinfo       Fri Feb 03 14:08:11 2017 +0000
@@ -1,18 +1,18 @@
-$NetBSD: distinfo,v 1.20 2016/08/09 21:46:06 jdolecek Exp $
+$NetBSD: distinfo,v 1.21 2017/02/03 14:08:11 mef Exp $
 
-SHA1 (e2fsprogs-1.43.1.tar.gz) = 26b75c27ba434e72ef630b160782a01b4d992b7a
-RMD160 (e2fsprogs-1.43.1.tar.gz) = 0392ed04ae20b2d6150d2cbce9c0fbc7f9d85f57
-SHA512 (e2fsprogs-1.43.1.tar.gz) = 979f6b83f0c0650fd27e0a63dfe0cfb7690de71977f374a43ccdb0b77f49c40531d6b9a6a16c4a3b31a16cc4f4906846862a489c6d4b8bf036530ce72ffd36bb
-Size (e2fsprogs-1.43.1.tar.gz) = 7009831 bytes
+SHA1 (e2fsprogs-1.43.4.tar.gz) = f7cf8c82805103b53f89ad5da641e1085281d411
+RMD160 (e2fsprogs-1.43.4.tar.gz) = 4e99649f17ad009446260c3a7800ea56652f94f0
+SHA512 (e2fsprogs-1.43.4.tar.gz) = 069349baa095869b2b1dbdfe8ff32e5c1bc0084a9b73c3f1f72ac7d7205a48cf9697b6fbac6f9ebd7593c439f79e619384f638f72d6843bb24b310b14e46b4f4
+Size (e2fsprogs-1.43.4.tar.gz) = 7552516 bytes
 SHA1 (patch-ab) = 9b686655a75239279a456dc8889113be06519cd7
-SHA1 (patch-ac) = 1b938d2b9032896aa1caf85c21727b328ecae2de
+SHA1 (patch-ac) = 1d1c27fde75e3c8db8327a4519417bb2c733f953
 SHA1 (patch-af) = bcda43bb14afdbf6a98dfedd949af4d1aff443d6
-SHA1 (patch-an) = 0649c3dbd33932265c291a593b393a55b2707626
+SHA1 (patch-an) = 1199b17c4e65b8825b78fc02f7b2c9164eee56ef
 SHA1 (patch-ao) = a8fcacf506b003bf40ecadd5260ff0a6628ad2e6
 SHA1 (patch-as) = be316e404840a47422edbee65177bf6a9c94b335
 SHA1 (patch-aw) = 544634d6603762dabaeffe950440f533c6495b32
 SHA1 (patch-e2fsck_jfs__user.h) = 2fd21cedabc4356a0d76a6caa1dbf73461750800
-SHA1 (patch-lib_ext2fs_bitops.c) = eb183d82a45c6902f45fcbffb71b6d9b61b248ad
+SHA1 (patch-lib_ext2fs_bitops.c) = 0ca90ee35d255b8f590a216554a22b738c6083bc
 SHA1 (patch-lib_ext2fs_bitops.h) = 8eec77c83bf85423a1420b18405e9ba655131528
 SHA1 (patch-lib_ext2fs_ext2fs.h) = 2811fd3eff03dd4fb7f72df4c854d2c33b37846f
 SHA1 (patch-lib_ext2fs_tdb.c) = dd50993cd0beba0451cfb3422ca9f54700ee0e38
diff -r 1be7c1662621 -r affce8840a88 sysutils/e2fsprogs/patches/patch-ac
--- a/sysutils/e2fsprogs/patches/patch-ac       Fri Feb 03 13:47:36 2017 +0000
+++ b/sysutils/e2fsprogs/patches/patch-ac       Fri Feb 03 14:08:11 2017 +0000
@@ -1,4 +1,6 @@
-$NetBSD: patch-ac,v 1.4 2016/08/09 21:46:07 jdolecek Exp $
+$NetBSD: patch-ac,v 1.5 2017/02/03 14:08:11 mef Exp $
+
+DragonFly Support
 
 --- lib/blkid/getsize.c.orig   2016-06-08 21:39:43.000000000 +0000
 +++ lib/blkid/getsize.c
diff -r 1be7c1662621 -r affce8840a88 sysutils/e2fsprogs/patches/patch-an
--- a/sysutils/e2fsprogs/patches/patch-an       Fri Feb 03 13:47:36 2017 +0000
+++ b/sysutils/e2fsprogs/patches/patch-an       Fri Feb 03 14:08:11 2017 +0000
@@ -1,4 +1,6 @@
-$NetBSD: patch-an,v 1.3 2016/08/09 21:46:07 jdolecek Exp $
+$NetBSD: patch-an,v 1.4 2017/02/03 14:08:11 mef Exp $
+
+/* Where to find the config file */
 
 --- e2fsck/e2fsck.h.orig       2016-06-08 21:39:43.000000000 +0000
 +++ e2fsck/e2fsck.h
diff -r 1be7c1662621 -r affce8840a88 sysutils/e2fsprogs/patches/patch-lib_ext2fs_bitops.c
--- a/sysutils/e2fsprogs/patches/patch-lib_ext2fs_bitops.c      Fri Feb 03 13:47:36 2017 +0000
+++ b/sysutils/e2fsprogs/patches/patch-lib_ext2fs_bitops.c      Fri Feb 03 14:08:11 2017 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-lib_ext2fs_bitops.c,v 1.1 2016/08/09 21:46:07 jdolecek Exp $
+$NetBSD: patch-lib_ext2fs_bitops.c,v 1.2 2017/02/03 14:08:11 mef Exp $
 
---- lib/ext2fs/bitops.c.orig   2013-09-09 14:29:01.000000000 +0000
-+++ lib/ext2fs/bitops.c
+--- lib/ext2fs/bitops.c.orig   2016-09-02 13:17:32.000000000 +0900
++++ lib/ext2fs/bitops.c        2017-02-03 21:44:49.000000000 +0900
 @@ -116,14 +116,14 @@ int ext2fs_test_bit64(__u64 nr, const vo
        return (mask & *ADDR);
  }
@@ -22,7 +22,7 @@
 @@ -139,19 +139,19 @@ unsigned int ext2fs_bitcount(const void 
        unsigned int res = 0;
  
-       while (((((unsigned long) cp) & 3) != 0) && (nbytes > 0)) {
+       while (((((uintptr_t) cp) & 3) != 0) && (nbytes > 0)) {
 -              res += popcount8(*cp++);
 +              res += ext2fs_popcount8(*cp++);
                nbytes--;



Home | Main Index | Thread Index | Old Index