summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@fedoraproject.org>2009-01-29 22:43:47 +0000
committerEric Sandeen <sandeen@fedoraproject.org>2009-01-29 22:43:47 +0000
commitdcd60901c81c9ee988614a9877c5ab1efb613b39 (patch)
tree8a9af0ad1904148265b5fab08646435ef61f22b8
parent598edd176621b457497cbed498a7fc0915b44416 (diff)
downloade2fsprogs-dcd60901c81c9ee988614a9877c5ab1efb613b39.tar.gz
e2fsprogs-dcd60901c81c9ee988614a9877c5ab1efb613b39.tar.xz
e2fsprogs-dcd60901c81c9ee988614a9877c5ab1efb613b39.zip
* Thu Jan 29 2009 Eric Sandeen <sandeen@redhat.com> 1.41.4-2e2fsprogs-1_41_4-2_fc11
- Fix debugfs "stat" segfault if no open fs (#482894) - Fix name of libext2fs info page (#481620)
-rw-r--r--e2fsprogs-1.41.4-debugfs-stat-segfault.patch23
-rw-r--r--e2fsprogs-1.41.4-libext2fs-info.patch13
-rw-r--r--e2fsprogs.spec12
3 files changed, 47 insertions, 1 deletions
diff --git a/e2fsprogs-1.41.4-debugfs-stat-segfault.patch b/e2fsprogs-1.41.4-debugfs-stat-segfault.patch
new file mode 100644
index 0000000..a45cd1f
--- /dev/null
+++ b/e2fsprogs-1.41.4-debugfs-stat-segfault.patch
@@ -0,0 +1,23 @@
+Index: e2fsprogs/debugfs/debugfs.c
+===================================================================
+--- e2fsprogs.orig/debugfs/debugfs.c 2008-09-12 10:37:52.000000000 -0500
++++ e2fsprogs/debugfs/debugfs.c 2009-01-29 16:36:04.748574864 -0600
+@@ -291,9 +291,6 @@ void do_show_super_stats(int argc, char
+ int c, header_only = 0;
+ int numdirs = 0, first, gdt_csum;
+
+- gdt_csum = EXT2_HAS_RO_COMPAT_FEATURE(current_fs->super,
+- EXT4_FEATURE_RO_COMPAT_GDT_CSUM);
+-
+ reset_getopt();
+ while ((c = getopt (argc, argv, "h")) != EOF) {
+ switch (c) {
+@@ -321,6 +318,8 @@ void do_show_super_stats(int argc, char
+ return;
+ }
+
++ gdt_csum = EXT2_HAS_RO_COMPAT_FEATURE(current_fs->super,
++ EXT4_FEATURE_RO_COMPAT_GDT_CSUM);
+ gdp = &current_fs->group_desc[0];
+ for (i = 0; i < current_fs->group_desc_count; i++, gdp++) {
+ fprintf(out, " Group %2d: block bitmap at %u, "
diff --git a/e2fsprogs-1.41.4-libext2fs-info.patch b/e2fsprogs-1.41.4-libext2fs-info.patch
new file mode 100644
index 0000000..9fe20fb
--- /dev/null
+++ b/e2fsprogs-1.41.4-libext2fs-info.patch
@@ -0,0 +1,13 @@
+Index: e2fsprogs/doc/libext2fs.texinfo
+===================================================================
+--- e2fsprogs.orig/doc/libext2fs.texinfo 2009-01-28 20:56:26.000000000 -0600
++++ e2fsprogs/doc/libext2fs.texinfo 2009-01-29 16:36:53.148590911 -0600
+@@ -8,7 +8,7 @@
+ @ifinfo
+ @dircategory Development
+ @direntry
+-* libext2fs: (libext2fs.info). The EXT2FS library.
++* libext2fs: (libext2fs). The EXT2FS library.
+ @end direntry
+ @end ifinfo
+
diff --git a/e2fsprogs.spec b/e2fsprogs.spec
index c848f7a..2451fdc 100644
--- a/e2fsprogs.spec
+++ b/e2fsprogs.spec
@@ -4,7 +4,7 @@
Summary: Utilities for managing the second and third extended (ext2/ext3) filesystems
Name: e2fsprogs
Version: 1.41.4
-Release: 1%{?dist}
+Release: 2%{?dist}
# License based on upstream-modified COPYING file,
# which clearly states "V2" intent.
License: GPLv2
@@ -15,6 +15,8 @@ Source2: blkid_types-wrapper.h
Source3: uuidd.init
Patch1: e2fsprogs-1.38-etcblkid.patch
Patch2: e2fsprogs-1.40.4-sb_feature_check_ignore.patch
+Patch3: e2fsprogs-1.41.4-debugfs-stat-segfault.patch
+Patch4: e2fsprogs-1.41.4-libext2fs-info.patch
Url: http://e2fsprogs.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -91,6 +93,10 @@ SMP systems.
# mildly unsafe but 'til I get something better, avoid full fsck
# after an selinux install...
%patch2 -p1 -b .featurecheck
+# Fix segfault in debugfs "stat" if fs not open
+%patch3 -p1 -b .statfs
+# Fix up name of info file
+%patch4 -p1 -b .info
%build
%configure --enable-elf-shlibs --enable-nls --disable-e2initrd-helper --enable-blkid-devmapper --enable-blkid-selinux
@@ -289,6 +295,10 @@ fi
%dir %attr(2775, uuidd, uuidd) /var/lib/libuuid
%changelog
+* Thu Jan 29 2009 Eric Sandeen <sandeen@redhat.com> 1.41.4-2
+- Fix debugfs "stat" segfault if no open fs (#482894)
+- Fix name of libext2fs info page (#481620)
+
* Thu Jan 29 2009 Eric Sandeen <sandeen@redhat.com> 1.41.4-1
- New upstream release
- Dropped btrfs & resize fixes, upstream now