# HG changeset patch # User Pascal Bellard # Date 1579447018 -3600 # Node ID 263151d2b6b0e5a28879ab715cfc475487f02915 # Parent 3760e697c98f8437caeb077b5a2a15e5577fd5d8 Add dsh & pssh diff -r 3760e697c98f -r 263151d2b6b0 dsh/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dsh/receipt Sun Jan 19 16:16:58 2020 +0100 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="dsh" +VERSION="0.25.9" +CATEGORY="network" +SHORT_DESC="Wrapper for executing multiple remote shell (rsh/remsh/ssh) commands" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.netfort.gr.jp/~dancer/software/dsh.html.en" +WGET_URL="https://www.netfort.gr.jp/~dancer/software/downloads/$TARBALL" + +DEPENDS="libdshconfig" +BUILD_DEPENDS="libdshconfig-dev" +SUGGESTED="ssh rsh" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr + cp -a $install/etc $fs + sed -i 's|=rsh|=dbclient|' $fs/etc/dsh.conf +} diff -r 3760e697c98f -r 263151d2b6b0 libdshconfig-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libdshconfig-dev/receipt Sun Jan 19 16:16:58 2020 +0100 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="libdshconfig-dev" +VERSION="0.20.9" +CATEGORY="development" +SHORT_DESC="Config file parser used by dsh, development files" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +WEB_SITE="http://www.netfort.gr.jp/~dancer/software/dsh.html.en" +WANTED="libdshconfig" + +DEPENDS="libdshconfig" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*a $fs/usr/lib + cp -a $install/usr/include $fs/usr +} diff -r 3760e697c98f -r 263151d2b6b0 libdshconfig/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libdshconfig/receipt Sun Jan 19 16:16:58 2020 +0100 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="libdshconfig" +VERSION="0.20.9" +CATEGORY="network" +SHORT_DESC="Config file parser used by dsh" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.netfort.gr.jp/~dancer/software/dsh.html.en" +WGET_URL="https://www.netfort.gr.jp/~dancer/software/downloads/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure --prefix=/usr \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib +} diff -r 3760e697c98f -r 263151d2b6b0 pssh/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pssh/receipt Sun Jan 19 16:16:58 2020 +0100 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="pssh" +VERSION="1.4.3" +CATEGORY="network" +SHORT_DESC="Parallel versions of the openssh tools" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="BSD" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.theether.org/pssh/" +WGET_URL="$WEB_SITE/$TARBALL" +TAGS="ssh" + +DEPENDS="python" +BUILD_DEPENDS="python-setuptools" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py build && + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs/ +}