add usr/bin/hardening-enable

This commit is contained in:
Patrick Schleizer 2019-12-08 02:27:09 -05:00
parent 19cc6d7555
commit 1dbca1ea2d
No known key found for this signature in database
GPG key ID: CB8D50BB77BB3C48
4 changed files with 48 additions and 2 deletions

3
debian/control vendored
View file

@ -5,7 +5,8 @@ Source: security-misc
Section: misc
Priority: optional
Maintainer: Patrick Schleizer <adrelanos@riseup.net>
Build-Depends: debhelper (>= 12), genmkfile, config-package-dev, dh-apparmor
Build-Depends: debhelper (>= 12), genmkfile, config-package-dev, dh-apparmor,
ronn
Homepage: https://github.com/Whonix/security-misc
Vcs-Browser: https://github.com/Whonix/security-misc
Vcs-Git: https://github.com/Whonix/security-misc.git

6
debian/rules vendored
View file

@ -8,9 +8,13 @@
%:
dh $@ --with=config-package
override_dh_installman:
make manpages
dh_installman $(CURDIR)/debian/tmp-man/*
override_dh_installchangelogs:
dh_installchangelogs changelog.upstream upstream
override_dh_install:
dh_apparmor --profile-name='usr.lib.security-misc.pam_tally2-info'
dh_apparmor --profile-name='usr.lib.security-misc.permission-lockdown'