1 |
commit: 557fd8ba795a841069d6c3709fec7f6b57b51568 |
2 |
Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Feb 18 08:21:12 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 18 08:23:00 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=557fd8ba |
7 |
|
8 |
net-misc/dhcp: Revbump to remove old user eclass remnants |
9 |
|
10 |
Closes: https://bugs.gentoo.org/710014 |
11 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
12 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
13 |
|
14 |
net-misc/dhcp/{dhcp-4.4.2-r1.ebuild => dhcp-4.4.2-r2.ebuild} | 6 +++--- |
15 |
1 file changed, 3 insertions(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/net-misc/dhcp/dhcp-4.4.2-r1.ebuild b/net-misc/dhcp/dhcp-4.4.2-r2.ebuild |
18 |
similarity index 99% |
19 |
rename from net-misc/dhcp/dhcp-4.4.2-r1.ebuild |
20 |
rename to net-misc/dhcp/dhcp-4.4.2-r2.ebuild |
21 |
index 26c97d7eafa..87b562df602 100644 |
22 |
--- a/net-misc/dhcp/dhcp-4.4.2-r1.ebuild |
23 |
+++ b/net-misc/dhcp/dhcp-4.4.2-r2.ebuild |
24 |
@@ -236,12 +236,12 @@ src_install() { |
25 |
mv "${f}" "${f%.example}" || die |
26 |
done |
27 |
sed -i '/^[^#]/s:^:#:' "${ED}"/etc/dhcp/*.conf || die |
28 |
+ |
29 |
+ diropts -m0750 -o dhcp -g dhcp |
30 |
+ keepdir /var/lib/dhcp |
31 |
} |
32 |
|
33 |
pkg_preinst() { |
34 |
- enewgroup dhcp |
35 |
- enewuser dhcp -1 -1 /var/lib/dhcp dhcp |
36 |
- |
37 |
# Keep the user files over the sample ones. The |
38 |
# hashing is to ignore the crappy defaults #384087. |
39 |
local f h |