[pkg-apparmor] [apparmor-profiles-extra] 02/02: Put the irssi profile in complain mode (Closes: #866792).

Intrigeri intrigeri at moszumanska.debian.org
Mon Jul 3 09:37:48 UTC 2017


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

intrigeri pushed a commit to branch master
in repository apparmor-profiles-extra.

commit c88213baa4d7c2310d6829b93e9c2c68f308359d
Author: intrigeri <intrigeri at boum.org>
Date:   Mon Jul 3 09:37:29 2017 +0000

    Put the irssi profile in complain mode (Closes: #866792).
---
 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index 897af90..ba71ddc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,7 @@
 PROFILES_DIR = $(CURDIR)/profiles
 PROFILES = $(shell find $(PROFILES_DIR) -type f -maxdepth 1 | LC_ALL=C sort)
 PROFILE_NAMES = $(notdir $(PROFILES))
+COMPLAIN_PROFILE_NAMES = usr.bin.irssi
 
 %:
 	dh $@
@@ -16,6 +17,10 @@ override_dh_install:
 	set -ex && for profile in $(PROFILE_NAMES); do \
 	   dh_apparmor --profile-name=$$profile -papparmor-profiles-extra; \
 	done
+	for profile in $(COMPLAIN_PROFILE_NAMES); do \
+	   sh $(CURDIR)/debian/scripts/put-profile-in-complain-mode \
+	      $(CURDIR)/debian/apparmor-profiles-extra/etc/apparmor.d/$$profile; \
+	done
 
 override_dh_auto_test:
 	mkdir -p tests/local

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/apparmor-profiles-extra.git



More information about the pkg-apparmor-team mailing list