Codebase list firejail / 881084c
New upstream version 0.9.62.4 Reiner Herrmann 3 years ago
15 changed file(s) with 90 addition(s) and 17 deletion(s). Raw diff Collapse all Expand all
136136 sh -c "if [ ! -d $(DESTDIR)/$(sysconfdir)/apparmor.d ]; then install -d -m 755 $(DESTDIR)/$(sysconfdir)/apparmor.d; fi;"
137137 install -c -m 0644 etc/firejail-default $(DESTDIR)/$(sysconfdir)/apparmor.d/.
138138 sh -c "if [ ! -d $(DESTDIR)/$(sysconfdir)/apparmor.d/local ]; then install -d -m 755 $(DESTDIR)/$(sysconfdir)/apparmor.d/local; fi;"
139 install -c -m 0644 etc/firejail-local $(DESTDIR)/$(sysconfdir)/apparmor.d/local/firejail-default
139140 endif
140141 # man pages
141142 install -m 0755 -d $(DESTDIR)/$(mandir)/man1
6262 - fix flameshot raw screenshots
6363 1dnrr (https://github.com/1dnrr)
6464 - add pybitmessage profile
65 Ádler Jonas Gross (https://github.com/adgross)
66 - AppArmor fix
6567 Adrian L. Shaw (https://github.com/adrianlshaw)
6668 - add profanity profile
6769 - add barrirer profile
0 firejail (0.9.62.4) baseline; urgency=low
1 * fix AppArmor broken in the previous release
2 * miscellaneous fixes
3 -- netblue30 <netblue30@yahoo.com> Mon, 17 Aug 2020 08:00:00 -0500
4
05 firejail (0.9.62.2) baseline; urgency=low
16 * patches from Debian (firejail 0.9.62-3, sid):
27 profile-fixes.patch, apparmor-include.patch
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for firejail 0.9.62.2.
2 # Generated by GNU Autoconf 2.69 for firejail 0.9.62.4.
33 #
44 # Report bugs to <netblue30@yahoo.com>.
55 #
579579 # Identity of this package.
580580 PACKAGE_NAME='firejail'
581581 PACKAGE_TARNAME='firejail'
582 PACKAGE_VERSION='0.9.62.2'
583 PACKAGE_STRING='firejail 0.9.62.2'
582 PACKAGE_VERSION='0.9.62.4'
583 PACKAGE_STRING='firejail 0.9.62.4'
584584 PACKAGE_BUGREPORT='netblue30@yahoo.com'
585585 PACKAGE_URL='https://firejail.wordpress.com'
586586
12751275 # Omit some internal or obsolete options to make the list less imposing.
12761276 # This message is too long to be a string in the A/UX 3.1 sh.
12771277 cat <<_ACEOF
1278 \`configure' configures firejail 0.9.62.2 to adapt to many kinds of systems.
1278 \`configure' configures firejail 0.9.62.4 to adapt to many kinds of systems.
12791279
12801280 Usage: $0 [OPTION]... [VAR=VALUE]...
12811281
13361336
13371337 if test -n "$ac_init_help"; then
13381338 case $ac_init_help in
1339 short | recursive ) echo "Configuration of firejail 0.9.62.2:";;
1339 short | recursive ) echo "Configuration of firejail 0.9.62.4:";;
13401340 esac
13411341 cat <<\_ACEOF
13421342
14491449 test -n "$ac_init_help" && exit $ac_status
14501450 if $ac_init_version; then
14511451 cat <<\_ACEOF
1452 firejail configure 0.9.62.2
1452 firejail configure 0.9.62.4
14531453 generated by GNU Autoconf 2.69
14541454
14551455 Copyright (C) 2012 Free Software Foundation, Inc.
17511751 This file contains any messages produced by compilers while
17521752 running configure, to aid debugging if configure makes a mistake.
17531753
1754 It was created by firejail $as_me 0.9.62.2, which was
1754 It was created by firejail $as_me 0.9.62.4, which was
17551755 generated by GNU Autoconf 2.69. Invocation command line was
17561756
17571757 $ $0 $@
47004700 # report actual input values of CONFIG_FILES etc. instead of their
47014701 # values after options handling.
47024702 ac_log="
4703 This file was extended by firejail $as_me 0.9.62.2, which was
4703 This file was extended by firejail $as_me 0.9.62.4, which was
47044704 generated by GNU Autoconf 2.69. Invocation command line was
47054705
47064706 CONFIG_FILES = $CONFIG_FILES
47544754 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
47554755 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
47564756 ac_cs_version="\\
4757 firejail config.status 0.9.62.2
4757 firejail config.status 0.9.62.4
47584758 configured by $0, generated by GNU Autoconf 2.69,
47594759 with options \\"\$ac_cs_config\\"
47604760
1111 #
1212
1313 AC_PREREQ([2.68])
14 AC_INIT(firejail, 0.9.62.2, netblue30@yahoo.com, , https://firejail.wordpress.com)
14 AC_INIT(firejail, 0.9.62.4, netblue30@yahoo.com, , https://firejail.wordpress.com)
1515 AC_CONFIG_SRCDIR([src/firejail/main.c])
1616
1717 AC_CONFIG_MACRO_DIR([m4])
243243 blacklist ${HOME}/.config/meld
244244 blacklist ${HOME}/.config/meteo-qt
245245 blacklist ${HOME}/.config/mfusion
246 blacklist ${HOME}/.config/Microsoft
246247 blacklist ${HOME}/.config/midori
247248 blacklist ${HOME}/.config/mono
248249 blacklist ${HOME}/.config/mpDris2
648649 blacklist ${HOME}/.sword
649650 blacklist ${HOME}/.sylpheed-2.0
650651 blacklist ${HOME}/.synfig
652 blacklist ${HOME}/.config/teams
651653 blacklist ${HOME}/.config/teams-for-linux
652654 blacklist ${HOME}/.tb
653655 blacklist ${HOME}/.tconn
0 # Firejail profile for element-desktop
1 # Description: All-in-one secure chat app for teams, friends and organisations
2 # This file is overwritten after every install/update
3 # Persistent local customizations
4 include element-desktop.local
5 # Persistent global definitions
6 # added by included profile
7 #include globals.local
8
9 noblacklist ${HOME}/.config/Element
10 noblacklist ${HOME}/.config/Element (Riot)
11
12 mkdir ${HOME}/.config/Element
13 mkdir ${HOME}/.config/Element (Riot)
14 whitelist ${HOME}/.config/Element
15 whitelist ${HOME}/.config/Element (Riot)
16 whitelist /opt/Element
17
18 private-opt Element
19
20 # Redirect
21 include riot-desktop.profile
0 # Firejail profile for teams
1 # Description: Official Microsoft Teams client for Linux using Electron.
2 # This file is overwritten after every install/update
3 # Persistent local customizations
4 include teams.local
5 # Persistent global definitions
6 # added by included profile
7 #include globals.local
8
9 # see #3404
10 ignore apparmor
11 ignore nodbus
12
13 noblacklist ${HOME}/.config/teams
14 noblacklist ${HOME}/.config/Microsoft
15
16 include disable-devel.inc
17 include disable-exec.inc
18 include disable-interpreters.inc
19
20 mkdir ${HOME}/.config/teams
21 mkdir ${HOME}/.config/Microsoft
22 whitelist ${HOME}/.config/teams
23 whitelist ${HOME}/.config/Microsoft
24 include whitelist-common.inc
25 include whitelist-var-common.inc
26
27 nou2f
28 shell none
29 tracelog
30
31 disable-mnt
32 private-cache
33 private-dev
34
35 # Redirect
36 include electron.profile
578578 sysprof
579579 sysprof-cli
580580 tb-starter-wrapper
581 teams
581582 teams-for-linux
582583 teamspeak3
583584 teeworlds
2424 #include <dirent.h>
2525 #include <fcntl.h>
2626 #include <pwd.h>
27 #include <errno.h>
2728 #ifndef _BSD_SOURCE
2829 #define _BSD_SOURCE
2930 #endif
147148 return;
148149
149150 errexit:
150 fprintf(stderr, "Error: cannot create %s device\n", path);
151 fprintf(stderr, "Error: cannot create %s device: %s\n", path, strerror(errno));
151152 exit(1);
152153 }
153154
6262 sleep(1);
6363 monsec--;
6464
65 EUID_ROOT();
6566 FILE *fp = fopen(monfile, "r");
67 EUID_USER();
6668 if (!fp) {
6769 killdone = 1;
6870 break;
2626 }
2727 expect {
2828 timeout {puts "TESTING ERROR 1.4\n";exit}
29 "Max address space 123456789012 123456789012"
29 "Max address space 1234567890 1234567890"
3030 }
3131 expect {
3232 timeout {puts "TESTING ERROR 1.5\n";exit}
44 spawn $env(SHELL)
55 match_max 100000
66
7 send -- "firejail --rlimit-fsize=1024 --rlimit-nproc=1000 --rlimit-nofile=500 --rlimit-sigpending=200 --rlimit-as=123456789012\r"
7 send -- "firejail --rlimit-fsize=1024 --rlimit-nproc=1000 --rlimit-nofile=500 --rlimit-sigpending=200 --rlimit-as=1234567890\r"
88 expect {
99 timeout {puts "TESTING ERROR 0\n";exit}
1010 "Child process initialized"
2626 }
2727 expect {
2828 timeout {puts "TESTING ERROR 1.4\n";exit}
29 "Max address space 123456789012 123456789012"
29 "Max address space 1234567890 1234567890"
3030 }
3131 expect {
3232 timeout {puts "TESTING ERROR 1.5\n";exit}
11 rlimit-nproc 1000
22 rlimit-nofile 500
33 rlimit-sigpending 200
4 rlimit-as 123456789012
4 rlimit-as 1234567890
2929 send -- "cd /lib; find .\r"
3030 expect {
3131 timeout {puts "TESTING ERROR 5\n";exit}
32 "modules" {puts "TESTING ERROR 6\n";exit}
33 "firmware" {puts "TESTING ERROR 7\n";exit}
32 "./modules" {puts "TESTING ERROR 6\n";exit}
33 "./firmware" {puts "TESTING ERROR 7\n";exit}
3434 "libc.so"
3535 }
3636 after 100