Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
d/patches: Cherry-pick two upstream commits to fix appamor profile
· 7ff9b5bd
Roger Shimizu
authored
Sep 09, 2018
Fix appamor profile to support Tor Browser 8.0a9 Closes: #908068
7ff9b5bd
Prepare to release 0.2.9-4
· 6e1b7e18
Roger Shimizu
authored
Sep 09, 2018
6e1b7e18
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
6e1b7e18
torbrowser-launcher (0.2.9-4) unstable; urgency=medium
[ Ulrike Uhlig ]
* debian/control:
- Remove myself from uploaders.
[ Roger Shimizu ]
* debian/patches:
- Cherry-pick two upstream commits to fix appamor profile for
Tor Browser 8.0a9 (Closes: #908068).
-- Roger Shimizu <rosh@debian.org> Sun, 09 Sep 2018 16:43:19 +0900
torbrowser-launcher (0.2.9-3) unstable; urgency=medium
* Team upload.
...
...
debian/patches/0017-AppArmor-allow-Firefox-to-read-usr-share-glib-2.0-sc.patch
0 → 100644
View file @
6e1b7e18
From: intrigeri <intrigeri@boum.org>
Date: Tue, 3 Jul 2018 15:43:10 +0000
Subject: AppArmor: allow Firefox to read
/usr/share/glib-2.0/schemas/gschemas.compiled.
Otherwise, Tor Browser 8.0a9 crashes when clicking "Save Page As".
(cherry picked from commit ad95bbda69045f3c9ace241939ee9e1fccc16ac8)
---
apparmor/torbrowser.Browser.firefox | 1 +
1 file changed, 1 insertion(+)
diff --git a/apparmor/torbrowser.Browser.firefox b/apparmor/torbrowser.Browser.firefox
index d0aded9..c145d06 100644
--- a/apparmor/torbrowser.Browser.firefox
+++ b/apparmor/torbrowser.Browser.firefox
@@ -68,6 +68,7 @@
profile torbrowser_firefox @{torbrowser_firefox_executable} {
/etc/mime.types r,
/usr/share/ r,
+ /usr/share/glib-2.0/schemas/gschemas.compiled r,
/usr/share/mime/ r,
/usr/share/themes/ r,
/usr/share/applications/** rk,
debian/patches/0018-AppArmor-adjust-Firefox-binary-path-for-Tor-Browser-.patch
0 → 100644
View file @
6e1b7e18
From: intrigeri <intrigeri@boum.org>
Date: Sat, 18 Aug 2018 19:23:13 +0000
Subject: AppArmor: adjust Firefox binary path for Tor Browser 8.0a10.
At this point it seems unlikely that the develop branch will be released
before Tor Browser 8.0 so here we go, let's get ready.
Note that I could have written firefox{,.real} instead, to support both Tor
Browser 7.5 and 8.0, but then we would have to open the profile more broadly so
the new shell wrapper installed as "firefox" by Tor Browser 8.0a10 can do its
job. This does not seem worth the hassle and will be fine as long as this new
torbrowser-launcher is released approximately at the same time as, or after, Tor
Browser 8.
(cherry picked from commit a67f026cc14c0a52decda0250890ee776a35f8a1)
---
apparmor/torbrowser.Browser.firefox | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apparmor/torbrowser.Browser.firefox b/apparmor/torbrowser.Browser.firefox
index c145d06..69354d1 100644
--- a/apparmor/torbrowser.Browser.firefox
+++ b/apparmor/torbrowser.Browser.firefox
@@ -1,7 +1,7 @@
#include <tunables/global>
#include <tunables/torbrowser>
-@{torbrowser_firefox_executable} = /home/*/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/firefox
+@{torbrowser_firefox_executable} = /home/*/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/firefox.real
profile torbrowser_firefox @{torbrowser_firefox_executable} {
#include <abstractions/gnome>
debian/patches/series
View file @
6e1b7e18
...
...
@@ -14,3 +14,5 @@
0014-AppArmor-support-some-of-the-included-pluggable-tran.patch
0015-AppArmor-remove-boilerplate-from-local-override-file.patch
0016-Remove-apparmor-local-path-from-setup.py.patch
0017-AppArmor-allow-Firefox-to-read-usr-share-glib-2.0-sc.patch
0018-AppArmor-adjust-Firefox-binary-path-for-Tor-Browser-.patch