SHA256
6
0
forked from pool/file

Update to 5.33 and bug fix for bsc#1096974 and bsc#1096984

OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=176
This commit is contained in:
2018-06-12 15:26:41 +00:00
committed by Git OBS Bridge
parent 7185987841
commit d5d2bcf2a4
15 changed files with 119 additions and 98 deletions

View File

@@ -30,7 +30,7 @@ Obsoletes: file-64bit
%endif
#
# Set Version also in python-magic.spec
Version: 5.32
Version: 5.33
Release: 0
Summary: A Tool to Determine File Types
License: BSD-2-Clause
@@ -38,7 +38,7 @@ Group: Productivity/File utilities
Source: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz
Source2: baselibs.conf
Source3: file-rpmlintrc
Patch: file-5.32.dif
Patch: file-5.33.dif
Patch1: file-5.19-misc.dif
Patch4: file-4.24-autoconf.dif
Patch5: file-5.14-tex.dif
@@ -62,7 +62,8 @@ Patch35: file-5.24-nitpick.dif
Patch36: file-5.15-clear-invalid.patch
Patch37: file-secure_getenv.patch
Patch39: file-5.28-btrfs-image.dif
Patch40: file-5.32-ncurses-6.1.patch
# PATCH-FIX-USTREAM or bsc#1096974, bsc#1096984, and CVE-2018-10360 -- Avoid reading past the end of buffer
Patch54: file-a642587a9c.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global _sysconfdir /etc
%global _miscdir %{_datadir}/misc
@@ -131,7 +132,7 @@ to develop applications that require the magic "file" interface.
%patch36 -p1 -b .clear
%patch37 -p1 -b .getenv
%patch39 -p1 -b .btrfs
%patch40 -p0 -b .nc61
%patch54
%patch -b .0
test -s src/magic.h.in || cp -p src/magic.h src/magic.h.in
rm -fv src/magic.h