commit:     0147ec1da1a0891f5d72d1d89ce55567c31ed3be
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 30 22:59:48 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 30 23:30:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0147ec1d

www-servers/lighttpd: [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>

 www-servers/lighttpd/lighttpd-1.4.58-r1.ebuild | 2 ++
 www-servers/lighttpd/lighttpd-1.4.59-r1.ebuild | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/www-servers/lighttpd/lighttpd-1.4.58-r1.ebuild 
b/www-servers/lighttpd/lighttpd-1.4.58-r1.ebuild
index ced96c23fec..957835c1132 100644
--- a/www-servers/lighttpd/lighttpd-1.4.58-r1.ebuild
+++ b/www-servers/lighttpd/lighttpd-1.4.58-r1.ebuild
@@ -229,6 +229,8 @@ src_install() {
 }
 
 pkg_postinst() {
+       tmpfiles_process ${PN}.conf
+
        use ipv6 && readme.gentoo_print_elog
 
        if [[ -f ${ROOT}/etc/conf.d/spawn-fcgi.conf ]] ; then

diff --git a/www-servers/lighttpd/lighttpd-1.4.59-r1.ebuild 
b/www-servers/lighttpd/lighttpd-1.4.59-r1.ebuild
index 0ad33eb525b..6c00dcca0b4 100644
--- a/www-servers/lighttpd/lighttpd-1.4.59-r1.ebuild
+++ b/www-servers/lighttpd/lighttpd-1.4.59-r1.ebuild
@@ -209,6 +209,8 @@ src_install() {
 }
 
 pkg_postinst() {
+       tmpfiles_process ${PN}.conf
+
        if use ipv6; then readme.gentoo_print_elog; fi
 
        if [[ -f ${ROOT}/etc/lighttpd.conf ]] ; then

Reply via email to