commit: 70d19ec56b8a00963fdb09b76d51ce608563095f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 30 22:58:10 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 30 23:30:12 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70d19ec5
net-nds/openldap: [QA] call tmpfiles_process in pkg_postinst
This is needed to actually apply the tmpfiles configuration
we've installed in the ebuild. See tmpfiles.eclass documentation.
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-nds/openldap/openldap-2.4.57-r1.ebuild | 2 ++
net-nds/openldap/openldap-2.4.58-r1.ebuild | 2 ++
net-nds/openldap/openldap-2.4.59-r1.ebuild | 2 ++
net-nds/openldap/openldap-2.5.4.ebuild | 2 ++
4 files changed, 8 insertions(+)
diff --git a/net-nds/openldap/openldap-2.4.57-r1.ebuild
b/net-nds/openldap/openldap-2.4.57-r1.ebuild
index 7486eb82e4b..47420777739 100644
--- a/net-nds/openldap/openldap-2.4.57-r1.ebuild
+++ b/net-nds/openldap/openldap-2.4.57-r1.ebuild
@@ -864,6 +864,8 @@ pkg_preinst() {
pkg_postinst() {
if ! use minimal ; then
+ tmpfiles_process slapd.conf
+
# You cannot build SSL certificates during src_install that
will make
# binary packages containing your SSL key, which is both a
security risk
# and a misconfiguration if multiple machines use the same key
and cert.
diff --git a/net-nds/openldap/openldap-2.4.58-r1.ebuild
b/net-nds/openldap/openldap-2.4.58-r1.ebuild
index 633bd5c86de..679dc8b2ae5 100644
--- a/net-nds/openldap/openldap-2.4.58-r1.ebuild
+++ b/net-nds/openldap/openldap-2.4.58-r1.ebuild
@@ -864,6 +864,8 @@ pkg_preinst() {
pkg_postinst() {
if ! use minimal ; then
+ tmpfiles_process slapd.conf
+
# You cannot build SSL certificates during src_install that
will make
# binary packages containing your SSL key, which is both a
security risk
# and a misconfiguration if multiple machines use the same key
and cert.
diff --git a/net-nds/openldap/openldap-2.4.59-r1.ebuild
b/net-nds/openldap/openldap-2.4.59-r1.ebuild
index 633bd5c86de..679dc8b2ae5 100644
--- a/net-nds/openldap/openldap-2.4.59-r1.ebuild
+++ b/net-nds/openldap/openldap-2.4.59-r1.ebuild
@@ -864,6 +864,8 @@ pkg_preinst() {
pkg_postinst() {
if ! use minimal ; then
+ tmpfiles_process slapd.conf
+
# You cannot build SSL certificates during src_install that
will make
# binary packages containing your SSL key, which is both a
security risk
# and a misconfiguration if multiple machines use the same key
and cert.
diff --git a/net-nds/openldap/openldap-2.5.4.ebuild
b/net-nds/openldap/openldap-2.5.4.ebuild
index c0fabfd506f..8c6dab1cf30 100644
--- a/net-nds/openldap/openldap-2.5.4.ebuild
+++ b/net-nds/openldap/openldap-2.5.4.ebuild
@@ -796,6 +796,8 @@ pkg_preinst() {
pkg_postinst() {
if ! use minimal ; then
+ tmpfiles_process slapd.conf
+
# You cannot build SSL certificates during src_install that
will make
# binary packages containing your SSL key, which is both a
security risk
# and a misconfiguration if multiple machines use the same key
and cert.