[Pkg-privacy-commits] [onioncircuits] 17/21: use AppArmor profile from upstream
Sascha Steinbiss
satta at debian.org
Wed Oct 4 15:53:57 UTC 2017
This is an automated email from the git hooks/post-receive script.
satta pushed a commit to branch master
in repository onioncircuits.
commit ed4aa2edaa046e31f6240fe47d535a26e1f763ed
Author: Sascha Steinbiss <satta at debian.org>
Date: Wed Oct 4 17:31:33 2017 +0200
use AppArmor profile from upstream
---
debian/apparmor/usr.bin.onioncircuits | 27 ---------------------------
debian/changelog | 1 +
debian/rules | 2 +-
3 files changed, 2 insertions(+), 28 deletions(-)
diff --git a/debian/apparmor/usr.bin.onioncircuits b/debian/apparmor/usr.bin.onioncircuits
deleted file mode 100644
index 61c0cb6..0000000
--- a/debian/apparmor/usr.bin.onioncircuits
+++ /dev/null
@@ -1,27 +0,0 @@
-#include <tunables/global>
-
-/usr/bin/onioncircuits {
- #include <abstractions/base>
- #include <abstractions/gnome>
- #include <abstractions/ibus>
- #include <abstractions/nameservice>
- #include <abstractions/python>
-
- # Why are these not in abstractions/python?
- /usr/lib{,32,64}/python{2,3}.[0-9]/__pycache__/ rw,
- /usr/lib{,32,64}/python{2,3}.[0-9]/__pycache__/* rw,
- /usr/lib{,32,64}/python{2,3}.[0-9]/**/__pycache__/ rw,
- /usr/lib{,32,64}/python{2,3}.[0-9]/**/__pycache__/* rw,
- /usr/lib{,32,64}/python{2,3}/**/__pycache__/ rw,
- /usr/lib{,32,64}/python{2,3}/**/__pycache__/* rw,
-
- /usr/bin/ r,
- /usr/bin/onioncircuits r,
- /usr/share/xml/iso-codes/** r,
-
- deny /etc/machine-id r,
-
- # Accessibility support
- owner /{,var/}run/user/*/at-spi2-*/ rw,
- owner /{,var/}run/user/*/at-spi2-*/** rw,
-}
diff --git a/debian/changelog b/debian/changelog
index 090bd7d..e8a6366 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
onioncircuits (0.5-1) unstable; urgency=medium
* New upstream release.
+ * Use AppArmor profile file from upstream.
-- Sascha Steinbiss <satta at debian.org> Wed, 04 Oct 2017 17:24:13 +0200
diff --git a/debian/rules b/debian/rules
index 7859e7c..43e6afd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ UPSTREAM_VERSION=$(shell dpkg-parsechangelog -SVersion | cut -d- -f1)
dh $@ --with python3 --buildsystem=pybuild
override_dh_install:
- install -m 644 -D debian/apparmor/usr.bin.onioncircuits debian/onioncircuits/etc/apparmor.d/usr.bin.onioncircuits
+ install -m 644 -D apparmor/usr.bin.onioncircuits debian/onioncircuits/etc/apparmor.d/usr.bin.onioncircuits
dh_apparmor --profile-name=usr.bin.onioncircuits -ponioncircuits
override_dh_installman:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onioncircuits.git
More information about the Pkg-privacy-commits
mailing list