From b462854c1c060f74797b3d6ccef151f65d9cb38f Mon Sep 17 00:00:00 2001 From: piernov Date: Sun, 5 Aug 2012 23:39:28 +0200 Subject: openssh-server 6.0p1-2 support PAM --- openssh-server/Pkgfile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'openssh-server/Pkgfile') diff --git a/openssh-server/Pkgfile b/openssh-server/Pkgfile index 5b1f0fc9a..9010b4559 100755 --- a/openssh-server/Pkgfile +++ b/openssh-server/Pkgfile @@ -2,14 +2,15 @@ # URL: http://www.openssh.org/ # Maintainer: NuTyX coreteam # Packager: thierryn1 at hispeed dot ch -# Depends on: openssh -# Run on: openssh +# Depends on: openssh, linux-pam, pambase +# Run on: openssh,linux-pam,pambase name=openssh-server version=6.0p1 -release=1 +release=2 source=(http://ftp2.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-$version.tar.gz - http://nutyx.meticul.eu/files/patchs/$name/service-sekong-01.patch) + http://nutyx.meticul.eu/files/patchs/$name/service-sekong-01.patch + sshd.pam) build() { unset MAKEFLAGS @@ -28,16 +29,21 @@ build() { --libexecdir=/usr/lib/openssh \ --with-tcp-wrappers \ --with-md5-passwords \ + --with-pam \ --with-privsep-path=/var/lib/sshd \ --mandir=/usr/share/man \ --infodir=/usr/share/info make DESTDIR=$PKG install + install -Dm644 ../sshd.pam $PKG/etc/pam.d/sshd + cd ../$scripts-$scriptsversion patch -Np1 -i ../service-sekong-01.patch make DESTDIR=$PKG install-sshd echo "PermitRootLogin no" >> $PKG/etc/ssh/sshd_config + echo "ChallengeResponseAuthentication no" >> $PKG/etc/ssh/sshd_config + echo "UsePAM yes" >> $PKG/etc/ssh/sshd_config # Suppression du client et ses man rm $PKG/etc/ssh/{ssh_config,moduli} -- cgit v1.2.3-70-g09d2