aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2020-08-07 16:34:17 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2020-08-07 16:34:17 -0400
commit30457f8d26843b7729a842b2576b2a3df6daee31 (patch)
tree5091662d640515046c194243b2d422024c33f2d6
parentAdd appimage fix to electrum.profile (diff)
downloadfirejail-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.in2
-rw-r--r--RELNOTES6
-rwxr-xr-xconfigure32
-rw-r--r--configure.ac2
-rw-r--r--etc/firefox.profile1
-rw-r--r--etc/firejail-default2
-rw-r--r--etc/transmission-daemon.profile2
-rw-r--r--etc/whitelist-usr-share-common.inc1
-rw-r--r--src/man/firejail.txt2
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;"
142endif 140endif
143 # man pages 141 # man pages
144 install -m 0755 -d $(DESTDIR)/$(mandir)/man1 142 install -m 0755 -d $(DESTDIR)/$(mandir)/man1
diff --git a/RELNOTES b/RELNOTES
index e19470475..6cf627aa0 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -1,3 +1,9 @@
1firejail (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
1firejail (0.9.62) baseline; urgency=low 7firejail (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)
diff --git a/configure b/configure
index ffff28f1e..e6d66a5a3 100755
--- a/configure
+++ b/configure
@@ -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.
581PACKAGE_NAME='firejail' 581PACKAGE_NAME='firejail'
582PACKAGE_TARNAME='firejail' 582PACKAGE_TARNAME='firejail'
583PACKAGE_VERSION='0.9.62' 583PACKAGE_VERSION='0.9.62.2'
584PACKAGE_STRING='firejail 0.9.62' 584PACKAGE_STRING='firejail 0.9.62.2'
585PACKAGE_BUGREPORT='netblue30@yahoo.com' 585PACKAGE_BUGREPORT='netblue30@yahoo.com'
586PACKAGE_URL='https://firejail.wordpress.com' 586PACKAGE_URL='https://firejail.wordpress.com'
587 587
@@ -682,6 +682,7 @@ infodir
682docdir 682docdir
683oldincludedir 683oldincludedir
684includedir 684includedir
685runstatedir
685localstatedir 686localstatedir
686sharedstatedir 687sharedstatedir
687sysconfdir 688sysconfdir
@@ -774,6 +775,7 @@ datadir='${datarootdir}'
774sysconfdir='${prefix}/etc' 775sysconfdir='${prefix}/etc'
775sharedstatedir='${prefix}/com' 776sharedstatedir='${prefix}/com'
776localstatedir='${prefix}/var' 777localstatedir='${prefix}/var'
778runstatedir='${localstatedir}/run'
777includedir='${prefix}/include' 779includedir='${prefix}/include'
778oldincludedir='/usr/include' 780oldincludedir='/usr/include'
779docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 781docdir='${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
1163for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1174for 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
1167do 1178do
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
1281Usage: $0 [OPTION]... [VAR=VALUE]... 1292Usage: $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
1338if test -n "$ac_init_help"; then 1350if 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
1450test -n "$ac_init_help" && exit $ac_status 1462test -n "$ac_init_help" && exit $ac_status
1451if $ac_init_version; then 1463if $ac_init_version; then
1452 cat <<\_ACEOF 1464 cat <<\_ACEOF
1453firejail configure 0.9.62 1465firejail configure 0.9.62.2
1454generated by GNU Autoconf 2.69 1466generated by GNU Autoconf 2.69
1455 1467
1456Copyright (C) 2012 Free Software Foundation, Inc. 1468Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1752,7 +1764,7 @@ cat >config.log <<_ACEOF
1752This file contains any messages produced by compilers while 1764This file contains any messages produced by compilers while
1753running configure, to aid debugging if configure makes a mistake. 1765running configure, to aid debugging if configure makes a mistake.
1754 1766
1755It was created by firejail $as_me 0.9.62, which was 1767It was created by firejail $as_me 0.9.62.2, which was
1756generated by GNU Autoconf 2.69. Invocation command line was 1768generated 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.
4703ac_log=" 4715ac_log="
4704This file was extended by firejail $as_me 0.9.62, which was 4716This file was extended by firejail $as_me 0.9.62.2, which was
4705generated by GNU Autoconf 2.69. Invocation command line was 4717generated 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
4755cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4767cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4756ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 4768ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4757ac_cs_version="\\ 4769ac_cs_version="\\
4758firejail config.status 0.9.62 4770firejail config.status 0.9.62.2
4759configured by $0, generated by GNU Autoconf 2.69, 4771configured 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
14AC_PREREQ([2.68]) 14AC_PREREQ([2.68])
15AC_INIT(firejail, 0.9.62, netblue30@yahoo.com, , https://firejail.wordpress.com) 15AC_INIT(firejail, 0.9.62.2, netblue30@yahoo.com, , https://firejail.wordpress.com)
16AC_CONFIG_SRCDIR([src/firejail/main.c]) 16AC_CONFIG_SRCDIR([src/firejail/main.c])
17 17
18AC_CONFIG_MACRO_DIR([m4]) 18AC_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
15whitelist ${HOME}/.mozilla 15whitelist ${HOME}/.mozilla
16 16
17whitelist /usr/share/mozilla 17whitelist /usr/share/mozilla
18whitelist /usr/share/webext
18include whitelist-usr-share-common.inc 19include 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
8include globals.local 8include globals.local
9 9
10mkdir ${HOME}/.config/transmission-daemon
11whitelist ${HOME}/.config/transmission-daemon
10whitelist /var/lib/transmission 12whitelist /var/lib/transmission
11 13
12caps.keep ipc_lock,net_bind_service,setgid,setuid,sys_chroot 14caps.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
27whitelist /usr/share/hwdata 27whitelist /usr/share/hwdata
28whitelist /usr/share/icons 28whitelist /usr/share/icons
29whitelist /usr/share/knotifications5 29whitelist /usr/share/knotifications5
30whitelist /usr/share/icu
30whitelist /usr/share/kservices5 31whitelist /usr/share/kservices5
31whitelist /usr/share/Kvantum 32whitelist /usr/share/Kvantum
32whitelist /usr/share/kxmlgui5 33whitelist /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
2492During 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: 2492During 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