diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2021-01-23 13:50:44 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2021-01-23 13:51:31 +0300 |
commit | 9050251b703fb4afd2e499a349125104b7e03096 (patch) | |
tree | 07dd325e73b6c64ec54cbb4136282e1d964327bb /net-misc | |
parent | mail-mta/exim: install pam files conditionally (diff) | |
download | gentoo-9050251b703fb4afd2e499a349125104b7e03096.tar.gz gentoo-9050251b703fb4afd2e499a349125104b7e03096.tar.bz2 gentoo-9050251b703fb4afd2e499a349125104b7e03096.zip |
net-misc/openssh: install pam files conditionally
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/openssh/openssh-8.1_p1-r5.ebuild (renamed from net-misc/openssh/openssh-8.1_p1-r4.ebuild) | 4 | ||||
-rw-r--r-- | net-misc/openssh/openssh-8.2_p1-r8.ebuild (renamed from net-misc/openssh/openssh-8.2_p1-r7.ebuild) | 4 | ||||
-rw-r--r-- | net-misc/openssh/openssh-8.3_p1-r6.ebuild (renamed from net-misc/openssh/openssh-8.3_p1-r5.ebuild) | 4 | ||||
-rw-r--r-- | net-misc/openssh/openssh-8.4_p1-r3.ebuild (renamed from net-misc/openssh/openssh-8.4_p1-r2.ebuild) | 4 |
4 files changed, 12 insertions, 4 deletions
diff --git a/net-misc/openssh/openssh-8.1_p1-r4.ebuild b/net-misc/openssh/openssh-8.1_p1-r5.ebuild index 8ca157b9c135..e055a207b9d5 100644 --- a/net-misc/openssh/openssh-8.1_p1-r4.ebuild +++ b/net-misc/openssh/openssh-8.1_p1-r5.ebuild @@ -399,7 +399,9 @@ src_install() { newinitd "${FILESDIR}"/sshd-r1.initd sshd newconfd "${FILESDIR}"/sshd-r1.confd sshd - newpamd "${FILESDIR}"/sshd.pam_include.2 sshd + if use pam; then + newpamd "${FILESDIR}"/sshd.pam_include.2 sshd + fi tweak_ssh_configs diff --git a/net-misc/openssh/openssh-8.2_p1-r7.ebuild b/net-misc/openssh/openssh-8.2_p1-r8.ebuild index b40fb15e5003..595226626d73 100644 --- a/net-misc/openssh/openssh-8.2_p1-r7.ebuild +++ b/net-misc/openssh/openssh-8.2_p1-r8.ebuild @@ -399,7 +399,9 @@ src_install() { newinitd "${FILESDIR}"/sshd-r1.initd sshd newconfd "${FILESDIR}"/sshd-r1.confd sshd - newpamd "${FILESDIR}"/sshd.pam_include.2 sshd + if use pam; then + newpamd "${FILESDIR}"/sshd.pam_include.2 sshd + fi tweak_ssh_configs diff --git a/net-misc/openssh/openssh-8.3_p1-r5.ebuild b/net-misc/openssh/openssh-8.3_p1-r6.ebuild index 20705683e44f..ef9e80ab84f4 100644 --- a/net-misc/openssh/openssh-8.3_p1-r5.ebuild +++ b/net-misc/openssh/openssh-8.3_p1-r6.ebuild @@ -418,7 +418,9 @@ src_install() { newinitd "${FILESDIR}"/sshd-r1.initd sshd newconfd "${FILESDIR}"/sshd-r1.confd sshd - newpamd "${FILESDIR}"/sshd.pam_include.2 sshd + if use pam; then + newpamd "${FILESDIR}"/sshd.pam_include.2 sshd + fi tweak_ssh_configs diff --git a/net-misc/openssh/openssh-8.4_p1-r2.ebuild b/net-misc/openssh/openssh-8.4_p1-r3.ebuild index 894176403737..6f524b1cb9f3 100644 --- a/net-misc/openssh/openssh-8.4_p1-r2.ebuild +++ b/net-misc/openssh/openssh-8.4_p1-r3.ebuild @@ -423,7 +423,9 @@ src_install() { newinitd "${FILESDIR}"/sshd-r1.initd sshd newconfd "${FILESDIR}"/sshd-r1.confd sshd - newpamd "${FILESDIR}"/sshd.pam_include.2 sshd + if use pam; then + newpamd "${FILESDIR}"/sshd.pam_include.2 sshd + fi tweak_ssh_configs |