From 9e71a10822db1d8ce399ac85c1d6c13863987be0 Mon Sep 17 00:00:00 2001 From: Christian Ehrhardt Date: Mon, 19 Dec 2016 16:21:01 +0100 Subject: * add and install apparmor profiles - d/rules install AppArmor profiles - d/control add dh-apparmor build-dep - d/usr.lib.ipsec.{charon, lookip, stroke} add latest AppArmor profiles for charon, lookip and stroke Signed-off-by: Christian Ehrhardt --- debian/rules | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 3eeadf7fb..00aed577c 100755 --- a/debian/rules +++ b/debian/rules @@ -176,6 +176,11 @@ endif -Xlibstrongswan-af-alg.so -X af-alg.conf \ -Xstrongswan.service + # AppArmor. + dh_apparmor --profile-name=usr.lib.ipsec.charon -p strongswan-charon + dh_apparmor --profile-name=usr.lib.ipsec.lookip -p libcharon-extra-plugins + dh_apparmor --profile-name=usr.lib.ipsec.stroke -p strongswan-starter + # add additional files not covered by upstream makefile... install --mode=0600 $(CURDIR)/debian/ipsec.secrets.proto $(CURDIR)/debian/strongswan-starter/etc/ipsec.secrets # also "patch" ipsec.conf to include the debconf-managed file -- cgit v1.2.3