ports/133963: [MAINTAINER] sysutils/e2fsprogs: update to 1.41.5

Matthias Andree matthias.andree at gmx.de
Fri Apr 24 08:50:03 UTC 2009


>Number:         133963
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/e2fsprogs: update to 1.41.5
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 24 08:50:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 7.1-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD rho.emma.line.org 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #0: Sun Jan 18 05:55:08 CET 2009
>Description:
1) Critical update, fixes data corruption bugs.
   Please backport (shift tags/rebuild packages) for upcoming 7.2.

2) this PR modifies the misc/e2fsprogs-libuuid slave port (reset PORTREVISION),
                and the sysutils/e2fsprogs master port (updates PORTVERSION)

    No effort was made to use fully qualified filenames, so please save
    this message and break it out into patches with your favourite text
    editor.

NOTE that these modified port updates must be committed together to
avoid the dreaded "port version going backwards" issue on the slave
port.

- Update to 1.41.5, relevant changes from upstream release notes,
excluding Debian-specific and Programmer's Notes:
--------------------
Fix a number of filesystem corruption bugs in resize2fs when growing or
shrinking ext4 filesystems off-line (i.e., when the ext4 filesystem is
not mounted).

Debugfs can now set i_file_acl_high via the set_inodes_field command,
and print a 64-bit file acl. This is useful for debugging filesystem
corruptions where the high bits of i_file_acl_high are set. E2fsck will
detect and fix non-zero i_file_acl_high on 32-bit filesystems since some
Linux kernel versions pay attention to this field even when they
shouldn't.

Speed up e2fsck when checking clean filesystems by avoiding unnecessary
block reads, and coalescing the block group descriptor blocks so they
are read using a single read operation.

The libuuid library will now close all file descriptors before running
uuidd. This avoids problems when the calling program has open sockets
which then never get closed because uuidd is a long-running helper
daeomn. (Addresses Launchpad bug: #305057)

In order to avoid unnecessary full filesystem checks by e2fsck after an
on-line resize, e2fsck will ignore the NEEDS_RECOVERY flag set on the
backup superblocks. (Addresses Red Hat Bugzilla: #471925)

Mke2fs will avoid trying to create the journal when run in
superblock-only mode (mke2fs -S), since the left-over journal in the
inode table will cause mke2fs to fail.

Fix a bug in libext2fs functions that check to see if a particular
device or filesystem image is mounted, which would cause these functions
to report that a file identical to the (relative) pathname used by a
pseudo-filesystem was mounted when in fact it was not.

Update Czech translation from the Translation Project.

Add Chinese (simplified) translation from the Translation Project.

Fix support for external journals (which was broken in e2fsprogs
1.41.4).

Fix a regression in debugfs where the "stat" command when no filesystem
was open would cause debugfs to crash with a segmentation violation.

Starting in the 2.6.29 linux kernel, the ext4 filesystem driver can be
used to support filesystems without a journal. Update the blkid library
so it understands this.

The blkid library will remove an entry from the blkid cache representing
the entire disk if partitions are found, since presuambly the device
previously had no partition table, but has now transitioned to using a
partition table.

Add a check to mke2fs and tune2fs that the argument to the -m option
(which specifies the reserved ratio) must be greater than zero.
(Addresses Debian Bug: #517015)

Add support for tracking the number kilobytes written to the filesystem
via the superblock field s_kbytes_written. It will be updated by the
kernel as well as by e2fsprogs programs which write to the filesystem.
This is useful for tracking the wear to filesystems on Solid Sstate
Drives.

Fix compatibility issue in the libext2fs info file and makeinfo version
4.12. (Addresses Red Hat Bugzilla: #481620)

Update/clarify man pages. (Addresses Debian Bug: #515693, #365619)

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- misc/e2fsprogs-libuuid patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/misc/e2fsprogs-libuuid/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	6 May 2008 22:29:03 -0000	1.8
+++ Makefile	24 Apr 2009 08:34:40 -0000
@@ -5,7 +5,7 @@
 # $FreeBSD: ports/misc/e2fsprogs-libuuid/Makefile,v 1.8 2008/05/06 22:29:03 itetcu Exp $
 #
 
-PORTREVISION=	1
+PORTREVISION=	0
 CATEGORIES=	misc devel
 PKGNAMESUFFIX=	-libuuid
 
--- misc/e2fsprogs-libuuid patch ends here ---

--- e2fsprogs-1.41.5.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/e2fsprogs/Makefile,v
retrieving revision 1.54
diff -u -u -r1.54 Makefile
--- Makefile	30 Mar 2009 15:48:54 -0000	1.54
+++ Makefile	24 Apr 2009 08:35:03 -0000
@@ -6,8 +6,8 @@
 #
 
 PORTNAME=	e2fsprogs
-PORTVERSION=	1.41.4
-PORTREVISION?=	1
+PORTVERSION=	1.41.5
+PORTREVISION?=	0
 CATEGORIES?=	sysutils
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -46,6 +46,8 @@
 
 PKGDEINSTALL=	${PKGINSTALL}
 
+MAKE_JOBS=SAFE=	yes
+
 .include <bsd.port.pre.mk>
 
 .if defined(WITHOUT_NLS)
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/sysutils/e2fsprogs/distinfo,v
retrieving revision 1.28
diff -u -u -r1.28 distinfo
--- distinfo	8 Feb 2009 22:53:32 -0000	1.28
+++ distinfo	24 Apr 2009 08:35:03 -0000
@@ -1,3 +1,3 @@
-MD5 (e2fsprogs-1.41.4.tar.gz) = 59033388df36987d2b9c9bbf7e19bd57
-SHA256 (e2fsprogs-1.41.4.tar.gz) = 2cc10fee2b29add737e454eb634513135b34a638f7ca2b18364864fe089020dc
-SIZE (e2fsprogs-1.41.4.tar.gz) = 4389512
+MD5 (e2fsprogs-1.41.5.tar.gz) = e218df6c84fc17c1126d31de9472a76c
+SHA256 (e2fsprogs-1.41.5.tar.gz) = b3d7d0e1058a3740ddae83d47285bd9dce161eec9e299dde7996ed721da32198
+SIZE (e2fsprogs-1.41.5.tar.gz) = 4415819
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/sysutils/e2fsprogs/pkg-plist,v
retrieving revision 1.19
diff -u -u -r1.19 pkg-plist
--- pkg-plist	8 Feb 2009 22:53:32 -0000	1.19
+++ pkg-plist	24 Apr 2009 08:35:03 -0000
@@ -36,4 +36,5 @@
 %%NLS%%share/locale/sv/LC_MESSAGES/e2fsprogs.mo
 %%NLS%%share/locale/tr/LC_MESSAGES/e2fsprogs.mo
 %%NLS%%share/locale/vi/LC_MESSAGES/e2fsprogs.mo
-%%NLS%%@unexec for i in ca cs de es fr id it nl pl sv tr vi ; do rmdir -p %D/share/locale/$i/LC_MESSAGES 2>/dev/null || true ; done
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/e2fsprogs.mo
+%%NLS%%@unexec for i in ca cs de es fr id it nl pl sv tr vi zh_CN ; do rmdir -p %D/share/locale/$i/LC_MESSAGES 2>/dev/null || true ; done
Index: files/patch-misc_Makefile.in
===================================================================
RCS file: /home/ncvs/ports/sysutils/e2fsprogs/files/patch-misc_Makefile.in,v
retrieving revision 1.7
diff -u -u -r1.7 patch-misc_Makefile.in
--- files/patch-misc_Makefile.in	23 Sep 2008 08:18:45 -0000	1.7
+++ files/patch-misc_Makefile.in	24 Apr 2009 08:35:03 -0000
@@ -1,13 +1,13 @@
---- a/misc/Makefile.in.orig	2008-08-25 06:19:56.000000000 +0200
-+++ b/misc/Makefile.in	2008-09-16 01:40:51.000000000 +0200
-@@ -19,14 +19,14 @@
+--- a/misc/Makefile.in.orig	2009-04-22 14:59:33.000000000 +0200
++++ b/misc/Makefile.in	2009-04-24 09:47:25.000000000 +0200
+@@ -25,14 +25,14 @@
  
- SPROGS=		mke2fs badblocks tune2fs dumpe2fs blkid logsave \
+ SPROGS=		mke2fs badblocks tune2fs dumpe2fs $(BLKID_PROG) logsave \
  			$(E2IMAGE_PROG) @FSCK_PROG@ e2undo
 -USPROGS=	mklost+found filefrag $(UUIDD_PROG)
 +USPROGS=	mklost+found
  SMANPAGES=	tune2fs.8 mklost+found.8 mke2fs.8 dumpe2fs.8 badblocks.8 \
- 			e2label.8 findfs.8 blkid.8 $(E2IMAGE_MAN) \
+ 			e2label.8 $(FINDFS_MAN) $(BLKID_MAN) $(E2IMAGE_MAN) \
 -			logsave.8 filefrag.8 e2undo.8 $(UUIDD_MAN) @FSCK_MAN@
 +			logsave.8 e2undo.8 @FSCK_MAN@
  FMANPAGES=	mke2fs.conf.5
@@ -19,7 +19,7 @@
  
  LPROGS=		@E2INITRD_PROG@
  
-@@ -343,35 +343,10 @@
+@@ -456,35 +456,10 @@
  		echo "	INSTALL_DATA $(man5dir)/$$i"; \
  		$(INSTALL_DATA) $$i $(DESTDIR)$(man5dir)/$$i; \
  	done
--- e2fsprogs-1.41.5.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list