# HG changeset patch # User Pascal Bellard # Date 1555052863 -7200 # Node ID d2b89a055cf036ee9b88d9ecb4e7b13e21c95fa8 # Parent b2f137fe8270c4e7f8ff2da7fedf0d648f0df53e netkit-rsh -> rsh diff -r b2f137fe8270 -r d2b89a055cf0 netkit-rsh/receipt --- a/netkit-rsh/receipt Fri Apr 12 09:03:48 2019 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,58 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="netkit-rsh" -VERSION="0.17" -CATEGORY="network" -SHORT_DESC="Remote connexion tools." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="BSD" -TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://ftp.linux.org.uk/pub/linux/Networking/netkit/" -WGET_URL="http://ibiblio.org/pub/linux/system/network/netkit/$TARBALL" -PROVIDE="rsh rshd" - -DEPENDS="" -BUILD_DEPENDS="ncurses-dev" - -# Rules to configure and make the package. -compile_rules() -{ - sed -i 's|/man|/share&|' configure - mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/sbin \ - $DESTDIR/usr/share/man/man1 $DESTDIR/usr/share/man/man8 - sed -i 's|.*param.h.*|#include \n&|' \ - rexecd/rexecd.c rshd/rshd.c - sed -i 's|.*rlogind.*|#include \n&|' rlogind/rlogind.h - ./configure --prefix=/usr --without-pam --installroot=$DESTDIR && - make && make install -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr $fs/etc/skel - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/sbin $fs/usr - 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 <\n&|' \ + rexecd/rexecd.c rshd/rshd.c + sed -i 's|.*rlogind.*|#include \n&|' rlogind/rlogind.h + ./configure --prefix=/usr --without-pam --installroot=$DESTDIR && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr $fs/etc/skel + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/sbin $fs/usr + 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 <