net-misc/dhcp: migrate to tmpfiles.eclass

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans@posteo.de>
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
Theo Anderson
2021-03-07 12:57:19 +01:00
committed by David Seifert
parent cd0713596b
commit 084f2ccc0a

View File

@@ -3,7 +3,7 @@
EAPI=7
inherit systemd toolchain-funcs flag-o-matic
inherit systemd toolchain-funcs flag-o-matic tmpfiles
MY_PV="${PV//_alpha/a}"
MY_PV="${MY_PV//_beta/b}"
@@ -231,7 +231,7 @@ src_install() {
newinitd "${FILESDIR}"/dhcrelay.init3 dhcrelay6
newconfd "${FILESDIR}"/dhcrelay6.conf dhcrelay6
systemd_newtmpfilesd "${FILESDIR}"/dhcpd.tmpfiles dhcpd.conf
newtmpfiles "${FILESDIR}"/dhcpd.tmpfiles dhcpd.conf
systemd_dounit "${FILESDIR}"/dhcpd4.service
systemd_dounit "${FILESDIR}"/dhcpd6.service
systemd_dounit "${FILESDIR}"/dhcrelay4.service