wok rev 19982

mosh: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 22 11:40:28 2017 +0200 (2017-06-22)
parents 8897c7156a03
children c5ff983a04cf
files mosh/receipt
line diff
     1.1 --- a/mosh/receipt	Sun Jun 18 19:23:12 2017 +0200
     1.2 +++ b/mosh/receipt	Thu Jun 22 11:40:28 2017 +0200
     1.3 @@ -11,8 +11,10 @@
     1.4  WGET_URL="${WEB_SITE}$TARBALL"
     1.5  TAGS="ssh"
     1.6  
     1.7 -DEPENDS="gcc-lib-base perl protobuf libssl libcrypto zlib ncursesw ssh"
     1.8 -BUILD_DEPENDS="pkg-config protobuf-dev openssl-dev libcrypto-dev zlib-dev ncursesw-dev"
     1.9 +DEPENDS="gcc-lib-base glibc-base perl protobuf libssl libcrypto libtinfo \
    1.10 +zlib ncursesw ssh"
    1.11 +BUILD_DEPENDS="pkg-config protobuf-dev openssl-dev libcrypto-dev zlib-dev \
    1.12 +ncursesw-dev"
    1.13  
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16 @@ -39,6 +41,8 @@
    1.17  
    1.18  post_install()
    1.19  {
    1.20 +	[ -d "$1/usr/lib/locale/$LC_ALL" ] ||
    1.21 +	chroot "$1/" localedef -i ${LC_ALL%.*} -c -f UTF-8 /usr/lib/locale/$LC_ALL
    1.22  	if ! grep ^DROPBEAR_OPTIONS "$1/etc/daemons.conf" | grep -q -- -a; then
    1.23  		cat <<EOT
    1.24  The mosh server needs dropbear to allow connections to forwarded ports