Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=f3e70e943865aa8b2a7f1b6d7f41d594e9c25d07

commit f3e70e943865aa8b2a7f1b6d7f41d594e9c25d07
Author: CSÉCSY László <[email protected]>
Date:   Tue Aug 7 15:11:39 2012 +0200

openssh-6.0p1-2-x86_64

fixed dropping existing connections upon service restart

diff --git a/source/network/openssh/FrugalBuild 
b/source/network/openssh/FrugalBuild
index b220867..40d55e3 100644
--- a/source/network/openssh/FrugalBuild
+++ b/source/network/openssh/FrugalBuild
@@ -4,7 +4,7 @@

pkgname=openssh
pkgver=6.0p1
-pkgrel=1
+pkgrel=2
pkgdesc='Secure Shell daemon and clients'
url="http://www.openssh.com/";
backup=('etc/ssh/ssh_config' 'etc/ssh/sshd_config')
@@ -50,6 +50,8 @@ build()
Ffile /lib/systemd/system/sshd-keygen.service
Ffile /lib/systemd/system/sshd.service
Fsed '^#PermitRootLogin yes$' 'PermitRootLogin no' $Fdestdir/etc/ssh/sshd_config
+       Fsed '^#UsePAM no$' 'UsePAM yes' $Fdestdir/etc/ssh/sshd_config
+       echo "session    optional     pam_systemd.so" >>$Fdestdir/etc/pam.d/sshd
Fsed '^#X11Forwarding no$' 'X11Forwarding yes' $Fdestdir/etc/ssh/sshd_config
Fsed '#   ForwardX11 no' '    ForwardX11Trusted yes' 
$Fdestdir/etc/ssh/ssh_config
Fsed '#   ForwardAgent no' '    ForwardAgent yes' $Fdestdir/etc/ssh/ssh_config
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to