wok diff openssh/receipt @ rev 19502

Add gtk-sharp, pinta.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Nov 17 02:51:28 2016 +0200 (2016-11-17)
parents 4ebd023252ac
children bf24c3d54874
line diff
     1.1 --- a/openssh/receipt	Fri Sep 09 12:06:28 2016 +0200
     1.2 +++ b/openssh/receipt	Thu Nov 17 02:51:28 2016 +0200
     1.3 @@ -50,8 +50,17 @@
     1.4  	sed -i 's|/usr/libexec/sftp-server|/usr/sbin/sftp-server|' \
     1.5  		$fs/etc/ssh/sshd_config
     1.6  
     1.7 -	# client bug CVE-2016-0777 and CVE-2016-0778
     1.8 -	echo -e '\nHost *\n  UseRoaming no' >> $fs/etc/ssh/ssh_config
     1.9 +	cat >> $fs/etc/ssh/ssh_config <<EOT
    1.10 +
    1.11 +# client bug CVE-2016-0777 and CVE-2016-0778
    1.12 +Host *
    1.13 +  UseRoaming no
    1.14 +
    1.15 +# From https://wiki.gentoo.org/wiki/SSH_jump_host  
    1.16 +Host *+*
    1.17 +  ProxyCommand ssh $(echo %h | sed 's/+[^+]*$//;s/\([^+%%]*\)%%\([^+]*\)$/\2 -l \1/;s/:/ -p /') exec nc -w1 $(echo %h | sed 's/^.*+//;/:/!s/$/ %p/;s/:/ /')
    1.18 +
    1.19 +EOT
    1.20  }
    1.21  
    1.22  post_install()