diff --git a/file-5.33-ppc-swap.patch b/file-5.33-ppc-swap.patch new file mode 100644 index 0000000..3cf3ece --- /dev/null +++ b/file-5.33-ppc-swap.patch @@ -0,0 +1,35 @@ +From ed6062995ae60d6772f2dabc39e03cbf28ee7343 Mon Sep 17 00:00:00 2001 +From: Christos Zoulas +Date: Mon, 16 Jul 2018 12:32:08 +0000 +Subject: [PATCH] more info for ppc swapspace (Kamil Dudka) + +Upstream-commit: 65f9c7053548df8945df600c07123c9151531ee6 +Signed-off-by: Kamil Dudka +--- + magic/Magdir/linux | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/magic/Magdir/linux b/magic/Magdir/linux +index 0630a8a..11e9237 100644 +--- a/magic/Magdir/linux ++++ b/magic/Magdir/linux +@@ -94,6 +94,16 @@ + # From Daniel Novotny + # swap file for PowerPC + 65526 string SWAPSPACE2 Linux/ppc swap file ++>0x400 long x version %d, ++>0x404 long x size %d pages, ++>1052 string \0 no label, ++>1052 string >\0 LABEL=%s, ++>0x40c belong x UUID=%08x ++>0x410 beshort x \b-%04x ++>0x412 beshort x \b-%04x ++>0x414 beshort x \b-%04x ++>0x416 belong x \b-%08x ++>0x41a beshort x \b%04x + 16374 string SWAPSPACE2 Linux/ia64 swap file + # + # Linux kernel boot images, from Albert Cahalan +-- +2.14.4 + diff --git a/file.spec b/file.spec index dc9d4d0..c4c0085 100644 --- a/file.spec +++ b/file.spec @@ -39,6 +39,9 @@ Patch6: file-5.33-CVE-2018-10360.patch # support longer version strings for clamav database (#1539107) Patch7: file-5.33-clamav.patch +# show details about ppc swap partition (#1224668) +Patch8: file-5.33-ppc-swap.patch + URL: http://www.darwinsys.com/file/ Requires: file-libs = %{version}-%{release} BuildRequires: zlib-devel @@ -216,6 +219,7 @@ cd %{py3dir} %changelog * Tue Jul 17 2018 Kamil Dudka - 5.33-10 +- show details about ppc swap partition (#1224668) - support longer version strings for clamav database (#1539107) * Fri Jul 13 2018 Fedora Release Engineering - 5.33-9