wok-tiny rev 146
Add rsh
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 02 12:49:50 2019 +0200 (2019-09-02) |
parents | 1aa08ca3ecaf |
children | f791de00e1a2 |
files | base-tiny/receipt dropbear-without-zlib/receipt dropbear/receipt hardware-ibm-6272/receipt module-usb-storage/receipt rsh/receipt rsync/receipt |
line diff
1.1 --- a/base-tiny/receipt Sun Sep 01 19:47:47 2019 +0200 1.2 +++ b/base-tiny/receipt Mon Sep 02 12:49:50 2019 +0200 1.3 @@ -85,7 +85,7 @@ 1.4 </table> 1.5 <input type="checkbox" name="KEEP_MODULES" ${KEEP_MODULES:+checked="checked" }/> 1.6 Do not remove the modules files after loading modules. 1.7 -<input type="hidden" name="LOAD_MODULES" value="$(cat $1/modules)" /> 1.8 +<input type="hidden" name="LOAD_MODULES" value="$(cat $1/modules | xargs)" /> 1.9 EOT 1.10 } 1.11
2.1 --- a/dropbear-without-zlib/receipt Sun Sep 01 19:47:47 2019 +0200 2.2 +++ b/dropbear-without-zlib/receipt Mon Sep 02 12:49:50 2019 +0200 2.3 @@ -14,7 +14,7 @@ 2.4 WEB_SITE="http://matt.ucc.asn.au/dropbear/dropbear.html" 2.5 WGET_URL="http://matt.ucc.asn.au/dropbear/releases/$TARBALL" 2.6 CONFIG_FILES="/etc/dropbear /etc/daemons.conf /etc/rcS.conf" 2.7 -PROVIDE="ssh dropbear" 2.8 +PROVIDE="ssh dropbear scp dropbear-client" 2.9 TAGS="ssh" 2.10 2.11 # Rules to configure and make the package.
3.1 --- a/dropbear/receipt Sun Sep 01 19:47:47 2019 +0200 3.2 +++ b/dropbear/receipt Mon Sep 02 12:49:50 2019 +0200 3.3 @@ -13,7 +13,7 @@ 3.4 WEB_SITE="http://matt.ucc.asn.au/dropbear/dropbear.html" 3.5 WGET_URL="http://matt.ucc.asn.au/dropbear/releases/$TARBALL" 3.6 CONFIG_FILES="/etc/dropbear /etc/daemons.conf /etc/rcS.conf" 3.7 -PROVIDE="ssh" 3.8 +PROVIDE="ssh scp dropbear-client" 3.9 TAGS="ssh" 3.10 3.11 # Rules to configure and make the package.
4.1 --- a/hardware-ibm-6272/receipt Sun Sep 01 19:47:47 2019 +0200 4.2 +++ b/hardware-ibm-6272/receipt Mon Sep 02 12:49:50 2019 +0200 4.3 @@ -10,7 +10,7 @@ 4.4 WEB_SITE="http://www.slitaz.org/" 4.5 4.6 DEPENDS="isapnptools module-cs89x0" 4.7 -SUGGESTED="module-serial module-lp module-floppy module-ide" 4.8 +SUGGESTED="module-serial module-lp module-floppy module-ide module-usb-storage module-usblp" 4.9 4.10 # Post message when installing. 4.11 post_install()
5.1 --- a/module-usb-storage/receipt Sun Sep 01 19:47:47 2019 +0200 5.2 +++ b/module-usb-storage/receipt Mon Sep 02 12:49:50 2019 +0200 5.3 @@ -10,6 +10,8 @@ 5.4 WEB_SITE="http://tiny.slitaz.org/" 5.5 WANTED="linux" 5.6 5.7 +DEPENDS="module-sd_mod" 5.8 + 5.9 # Rules to gen a SliTaz package suitable for Tazpkg. 5.10 genpkg_rules() 5.11 {
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/rsh/receipt Mon Sep 02 12:49:50 2019 +0200 6.3 @@ -0,0 +1,69 @@ 6.4 +# SliTaz package receipt. 6.5 + 6.6 +PACKAGE="rsh" 6.7 +VERSION="0.17" 6.8 +CATEGORY="network" 6.9 +SHORT_DESC="Remote connection tools" 6.10 +MAINTAINER="pascal.bellard@slitaz.org" 6.11 +LICENSE="BSD" 6.12 +[ -n "$TARGET" ] || TARGET="i486" 6.13 +TARBALL="netkit-$PACKAGE-$VERSION.tar.gz" 6.14 +WEB_SITE="http://ftp.linux.org.uk/pub/linux/Networking/netkit/" 6.15 +WGET_URL="http://ibiblio.org/pub/linux/system/network/netkit/$TARBALL" 6.16 + 6.17 +DEPENDS="libcrypt libutil" 6.18 +BUILD_DEPENDS="ncurses-dev" 6.19 + 6.20 +# Rules to configure and make the package. 6.21 +compile_rules() 6.22 +{ 6.23 + sed -i 's|/man|/share&|' configure 6.24 + mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/sbin \ 6.25 + $DESTDIR/usr/share/man/man1 $DESTDIR/usr/share/man/man8 6.26 + sed -i 's|ARG_MAX|131072|' rexecd/rexecd.c rshd/rshd.c 6.27 + sed -i 's|.*param.h.*|#include <linux/limits.h>\n&|' \ 6.28 + rexecd/rexecd.c rshd/rshd.c 6.29 + sed -i 's|.*rlogind.*|#include <stdio.h>\n&|' rlogind/rlogind.h 6.30 + ./configure --prefix=/usr --without-pam --installroot=$DESTDIR && 6.31 + make && make install 6.32 +} 6.33 + 6.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 6.35 +genpkg_rules() 6.36 +{ 6.37 + mkdir -p $fs/usr $fs/root 6.38 + cp -a $install/usr/bin $fs/usr 6.39 + cp -a $install/usr/sbin $fs/usr 6.40 + touch $fs/root/.rhosts 6.41 + chmod 600 $fs/root/.rhosts 6.42 +} 6.43 + 6.44 +# Pre and post install commands for Tazpkg. 6.45 +post_install() 6.46 +{ 6.47 + if [ "$STARTRSH" = "ON" ]; then 6.48 + grep -q inetd $1/etc/rcS.conf || 6.49 + sed -i 's/^RUN_DAEMONS="/&inetd /' $1/etc/rcS.conf 6.50 + grep -qs rlogind $1/etc/inetd.conf || cat >> $1/etc/inetd.conf <<EOT 6.51 +exec stream tcp nowait root /usr/sbin/in.execd execd 6.52 +login stream tcp nowait root /usr/sbin/in.rlogind rlogind -hl 6.53 +shell stream tcp nowait root /usr/sbin/in.rshd rshd -hl 6.54 +EOT 6.55 + fi 6.56 +} 6.57 + 6.58 +config_form() 6.59 +{ 6.60 + cat <<EOT 6.61 +<input type="checkbox" name="STARTRSH" value="ON" ${STARTRSH:+checked="checked" }/> 6.62 +Start server during boot<br> 6.63 +<table> 6.64 +<tr> 6.65 +<td>Trusted hosts</td> 6.66 +<td><textarea name="RSH_HOSTS" cols="60" rows="12" wrap="off"> 6.67 +$RSH_HOSTS 6.68 +</textarea></td> 6.69 +</tr> 6.70 +</table> 6.71 +EOT 6.72 +}
7.1 --- a/rsync/receipt Sun Sep 01 19:47:47 2019 +0200 7.2 +++ b/rsync/receipt Mon Sep 02 12:49:50 2019 +0200 7.3 @@ -14,6 +14,8 @@ 7.4 WGET_URL="${WEB_SITE}ftp/$PACKAGE/$TARBALL" 7.5 CONFIG_FILES="/etc/rsyncd.conf /etc/rsyncd.secrets" 7.6 7.7 +SUGGESTED="rsh dropbear-client" 7.8 + 7.9 # Rules to configure and make the package. 7.10 compile_rules() 7.11 {