From 58cf5e51d18b6c60f2325fe1dd168c52121d98f5 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 20 Jun 2014 10:05:20 +0200 Subject: [PATCH] openssh: make pam_systemd optional. --- srcpkgs/openssh/template | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/openssh/template b/srcpkgs/openssh/template index 8a9636044a3..2dc1e4cd365 100644 --- a/srcpkgs/openssh/template +++ b/srcpkgs/openssh/template @@ -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() {