From 4a5cc66b00ea2a305b725ba6a21d89e140c12a7d Mon Sep 17 00:00:00 2001 From: Chris Rorvick Date: Wed, 24 May 2017 09:13:43 -0500 Subject: net-misc/cfengine: protect masterfiles. Files in /var/cfengine/masterfiles are really configuration. Add this directory to CONFIG_PROTECT. --- net-misc/cfengine/cfengine-3.6.2.ebuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'net-misc/cfengine/cfengine-3.6.2.ebuild') diff --git a/net-misc/cfengine/cfengine-3.6.2.ebuild b/net-misc/cfengine/cfengine-3.6.2.ebuild index eb302d86ac28..75f021ada089 100644 --- a/net-misc/cfengine/cfengine-3.6.2.ebuild +++ b/net-misc/cfengine/cfengine-3.6.2.ebuild @@ -110,6 +110,9 @@ src_install() { insinto /var/cfengine doins -r "${WORKDIR}/masterfiles" fi + + dodir /etc/env.d + echo 'CONFIG_PROTECT=/var/cfengine/masterfiles' >"${ED}/etc/env.d/99${PN}" || die } pkg_postinst() { -- cgit v1.2.3-65-gdbad