net-misc/dhcp: Revbump to remove old user eclass remnants
authorTomáš Mózes <hydrapolic@gmail.com>
Tue, 18 Feb 2020 08:21:12 +0000 (09:21 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Tue, 18 Feb 2020 08:23:00 +0000 (09:23 +0100)
Closes: https://bugs.gentoo.org/710014
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
net-misc/dhcp/dhcp-4.4.2-r2.ebuild [moved from net-misc/dhcp/dhcp-4.4.2-r1.ebuild with 99% similarity]

similarity index 99%
rename from net-misc/dhcp/dhcp-4.4.2-r1.ebuild
rename to net-misc/dhcp/dhcp-4.4.2-r2.ebuild
index 26c97d7eafa4dd266e914875481beebebab75a64..87b562df6029cdbea8f35ef6b975501b7c9d4f2f 100644 (file)
@@ -236,12 +236,12 @@ src_install() {
                mv "${f}" "${f%.example}" || die
        done
        sed -i '/^[^#]/s:^:#:' "${ED}"/etc/dhcp/*.conf || die
+
+       diropts -m0750 -o dhcp -g dhcp
+       keepdir /var/lib/dhcp
 }
 
 pkg_preinst() {
-       enewgroup dhcp
-       enewuser dhcp -1 -1 /var/lib/dhcp dhcp
-
        # Keep the user files over the sample ones.  The
        # hashing is to ignore the crappy defaults #384087.
        local f h