1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --with=autoreconf --with=systemd
override_dh_auto_configure:
case $$(dpkg --print-architecture) in \
mips*) \
dh_auto_configure -- --enable-nistest=no; \
;; \
*) \
dh_auto_configure -- --enable-nistest=yes; \
;; \
esac
override_dh_strip:
dh_strip --dbg-package=libhavege1-dbg
override_dh_install:
dh_install
mkdir -p debian/haveged/etc/apparmor.d
cp debian/apparmor-profile debian/haveged/etc/apparmor.d/usr.sbin.haveged
dh_apparmor --profile-name=usr.sbin.haveged -phaveged
|