mirror of
https://passt.top/passt
synced 2024-12-24 22:55:21 +00:00
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>
13 lines
382 B
Makefile
Executable File
13 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 $@
|