diff --git a/files/0002-Fix-appimage-on-linux-5.4.x-kernel.patch b/files/0002-Fix-appimage-on-linux-5.4.x-kernel.patch new file mode 100644 --- /dev/null +++ b/files/0002-Fix-appimage-on-linux-5.4.x-kernel.patch @@ -0,0 +1,29 @@ +From 3740f376487dd71c93c09d7df914326247608bf3 Mon Sep 17 00:00:00 2001 +From: glitsj16 +Date: Sat, 14 Dec 2019 02:08:03 +0000 +Subject: [PATCH] Fix --appimage on linux 5.4.x kernel + +Fixes #3068. +--- + src/firejail/appimage.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/firejail/appimage.c b/src/firejail/appimage.c +index e886e81da..520960db2 100644 +--- a/src/firejail/appimage.c ++++ b/src/firejail/appimage.c +@@ -113,12 +113,12 @@ void appimage_set(const char *appimage) { + EUID_ROOT(); + if (size == 0) { + fmessage("Mounting appimage type 1\n"); +- if (mount(devloop, mntdir, "iso9660", flags, mode) < 0) ++ if (mount(devloop, mntdir, "iso9660", flags, mode) < 0) + errExit("mounting appimage"); + } + else { + fmessage("Mounting appimage type 2\n"); +- if (mount(devloop, mntdir, "squashfs", flags, mode) < 0) ++ if (mount(devloop, mntdir, "squashfs", flags, NULL) < 0) + errExit("mounting appimage"); + } + diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,13 +1,11 @@ name : firejail version : 0.9.60 -release : 7 +release : 8 source : - https://github.com/netblue30/firejail/archive/0.9.60.tar.gz : dd3059b19365c2c095b85e3f86737fdcaca0a05357680f0e377bebf07791bc70 license : GPL-2.0-or-later component : security summary : Sandbox your applications -builddeps : - - pkgconfig(libapparmor) description: | Firejail is a SUID sandbox program that reduces the risk of security breaches by restricting the running environment of untrusted applications. It allows a process and all its descendants to have their own private view of the globally shared kernel resources, such as the network stack, process table, mount table. builddeps : @@ -15,6 +13,7 @@ - expect # Tests setup : | %patch -p1 < $pkgfiles/0001-Support-a-stateless-configuration.patch + %patch -p1 < $pkgfiles/0002-Fix-appimage-on-linux-5.4.x-kernel.patch %reconfigure --enable-apparmor build : | %make diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -2,8 +2,8 @@ firejail - Fabio Forni - livingsilver94.solus@redaril.me + Robert Guenzler + robert@gnzler.io GPL-2.0-or-later security @@ -868,12 +868,12 @@ - - 2019-10-21 + + 2019-12-16 0.9.60 Packaging update - Fabio Forni - livingsilver94.solus@redaril.me + Robert Guenzler + robert@gnzler.io \ No newline at end of file