firejail: update to 0.9.36.
This commit is contained in:
parent
3a967c25cb
commit
a2fbd58b80
|
@ -1,25 +0,0 @@
|
||||||
commit ade4d64989e3fdf05c14be8c9ac034e6822c3ca5
|
|
||||||
Author: Duncaen <mail@duncano.de>
|
|
||||||
Date: Sat Dec 19 23:44:38 2015 +0100
|
|
||||||
|
|
||||||
use UTMP_FILE to check for its existence
|
|
||||||
|
|
||||||
diff --git src/firejail/fs_var.c src/firejail/fs_var.c
|
|
||||||
index c6f9892..7e643dd 100644
|
|
||||||
--- src/firejail/fs_var.c
|
|
||||||
+++ src/firejail/fs_var.c
|
|
||||||
@@ -304,7 +304,7 @@ void fs_var_utmp(void) {
|
|
||||||
|
|
||||||
// extract utmp group id
|
|
||||||
gid_t utmp_group = 0;
|
|
||||||
- if (stat("/var/run/utmp", &s) == 0)
|
|
||||||
+ if (stat(UTMP_FILE, &s) == 0)
|
|
||||||
utmp_group = s.st_gid;
|
|
||||||
else {
|
|
||||||
fprintf(stderr, "Warning: cannot find /var/run/utmp\n");
|
|
||||||
@@ -349,5 +349,3 @@ void fs_var_utmp(void) {
|
|
||||||
if (mount(UTMP_FILE, "/var/run/utmp", NULL, MS_BIND|MS_REC, NULL) < 0)
|
|
||||||
errExit("mount bind utmp");
|
|
||||||
}
|
|
||||||
-
|
|
||||||
-
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'firejail'
|
# Template file for 'firejail'
|
||||||
pkgname=firejail
|
pkgname=firejail
|
||||||
version=0.9.34
|
version=0.9.36
|
||||||
revision=6
|
revision=6
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
conf_files="/etc/firejail/*"
|
conf_files="/etc/firejail/*"
|
||||||
|
@ -9,7 +9,7 @@ maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="https://l3net.wordpress.com/projects/firejail/"
|
homepage="https://l3net.wordpress.com/projects/firejail/"
|
||||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=37add3c0737206777472484591bcb742fc6c14096e4064ccc556c6bcea274ae9
|
checksum=db16c93e6f838048b0bbcb3b90aa191f79860382c5197fd2ac6df51f1a469510
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
arm*)
|
arm*)
|
||||||
|
|
Loading…
Reference in New Issue