[Pkg-privacy-commits] [torbrowser-launcher] 01/01: Fix apparmor profile self upgrade, Closes: #808140

Holger Levsen holger at moszumanska.debian.org
Mon Jan 25 17:20:20 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 2a8c646470d9bdb02adbc758a3354b8cdff29bf0
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Jan 25 18:10:00 2016 +0100

    Fix apparmor profile self upgrade, Closes: #808140
    
    Add debian/patches/0003-fix-apparmor-profile-to-support-self-upgrade.patch
    to do just that. Thanks to intrigeri for providing these rules.
    (Closes: #808140)
---
 debian/changelog                                    |  3 +++
 ...x-apparmor-profile-to-support-self-upgrade.patch | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index aa1f3dd..910959b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ torbrowser-launcher (0.2.2-3) UNRELEASED; urgency=medium
   * Turn the dependency on tor into a Recommends. (Closes: #795240)
   * Move to section contrib/web, thanks lintian!
   * Override lintian's pedantic debian-watch-may-check-gpg-signature warning.
+  * Add debian/patches/0003-fix-apparmor-profile-to-support-self-upgrade.patch
+    to do just that. Thanks to intrigeri for providing these rules.
+    (Closes: #808140)
 
  -- Holger Levsen <holger at debian.org>  Tue, 19 Jan 2016 15:00:25 +0100
 
diff --git a/debian/patches/0003-fix-apparmor-profile-to-support-self-upgrade.patch b/debian/patches/0003-fix-apparmor-profile-to-support-self-upgrade.patch
new file mode 100644
index 0000000..643d5c3
--- /dev/null
+++ b/debian/patches/0003-fix-apparmor-profile-to-support-self-upgrade.patch
@@ -0,0 +1,21 @@
+--- a/apparmor/torbrowser.Browser.firefox	2016-01-25 17:15:17.576627857 +0100
++++ b/apparmor/torbrowser.Browser.firefox	2016-01-25 17:16:39.800624905 +0100
+@@ -36,13 +36,16 @@
+   owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/ r,
+   owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/* r,
+   owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/.** rwk,
++  owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/update.test/ rwk,
+   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/ r,
+-  owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/** r,
++  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/*.so mr,
+   owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/components/*.so mr,
+   owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/browser/components/*.so mr,
+   owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/firefox rix,
++  owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/updates/[0-9]*/updater ix,
++  owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/updates/0/MozUpdater/bgupdate/updater ix,
+   owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/TorBrowser/Data/Browser/profiles.ini r,
+   owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/TorBrowser/Data/Browser/profile.default/ r,
+   owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/TorBrowser/Data/Browser/profile.default/** rwk,
diff --git a/debian/patches/series b/debian/patches/series
index 7775571..85ba638 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 Include-local-overrides-file-in-AppArmor-profiles.-C.patch
 Set-torbrowser.start-tor-browser-and-usr.bin.torbrow.patch
+0003-fix-apparmor-profile-to-support-self-upgrade.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