wok diff netkit-rsh/receipt @ rev 21097
Add afuse
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 18 11:50:02 2019 +0100 (2019-03-18) |
parents | 426eec51ef7c |
children | ca81ff4a83e8 |
line diff
1.1 --- a/netkit-rsh/receipt Sat Mar 16 13:37:17 2019 +0100 1.2 +++ b/netkit-rsh/receipt Mon Mar 18 11:50:02 2019 +0100 1.3 @@ -7,7 +7,7 @@ 1.4 MAINTAINER="pascal.bellard@slitaz.org" 1.5 LICENSE="BSD" 1.6 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.7 -WEB_SITE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit" 1.8 +WEB_SITE="http://ftp.linux.org.uk/pub/linux/Networking/netkit/" 1.9 WGET_URL="http://ibiblio.org/pub/linux/system/network/netkit/$TARBALL" 1.10 PROVIDE="rsh rshd" 1.11 1.12 @@ -30,9 +30,11 @@ 1.13 # Rules to gen a SliTaz package suitable for Tazpkg. 1.14 genpkg_rules() 1.15 { 1.16 - mkdir $fs/usr 1.17 + mkdir $fs/usr $fs/etc/skel 1.18 cp -a $install/usr/bin $fs/usr 1.19 cp -a $install/usr/sbin $fs/usr 1.20 + touch $fs/etc/skel/.rhosts 1.21 + chmod 600 $fs/etc/skel/.rhosts 1.22 } 1.23 1.24 # Pre and post install commands for Tazpkg. 1.25 @@ -41,8 +43,8 @@ 1.26 if ! grep -qs rlogind $1/etc/inetd.conf; then 1.27 cat >> $1/etc/inetd.conf <<EOT 1.28 exec stream tcp nowait root /usr/sbin/in.execd execd 1.29 -login stream tcp nowait root /usr/sbin/in.rlogind rlogind 1.30 -shell stream tcp nowait root /usr/sbin/in.rshd rshd 1.31 +login stream tcp nowait root /usr/sbin/in.rlogind rlogind -hl 1.32 +shell stream tcp nowait root /usr/sbin/in.rshd rshd -hl 1.33 EOT 1.34 [ -n "$1" ] || killall -HUP inetd 1.35 fi