commit:     b56fc087dc6e87d5c6f18fb72e0b7e57db940584
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 24 16:34:06 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Aug 24 16:34:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b56fc087

www-servers/apache: process tmpfiles in pkg_postinst phase

Closes: https://bugs.gentoo.org/662544
Package-Manager: Portage-2.3.48, Repoman-2.3.10
RepoMan-Options: --force

 www-servers/apache/apache-2.4.34-r2.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/www-servers/apache/apache-2.4.34-r2.ebuild 
b/www-servers/apache/apache-2.4.34-r2.ebuild
index db0368ea9f7..35e313631f5 100644
--- a/www-servers/apache/apache-2.4.34-r2.ebuild
+++ b/www-servers/apache/apache-2.4.34-r2.ebuild
@@ -122,7 +122,7 @@ MODULE_CRITICAL="
        mime
        unixd
 "
-inherit apache-2 systemd toolchain-funcs
+inherit apache-2 systemd tmpfiles toolchain-funcs
 
 DESCRIPTION="The Apache Web Server"
 HOMEPAGE="https://httpd.apache.org/";
@@ -220,6 +220,9 @@ src_install() {
 
 pkg_postinst() {
        apache-2_pkg_postinst || die "apache-2_pkg_postinst failed"
+
+       tmpfiles_process apache.conf #662544
+
        # warnings that default config might not work out of the box
        local mod cmod
        for mod in ${MODULE_CRITICAL} ; do

Reply via email to