wok-current rev 21470

updated mosh (1.2.5 -> 1.3.2)
author Hans-G?nter Theisgen
date Tue Apr 30 17:32:49 2019 +0100 (2019-04-30)
parents 8a1cf079af57
children dca10c877d95
files mosh/receipt
line diff
     1.1 --- a/mosh/receipt	Tue Apr 30 17:10:45 2019 +0100
     1.2 +++ b/mosh/receipt	Tue Apr 30 17:32:49 2019 +0100
     1.3 @@ -1,25 +1,28 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mosh"
     1.7 -VERSION="1.2.5"
     1.8 +VERSION="1.3.2"
     1.9  CATEGORY="security"
    1.10 -SHORT_DESC="A Openbsd Secure Shell remplacement."
    1.11 +TAGS="ssh"
    1.12 +SHORT_DESC="An Openbsd Secure Shell replacement."
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14  LICENSE="GPL3"
    1.15 +WEB_SITE="https://mosh.org/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://mosh.mit.edu/"
    1.19  WGET_URL="${WEB_SITE}$TARBALL"
    1.20 -TAGS="ssh"
    1.21  
    1.22 -DEPENDS="gcc-lib-base perl protobuf libssl libcrypto zlib ncursesw ssh"
    1.23 -BUILD_DEPENDS="pkg-config protobuf-dev openssl-dev libcrypto-dev zlib-dev ncursesw-dev"
    1.24 +DEPENDS="gcc-lib-base libcrypto libssl ncursesw perl protobuf ssh zlib"
    1.25 +BUILD_DEPENDS="libcrypto-dev ncursesw-dev openssl-dev pkg-config protobuf-dev zlib-dev"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	./configure --prefix=/usr --sysconfdir=/etc \
    1.31 +	./configure			\
    1.32 +		--prefix=/usr		\
    1.33 +		--sysconfdir=/etc	\
    1.34  		--enable-compile-warnings=error &&
    1.35 -	make &&
    1.36 +	make -j 1 &&
    1.37  	make DESTDIR=$DESTDIR install
    1.38  }
    1.39  
    1.40 @@ -28,6 +31,7 @@
    1.41  {
    1.42  	mkdir -p $fs/usr
    1.43  	cp -a $install/usr/bin $fs/usr
    1.44 +
    1.45  	sed -i '/.*quoted_self = shell_quote.*/r/dev/stdin' $fs/usr/bin/mosh <<EOT
    1.46    if (\`\$ssh -V 2>&1\` =~ m{Dropbear}) {
    1.47      my \$host = \$userhost; \$host = \$1 if (\$userhost =~ m{@(.*)});