summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-07-30 23:56:38 +0100
committerSam James <sam@gentoo.org>2021-07-31 00:30:03 +0100
commit1dcb21d1b3d4b2d2eefb2d04a6cf0d56d5b1eafe (patch)
tree8c36ee2b63f4e828fe2a7e772f03fe66ff839fec /net-firewall/fwknop
parentnet-dns/pdnsd: [QA] call tmpfiles_process in pkg_postinst (diff)
downloadgentoo-1dcb21d1b3d4b2d2eefb2d04a6cf0d56d5b1eafe.tar.gz
gentoo-1dcb21d1b3d4b2d2eefb2d04a6cf0d56d5b1eafe.tar.bz2
gentoo-1dcb21d1b3d4b2d2eefb2d04a6cf0d56d5b1eafe.zip
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@gentoo.org>
Diffstat (limited to 'net-firewall/fwknop')
-rw-r--r--net-firewall/fwknop/fwknop-2.6.10-r2.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/net-firewall/fwknop/fwknop-2.6.10-r2.ebuild b/net-firewall/fwknop/fwknop-2.6.10-r2.ebuild
index 5c86fee98c20..f8c21045b3ae 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"