wok-6.x rev 22432

Add sshrc (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 21 11:45:45 2019 +0100 (2019-12-21)
parents d51990158014
children cbe6377bc83a
files gvim/receipt squirrelmail-locales/receipt sshrc/receipt
line diff
     1.1 --- a/gvim/receipt	Sat Dec 21 08:52:40 2019 +0000
     1.2 +++ b/gvim/receipt	Sat Dec 21 11:45:45 2019 +0100
     1.3 @@ -8,6 +8,7 @@
     1.4  MAINTAINER="erjo@slitaz.org"
     1.5  LICENSE="other"
     1.6  WEB_SITE="https://www.vim.org/"
     1.7 +PROVIDES="xxd"
     1.8  
     1.9  SOURCE="vim"
    1.10  TARBALL="$SOURCE-$VERSION.tar.bz2"
     2.1 --- a/squirrelmail-locales/receipt	Sat Dec 21 08:52:40 2019 +0000
     2.2 +++ b/squirrelmail-locales/receipt	Sat Dec 21 11:45:45 2019 +0100
     2.3 @@ -21,7 +21,6 @@
     2.4  squirrelmail-da_DK \
     2.5  squirrelmail-de_DE \
     2.6  squirrelmail-el_GR \
     2.7 -squirrelmail-en_GB \
     2.8  squirrelmail-es_ES \
     2.9  squirrelmail-et_EE \
    2.10  squirrelmail-eu_ES \
     3.1 --- a/sshrc/receipt	Sat Dec 21 08:52:40 2019 +0000
     3.2 +++ b/sshrc/receipt	Sat Dec 21 11:45:45 2019 +0100
     3.3 @@ -13,7 +13,7 @@
     3.4  WGET_URL="https://github.com/Russell91/sshrc/archive/$VERSION.tar.gz"
     3.5  
     3.6  DEPENDS="bash openssl tar"
     3.7 -SUGGESTED="mosh xxd"
     3.8 +SUGGESTED="mosh"
     3.9  
    3.10  # Rules to gen a SliTaz package suitable for Tazpkg.   
    3.11  genpkg_rules()                                      
    3.12 @@ -21,4 +21,9 @@
    3.13  	mkdir -p $fs/usr/bin $install/usr/share/doc
    3.14  	cp $src/README.md $install/usr/share/doc
    3.15  	cp -a $src/*shrc $fs/usr/bin
    3.16 +	sed -i -e 's|command -v xxd|command -v openssl|' \
    3.17 +	 -e 's|sshrc requires xxd|moshrc requires openssl|' \
    3.18 +	 -e "s/| xxd -p -r/| tr -s ' ' \$'\\\\n' | openssl enc -base64 -d/" \
    3.19 +	 -e 's|xxd -p|openssl enc -base64|' \
    3.20 +	 -e "s|\\\$'\\\$(|\$'\"\$(|" -e "s|)'|)\"'|" moshrc
    3.21  }