wok-next diff mosh/receipt @ rev 19991

mosh: update dropbear patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 20 15:13:54 2017 +0200 (2017-10-20)
parents ff4ffcd5e1db
children e6615350078d
line diff
     1.1 --- a/mosh/receipt	Tue Oct 17 11:01:20 2017 +0200
     1.2 +++ b/mosh/receipt	Fri Oct 20 15:13:54 2017 +0200
     1.3 @@ -30,13 +30,6 @@
     1.4  {
     1.5  	mkdir -p $fs/usr
     1.6  	cp -a $install/usr/bin $fs/usr
     1.7 -	sed -i '/.*quoted_self = shell_quote.*/r/proc/self/fd/0' $fs/usr/bin/mosh <<EOT
     1.8 -  if (\`\$ssh -V 2>&1\` =~ m{Dropbear}) {
     1.9 -    my \$host = \$userhost; \$host = \$1 if (\$userhost =~ m{@(.*)});
    1.10 -    my \$port = 22; \$port = \$1 if (\$ssh =~ m{-p *(\d+)});
    1.11 -    exec "\$ssh " . shell_quote( '-J', "\$quoted_self --fake-proxy -- \$host \$port", '-t', \$userhost, "\$server " . shell_quote( @server ) );
    1.12 -  }
    1.13 -EOT
    1.14  }
    1.15  
    1.16  post_install()