commit:     557fd8ba795a841069d6c3709fec7f6b57b51568
Author:     Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Tue Feb 18 08:21:12 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Feb 18 08:23:00 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=557fd8ba

net-misc/dhcp: Revbump to remove old user eclass remnants

Closes: https://bugs.gentoo.org/710014
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 net-misc/dhcp/{dhcp-4.4.2-r1.ebuild => dhcp-4.4.2-r2.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-misc/dhcp/dhcp-4.4.2-r1.ebuild 
b/net-misc/dhcp/dhcp-4.4.2-r2.ebuild
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 26c97d7eafa..87b562df602 100644
--- a/net-misc/dhcp/dhcp-4.4.2-r1.ebuild
+++ b/net-misc/dhcp/dhcp-4.4.2-r2.ebuild
@@ -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

Reply via email to