diff options
author | Mike Gilbert <floppym@gentoo.org> | 2019-04-13 10:02:39 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2019-04-13 10:17:16 -0400 |
commit | 9830c2263498a6c9c4beabbefeb3533b372e9fc0 (patch) | |
tree | 2fdbbe5d9563b90f87b8cd17e98c7cc5e86ca9c9 /sys-apps/man-db/man-db-9999.ebuild | |
parent | dev-ruby/ruby-glib2: amd64 stable wrt bug #683244 (diff) | |
download | gentoo-9830c2263498a6c9c4beabbefeb3533b372e9fc0.tar.gz gentoo-9830c2263498a6c9c4beabbefeb3533b372e9fc0.tar.bz2 gentoo-9830c2263498a6c9c4beabbefeb3533b372e9fc0.zip |
sys-apps/man-db: add /var/cache/man to SANDBOX_PREDICT
Closes: https://bugs.gentoo.org/675478
Package-Manager: Portage-2.3.62_p4, Repoman-2.3.12_p87
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-apps/man-db/man-db-9999.ebuild')
-rw-r--r-- | sys-apps/man-db/man-db-9999.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-apps/man-db/man-db-9999.ebuild b/sys-apps/man-db/man-db-9999.ebuild index 6935f3bcadaf..7c43b7e40d5d 100644 --- a/sys-apps/man-db/man-db-9999.ebuild +++ b/sys-apps/man-db/man-db-9999.ebuild @@ -73,6 +73,10 @@ src_configure() { sed -i \ -e '/^#DEFINE.*\<[nt]roff\>/{s:^#::;s:$: -c:}' \ src/man_db.conf || die + + cat > 15man-db <<-EOF || die + SANDBOX_PREDICT="/var/cache/man" + EOF } src_install() { @@ -82,6 +86,9 @@ src_install() { exeinto /etc/cron.daily newexe "${FILESDIR}"/man-db.cron-r1 man-db #289884 + + insinto /etc/sandbox.d + doins 15man-db } pkg_preinst() { |