summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2021-07-22 15:17:31 +0200
committerUlrich Müller <ulm@gentoo.org>2021-07-23 21:20:28 +0200
commita88fa1a16f579f03e516eb307ecd0be888a85da5 (patch)
treeea192f81c05c6b957ebc96b8f687709a1cc9cb08 /sys-apps/shadow
parentsys-apps/man-pages: Don't install passwd.5 (diff)
downloadgentoo-a88fa1a16f579f03e516eb307ecd0be888a85da5.tar.gz
gentoo-a88fa1a16f579f03e516eb307ecd0be888a85da5.tar.bz2
gentoo-a88fa1a16f579f03e516eb307ecd0be888a85da5.zip
sys-apps/shadow: Install the passwd.5 man page
This needs a somewhat awkward blocker against sys-apps/man-pages, which can be simplified when >=man-pages-5.12-r2 becomes stable. Bug: https://bugs.gentoo.org/776787 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'sys-apps/shadow')
-rw-r--r--sys-apps/shadow/shadow-4.8.1-r4.ebuild (renamed from sys-apps/shadow/shadow-4.8.1-r3.ebuild)7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys-apps/shadow/shadow-4.8.1-r3.ebuild b/sys-apps/shadow/shadow-4.8.1-r4.ebuild
index 38ebf6be89e7..8992f16a1722 100644
--- a/sys-apps/shadow/shadow-4.8.1-r3.ebuild
+++ b/sys-apps/shadow/shadow-4.8.1-r4.ebuild
@@ -40,6 +40,9 @@ DEPEND="${COMMON_DEPEND}
>=sys-kernel/linux-headers-4.14
"
RDEPEND="${COMMON_DEPEND}
+ !<sys-apps/man-pages-5.11-r1
+ !=sys-apps/man-pages-5.12-r0
+ !=sys-apps/man-pages-5.12-r1
pam? ( >=sys-auth/pambase-20150213 )
su? ( !sys-apps/util-linux[su(-)] )
"
@@ -205,8 +208,8 @@ src_install() {
fi
# Remove manpages that are handled by other packages
- find "${ED}"/usr/share/man \
- '(' -name id.1 -o -name passwd.5 -o -name getspnam.3 ')' \
+ find "${ED}"/usr/share/man -type f \
+ '(' -name id.1 -o -name getspnam.3 ')' \
-delete
cd "${S}" || die