SHA256
1
0
forked from pool/file

Disable sandboxing on aarch64

OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=203
This commit is contained in:
Dr. Werner Fink 2020-01-07 11:24:32 +00:00 committed by Git OBS Bridge
parent 5334ca47cb
commit 045b107f01
3 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 7 11:22:04 UTC 2020 - Dr. Werner Fink <werner@suse.de>
- Currently file command receives SIGSYS/31 with sandboxing enabled
via libseccomp
-------------------------------------------------------------------
Fri Dec 20 14:00:22 UTC 2019 - Dr. Werner Fink <werner@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package file
#
# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -140,7 +140,12 @@ rm -f Magdir/*,v Magdir/*~
rm -f ltcf-c.sh ltconfig ltmain.sh
autoreconf -fiv
export CFLAGS="%{optflags} -DHOWMANY=69632 -fPIE $(pkg-config libseccomp --cflags)"
%configure --disable-silent-rules --datadir=%{_miscdir} --disable-static --enable-fsect-man5
%configure --disable-silent-rules --datadir=%{_miscdir} \
--disable-static \
%ifarch aarch64
--disable-libseccomp \
%endif
--enable-fsect-man5 \
make %{?_smp_mflags} pkgdatadir='$(datadir)' LDFLAGS="-pie"
%install

View File

@ -1,7 +1,7 @@
#
# spec file for package python-magic
#
# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed