From 91e30ca27bfee19f46da46b573bbb7465ff35a4e Mon Sep 17 00:00:00 2001 From: Radek Vokál Date: Feb 05 2006 19:06:23 +0000 Subject: - xen patch, recognizes Xen saved domain --- diff --git a/file-4.16-xen.patch b/file-4.16-xen.patch new file mode 100644 index 0000000..fbfef3e --- /dev/null +++ b/file-4.16-xen.patch @@ -0,0 +1,12 @@ +--- file-4.16/magic/Localstuff.xen 2003-03-23 05:17:27.000000000 +0100 ++++ file-4.16/magic/Localstuff 2006-02-02 14:17:25.000000000 +0100 +@@ -5,3 +5,9 @@ + # $Id: Localstuff,v 1.4 2003/03/23 04:17:27 christos Exp $ + # Add any locally observed files here. Remember: + # text if readable, executable if runnable binary, data if unreadable. ++ ++# File magic for Xen, the virtual machine monitor for x86 ++0 string LinuxGuestRecord Xen saved domain ++#>2 regex \(name\ [^)]*\) %s ++>20 search/256 (name (name ++>>&1 string x %s...) diff --git a/file.spec b/file.spec index 25095dd..9b20efb 100644 --- a/file.spec +++ b/file.spec @@ -3,7 +3,7 @@ Summary: A utility for determining file types. Name: file Version: 4.16 -Release: 5 +Release: 6 License: distributable Group: Applications/File Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz @@ -17,6 +17,7 @@ Patch8: file-4.15-berkeley.patch Patch9: file-4.16-readelf.patch Patch10: file-4.16-dont_use_isprint.patch Patch11: file-4.16-fix-array-64bit.patch +Patch12: file-4.16-xen.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: zlib-devel @@ -40,6 +41,7 @@ useful utility. %patch9 -p1 -b .corefile %patch10 -p1 -b .isprint %patch11 -p0 -b .64bit +%patch12 -p1 -b .xen iconv -f iso-8859-1 -t utf-8 < doc/libmagic.man > doc/libmagic.man_ mv doc/libmagic.man_ doc/libmagic.man @@ -85,6 +87,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libmagic.* %changelog +* Sun Feb 04 2006 Radek Vokál 4.16-6 +- xen patch, recognizes Xen saved domain + * Fri Jan 13 2006 Radek Vokal 4.16-5 - fix for 64bit arrays