diff options
author | netblue30 <netblue30@yahoo.com> | 2020-08-07 16:34:17 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2020-08-07 16:34:17 -0400 |
commit | 30457f8d26843b7729a842b2576b2a3df6daee31 (patch) | |
tree | 5091662d640515046c194243b2d422024c33f2d6 | |
parent | Add appimage fix to electrum.profile (diff) | |
download | firejail-30457f8d26843b7729a842b2576b2a3df6daee31.tar.gz firejail-30457f8d26843b7729a842b2576b2a3df6daee31.tar.zst firejail-30457f8d26843b7729a842b2576b2a3df6daee31.zip |
starting 0.9.62.2, included profile-fixes.patch and apparmor-include.patch from Debian sid (firejail 0.9.62-3)
-rw-r--r-- | Makefile.in | 2 | ||||
-rw-r--r-- | RELNOTES | 6 | ||||
-rwxr-xr-x | configure | 32 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | etc/firefox.profile | 1 | ||||
-rw-r--r-- | etc/firejail-default | 2 | ||||
-rw-r--r-- | etc/transmission-daemon.profile | 2 | ||||
-rw-r--r-- | etc/whitelist-usr-share-common.inc | 1 | ||||
-rw-r--r-- | src/man/firejail.txt | 2 |
9 files changed, 35 insertions, 15 deletions
diff --git a/Makefile.in b/Makefile.in index e065741f5..bc0d13499 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -137,8 +137,6 @@ ifeq ($(HAVE_APPARMOR),-DHAVE_APPARMOR) | |||
137 | sh -c "if [ ! -d $(DESTDIR)/$(sysconfdir)/apparmor.d ]; then install -d -m 755 $(DESTDIR)/$(sysconfdir)/apparmor.d; fi;" | 137 | sh -c "if [ ! -d $(DESTDIR)/$(sysconfdir)/apparmor.d ]; then install -d -m 755 $(DESTDIR)/$(sysconfdir)/apparmor.d; fi;" |
138 | install -c -m 0644 etc/firejail-default $(DESTDIR)/$(sysconfdir)/apparmor.d/. | 138 | install -c -m 0644 etc/firejail-default $(DESTDIR)/$(sysconfdir)/apparmor.d/. |
139 | sh -c "if [ ! -d $(DESTDIR)/$(sysconfdir)/apparmor.d/local ]; then install -d -m 755 $(DESTDIR)/$(sysconfdir)/apparmor.d/local; fi;" | 139 | sh -c "if [ ! -d $(DESTDIR)/$(sysconfdir)/apparmor.d/local ]; then install -d -m 755 $(DESTDIR)/$(sysconfdir)/apparmor.d/local; fi;" |
140 | # install apparmor profile customization file | ||
141 | sh -c "if [ ! -f $(DESTDIR)/$(sysconfdir)/apparmor.d/local/firejail-local ]; then install -c -m 0644 etc/firejail-local $(DESTDIR)/$(sysconfdir)/apparmor.d/local/.; fi;" | ||
142 | endif | 140 | endif |
143 | # man pages | 141 | # man pages |
144 | install -m 0755 -d $(DESTDIR)/$(mandir)/man1 | 142 | install -m 0755 -d $(DESTDIR)/$(mandir)/man1 |
@@ -1,3 +1,9 @@ | |||
1 | firejail (0.9.62.2) baseline; urgency=low | ||
2 | * work in progress | ||
3 | * patches from Debian (firejail 0.9.62-3, sid): | ||
4 | profile-fixes.patch, apparmor-include.patch | ||
5 | -- netblue30 <netblue30@yahoo.com> Fri, 7 Aug 2020 08:00:00 -0500 | ||
6 | |||
1 | firejail (0.9.62) baseline; urgency=low | 7 | firejail (0.9.62) baseline; urgency=low |
2 | * added file-copy-limit in /etc/firejail/firejail.config | 8 | * added file-copy-limit in /etc/firejail/firejail.config |
3 | * profile templates (/usr/share/doc/firejail) | 9 | * profile templates (/usr/share/doc/firejail) |
@@ -1,6 +1,6 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # Guess values for system-dependent variables and create Makefiles. | 2 | # Guess values for system-dependent variables and create Makefiles. |
3 | # Generated by GNU Autoconf 2.69 for firejail 0.9.62. | 3 | # Generated by GNU Autoconf 2.69 for firejail 0.9.62.2. |
4 | # | 4 | # |
5 | # Report bugs to <netblue30@yahoo.com>. | 5 | # Report bugs to <netblue30@yahoo.com>. |
6 | # | 6 | # |
@@ -580,8 +580,8 @@ MAKEFLAGS= | |||
580 | # Identity of this package. | 580 | # Identity of this package. |
581 | PACKAGE_NAME='firejail' | 581 | PACKAGE_NAME='firejail' |
582 | PACKAGE_TARNAME='firejail' | 582 | PACKAGE_TARNAME='firejail' |
583 | PACKAGE_VERSION='0.9.62' | 583 | PACKAGE_VERSION='0.9.62.2' |
584 | PACKAGE_STRING='firejail 0.9.62' | 584 | PACKAGE_STRING='firejail 0.9.62.2' |
585 | PACKAGE_BUGREPORT='netblue30@yahoo.com' | 585 | PACKAGE_BUGREPORT='netblue30@yahoo.com' |
586 | PACKAGE_URL='https://firejail.wordpress.com' | 586 | PACKAGE_URL='https://firejail.wordpress.com' |
587 | 587 | ||
@@ -682,6 +682,7 @@ infodir | |||
682 | docdir | 682 | docdir |
683 | oldincludedir | 683 | oldincludedir |
684 | includedir | 684 | includedir |
685 | runstatedir | ||
685 | localstatedir | 686 | localstatedir |
686 | sharedstatedir | 687 | sharedstatedir |
687 | sysconfdir | 688 | sysconfdir |
@@ -774,6 +775,7 @@ datadir='${datarootdir}' | |||
774 | sysconfdir='${prefix}/etc' | 775 | sysconfdir='${prefix}/etc' |
775 | sharedstatedir='${prefix}/com' | 776 | sharedstatedir='${prefix}/com' |
776 | localstatedir='${prefix}/var' | 777 | localstatedir='${prefix}/var' |
778 | runstatedir='${localstatedir}/run' | ||
777 | includedir='${prefix}/include' | 779 | includedir='${prefix}/include' |
778 | oldincludedir='/usr/include' | 780 | oldincludedir='/usr/include' |
779 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | 781 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
@@ -1026,6 +1028,15 @@ do | |||
1026 | | -silent | --silent | --silen | --sile | --sil) | 1028 | | -silent | --silent | --silen | --sile | --sil) |
1027 | silent=yes ;; | 1029 | silent=yes ;; |
1028 | 1030 | ||
1031 | -runstatedir | --runstatedir | --runstatedi | --runstated \ | ||
1032 | | --runstate | --runstat | --runsta | --runst | --runs \ | ||
1033 | | --run | --ru | --r) | ||
1034 | ac_prev=runstatedir ;; | ||
1035 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | ||
1036 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | ||
1037 | | --run=* | --ru=* | --r=*) | ||
1038 | runstatedir=$ac_optarg ;; | ||
1039 | |||
1029 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 1040 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1030 | ac_prev=sbindir ;; | 1041 | ac_prev=sbindir ;; |
1031 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | 1042 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
@@ -1163,7 +1174,7 @@ fi | |||
1163 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | 1174 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1164 | datadir sysconfdir sharedstatedir localstatedir includedir \ | 1175 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1165 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | 1176 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1166 | libdir localedir mandir | 1177 | libdir localedir mandir runstatedir |
1167 | do | 1178 | do |
1168 | eval ac_val=\$$ac_var | 1179 | eval ac_val=\$$ac_var |
1169 | # Remove trailing slashes. | 1180 | # Remove trailing slashes. |
@@ -1276,7 +1287,7 @@ if test "$ac_init_help" = "long"; then | |||
1276 | # Omit some internal or obsolete options to make the list less imposing. | 1287 | # Omit some internal or obsolete options to make the list less imposing. |
1277 | # This message is too long to be a string in the A/UX 3.1 sh. | 1288 | # This message is too long to be a string in the A/UX 3.1 sh. |
1278 | cat <<_ACEOF | 1289 | cat <<_ACEOF |
1279 | \`configure' configures firejail 0.9.62 to adapt to many kinds of systems. | 1290 | \`configure' configures firejail 0.9.62.2 to adapt to many kinds of systems. |
1280 | 1291 | ||
1281 | Usage: $0 [OPTION]... [VAR=VALUE]... | 1292 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1282 | 1293 | ||
@@ -1316,6 +1327,7 @@ Fine tuning of the installation directories: | |||
1316 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | 1327 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1317 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | 1328 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1318 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | 1329 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1330 | --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] | ||
1319 | --libdir=DIR object code libraries [EPREFIX/lib] | 1331 | --libdir=DIR object code libraries [EPREFIX/lib] |
1320 | --includedir=DIR C header files [PREFIX/include] | 1332 | --includedir=DIR C header files [PREFIX/include] |
1321 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | 1333 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
@@ -1337,7 +1349,7 @@ fi | |||
1337 | 1349 | ||
1338 | if test -n "$ac_init_help"; then | 1350 | if test -n "$ac_init_help"; then |
1339 | case $ac_init_help in | 1351 | case $ac_init_help in |
1340 | short | recursive ) echo "Configuration of firejail 0.9.62:";; | 1352 | short | recursive ) echo "Configuration of firejail 0.9.62.2:";; |
1341 | esac | 1353 | esac |
1342 | cat <<\_ACEOF | 1354 | cat <<\_ACEOF |
1343 | 1355 | ||
@@ -1450,7 +1462,7 @@ fi | |||
1450 | test -n "$ac_init_help" && exit $ac_status | 1462 | test -n "$ac_init_help" && exit $ac_status |
1451 | if $ac_init_version; then | 1463 | if $ac_init_version; then |
1452 | cat <<\_ACEOF | 1464 | cat <<\_ACEOF |
1453 | firejail configure 0.9.62 | 1465 | firejail configure 0.9.62.2 |
1454 | generated by GNU Autoconf 2.69 | 1466 | generated by GNU Autoconf 2.69 |
1455 | 1467 | ||
1456 | Copyright (C) 2012 Free Software Foundation, Inc. | 1468 | Copyright (C) 2012 Free Software Foundation, Inc. |
@@ -1752,7 +1764,7 @@ cat >config.log <<_ACEOF | |||
1752 | This file contains any messages produced by compilers while | 1764 | This file contains any messages produced by compilers while |
1753 | running configure, to aid debugging if configure makes a mistake. | 1765 | running configure, to aid debugging if configure makes a mistake. |
1754 | 1766 | ||
1755 | It was created by firejail $as_me 0.9.62, which was | 1767 | It was created by firejail $as_me 0.9.62.2, which was |
1756 | generated by GNU Autoconf 2.69. Invocation command line was | 1768 | generated by GNU Autoconf 2.69. Invocation command line was |
1757 | 1769 | ||
1758 | $ $0 $@ | 1770 | $ $0 $@ |
@@ -4701,7 +4713,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |||
4701 | # report actual input values of CONFIG_FILES etc. instead of their | 4713 | # report actual input values of CONFIG_FILES etc. instead of their |
4702 | # values after options handling. | 4714 | # values after options handling. |
4703 | ac_log=" | 4715 | ac_log=" |
4704 | This file was extended by firejail $as_me 0.9.62, which was | 4716 | This file was extended by firejail $as_me 0.9.62.2, which was |
4705 | generated by GNU Autoconf 2.69. Invocation command line was | 4717 | generated by GNU Autoconf 2.69. Invocation command line was |
4706 | 4718 | ||
4707 | CONFIG_FILES = $CONFIG_FILES | 4719 | CONFIG_FILES = $CONFIG_FILES |
@@ -4755,7 +4767,7 @@ _ACEOF | |||
4755 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 4767 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4756 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 4768 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
4757 | ac_cs_version="\\ | 4769 | ac_cs_version="\\ |
4758 | firejail config.status 0.9.62 | 4770 | firejail config.status 0.9.62.2 |
4759 | configured by $0, generated by GNU Autoconf 2.69, | 4771 | configured by $0, generated by GNU Autoconf 2.69, |
4760 | with options \\"\$ac_cs_config\\" | 4772 | with options \\"\$ac_cs_config\\" |
4761 | 4773 | ||
diff --git a/configure.ac b/configure.ac index ad47bfa12..e7bec6980 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -12,7 +12,7 @@ | |||
12 | # | 12 | # |
13 | 13 | ||
14 | AC_PREREQ([2.68]) | 14 | AC_PREREQ([2.68]) |
15 | AC_INIT(firejail, 0.9.62, netblue30@yahoo.com, , https://firejail.wordpress.com) | 15 | AC_INIT(firejail, 0.9.62.2, netblue30@yahoo.com, , https://firejail.wordpress.com) |
16 | AC_CONFIG_SRCDIR([src/firejail/main.c]) | 16 | AC_CONFIG_SRCDIR([src/firejail/main.c]) |
17 | 17 | ||
18 | AC_CONFIG_MACRO_DIR([m4]) | 18 | AC_CONFIG_MACRO_DIR([m4]) |
diff --git a/etc/firefox.profile b/etc/firefox.profile index 0278c70f2..50f40a039 100644 --- a/etc/firefox.profile +++ b/etc/firefox.profile | |||
@@ -15,6 +15,7 @@ whitelist ${HOME}/.cache/mozilla/firefox | |||
15 | whitelist ${HOME}/.mozilla | 15 | whitelist ${HOME}/.mozilla |
16 | 16 | ||
17 | whitelist /usr/share/mozilla | 17 | whitelist /usr/share/mozilla |
18 | whitelist /usr/share/webext | ||
18 | include whitelist-usr-share-common.inc | 19 | include whitelist-usr-share-common.inc |
19 | 20 | ||
20 | # firefox requires a shell to launch on Arch. | 21 | # firefox requires a shell to launch on Arch. |
diff --git a/etc/firejail-default b/etc/firejail-default index 2987e538c..e7ded1edc 100644 --- a/etc/firejail-default +++ b/etc/firejail-default | |||
@@ -152,5 +152,5 @@ capability setfcap, | |||
152 | #capability mac_admin, | 152 | #capability mac_admin, |
153 | 153 | ||
154 | # Site-specific additions and overrides. See local/README for details. | 154 | # Site-specific additions and overrides. See local/README for details. |
155 | #include <local/firejail-local> | 155 | #include <local/firejail-default> |
156 | } | 156 | } |
diff --git a/etc/transmission-daemon.profile b/etc/transmission-daemon.profile index f1e7fcb17..1841b8ed0 100644 --- a/etc/transmission-daemon.profile +++ b/etc/transmission-daemon.profile | |||
@@ -7,6 +7,8 @@ include transmission-daemon.local | |||
7 | # Persistent global definitions | 7 | # Persistent global definitions |
8 | include globals.local | 8 | include globals.local |
9 | 9 | ||
10 | mkdir ${HOME}/.config/transmission-daemon | ||
11 | whitelist ${HOME}/.config/transmission-daemon | ||
10 | whitelist /var/lib/transmission | 12 | whitelist /var/lib/transmission |
11 | 13 | ||
12 | caps.keep ipc_lock,net_bind_service,setgid,setuid,sys_chroot | 14 | caps.keep ipc_lock,net_bind_service,setgid,setuid,sys_chroot |
diff --git a/etc/whitelist-usr-share-common.inc b/etc/whitelist-usr-share-common.inc index 169fb26fa..be0a29d94 100644 --- a/etc/whitelist-usr-share-common.inc +++ b/etc/whitelist-usr-share-common.inc | |||
@@ -27,6 +27,7 @@ whitelist /usr/share/hunspell | |||
27 | whitelist /usr/share/hwdata | 27 | whitelist /usr/share/hwdata |
28 | whitelist /usr/share/icons | 28 | whitelist /usr/share/icons |
29 | whitelist /usr/share/knotifications5 | 29 | whitelist /usr/share/knotifications5 |
30 | whitelist /usr/share/icu | ||
30 | whitelist /usr/share/kservices5 | 31 | whitelist /usr/share/kservices5 |
31 | whitelist /usr/share/Kvantum | 32 | whitelist /usr/share/Kvantum |
32 | whitelist /usr/share/kxmlgui5 | 33 | whitelist /usr/share/kxmlgui5 |
diff --git a/src/man/firejail.txt b/src/man/firejail.txt index cabc4f619..9e508d043 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt | |||
@@ -2489,7 +2489,7 @@ AppArmor support is disabled by default at compile time. Use --enable-apparmor c | |||
2489 | .br | 2489 | .br |
2490 | $ ./configure --prefix=/usr --enable-apparmor | 2490 | $ ./configure --prefix=/usr --enable-apparmor |
2491 | .TP | 2491 | .TP |
2492 | During software install, a generic AppArmor profile file, firejail-default, is placed in /etc/apparmor.d directory. The local customizations must be placed in /etc/apparmor.d/local/firejail-local. The profile needs to be loaded into the kernel by reloading apparmor.service, rebooting the system or running the following command as root: | 2492 | During software install, a generic AppArmor profile file, firejail-default, is placed in /etc/apparmor.d directory. The local customizations must be placed in /etc/apparmor.d/local/firejail-default. The profile needs to be loaded into the kernel by reloading apparmor.service, rebooting the system or running the following command as root: |
2493 | .br | 2493 | .br |
2494 | 2494 | ||
2495 | .br | 2495 | .br |