bc925b1da4
...using dh_apparmor to ship and apply AppArmor profiles. Tried on current Debian testing (Bookworm, 12). Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
12 lines
382 B
Makefile
Executable file
12 lines
382 B
Makefile
Executable file
#!/usr/bin/make -f
|
|
|
|
override_dh_auto_install:
|
|
dh_auto_install -- prefix=/usr
|
|
mkdir -p debian/passt/etc/apparmor.d/
|
|
cp contrib/apparmor/usr.bin.passt debian/passt/etc/apparmor.d/usr.bin.passt
|
|
dh_apparmor --profile-name=usr.bin.passt -ppasst
|
|
cp contrib/apparmor/usr.bin.pasta debian/passt/etc/apparmor.d/usr.bin.pasta
|
|
dh_apparmor --profile-name=usr.bin.pasta -ppasst
|
|
|
|
%:
|
|
dh $@
|