summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomáš Mózes <hydrapolic@gmail.com>2020-02-18 09:21:12 +0100
committerLars Wendler <polynomial-c@gentoo.org>2020-02-18 09:23:00 +0100
commit557fd8ba795a841069d6c3709fec7f6b57b51568 (patch)
tree56154cf18937512ac618f3f47f9a8411d2b5b823 /net-misc/dhcp
parentdev-libs/vala-common: remove old (diff)
downloadgentoo-557fd8ba795a841069d6c3709fec7f6b57b51568.tar.gz
gentoo-557fd8ba795a841069d6c3709fec7f6b57b51568.tar.bz2
gentoo-557fd8ba795a841069d6c3709fec7f6b57b51568.zip
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@gentoo.org>
Diffstat (limited to 'net-misc/dhcp')
-rw-r--r--net-misc/dhcp/dhcp-4.4.2-r2.ebuild (renamed from net-misc/dhcp/dhcp-4.4.2-r1.ebuild)6
1 files 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
index 26c97d7eafa4..87b562df6029 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