1 |
commit: e3d352d8fade400644367fdd2b2344f657c404a8 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun May 29 23:02:15 2022 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Sun May 29 23:02:15 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e3d352d8 |
7 |
|
8 |
sys-auth/keystone: use root perms for logrotate |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
.../{keystone-21.0.0-r1.ebuild => keystone-21.0.0-r2.ebuild} | 6 +++--- |
13 |
1 file changed, 3 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/sys-auth/keystone/keystone-21.0.0-r1.ebuild b/sys-auth/keystone/keystone-21.0.0-r2.ebuild |
16 |
similarity index 100% |
17 |
rename from sys-auth/keystone/keystone-21.0.0-r1.ebuild |
18 |
rename to sys-auth/keystone/keystone-21.0.0-r2.ebuild |
19 |
index bf0863462..4630d4695 100644 |
20 |
--- a/sys-auth/keystone/keystone-21.0.0-r1.ebuild |
21 |
+++ b/sys-auth/keystone/keystone-21.0.0-r2.ebuild |
22 |
@@ -100,6 +100,9 @@ python_compile_all() { |
23 |
python_install_all() { |
24 |
distutils-r1_python_install_all |
25 |
|
26 |
+ insinto /etc/logrotate.d |
27 |
+ newins "${FILESDIR}/keystone.logrotate" keystone.conf |
28 |
+ |
29 |
diropts -m 0750 |
30 |
keepdir /etc/keystone /var/log/keystone |
31 |
insinto /etc/keystone |
32 |
@@ -115,9 +118,6 @@ python_install_all() { |
33 |
|
34 |
newtmpfiles "${FILESDIR}/keystone.tmpfile" keystone.conf |
35 |
|
36 |
- insinto /etc/logrotate.d |
37 |
- newins "${FILESDIR}/keystone.logrotate" keystone.conf |
38 |
- |
39 |
systemd_dounit "${FILESDIR}/openstack-keystone.service" |
40 |
|
41 |
insinto /usr/lib/sysctl.d/ |