wok-6.x rev 22434

Add sshrc (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 21 12:20:01 2019 +0100 (2019-12-21)
parents cbe6377bc83a
children e233cb2fd094
files busybox/stuff/busybox-1.31.config sshrc/receipt
line diff
     1.1 --- a/busybox/stuff/busybox-1.31.config	Sat Dec 21 11:47:09 2019 +0100
     1.2 +++ b/busybox/stuff/busybox-1.31.config	Sat Dec 21 12:20:01 2019 +0100
     1.3 @@ -385,7 +385,7 @@
     1.4  # Debian Utilities
     1.5  #
     1.6  CONFIG_PIPE_PROGRESS=y
     1.7 -# CONFIG_RUN_PARTS is not set
     1.8 +CONFIG_RUN_PARTS=y
     1.9  # CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS is not set
    1.10  # CONFIG_FEATURE_RUN_PARTS_FANCY is not set
    1.11  # CONFIG_START_STOP_DAEMON is not set
     2.1 --- a/sshrc/receipt	Sat Dec 21 11:47:09 2019 +0100
     2.2 +++ b/sshrc/receipt	Sat Dec 21 12:20:01 2019 +0100
     2.3 @@ -12,7 +12,7 @@
     2.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     2.5  WGET_URL="https://github.com/Russell91/sshrc/archive/$VERSION.tar.gz"
     2.6  
     2.7 -DEPENDS="bash openssl tar"
     2.8 +DEPENDS="bash openssl"
     2.9  SUGGESTED="mosh"
    2.10  
    2.11  # Rules to gen a SliTaz package suitable for Tazpkg.   
    2.12 @@ -21,6 +21,11 @@
    2.13  	mkdir -p $fs/usr/bin $install/usr/share/doc
    2.14  	cp $src/README.md $install/usr/share/doc
    2.15  	cp -a $src/*shrc $fs/usr/bin
    2.16 +
    2.17 +	# dropbear compatibility
    2.18 +	sed -i 's/-b | -c/& | -B | -K | -J/' $fs/usr/bin/sshrc
    2.19 +
    2.20 +	# remove xxd dependancy
    2.21  	sed -i -e 's|command -v xxd|command -v openssl|' \
    2.22  	 -e 's|sshrc requires xxd|moshrc requires openssl|' \
    2.23  	 -e "s/| xxd -p -r/| tr -s ' ' \$'\\\\n' | openssl enc -base64 -d/" \