commit:     1dcb21d1b3d4b2d2eefb2d04a6cf0d56d5b1eafe
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 30 22:56:38 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 30 23:30:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dcb21d1

net-firewall/fwknop: [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-firewall/fwknop/fwknop-2.6.10-r2.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net-firewall/fwknop/fwknop-2.6.10-r2.ebuild 
b/net-firewall/fwknop/fwknop-2.6.10-r2.ebuild
index 5c86fee98c2..f8c21045b3a 100644
--- a/net-firewall/fwknop/fwknop-2.6.10-r2.ebuild
+++ b/net-firewall/fwknop/fwknop-2.6.10-r2.ebuild
@@ -108,6 +108,8 @@ pkg_postinst() {
        if use server; then
                readme.gentoo_print_elog
 
+               tmpfiles_process fwknopd.conf
+
                if ! linux_config_exists || ! linux_chkconfig_present 
NETFILTER_XT_MATCH_COMMENT; then
                        echo
                        ewarn "fwknopd daemon relies on the 'comment' match in 
order to expire"

Reply via email to