commit: 0ff839bf91dfcc8d13aac35368e73a5b5b2bf69f
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 24 10:40:36 2021 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 10:40:55 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ff839bf
net-misc/netkit-rsh: install pam files conditionally
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
.../{netkit-rsh-0.17-r10.ebuild => netkit-rsh-0.17-r11.ebuild} | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/net-misc/netkit-rsh/netkit-rsh-0.17-r10.ebuild
b/net-misc/netkit-rsh/netkit-rsh-0.17-r11.ebuild
similarity index 93%
rename from net-misc/netkit-rsh/netkit-rsh-0.17-r10.ebuild
rename to net-misc/netkit-rsh/netkit-rsh-0.17-r11.ebuild
index 1a2b3b50ee4..9b64b5b6e69 100644
--- a/net-misc/netkit-rsh/netkit-rsh-0.17-r10.ebuild
+++ b/net-misc/netkit-rsh/netkit-rsh-0.17-r11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -64,7 +64,10 @@ src_install() {
doman ${b}/${b}.1
if [[ ${b} != rcp ]]; then
newins "${FILESDIR}"/${b}.xinetd ${b}
- newpamd "${FILESDIR}/${b}.pamd-pambase" ${b}
+
+ if use pam; then
+ newpamd "${FILESDIR}/${b}.pamd-pambase"
${b}
+ fi
fi
fi
done