1 |
commit: 6ca0087a5c5960f16b9d6f8fe460e7fcd8a7abc3 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun May 29 23:03:43 2022 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 29 23:03:43 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6ca0087a |
7 |
|
8 |
sys-cluster/placement: use root perms for logrotate |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
.../placement/{placement-7.0.0.ebuild => placement-7.0.0-r1.ebuild} | 6 +++--- |
13 |
1 file changed, 3 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/sys-cluster/placement/placement-7.0.0.ebuild b/sys-cluster/placement/placement-7.0.0-r1.ebuild |
16 |
similarity index 100% |
17 |
rename from sys-cluster/placement/placement-7.0.0.ebuild |
18 |
rename to sys-cluster/placement/placement-7.0.0-r1.ebuild |
19 |
index de17ce395..a1eb2e41c 100644 |
20 |
--- a/sys-cluster/placement/placement-7.0.0.ebuild |
21 |
+++ b/sys-cluster/placement/placement-7.0.0-r1.ebuild |
22 |
@@ -72,6 +72,9 @@ python_compile_all() { |
23 |
python_install_all() { |
24 |
distutils-r1_python_install_all |
25 |
|
26 |
+ insinto /etc/logrotate.d |
27 |
+ newins "${FILESDIR}/placement.logrotate" placement |
28 |
+ |
29 |
diropts -m 0750 -o placement -g placement |
30 |
insinto /etc/placement |
31 |
insopts -m 0640 -o placement -g placement |
32 |
@@ -83,9 +86,6 @@ python_install_all() { |
33 |
dobin tools/postgresql-migrate-db.sh |
34 |
|
35 |
newtmpfiles "${FILESDIR}/placement.tmpfile" placement.conf |
36 |
- |
37 |
- insinto /etc/logrotate.d |
38 |
- newins "${FILESDIR}/placement.logrotate" placement |
39 |
} |
40 |
|
41 |
pkg_postinst() { |