summaryrefslogtreecommitdiff
path: root/sys-apps/man-db
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
commitb7ebc951da8800f711142f69d9d958bde67a112d (patch)
treee318514216845acb8f2e49fff7a5cba4027e9d91 /sys-apps/man-db
parentdc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff)
gentoo resync : 28.04.2019
Diffstat (limited to 'sys-apps/man-db')
-rw-r--r--sys-apps/man-db/Manifest4
-rw-r--r--sys-apps/man-db/man-db-2.8.5-r1.ebuild (renamed from sys-apps/man-db/man-db-2.8.5.ebuild)9
-rw-r--r--sys-apps/man-db/man-db-9999.ebuild9
3 files changed, 18 insertions, 4 deletions
diff --git a/sys-apps/man-db/Manifest b/sys-apps/man-db/Manifest
index 59efcf74c7b6..8820d2ba5243 100644
--- a/sys-apps/man-db/Manifest
+++ b/sys-apps/man-db/Manifest
@@ -6,6 +6,6 @@ DIST man-db-2.8.4.tar.xz 1779488 BLAKE2B c5f9b06c4b24e046e4b8fbcf4f43015133d18d8
DIST man-db-2.8.5.tar.xz 1787244 BLAKE2B b908a6fb0187d42f8d1f842063e0afdf1e052244ea727f0aaaf4d658bb8954a216c0555df5511b27246fd12c2a388c44dcfccf243449d25d6e741c5c3466d3be SHA512 8d1524c3b6459c9ac02d969149c18c198cb171bcd6acc493e863a466c01309958ee9f5ac52df4d7d27da29d35cb7c64132732f5b969181ab336500df2e6dad69
EBUILD man-db-2.7.6.1-r2.ebuild 3162 BLAKE2B 5aefa5d09e68cc46d639cd09d55d8347046b9fab1b148d40e11a996cfbf94fcc43b8fc386941b3a157a2ac13dda2c6b4f8eafea75433af10560d86ee6f1270c7 SHA512 b42c3a488d2424c24a12f5eaeda2c15efeb18cf9b3c55230238e686712d78f127f9c9e2668dc0da84569cac1d532e19088cc78936d94146a981b776f82934fe9
EBUILD man-db-2.8.4.ebuild 3433 BLAKE2B 3768e283d9d5f4d3f5527923cd0d3863433682a6d80e0b255324d4636419f0bf76b9b139a82f27f4c766696eac69ae915e3c891b3ae4d61142fb7bc44e2b11e7 SHA512 40848f7193559a635d8a340ca54db9739a8ffe43b6a3edbe602c17ec9d132843c3a7cbf82fca4e6bc96f832314e0fd2b7294644cfa430c76e4aae0c0620b022e
-EBUILD man-db-2.8.5.ebuild 3438 BLAKE2B d720f60b6e9293d6aad45cde18759dfa57a11a4bdf02bb838c11c1e4bd48bd830a555551c48c9810e0586403e6289f933866ebeed3049ebe01780488102dd09a SHA512 820abb62662cee73ca521bbd5a5c0fcab4fa736000ae18922443cb393ea82bb060e17e4c7a2f69db228aaf02d1f1f62229a8dbe3055e1b5f23ac5125462dbfe1
-EBUILD man-db-9999.ebuild 3438 BLAKE2B d720f60b6e9293d6aad45cde18759dfa57a11a4bdf02bb838c11c1e4bd48bd830a555551c48c9810e0586403e6289f933866ebeed3049ebe01780488102dd09a SHA512 820abb62662cee73ca521bbd5a5c0fcab4fa736000ae18922443cb393ea82bb060e17e4c7a2f69db228aaf02d1f1f62229a8dbe3055e1b5f23ac5125462dbfe1
+EBUILD man-db-2.8.5-r1.ebuild 3549 BLAKE2B c8d61f2fd82b02b857f21ac0d1dd735b3caabd62d55bde58f5ce6062b5f4468e34ff7de2758372183339c8ca5b93478df98caca1c59a720032491190d57ffb3e SHA512 63ae349604a07b81d79b90452188394d855f8a748081ab75b96ec571a3b365a9269a4bc5800496737d3af9b0404725ca5974ac513715c75dd539b1f0df57f432
+EBUILD man-db-9999.ebuild 3549 BLAKE2B c8d61f2fd82b02b857f21ac0d1dd735b3caabd62d55bde58f5ce6062b5f4468e34ff7de2758372183339c8ca5b93478df98caca1c59a720032491190d57ffb3e SHA512 63ae349604a07b81d79b90452188394d855f8a748081ab75b96ec571a3b365a9269a4bc5800496737d3af9b0404725ca5974ac513715c75dd539b1f0df57f432
MISC metadata.xml 342 BLAKE2B ac0d63182d2d7a73dc256fd0ae1f9994218da535ed39bd756e7db950899fda9a019f9107e8f0d9e4dab1987ba2650ae1fb8cddc9901240cba829c780db69e9b5 SHA512 553cf56ab0b3b6c9403612a7ccd1db073f557b432c68d60adb4716169250a9986b4c112023f6ae200a6fbc2df31cdafd9ab08e04d92ca35cffb81f690bd43d79
diff --git a/sys-apps/man-db/man-db-2.8.5.ebuild b/sys-apps/man-db/man-db-2.8.5-r1.ebuild
index 6935f3bcadaf..ac0efdfd790f 100644
--- a/sys-apps/man-db/man-db-2.8.5.ebuild
+++ b/sys-apps/man-db/man-db-2.8.5-r1.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() {
@@ -92,7 +99,7 @@ pkg_preinst() {
local _replacing_version=
local _setgid_vuln=0
for _replacing_version in ${REPLACING_VERSIONS}; do
- if ver_test '2.7.6.1-r2' -gt "${_replacing_version}"; then
+ if ver_test '2.7.6.1-r2' -le "${_replacing_version}"; then
debug-print "Skipping security bug #602588 ... existing installation (${_replacing_version}) should not be affected!"
else
_setgid_vuln=1
diff --git a/sys-apps/man-db/man-db-9999.ebuild b/sys-apps/man-db/man-db-9999.ebuild
index 6935f3bcadaf..ac0efdfd790f 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() {
@@ -92,7 +99,7 @@ pkg_preinst() {
local _replacing_version=
local _setgid_vuln=0
for _replacing_version in ${REPLACING_VERSIONS}; do
- if ver_test '2.7.6.1-r2' -gt "${_replacing_version}"; then
+ if ver_test '2.7.6.1-r2' -le "${_replacing_version}"; then
debug-print "Skipping security bug #602588 ... existing installation (${_replacing_version}) should not be affected!"
else
_setgid_vuln=1