1 |
commit: a199435dbeebcd76826abdf3a6832af96c1fec33 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 30 17:28:37 2020 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 30 17:29:24 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a199435d |
7 |
|
8 |
net-dns/bind: fix tmpfiles phase handeling |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.2 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
|
13 |
net-dns/bind/bind-9.16.8.ebuild | 4 ++-- |
14 |
1 file changed, 2 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/net-dns/bind/bind-9.16.8.ebuild b/net-dns/bind/bind-9.16.8.ebuild |
17 |
index 3ee669a35b7..2c16964d689 100644 |
18 |
--- a/net-dns/bind/bind-9.16.8.ebuild |
19 |
+++ b/net-dns/bind/bind-9.16.8.ebuild |
20 |
@@ -267,8 +267,6 @@ src_install() { |
21 |
dotmpfiles "${FILESDIR}"/named.conf |
22 |
exeinto /usr/libexec |
23 |
doexe "${FILESDIR}/generate-rndc-key.sh" |
24 |
- |
25 |
- tmpfiles_process |
26 |
} |
27 |
|
28 |
python_install() { |
29 |
@@ -281,6 +279,8 @@ python_install() { |
30 |
} |
31 |
|
32 |
pkg_postinst() { |
33 |
+ tmpfiles_process "${FILESDIR}"/named.conf |
34 |
+ |
35 |
if [ ! -f '/etc/bind/rndc.key' ]; then |
36 |
if use urandom; then |
37 |
einfo "Using /dev/urandom for generating rndc.key" |