commit: 6ca0087a5c5960f16b9d6f8fe460e7fcd8a7abc3
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May 29 23:03:43 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun May 29 23:03:43 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6ca0087a
sys-cluster/placement: use root perms for logrotate
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
.../placement/{placement-7.0.0.ebuild => placement-7.0.0-r1.ebuild} | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys-cluster/placement/placement-7.0.0.ebuild
b/sys-cluster/placement/placement-7.0.0-r1.ebuild
similarity index 100%
rename from sys-cluster/placement/placement-7.0.0.ebuild
rename to sys-cluster/placement/placement-7.0.0-r1.ebuild
index de17ce395..a1eb2e41c 100644
--- a/sys-cluster/placement/placement-7.0.0.ebuild
+++ b/sys-cluster/placement/placement-7.0.0-r1.ebuild
@@ -72,6 +72,9 @@ python_compile_all() {
python_install_all() {
distutils-r1_python_install_all
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/placement.logrotate" placement
+
diropts -m 0750 -o placement -g placement
insinto /etc/placement
insopts -m 0640 -o placement -g placement
@@ -83,9 +86,6 @@ python_install_all() {
dobin tools/postgresql-migrate-db.sh
newtmpfiles "${FILESDIR}/placement.tmpfile" placement.conf
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/placement.logrotate" placement
}
pkg_postinst() {