openssh: make pam_systemd optional.
This commit is contained in:
parent
418d1bae99
commit
58cf5e51d1
|
@ -3,7 +3,7 @@ _desc="The OpenSSH implementation of SSH protocol"
|
|||
|
||||
pkgname=openssh
|
||||
version=6.6p1
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-configure
|
||||
configure_args="--without-tcp-wrappers --datadir=/usr/share/openssh
|
||||
--sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody
|
||||
|
@ -37,8 +37,7 @@ post_install() {
|
|||
# Disable pam_cracklib
|
||||
sed '/pam_cracklib.*/d' -i ${DESTDIR}/etc/pam.d/sshd
|
||||
# Enable pam_systemd.so by default.
|
||||
printf "session\trequired\tpam_systemd.so\n" >> \
|
||||
${DESTDIR}/etc/pam.d/sshd
|
||||
printf "-session\trequired\tpam_systemd.so\n" >> ${DESTDIR}/etc/pam.d/sshd
|
||||
}
|
||||
|
||||
openssh-server_package() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user