| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 6 |
|
| 7 |
|
| 8 |
export DEB_CFLAGS_MAINT_APPEND = -DFINIT_NOLOGIN_PATH="\"/run/nologin\"" |
| 9 |
export DEB_LDFLAGS_MAINT_APPEND = |
| 10 |
|
| 11 |
|
| 12 |
%: |
| 13 |
dh $@ --with autoreconf |
| 14 |
|
| 15 |
build-indep: |
| 16 |
|
| 17 |
|
| 18 |
override_dh_auto_configure-arch: |
| 19 |
dh_auto_configure -a -- \ |
| 20 |
--prefix=/usr \ |
| 21 |
--enable-all-plugins \ |
| 22 |
--with-random-seed \ |
| 23 |
--with-keventd \ |
| 24 |
--with-sulogin \ |
| 25 |
--with-watchdog |
| 26 |
|
| 27 |
override_dh_auto_test-arch: |
| 28 |
|
| 29 |
dh_auto_test |
| 30 |
|
| 31 |
execute_after_dh_install-arch: |
| 32 |
rm debian/finit/etc/finit.d/Makefile* debian/finit/etc/finit.d/available/Makefile* |
| 33 |
chmod -x debian/finit/usr/lib/finit/rescue.conf |
| 34 |
|
| 35 |
execute_after_dh_installexamples-arch: |
| 36 |
chmod -x debian/finit/usr/share/doc/finit/examples/sample.conf |