[Pkg-privacy-commits] [Git][pkg-privacy-team/onionshare][debian] 2 commits: Install Apparmor profiles for onionshare.

Ulrike Uhlig ulrike at debian.org
Mon May 28 10:25:18 BST 2018


Ulrike Uhlig pushed to branch debian at Privacy Maintainers / onionshare


Commits:
db022651 by Ulrike Uhlig at 2018-04-24T21:05:45+02:00
Install Apparmor profiles for onionshare.

- - - - -
17926538 by Ulrike Uhlig at 2018-05-25T23:59:16+02:00
Update Standards version. No change needed.

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Section: net
 Priority: optional
 Build-Depends: dh-python, python3-all, python3-setuptools, python3-distutils-extra, python3-flask, python3-nose, python3-stem (>= 1.4.0), python3-pyqt5, python3-pytest, python-nautilus, debhelper (>= 9.20120909~)
 X-Python3-Version: >= 3.2
-Standards-Version: 3.9.8
+Standards-Version: 4.1.4
 Homepage: https://onionshare.org
 Vcs-Git: https://salsa.debian.org/pkg-privacy-team/onionshare.git
 Vcs-Browser: https://salsa.debian.org/pkg-privacy-team/onionshare


=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,12 @@
 %:
 	dh $@ --with python3 --buildsystem=pybuild
 
+override_dh_install:
+	for PROFILE in usr.bin.onionshare usr.bin.onionshare-gui ; do \
+		cp apparmor/$$PROFILE debian/onionshare/etc/apparmor.d/ ; \
+		dh_apparmor --profile-name=$$PROFILE -ponionshare ; \
+	done
+
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -rf *.egg-info



View it on GitLab: https://salsa.debian.org/pkg-privacy-team/onionshare/compare/526ac4e9b31c5ca5cb682adef477d8a25aa0afb9...1792653822ca96b584b428a25a2afedad2e7d0be

-- 
View it on GitLab: https://salsa.debian.org/pkg-privacy-team/onionshare/compare/526ac4e9b31c5ca5cb682adef477d8a25aa0afb9...1792653822ca96b584b428a25a2afedad2e7d0be
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-privacy-commits/attachments/20180528/90af0e57/attachment-0001.html>


More information about the Pkg-privacy-commits mailing list