Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/heat/
Date: Sun, 29 May 2022 23:06:51
Message-Id: 1653865086.2cdd140a843387d6fd3b744d780613660357f52d.Alessandro-Barbieri@gentoo
1 commit: 2cdd140a843387d6fd3b744d780613660357f52d
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sun May 29 22:56:06 2022 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Sun May 29 22:58:06 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2cdd140a
7
8 sys-cluster/heat: use root perms for logrotate
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 sys-cluster/heat/{heat-18.0.0.ebuild => heat-18.0.0-r1.ebuild} | 6 +++---
13 1 file changed, 3 insertions(+), 3 deletions(-)
14
15 diff --git a/sys-cluster/heat/heat-18.0.0.ebuild b/sys-cluster/heat/heat-18.0.0-r1.ebuild
16 similarity index 100%
17 rename from sys-cluster/heat/heat-18.0.0.ebuild
18 rename to sys-cluster/heat/heat-18.0.0-r1.ebuild
19 index 45120c6ff..79911f0e0 100644
20 --- a/sys-cluster/heat/heat-18.0.0.ebuild
21 +++ b/sys-cluster/heat/heat-18.0.0-r1.ebuild
22 @@ -134,6 +134,9 @@ python_install_all() {
23 newinitd "${FILESDIR}/heat.initd" "heat-${svc}"
24 done
25
26 + insinto /etc/logrotate.d
27 + doins "${FILESDIR}/heat.logrotate"
28 +
29 insinto /etc/heat
30 insopts -m 0640 -o heat -g heat
31 doins etc/heat/heat.conf.sample
32 @@ -151,8 +154,5 @@ python_install_all() {
33 systemd_dounit "${FILESDIR}/heat-engine.service"
34 systemd_dounit "${FILESDIR}/heat-api.service"
35
36 - insinto /etc/logrotate.d
37 - doins "${FILESDIR}/heat.logrotate"
38 -
39 rm -r "${ED}/usr/etc"
40 }