Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/openldap/
Date: Fri, 30 Jul 2021 23:31:17
Message-Id: 1627687812.70d19ec56b8a00963fdb09b76d51ce608563095f.sam@gentoo
1 commit: 70d19ec56b8a00963fdb09b76d51ce608563095f
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 30 22:58:10 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 30 23:30:12 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70d19ec5
7
8 net-nds/openldap: [QA] call tmpfiles_process in pkg_postinst
9
10 This is needed to actually apply the tmpfiles configuration
11 we've installed in the ebuild. See tmpfiles.eclass documentation.
12
13 Package-Manager: Portage-3.0.20, Repoman-3.0.3
14 Signed-off-by: Sam James <sam <AT> gentoo.org>
15
16 net-nds/openldap/openldap-2.4.57-r1.ebuild | 2 ++
17 net-nds/openldap/openldap-2.4.58-r1.ebuild | 2 ++
18 net-nds/openldap/openldap-2.4.59-r1.ebuild | 2 ++
19 net-nds/openldap/openldap-2.5.4.ebuild | 2 ++
20 4 files changed, 8 insertions(+)
21
22 diff --git a/net-nds/openldap/openldap-2.4.57-r1.ebuild b/net-nds/openldap/openldap-2.4.57-r1.ebuild
23 index 7486eb82e4b..47420777739 100644
24 --- a/net-nds/openldap/openldap-2.4.57-r1.ebuild
25 +++ b/net-nds/openldap/openldap-2.4.57-r1.ebuild
26 @@ -864,6 +864,8 @@ pkg_preinst() {
27
28 pkg_postinst() {
29 if ! use minimal ; then
30 + tmpfiles_process slapd.conf
31 +
32 # You cannot build SSL certificates during src_install that will make
33 # binary packages containing your SSL key, which is both a security risk
34 # and a misconfiguration if multiple machines use the same key and cert.
35
36 diff --git a/net-nds/openldap/openldap-2.4.58-r1.ebuild b/net-nds/openldap/openldap-2.4.58-r1.ebuild
37 index 633bd5c86de..679dc8b2ae5 100644
38 --- a/net-nds/openldap/openldap-2.4.58-r1.ebuild
39 +++ b/net-nds/openldap/openldap-2.4.58-r1.ebuild
40 @@ -864,6 +864,8 @@ pkg_preinst() {
41
42 pkg_postinst() {
43 if ! use minimal ; then
44 + tmpfiles_process slapd.conf
45 +
46 # You cannot build SSL certificates during src_install that will make
47 # binary packages containing your SSL key, which is both a security risk
48 # and a misconfiguration if multiple machines use the same key and cert.
49
50 diff --git a/net-nds/openldap/openldap-2.4.59-r1.ebuild b/net-nds/openldap/openldap-2.4.59-r1.ebuild
51 index 633bd5c86de..679dc8b2ae5 100644
52 --- a/net-nds/openldap/openldap-2.4.59-r1.ebuild
53 +++ b/net-nds/openldap/openldap-2.4.59-r1.ebuild
54 @@ -864,6 +864,8 @@ pkg_preinst() {
55
56 pkg_postinst() {
57 if ! use minimal ; then
58 + tmpfiles_process slapd.conf
59 +
60 # You cannot build SSL certificates during src_install that will make
61 # binary packages containing your SSL key, which is both a security risk
62 # and a misconfiguration if multiple machines use the same key and cert.
63
64 diff --git a/net-nds/openldap/openldap-2.5.4.ebuild b/net-nds/openldap/openldap-2.5.4.ebuild
65 index c0fabfd506f..8c6dab1cf30 100644
66 --- a/net-nds/openldap/openldap-2.5.4.ebuild
67 +++ b/net-nds/openldap/openldap-2.5.4.ebuild
68 @@ -796,6 +796,8 @@ pkg_preinst() {
69
70 pkg_postinst() {
71 if ! use minimal ; then
72 + tmpfiles_process slapd.conf
73 +
74 # You cannot build SSL certificates during src_install that will make
75 # binary packages containing your SSL key, which is both a security risk
76 # and a misconfiguration if multiple machines use the same key and cert.