commit:     1a322ececaba226b88e9b6d80adeb1a96d8bc94d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 30 22:57:51 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 30 23:30:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a322ece

net-misc/stunnel: [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-misc/stunnel/stunnel-5.58.ebuild | 2 ++
 net-misc/stunnel/stunnel-5.59.ebuild | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/net-misc/stunnel/stunnel-5.58.ebuild 
b/net-misc/stunnel/stunnel-5.58.ebuild
index 611d402d15c..256081a6b48 100644
--- a/net-misc/stunnel/stunnel-5.58.ebuild
+++ b/net-misc/stunnel/stunnel-5.58.ebuild
@@ -92,6 +92,8 @@ pkg_postinst() {
                chmod 0640 "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
        fi
 
+       tmpfiles_process stunnel.conf
+
        einfo "If you want to run multiple instances of stunnel, create a new 
config"
        einfo "file ending with .conf in /etc/stunnel/. **Make sure** you 
change "
        einfo "\'pid= \' with a unique filename.  For openrc make a symlink 
from the"

diff --git a/net-misc/stunnel/stunnel-5.59.ebuild 
b/net-misc/stunnel/stunnel-5.59.ebuild
index 40631323d41..7f0616ce360 100644
--- a/net-misc/stunnel/stunnel-5.59.ebuild
+++ b/net-misc/stunnel/stunnel-5.59.ebuild
@@ -93,6 +93,8 @@ pkg_postinst() {
                chmod 0640 "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
        fi
 
+       tmpfiles_process stunnel.conf
+
        einfo "If you want to run multiple instances of stunnel, create a new 
config"
        einfo "file ending with .conf in /etc/stunnel/. **Make sure** you 
change "
        einfo "\'pid= \' with a unique filename.  For openrc make a symlink 
from the"

Reply via email to