Disable sandboxing on aarch64
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=203
This commit is contained in:
parent
5334ca47cb
commit
045b107f01
@ -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>
|
Fri Dec 20 14:00:22 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package file
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
rm -f ltcf-c.sh ltconfig ltmain.sh
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
export CFLAGS="%{optflags} -DHOWMANY=69632 -fPIE $(pkg-config libseccomp --cflags)"
|
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"
|
make %{?_smp_mflags} pkgdatadir='$(datadir)' LDFLAGS="-pie"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-magic
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
Loading…
Reference in New Issue
Block a user