SHA256
1
0
forked from pool/file

libseccomp sandboxing

OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=234
This commit is contained in:
Dr. Werner Fink 2022-02-24 10:07:30 +00:00 committed by Git OBS Bridge
parent d572fed05f
commit 1a4c4c8731
3 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,2 @@
addFilter(".*W:.*no-dependency-on file.*/file-libs/libfile.*")
addFilter(".*W:.*name-repeated-in-summary.*")
addFilter(".*:.*shlib-fixed-dependency.*")

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 24 10:05:17 UTC 2022 - Dr. Werner Fink <werner@suse.de>
- Reenable libseccomp sandboxing
-------------------------------------------------------------------
Thu Feb 24 08:41:32 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
@ -16,7 +21,7 @@ Mon Feb 21 17:09:56 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
-------------------------------------------------------------------
Thu Oct 21 06:24:35 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- Remove file-5.38-allow-readlinkat.dif as already doen in latest
- Remove file-5.38-allow-readlinkat.dif as already done in latest
file 5.41
-------------------------------------------------------------------

View File

@ -22,9 +22,10 @@
Name: file
BuildRequires: bash >= 4.0
BuildRequires: libtool
BuildRequires: zlib-devel
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(liblzma)
BuildRequires: pkgconfig(libseccomp)
BuildRequires: pkgconfig(zlib)
URL: http://www.darwinsys.com/file/
# bug437293
%ifarch ppc64
@ -135,10 +136,9 @@ export LC_ALL=POSIX
rm -f Magdir/*,v Magdir/*~
rm -f ltcf-c.sh ltconfig ltmain.sh
autoreconf -fiv
export CFLAGS="%{optflags} -DHOWMANY=69632 -fPIE"
export CFLAGS="%{optflags} -DHOWMANY=69632 -fPIE $(pkg-config libseccomp --cflags)"
%configure --disable-silent-rules --datadir=%{_miscdir} \
--disable-static \
--disable-libseccomp \
--enable-fsect-man5
make %{?_smp_mflags} pkgdatadir='$(datadir)' LDFLAGS="-pie"