summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-08-03 21:35:47 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-08-03 21:37:07 +0200
commitc3296879a6038ae5e821c1ca21c87a10a80b7eb1 (patch)
tree2af1671df141f0b672eaed2dee714ad9ad5c650d /sys-apps/man-db
parentsys-apps/man-db: Bump to version 2.8.6 (diff)
downloadgentoo-c3296879a6038ae5e821c1ca21c87a10a80b7eb1.tar.gz
gentoo-c3296879a6038ae5e821c1ca21c87a10a80b7eb1.tar.bz2
gentoo-c3296879a6038ae5e821c1ca21c87a10a80b7eb1.zip
sys-apps/man-db: Synced live ebuild
Package-Manager: Portage-2.3.70, Repoman-2.3.16 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-apps/man-db')
-rw-r--r--sys-apps/man-db/man-db-9999.ebuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/sys-apps/man-db/man-db-9999.ebuild b/sys-apps/man-db/man-db-9999.ebuild
index 0bcb6f92ce69..4d2bfc884fe9 100644
--- a/sys-apps/man-db/man-db-9999.ebuild
+++ b/sys-apps/man-db/man-db-9999.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit user eapi7-ver systemd
+inherit systemd
DESCRIPTION="a man replacement that utilizes berkdb instead of flat files"
HOMEPAGE="http://www.nongnu.org/man-db/"
@@ -29,8 +29,8 @@ CDEPEND="
seccomp? ( sys-libs/libseccomp )
zlib? ( sys-libs/zlib )
"
-DEPEND="
- ${CDEPEND}
+DEPEND="${CDEPEND}"
+BDEPEND="
app-arch/xz-utils
virtual/pkgconfig
nls? (
@@ -40,15 +40,13 @@ DEPEND="
"
RDEPEND="
${CDEPEND}
+ acct-group/man
+ acct-user/man
selinux? ( sec-policy/selinux-mandb )
"
PDEPEND="manpager? ( app-text/manpager )"
pkg_setup() {
- # Create user now as Makefile in src_install does setuid/chown
- enewgroup man 15
- enewuser man 13 -1 /usr/share/man man
-
if (use gdbm && use berkdb) || (use !gdbm && use !berkdb) ; then #496150
ewarn "Defaulting to USE=gdbm due to ambiguous berkdb/gdbm USE flag settings"
fi
@@ -92,7 +90,7 @@ src_install() {
}
pkg_preinst() {
- local cachedir="${EROOT}var/cache/man"
+ local cachedir="${EROOT}/var/cache/man"
# If the system was already exploited, and the attacker is hiding in the
# cachedir of the old man-db, let's wipe them out.
# see bug #602588 comment 18