summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/netkit-rsh')
-rw-r--r--net-misc/netkit-rsh/Manifest4
-rw-r--r--net-misc/netkit-rsh/files/digest-netkit-rsh-0.17-r51
-rw-r--r--net-misc/netkit-rsh/files/rexec.xinetd1
-rw-r--r--net-misc/netkit-rsh/files/rlogin.xinetd1
-rw-r--r--net-misc/netkit-rsh/files/rsh.xinetd1
-rw-r--r--net-misc/netkit-rsh/netkit-rsh-0.17-r5.ebuild73
6 files changed, 76 insertions, 5 deletions
diff --git a/net-misc/netkit-rsh/Manifest b/net-misc/netkit-rsh/Manifest
index b3c44a79ba78..4c35814657fc 100644
--- a/net-misc/netkit-rsh/Manifest
+++ b/net-misc/netkit-rsh/Manifest
@@ -1,7 +1,7 @@
MD5 8511719ab494b11b529f2313959cf25f netkit-rsh-0.17-r4.ebuild 1868
MD5 08afa02247341211dd2561fa2a41db00 netkit-rsh-0.17-r3.ebuild 1692
-MD5 8511719ab494b11b529f2313959cf25f netkit-rsh-0.17-r5.ebuild 1868
-MD5 ecc5f1b940c894a39062f9e3c7b7c01e ChangeLog 2125
+MD5 41a5c21ed6a880c120200ae336c21715 netkit-rsh-0.17-r5.ebuild 1868
+MD5 a198443798e50e648858a51e67309504 ChangeLog 2125
MD5 ec3d6de902670c90897507f4a098f668 files/rlogin.pamd 580
MD5 0586a4c1829df038be6179b9be20c458 files/rsh.xinetd 279
MD5 501cf426db7510decc4dee17b07c5ea2 files/rexec.xinetd 280
diff --git a/net-misc/netkit-rsh/files/digest-netkit-rsh-0.17-r5 b/net-misc/netkit-rsh/files/digest-netkit-rsh-0.17-r5
new file mode 100644
index 000000000000..f15e7166a879
--- /dev/null
+++ b/net-misc/netkit-rsh/files/digest-netkit-rsh-0.17-r5
@@ -0,0 +1 @@
+MD5 65f5f28e2fe22d9ad8b17bb9a10df096 netkit-rsh_0.17.orig.tar.gz 58268
diff --git a/net-misc/netkit-rsh/files/rexec.xinetd b/net-misc/netkit-rsh/files/rexec.xinetd
index e00d044842cb..fea3710ec664 100644
--- a/net-misc/netkit-rsh/files/rexec.xinetd
+++ b/net-misc/netkit-rsh/files/rexec.xinetd
@@ -6,7 +6,6 @@ service exec
user = root
group = tty
server = /usr/sbin/in.rexecd
- log_type = FILE /var/log/rsh
log_on_success = PID HOST USERID EXIT DURATION
log_on_failure = USERID ATTEMPT
disable = yes
diff --git a/net-misc/netkit-rsh/files/rlogin.xinetd b/net-misc/netkit-rsh/files/rlogin.xinetd
index 18b9e23fc9e2..76a99beba8d1 100644
--- a/net-misc/netkit-rsh/files/rlogin.xinetd
+++ b/net-misc/netkit-rsh/files/rlogin.xinetd
@@ -6,7 +6,6 @@ service login
user = root
group = tty
server = /usr/sbin/in.rlogind
- log_type = FILE /var/log/rsh
log_on_success = PID HOST USERID EXIT DURATION
log_on_failure = USERID ATTEMPT
disable = yes
diff --git a/net-misc/netkit-rsh/files/rsh.xinetd b/net-misc/netkit-rsh/files/rsh.xinetd
index 5dfb294a78a9..3d1fa6527943 100644
--- a/net-misc/netkit-rsh/files/rsh.xinetd
+++ b/net-misc/netkit-rsh/files/rsh.xinetd
@@ -6,7 +6,6 @@ service shell
user = root
group = tty
server = /usr/sbin/in.rshd
- log_type = FILE /var/log/rsh
log_on_success = PID HOST USERID EXIT DURATION
log_on_failure = USERID ATTEMPT
disable = yes
diff --git a/net-misc/netkit-rsh/netkit-rsh-0.17-r5.ebuild b/net-misc/netkit-rsh/netkit-rsh-0.17-r5.ebuild
new file mode 100644
index 000000000000..011c8666382b
--- /dev/null
+++ b/net-misc/netkit-rsh/netkit-rsh-0.17-r5.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2003 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-r5.ebuild,v 1.1 2003/08/01 17:38:06 agriffis Exp $
+
+inherit eutils
+
+IUSE=""
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Netkit's Remote Shell Suite: rexec{,d} rlogin{,d} rsh{,d}"
+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/"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="x86 sparc ppc alpha mips"
+
+DEPEND=">=sys-libs/ncurses-5.2
+ >=sys-libs/pam-0.72"
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+ epatch ${FILESDIR}/rlogind-auth.diff
+}
+
+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
+ insinto /etc/pam.d
+ newins ${FILESDIR}/rexec.pamd rexec
+ newins ${FILESDIR}/rlogin.pamd rlogin
+ newins ${FILESDIR}/rsh.pamd rsh
+
+}