# HG changeset patch # User Pascal Bellard # Date 1555052628 -7200 # Node ID b2f137fe8270c4e7f8ff2da7fedf0d648f0df53e # Parent 9e985e6947f6d8d623f20709bddadad1c733b0ed rsh -> rsh-redone diff -r 9e985e6947f6 -r b2f137fe8270 rsh-redone/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rsh-redone/receipt Fri Apr 12 09:03:48 2019 +0200 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="rsh-redone" +VERSION="85" +CATEGORY="network" +SHORT_DESC="Reimplementation of rsh and rlogin" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL" +TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" +WEB_SITE="https://packages.debian.org/source/sid/rsh-redone" +WGET_URL="http://ftp.de.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL" +PROVIDE="rsh:pam rsh-pam" + +BUILD_DEPENDS="pam-dev" + +# Rules to configure and make the package. +compile_rules() +{ + 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 +} diff -r 9e985e6947f6 -r b2f137fe8270 rsh/receipt --- a/rsh/receipt Thu Apr 11 17:56:29 2019 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,28 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="rsh" -SOURCE="rsh-redone" -VERSION="85" -CATEGORY="network" -SHORT_DESC="Reimplementation of rsh and rlogin" -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="GPL" -TARBALL="${SOURCE}_$VERSION.orig.tar.gz" -WEB_SITE="https://packages.debian.org/source/sid/rsh-redone" -WGET_URL="http://ftp.de.debian.org/debian/pool/main/${SOURCE:0:1}/$SOURCE/$TARBALL" - -BUILD_DEPENDS="pam-dev" - -# Rules to configure and make the package. -compile_rules() -{ - 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 -} diff -r 9e985e6947f6 -r b2f137fe8270 rshd-redone/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rshd-redone/receipt Fri Apr 12 09:03:48 2019 +0200 @@ -0,0 +1,42 @@ +# 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 <> $1/etc/inetd.conf <