import UBI file-5.33-27.el8_10

This commit is contained in:
eabdullin 2025-10-07 05:23:00 +00:00
parent b69a6ceb4a
commit f483df3fe0
2 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 4fb6a59df80d4974f8230bfce36e38e6de7d574f Mon Sep 17 00:00:00 2001
From: Christos Zoulas <christos@zoulas.com>
Date: Thu, 24 May 2018 18:54:40 +0000
Subject: [PATCH] fix bogus magic
---
magic/Magdir/dbpf | 8 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/magic/Magdir/dbpf b/magic/Magdir/dbpf
index 65cab61edf..8545720dae 100644
--- a/magic/Magdir/dbpf
+++ b/magic/Magdir/dbpf
@@ -9,9 +9,7 @@
>4 ulelong x \b, version: %u.
>>8 ulelong x \b%u
>>>36 ulelong x \b, files: %u
+>>24 ledate !0 \b, created: %s
+>>28 ledate !0 \b, modified: %s
!:ext dbpf/package/dat/sc4
!:mime application/x-maxis-dbpf
-4 ulelong 1
->8 ulelong !1
->>24 ledate !0 \b, created: %s
->>>28 ledate !0 \b, modified: %s

View File

@ -15,7 +15,7 @@
Summary: A utility for determining file types Summary: A utility for determining file types
Name: file Name: file
Version: 5.33 Version: 5.33
Release: 26%{?dist} Release: 27%{?dist}
License: BSD License: BSD
Group: Applications/File Group: Applications/File
Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz
@ -110,6 +110,9 @@ Patch31: file-5.33-thermocam-magic.patch
# Upstream commit c8deb32eab1089d1841482fb2e91833f114b6712 (#13737) # Upstream commit c8deb32eab1089d1841482fb2e91833f114b6712 (#13737)
Patch32: file-5.41-python-magic-threads.patch Patch32: file-5.41-python-magic-threads.patch
# upstream commit: https://github.com/file/file/commit/4fb6a59df80d4974f8230bfce36e38e6de7d574f
Patch33: file-5.34-bogus-magic.patch
URL: http://www.darwinsys.com/file/ URL: http://www.darwinsys.com/file/
Requires: file-libs = %{version}-%{release} Requires: file-libs = %{version}-%{release}
BuildRequires: zlib-devel BuildRequires: zlib-devel
@ -281,6 +284,10 @@ cd %{py3dir}
%endif %endif
%changelog %changelog
* Sat Mar 29 2025 Vincent Mihalkovic <vmihalko@redhat.com> - 5.33-27
- Fix incorrect magic pattern for databases
Resolves: RHEL-84532
* Thu Oct 12 2023 Vincent Mihalkovic <vmihalko@redhat.com> - 5.33-26 * Thu Oct 12 2023 Vincent Mihalkovic <vmihalko@redhat.com> - 5.33-26
- Fix segfault in python3-file-magic concurrent method calls (#13737) - Fix segfault in python3-file-magic concurrent method calls (#13737)