wok view sshrc/receipt @ rev 23675
updated strigi, strigi-client and strigi-dev (0.7.5 -> 0.7.8)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 26 10:35:40 2020 +0100 (2020-04-26) |
parents | 4ac5a0dcd3b1 |
children | 34e801e0eb52 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sshrc"
4 VERSION="0.6.2"
5 CATEGORY="network"
6 TAGS="ssh"
7 SHORT_DESC="bring your .bashrc, .vimrc, etc. with you when you ssh"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://github.com/danrabinowitz/sshrc"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/Russell91/sshrc/archive/$VERSION.tar.gz"
15 DEPENDS="bash openssl"
16 SUGGESTED="mosh"
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 mkdir -p $fs/usr/bin $install/usr/share/doc
22 cp $src/README.md $install/usr/share/doc
23 cp -a $src/*shrc $fs/usr/bin
25 # dropbear compatibility
26 sed -i 's/-b | -c/& | -B | -K | -J/' $fs/usr/bin/sshrc
28 # remove xxd dependancy
29 sed -i -e 's|command -v xxd|command -v openssl|' \
30 -e 's|sshrc requires xxd|moshrc requires openssl|' \
31 -e "s/| xxd -p -r/| tr -s ' ' \$'\\\\n' | openssl enc -base64 -d/" \
32 -e 's|xxd -p|openssl enc -base64|' \
33 -e "s|\\\$'\\\$(|\$'\"\$(|" -e "s|)'|)\"'|" $fs/usr/bin/moshrc
34 }