X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=13bdadca02f7254cca2ab1d9684f9dece99cfbf1;hb=098634aaa52bff406d11f1f6b57bc1e10208cee7;hp=baac1267c1a5c82c021db6a3d2992d1221f75ef4;hpb=c09b6a0640a2c7ce00f9ce4c5bdd5bcd5695b841;p=onak.git diff --git a/debian/rules b/debian/rules index baac126..13bdadc 100755 --- a/debian/rules +++ b/debian/rules @@ -1,8 +1,16 @@ #!/usr/bin/make -f -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/autotools.mk - -DEB_CONFIGURE_EXTRA_FLAGS += --enable-backend=dynamic +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +DEB_CONFIGURE_EXTRA_FLAGS += --enable-backend=dynamic --runstatedir=/run CFLAGS += -std=gnu99 + +%: + dh "$@" --with autoreconf,systemd + +override_dh_installinit: + dh_installinit --no-start + +override_dh_systemd_enable: + dh_systemd_enable --no-enable debian/onak.service + dh_systemd_enable --no-enable debian/onak.socket