Page MenuHomeSolus

D7851.id.diff
No OneTemporary

D7851.id.diff

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 <glitsj16@users.noreply.github.com>
+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 @@
<Source>
<Name>firejail</Name>
<Packager>
- <Name>Fabio Forni</Name>
- <Email>livingsilver94.solus@redaril.me</Email>
+ <Name>Robert Guenzler</Name>
+ <Email>robert@gnzler.io</Email>
</Packager>
<License>GPL-2.0-or-later</License>
<PartOf>security</PartOf>
@@ -868,12 +868,12 @@
</Files>
</Package>
<History>
- <Update release="7">
- <Date>2019-10-21</Date>
+ <Update release="8">
+ <Date>2019-12-16</Date>
<Version>0.9.60</Version>
<Comment>Packaging update</Comment>
- <Name>Fabio Forni</Name>
- <Email>livingsilver94.solus@redaril.me</Email>
+ <Name>Robert Guenzler</Name>
+ <Email>robert@gnzler.io</Email>
</Update>
</History>
</PISI>
\ No newline at end of file

File Metadata

Mime Type
text/plain
Expires
Fri, Aug 11, 10:46 PM (2 h, 57 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5794037
Default Alt Text
D7851.id.diff (3 KB)

Event Timeline