wok-6.x diff sshrc/receipt @ rev 22747

updated ethtool (4.19 -> 5.4)
author Hans-G?nter Theisgen
date Fri Jan 24 10:59:57 2020 +0100 (2020-01-24)
parents cbe6377bc83a
children d1f85e376665
line diff
     1.1 --- a/sshrc/receipt	Sat Dec 21 11:47:09 2019 +0100
     1.2 +++ b/sshrc/receipt	Fri Jan 24 10:59:57 2020 +0100
     1.3 @@ -12,7 +12,7 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WGET_URL="https://github.com/Russell91/sshrc/archive/$VERSION.tar.gz"
     1.6  
     1.7 -DEPENDS="bash openssl tar"
     1.8 +DEPENDS="bash openssl"
     1.9  SUGGESTED="mosh"
    1.10  
    1.11  # Rules to gen a SliTaz package suitable for Tazpkg.   
    1.12 @@ -21,6 +21,11 @@
    1.13  	mkdir -p $fs/usr/bin $install/usr/share/doc
    1.14  	cp $src/README.md $install/usr/share/doc
    1.15  	cp -a $src/*shrc $fs/usr/bin
    1.16 +
    1.17 +	# dropbear compatibility
    1.18 +	sed -i 's/-b | -c/& | -B | -K | -J/' $fs/usr/bin/sshrc
    1.19 +
    1.20 +	# remove xxd dependancy
    1.21  	sed -i -e 's|command -v xxd|command -v openssl|' \
    1.22  	 -e 's|sshrc requires xxd|moshrc requires openssl|' \
    1.23  	 -e "s/| xxd -p -r/| tr -s ' ' \$'\\\\n' | openssl enc -base64 -d/" \