diff options
author | Chris Rorvick <chris@rorvick.com> | 2017-05-24 09:13:43 -0500 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-12-04 23:51:51 +0100 |
commit | 4a5cc66b00ea2a305b725ba6a21d89e140c12a7d (patch) | |
tree | 462a73b44a104881be06f511b61f701e4c1006ea /net-misc/cfengine | |
parent | net-misc/cfengine: add masterfiles. (diff) | |
download | gentoo-4a5cc66b00ea2a305b725ba6a21d89e140c12a7d.tar.gz gentoo-4a5cc66b00ea2a305b725ba6a21d89e140c12a7d.tar.bz2 gentoo-4a5cc66b00ea2a305b725ba6a21d89e140c12a7d.zip |
net-misc/cfengine: protect masterfiles.
Files in /var/cfengine/masterfiles are really configuration. Add this
directory to CONFIG_PROTECT.
Diffstat (limited to 'net-misc/cfengine')
-rw-r--r-- | net-misc/cfengine/cfengine-3.6.2.ebuild | 3 |
1 files changed, 3 insertions, 0 deletions
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() { |