mirror of
https://git.yoctoproject.org/meta-security
synced 2026-07-16 15:57:21 +00:00
firejail: update 0.9.72
refresh patch Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -5,28 +5,28 @@ There are some files that need to run to generate the appropriate files
|
|||||||
we are currently doing this on the target.
|
we are currently doing this on the target.
|
||||||
Signed-off-by: Armin Kuster <akuster808@gmail.com>
|
Signed-off-by: Armin Kuster <akuster808@gmail.com>
|
||||||
|
|
||||||
Index: git/Makefile.in
|
Index: git/Makefile
|
||||||
===================================================================
|
===================================================================
|
||||||
--- git.orig/Makefile.in
|
--- git.orig/Makefile
|
||||||
+++ git/Makefile.in
|
+++ git/Makefile
|
||||||
@@ -34,7 +34,6 @@ MYDIRS = src/lib $(MAN_SRC) $(COMPLETION
|
@@ -18,7 +18,6 @@ MYDIRS = src/lib $(MAN_SRC) $(COMPLETION
|
||||||
MYLIBS = src/libpostexecseccomp/libpostexecseccomp.so src/libtrace/libtrace.so src/libtracelog/libtracelog.so
|
MYLIBS = src/libpostexecseccomp/libpostexecseccomp.so src/libtrace/libtrace.so src/libtracelog/libtracelog.so
|
||||||
COMPLETIONS = src/zsh_completion/_firejail src/bash_completion/firejail.bash_completion
|
COMPLETIONS = src/zsh_completion/_firejail src/bash_completion/firejail.bash_completion
|
||||||
MANPAGES = firejail.1 firemon.1 firecfg.1 firejail-profile.5 firejail-login.5 firejail-users.5 jailcheck.1
|
MANPAGES = firejail.1 firemon.1 firecfg.1 firejail-profile.5 firejail-login.5 firejail-users.5 jailcheck.1
|
||||||
-SECCOMP_FILTERS = seccomp seccomp.debug seccomp.32 seccomp.block_secondary seccomp.mdwx seccomp.mdwx.32
|
-SECCOMP_FILTERS = seccomp seccomp.debug seccomp.32 seccomp.block_secondary seccomp.mdwx seccomp.mdwx.32
|
||||||
ALL_ITEMS = $(APPS) $(SBOX_APPS) $(SBOX_APPS_NON_DUMPABLE) $(MYLIBS)
|
ALL_ITEMS = $(APPS) $(SBOX_APPS) $(SBOX_APPS_NON_DUMPABLE) $(MYLIBS)
|
||||||
|
|
||||||
.PHONY: all_items $(ALL_ITEMS)
|
.PHONY: all
|
||||||
@@ -52,7 +51,7 @@ $(MANPAGES): src/man
|
@@ -43,7 +42,7 @@ $(MANPAGES): src/man config.mk
|
||||||
|
|
||||||
man: $(MANPAGES)
|
man: $(MANPAGES)
|
||||||
|
|
||||||
-filters: $(SECCOMP_FILTERS) $(SBOX_APPS_NON_DUMPABLE)
|
-filters: $(SECCOMP_FILTERS) $(SBOX_APPS_NON_DUMPABLE)
|
||||||
+filters: $(SBOX_APPS_NON_DUMPABLE)
|
+filters: $(SBOX_APPS_NON_DUMPABLE)
|
||||||
seccomp: src/fseccomp/fseccomp src/fsec-optimize/fsec-optimize
|
seccomp: src/fseccomp/fseccomp src/fsec-optimize/fsec-optimize
|
||||||
src/fseccomp/fseccomp default seccomp
|
src/fseccomp/fseccomp default seccomp
|
||||||
src/fsec-optimize/fsec-optimize seccomp
|
src/fsec-optimize/fsec-optimize seccomp
|
||||||
@@ -81,7 +80,6 @@ clean:
|
@@ -72,7 +71,6 @@ clean:
|
||||||
done
|
done
|
||||||
$(MAKE) -C test clean
|
$(MAKE) -C test clean
|
||||||
rm -f $(MANPAGES) $(MANPAGES:%=%.gz) firejail*.rpm
|
rm -f $(MANPAGES) $(MANPAGES:%=%.gz) firejail*.rpm
|
||||||
@@ -34,12 +34,12 @@ Index: git/Makefile.in
|
|||||||
rm -f test/utils/index.html*
|
rm -f test/utils/index.html*
|
||||||
rm -f test/utils/wget-log
|
rm -f test/utils/wget-log
|
||||||
rm -f test/utils/firejail-test-file*
|
rm -f test/utils/firejail-test-file*
|
||||||
@@ -119,7 +117,7 @@ endif
|
@@ -110,7 +108,7 @@ endif
|
||||||
# libraries and plugins
|
# libraries and plugins
|
||||||
install -m 0755 -d $(DESTDIR)$(libdir)/firejail
|
install -m 0755 -d $(DESTDIR)$(libdir)/firejail
|
||||||
install -m 0755 -t $(DESTDIR)$(libdir)/firejail src/firecfg/firejail-welcome.sh
|
install -m 0755 -t $(DESTDIR)$(libdir)/firejail src/firecfg/firejail-welcome.sh
|
||||||
- install -m 0644 -t $(DESTDIR)$(libdir)/firejail $(MYLIBS) $(SECCOMP_FILTERS)
|
- install -m 0644 -t $(DESTDIR)$(libdir)/firejail $(MYLIBS) $(SECCOMP_FILTERS)
|
||||||
+ install -m 0644 -t $(DESTDIR)$(libdir)/firejail $(MYLIBS)
|
+ install -m 0644 -t $(DESTDIR)$(libdir)/firejail $(MYLIBS)
|
||||||
install -m 0755 -t $(DESTDIR)$(libdir)/firejail $(SBOX_APPS)
|
install -m 0755 -t $(DESTDIR)$(libdir)/firejail $(SBOX_APPS)
|
||||||
install -m 0755 -t $(DESTDIR)$(libdir)/firejail src/profstats/profstats
|
install -m 0755 -t $(DESTDIR)$(libdir)/firejail src/profstats/profstats
|
||||||
# plugins w/o read permission (non-dumpable)
|
# plugins w/o read permission (non-dumpable)
|
||||||
|
|||||||
+2
-1
@@ -9,7 +9,7 @@ seccomp-bpf and Linux capabilities."
|
|||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||||
LICENSE = "GPL-2.0-only"
|
LICENSE = "GPL-2.0-only"
|
||||||
|
|
||||||
SRCREV = "b4b08d21cd95725c9d55dfdb6987fcc6d7893247"
|
SRCREV = "2551bc71f14052344666f3ca2ad67f5b798020b9"
|
||||||
SRC_URI = "git://github.com/netblue30/firejail.git;protocol=https;branch=master \
|
SRC_URI = "git://github.com/netblue30/firejail.git;protocol=https;branch=master \
|
||||||
file://exclude_seccomp_util_compiles.patch \
|
file://exclude_seccomp_util_compiles.patch \
|
||||||
"
|
"
|
||||||
@@ -46,6 +46,7 @@ PACKAGES:append = " ${PN}-vim ${PN}-zsh"
|
|||||||
|
|
||||||
FILES:${PN}-vim = "${datadir}/vim/"
|
FILES:${PN}-vim = "${datadir}/vim/"
|
||||||
FILES:${PN}-zsh = "${datadir}/zsh/"
|
FILES:${PN}-zsh = "${datadir}/zsh/"
|
||||||
|
FILES:${PN}-dev = "${datadir}/gtksourceview-5/"
|
||||||
|
|
||||||
pkg_postinst_ontarget:${PN} () {
|
pkg_postinst_ontarget:${PN} () {
|
||||||
${libdir}/${BPN}/fseccomp default ${libdir}/${BPN}/seccomp
|
${libdir}/${BPN}/fseccomp default ${libdir}/${BPN}/seccomp
|
||||||
Reference in New Issue
Block a user