[Pkg-privacy-commits] [obfsproxy] 01/03: Don't install the AppArmor profile and remove it from disk unless the user has modified it (Closes: #882103)

Intrigeri intrigeri at moszumanska.debian.org
Thu Nov 23 18:57:19 UTC 2017


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

intrigeri pushed a commit to annotated tag debian/0.2.13-3
in repository obfsproxy.

commit 12d6a5584171f5cbdabcbaa910f08b95fc331b16
Author: intrigeri <intrigeri at debian.org>
Date:   Thu Nov 23 18:44:51 2017 +0000

    Don't install the AppArmor profile and remove it from disk unless the user has modified it (Closes: #882103)
    
    It does not seem to be maintained and tested on Debian testing/sid,
    and Lunar hasn't time to take care of it currently.
    
    It's not obvious to me why obfsproxy (as opposed to obfs4proxy) is still useful
    these days, so it's not high on my list of priorities wrt. maintaining AppArmor
    policy for Debian.
---
 debian/control               | 1 -
 debian/obfsproxy.dirs        | 1 -
 debian/obfsproxy.maintscript | 1 +
 debian/rules                 | 3 ---
 4 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index d39ea01..c9d9b5a 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,6 @@ Section: net
 Priority: extra
 Build-Depends: asciidoc,
                debhelper (>= 9),
-               dh-apparmor,
                dh-python,
                docbook-xsl,
                python-all (>= 2.6.6-3~),
diff --git a/debian/obfsproxy.dirs b/debian/obfsproxy.dirs
deleted file mode 100644
index 79a7ef3..0000000
--- a/debian/obfsproxy.dirs
+++ /dev/null
@@ -1 +0,0 @@
-etc/apparmor.d
diff --git a/debian/obfsproxy.maintscript b/debian/obfsproxy.maintscript
new file mode 100644
index 0000000..002cc11
--- /dev/null
+++ b/debian/obfsproxy.maintscript
@@ -0,0 +1 @@
+rm_conffile /etc/apparmor.d/usr.bin.obfsproxy 0.2.13-3~ obfsproxy
diff --git a/debian/rules b/debian/rules
index fbbfd62..e5c47b2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,9 +5,6 @@
 
 override_dh_install:
 	dh_install -O--buildsystem=pybuild
-	cp debian/apparmor-profile debian/obfsproxy/etc/apparmor.d/usr.bin.obfsproxy
-	dh_apparmor --profile-name=usr.bin.obfsproxy -pobfsproxy
-
 override_dh_installman:
 	a2x --no-xmllint --doctype manpage --format manpage debian/obfsproxy.1.txt
 	dh_installman -O--buildsystem=pybuild

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



More information about the Pkg-privacy-commits mailing list