openssh: make pam_systemd really optional this time.
This commit is contained in:
parent
7f54eb6008
commit
859549e30d
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ _desc="The OpenSSH implementation of SSH protocol"
|
|||
|
||||
pkgname=openssh
|
||||
version=6.6p1
|
||||
revision=5
|
||||
revision=6
|
||||
build_style=gnu-configure
|
||||
configure_args="--without-tcp-wrappers --datadir=/usr/share/openssh
|
||||
--sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody
|
||||
|
@ -37,7 +37,7 @@ post_install() {
|
|||
# Disable pam_cracklib
|
||||
sed '/pam_cracklib.*/d' -i ${DESTDIR}/etc/pam.d/sshd
|
||||
# Enable pam_systemd.so by default.
|
||||
echo -e "-session\trequired\tpam_systemd.so\n" >> ${DESTDIR}/etc/pam.d/sshd
|
||||
echo -e "-session\toptional\tpam_systemd.so\n" >> ${DESTDIR}/etc/pam.d/sshd
|
||||
}
|
||||
|
||||
openssh-server_package() {
|
||||
|
|
Loading…
Reference in a new issue