[Pkg-privacy-commits] [torbrowser-launcher] 05/05: Fix AppArmor profile to allow self upgrades. Thanks intrigeri for the patch! (Closes: #817267)

Holger Levsen holger at moszumanska.debian.org
Wed Mar 16 00:27:35 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch debian/sid
in repository torbrowser-launcher.

commit 76237e9892e7dcc39c13159192a346fdee3b2401
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Mar 15 20:24:15 2016 -0400

    Fix AppArmor profile to allow self upgrades. Thanks intrigeri for the patch! (Closes: #817267)
---
 debian/changelog                                   |  2 ++
 ...rmor-try-to-fix-Tor-Browser-upgrade-again.patch | 30 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 33 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index cecb1d2..546e8d1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ torbrowser-launcher (0.2.4-1) UNRELEASED; urgency=high
 
   * New upstream version which prevents a signature verification attack, see
     https://github.com/micahflee/torbrowser-launcher/issues/229 for more info.
+  * Fix AppArmor profile to allow self upgrades. Thanks intrigeri for the
+    patch! (Closes: #817267)
 
  -- Holger Levsen <holger at debian.org>  Tue, 15 Mar 2016 20:17:28 -0400
 
diff --git a/debian/patches/0001-AppArmor-try-to-fix-Tor-Browser-upgrade-again.patch b/debian/patches/0001-AppArmor-try-to-fix-Tor-Browser-upgrade-again.patch
new file mode 100644
index 0000000..e6d85ad
--- /dev/null
+++ b/debian/patches/0001-AppArmor-try-to-fix-Tor-Browser-upgrade-again.patch
@@ -0,0 +1,30 @@
+From 8152968beb4845a67b3519566a80ec0ce06efc67 Mon Sep 17 00:00:00 2001
+From: intrigeri <intrigeri at boum.org>
+Date: Wed, 9 Mar 2016 16:18:12 +0000
+Subject: [PATCH] AppArmor: try to fix Tor Browser upgrade, again.
+
+This rule is apparently needed to allow the browser to complete its upgrade
+process and restart after an update has been applied.
+
+Closes: Debian#817267
+
+https://github.com/micahflee/torbrowser-launcher/issues/227
+---
+ apparmor/torbrowser.Browser.firefox | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/apparmor/torbrowser.Browser.firefox b/apparmor/torbrowser.Browser.firefox
+index 17bff38..60393cf 100644
+--- a/apparmor/torbrowser.Browser.firefox
++++ b/apparmor/torbrowser.Browser.firefox
+@@ -40,6 +40,7 @@
+   owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/.** rwk,
+   owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/ rw,
+   owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/** rw,
++  owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser.bak/ rwk,
+   owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser.bak/updated/ rwk,
+   owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/*.so mr,
+   owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/components/*.so mr,
+-- 
+2.1.4
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..bbe1944
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-AppArmor-try-to-fix-Tor-Browser-upgrade-again.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/torbrowser-launcher.git



More information about the Pkg-privacy-commits mailing list