# HG changeset patch # User Pascal Bellard # Date 1442399695 -7200 # Node ID a5a576b1aaac0d179cdd487cc6806ca8f3157e3b # Parent b8faad54c55c0581502798fabdc61dd8783ea938 Up mosh (1.2.5) diff -r b8faad54c55c -r a5a576b1aaac mosh/receipt --- a/mosh/receipt Tue Sep 15 20:59:32 2015 +0200 +++ b/mosh/receipt Wed Sep 16 12:34:55 2015 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="mosh" -VERSION="1.2.4" +VERSION="1.2.5" CATEGORY="security" SHORT_DESC="A Openbsd Secure Shell remplacement." MAINTAINER="pascal.bellard@slitaz.org" @@ -17,13 +17,6 @@ # Rules to configure and make the package. compile_rules() { - sed -i '/.*quoted_self = shell_quote.*/r/dev/stdin' scripts/mosh <&1\` =~ m{Dropbear}) { - my \$host = \$userhost; \$host = \$1 if (\$userhost =~ m{@(.*)}); - my \$port = 22; \$port = \$1 if (\$ssh =~ m{-p *(\d+)}); - exec "\$ssh " . shell_quote( '-J', "\$quoted_self --fake-proxy -- \$host \$port", '-t', \$userhost, "\$server " . shell_quote( @server ) ); - } -EOT ./configure --prefix=/usr --sysconfdir=/etc \ --enable-compile-warnings=error && make && @@ -35,6 +28,13 @@ { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr + sed -i '/.*quoted_self = shell_quote.*/r/dev/stdin' $fs/usr/bin/mosh <&1\` =~ m{Dropbear}) { + my \$host = \$userhost; \$host = \$1 if (\$userhost =~ m{@(.*)}); + my \$port = 22; \$port = \$1 if (\$ssh =~ m{-p *(\d+)}); + exec "\$ssh " . shell_quote( '-J', "\$quoted_self --fake-proxy -- \$host \$port", '-t', \$userhost, "\$server " . shell_quote( @server ) ); + } +EOT } post_install()