#!/usr/bin/make -f include /usr/share/dpkg/pkg-info.mk export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ override_dh_auto_configure: dh_auto_configure -- \ --privsepuser=dhcpcd \ --dbdir=/var/lib/dhcpcd \ --libexecdir=/usr/lib/dhcpcd \ --rundir=/run/dhcpcd # Wheezy had (1:3.2.3-11+deb7u1) so reintroduce the epoch for one target. override_dh_gencontrol: dh_gencontrol --package=dhcpcd -- -v1:$(DEB_VERSION_UPSTREAM_REVISION) dh_gencontrol --remaining-packages # Avoid starting the unconfigured service as it may break connectivity. override_dh_installinit: dh_installinit --name=dhcpcd --no-start --no-stop-on-upgrade --no-restart-after-upgrade override_dh_installsystemd: dh_installsystemd --name=dhcpcd --no-start --no-stop-on-upgrade --no-restart-after-upgrade dh_installsystemd --name=dhcpcd@ --no-start --no-stop-on-upgrade --no-restart-after-upgrade