public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/cfengine/
Date: Mon,  4 Dec 2017 22:51:55 +0000 (UTC)	[thread overview]
Message-ID: <1512427911.4a5cc66b00ea2a305b725ba6a21d89e140c12a7d.monsieurp@gentoo> (raw)

commit:     4a5cc66b00ea2a305b725ba6a21d89e140c12a7d
Author:     Chris Rorvick <chris <AT> rorvick <DOT> com>
AuthorDate: Wed May 24 14:13:43 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon Dec  4 22:51:51 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a5cc66b

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(+)

diff --git a/net-misc/cfengine/cfengine-3.6.2.ebuild b/net-misc/cfengine/cfengine-3.6.2.ebuild
index eb302d86ac2..75f021ada08 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() {


             reply	other threads:[~2017-12-04 22:51 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-04 22:51 Patrice Clement [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-01-17  4:26 [gentoo-commits] repo/gentoo:master commit in: net-misc/cfengine/ Mike Gilbert
2022-01-16 23:56 Mike Gilbert
2022-01-16 23:56 Mike Gilbert
2022-01-16 23:56 Mike Gilbert
2022-01-16 23:56 Mike Gilbert
2022-01-16 23:56 Mike Gilbert
2021-08-18 14:28 Sam James
2021-06-22 18:19 Sam James
2020-09-17  1:42 Aaron Bauman
2020-09-16 23:48 Aaron Bauman
2020-09-16 23:48 Aaron Bauman
2019-10-04 19:10 Michał Górny
2018-11-14 16:29 Robin H. Johnson
2018-04-12  7:45 Patrice Clement
2017-12-04 22:51 Patrice Clement
2017-08-10 17:26 Robin H. Johnson
2016-12-29 21:07 Marc Schiffbauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1512427911.4a5cc66b00ea2a305b725ba6a21d89e140c12a7d.monsieurp@gentoo \
    --to=monsieurp@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox