rpms/file/devel file-5.03-xfsdump.patch, NONE, 1.1 file.spec, 1.101, 1.102

Daniel Novotny dnovotny at fedoraproject.org
Wed Jul 22 13:44:17 UTC 2009


Author: dnovotny

Update of /cvs/extras/rpms/file/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv430

Modified Files:
	file.spec 
Added Files:
	file-5.03-xfsdump.patch 
Log Message:

fix #513079


file-5.03-xfsdump.patch:
 filesystems |    7 +++++++
 1 file changed, 7 insertions(+)

--- NEW FILE file-5.03-xfsdump.patch ---
diff -up file-5.03/magic/Magdir/filesystems.xfsdump file-5.03/magic/Magdir/filesystems
--- file-5.03/magic/Magdir/filesystems.xfsdump	2009-07-22 15:36:01.000000000 +0200
+++ file-5.03/magic/Magdir/filesystems	2009-07-22 15:36:25.000000000 +0200
@@ -1392,3 +1392,10 @@
 # dvdisaster's .ecc
 # From: "Nelson A. de Oliveira" <naoliv at gmail.com>
 0	string	*dvdisaster*	dvdisaster error correction file
+
+# xfs metadump image 
+# mb_magic XFSM at 0; superblock magic XFSB at 1 << mb_blocklog
+# but can we do the << ?  For now it's always 512 (0x200) anyway.
+0               string XFSM
+>0x200          string XFSB                     XFS filesystem metadump image
+


Index: file.spec
===================================================================
RCS file: /cvs/extras/rpms/file/devel/file.spec,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -p -r1.101 -r1.102
--- file.spec	10 Jul 2009 18:27:33 -0000	1.101
+++ file.spec	22 Jul 2009 13:44:16 -0000	1.102
@@ -5,7 +5,7 @@
 Summary: A utility for determining file types
 Name: file
 Version: 5.03
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: BSD
 Group: Applications/File
 Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz
@@ -14,6 +14,7 @@ Patch0: file-4.21-pybuild.patch
 Patch1: file-5.00-devdrv.patch
 Patch2: file-5.00-mdmp.patch
 Patch3: file-5.03-fonts-postscript.patch
+Patch4: file-5.03-xfsdump.patch
 
 Requires: file-libs = %{version}-%{release}
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -63,6 +64,8 @@ file(1) command.
 %patch2 -p1
 #fixes #505758, #505759, #505762, #505765
 %patch3 -p1
+#fixes #513079
+%patch4 -p1
 
 iconv -f iso-8859-1 -t utf-8 < doc/libmagic.man > doc/libmagic.man_
 touch -r doc/libmagic.man doc/libmagic.man_
@@ -137,6 +140,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Wed Jul 22 2009 Daniel Novotny <dnovotny at redhat.com> 5.03-5
+- #513079 -  RFE: file - recognize xfs metadump images
+
 * Fri Jul 10 2009 Adam Jackson <ajax at redhat.com> 5.03-4
 - Clean up %%description.
 




More information about the fedora-extras-commits mailing list