
Receipt for package "rshd-redone"
# SliTaz package receipt. PACKAGE="rshd-redone" VERSION="85" CATEGORY="network" SHORT_DESC="Reimplementation of rshd and rlogind" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL" WEB_SITE="https://packages.debian.org/source/sid/rsh-redone" WANTED="rsh-redone" PROVIDE="rshd:pam rshd-pam" DEPENDS="pam" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr $fs/etc/skel cp -a $install/usr/sbin $fs/usr cp -a $install/usr/etc $fs touch $fs/etc/skel/.rhosts chmod 600 $fs/etc/skel/.rhosts } # Pre and post install commands for Tazpkg. post_install() { if ! grep -qs rlogind $1/etc/inetd.conf; then cat >> $1/etc/inetd.conf <<EOT login stream tcp nowait root /usr/sbin/in.rlogind rlogind shell stream tcp nowait root /usr/sbin/in.rshd rshd EOT [ -n "$1" ] || killall -HUP inetd fi } # Pre and post install commands for Tazpkg. pre_remove() { sed -i '/rlogind/d;/rshd/d' $1/etc/inetd.conf [ -n "$1" ] || killall -HUP inetd }
6093 packages and 258600 files in current database (Wed Apr 23 16:49:15 2025)