[Pkg-privacy-commits] [onioncircuits] 02/02: Add AppArmor profile for onioncircuits and install it.

Ulrike Uhlig ulrike at moszumanska.debian.org
Sun Mar 19 20:44:43 UTC 2017


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

ulrike pushed a commit to branch master
in repository onioncircuits.

commit 259d79339d7761cd60c6cd97b50ffc2a9ed9d079
Author: Ulrike Uhlig <u at 451f.org>
Date:   Sun Mar 19 21:43:07 2017 +0100

    Add AppArmor profile for onioncircuits and install it.
    
    https://labs.riseup.net/code/issues/12170
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index e9d6b17..3f02188 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,10 @@ UPSTREAM_VERSION=$(shell dpkg-parsechangelog -SVersion | cut -d- -f1)
 %:
 	dh $@ --with python3 --buildsystem=pybuild
 
+override_dh_install:
+	install -m 644 debian/apparmor/usr.bin.onioncircuits debian/onioncircuits/etc/apparmor.d/usr.bin.onioncircuits
+	dh_apparmor --profile-name=usr.bin.onioncircuits -ponioncircuits
+
 override_dh_installman:
 	help2man -S 'Tails project' \
 	  -n 'display Tor circuits and streams' \

-- 
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