openssh: make pam_systemd really optional this time.

This commit is contained in:
Juan RP 2014-06-20 10:22:30 +02:00
parent 7f54eb6008
commit 859549e30d

View file

@ -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() {