summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2002-10-25 14:00:18 +0000
committerDonny Davies <woodchip@gentoo.org>2002-10-25 14:00:18 +0000
commit5f2f7ea6242d4b24797ce4aac1258165ae78f2b0 (patch)
tree45065c9f3d35b98a3d05ece3731354633a5641fe /net-misc/netkit-rsh/netkit-rsh-0.17-r3.ebuild
parentclose #8664 (diff)
downloadgentoo-2-5f2f7ea6242d4b24797ce4aac1258165ae78f2b0.tar.gz
gentoo-2-5f2f7ea6242d4b24797ce4aac1258165ae78f2b0.tar.bz2
gentoo-2-5f2f7ea6242d4b24797ce4aac1258165ae78f2b0.zip
close #9443
Diffstat (limited to 'net-misc/netkit-rsh/netkit-rsh-0.17-r3.ebuild')
-rw-r--r--net-misc/netkit-rsh/netkit-rsh-0.17-r3.ebuild60
1 files changed, 60 insertions, 0 deletions
diff --git a/net-misc/netkit-rsh/netkit-rsh-0.17-r3.ebuild b/net-misc/netkit-rsh/netkit-rsh-0.17-r3.ebuild
new file mode 100644
index 000000000000..eda03fbe6319
--- /dev/null
+++ b/net-misc/netkit-rsh/netkit-rsh-0.17-r3.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-rsh/netkit-rsh-0.17-r3.ebuild,v 1.1 2002/10/25 14:00:18 woodchip Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Netkit - rshd"
+SRC_URI="http://ftp.debian.org/debian/pool/main/n/${PN}/${PN}_${PV}.orig.tar.gz"
+HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
+KEYWORDS="x86 sparc sparc64 ppc"
+LICENSE="bsd"
+SLOT="0"
+
+DEPEND=">=sys-libs/ncurses-5.2 >=sys-libs/pam-0.72"
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+ patch -p0 <${FILESDIR}/rlogind-auth.diff || die
+}
+
+src_compile() {
+ ./configure || die
+ cp MCONFIG MCONFIG.orig
+ sed -e "s/-pipe -O2/${CFLAGS}/" \
+ -e "s:-Wpointer-arith::" \
+ MCONFIG.orig > MCONFIG
+ make || die
+}
+
+src_install() {
+ into /usr
+ dobin rcp/rcp
+ fperms 4755 /usr/bin/rcp
+ doman rcp/rcp.1
+ dobin rexec/rexec
+ doman rexec/rexec.1
+ dosbin rexecd/rexecd
+ dosym rexecd /usr/sbin/in.rexecd
+ doman rexecd/rexecd.8
+ dosym rexecd.8.gz /usr/share/man/man8/in.rexecd.8.gz
+ dobin rlogin/rlogin
+ fperms 4755 /usr/bin/rlogin
+ doman rlogin/rlogin.1
+ dosbin rlogind/rlogind
+ dosym rlogind /usr/sbin/in.rlogind
+ doman rlogind/rlogind.8
+ dosym rlogind.8.gz /usr/share/man/man8/in.rlogind.8.gz
+ dobin rsh/rsh
+ fperms 4755 /usr/bin/rsh
+ doman rsh/rsh.1
+ dosbin rshd/rshd
+ dosym rshd /usr/sbin/in.rshd
+ doman rshd/rshd.8
+ dosym rshd.8.gz /usr/share/man/man8/in.rshd.8.gz
+ dodoc README ChangeLog BUGS
+ newdoc rexec/README README.rexec
+ insinto /etc/xinetd.d
+ newins ${FILESDIR}/rexec.xinetd rexec
+ newins ${FILESDIR}/rlogin.xinetd rlogin
+ newins ${FILESDIR}/rsh.xinetd rsh
+}