summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2003-07-25 20:23:22 +0000
committerDonny Davies <woodchip@gentoo.org>2003-07-25 20:23:22 +0000
commite46a45e8777cae60a5f944fa6ad2fd041000d5cd (patch)
tree39e48e799222acefa75de25e5f651b521258009e /net-misc/netkit-rsh
parentadd pam.d files (diff)
downloadhistorical-e46a45e8777cae60a5f944fa6ad2fd041000d5cd.tar.gz
historical-e46a45e8777cae60a5f944fa6ad2fd041000d5cd.tar.bz2
historical-e46a45e8777cae60a5f944fa6ad2fd041000d5cd.zip
add pam.d files
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-r4 (renamed from net-misc/netkit-rsh/files/digest-netkit-rsh-0.17-r2)0
-rw-r--r--net-misc/netkit-rsh/files/rexec.pamd9
-rw-r--r--net-misc/netkit-rsh/files/rlogin.pamd11
-rw-r--r--net-misc/netkit-rsh/files/rsh.pamd9
-rw-r--r--net-misc/netkit-rsh/netkit-rsh-0.17-r4.ebuild (renamed from net-misc/netkit-rsh/netkit-rsh-0.17-r2.ebuild)20
6 files changed, 45 insertions, 8 deletions
diff --git a/net-misc/netkit-rsh/Manifest b/net-misc/netkit-rsh/Manifest
index 3b9bc63ba504..9b5401764036 100644
--- a/net-misc/netkit-rsh/Manifest
+++ b/net-misc/netkit-rsh/Manifest
@@ -1,6 +1,6 @@
-MD5 3d6d7e65dfd3a2d5b86e61e259984e5a ChangeLog 1639
+MD5 041102dbf8d700acc84361ce49b423b8 ChangeLog 1898
MD5 08afa02247341211dd2561fa2a41db00 netkit-rsh-0.17-r3.ebuild 1692
-MD5 202d0321391463b02874931ebb35ae66 netkit-rsh-0.17-r4.ebuild 1866
+MD5 8511719ab494b11b529f2313959cf25f netkit-rsh-0.17-r4.ebuild 1868
MD5 00dc5439d1237d8da5351107131d6e28 files/digest-netkit-rsh-0.17-r3 71
MD5 e57b23f4b43cb9b80d47b28f4a764460 files/rexec.xinetd 317
MD5 71642dd6a3a9e1226eff345f88339d5d files/rlogin.xinetd 319
diff --git a/net-misc/netkit-rsh/files/digest-netkit-rsh-0.17-r2 b/net-misc/netkit-rsh/files/digest-netkit-rsh-0.17-r4
index f15e7166a879..f15e7166a879 100644
--- a/net-misc/netkit-rsh/files/digest-netkit-rsh-0.17-r2
+++ b/net-misc/netkit-rsh/files/digest-netkit-rsh-0.17-r4
diff --git a/net-misc/netkit-rsh/files/rexec.pamd b/net-misc/netkit-rsh/files/rexec.pamd
new file mode 100644
index 000000000000..7fb1cc770069
--- /dev/null
+++ b/net-misc/netkit-rsh/files/rexec.pamd
@@ -0,0 +1,9 @@
+#%PAM-1.0
+# For root login to succeed here with pam_securetty, "rexec" must be
+# listed in /etc/securetty.
+auth required /lib/security/pam_nologin.so
+auth required /lib/security/pam_securetty.so
+auth required /lib/security/pam_env.so
+auth required /lib/security/pam_stack.so service=system-auth
+account required /lib/security/pam_stack.so service=system-auth
+session required /lib/security/pam_stack.so service=system-auth
diff --git a/net-misc/netkit-rsh/files/rlogin.pamd b/net-misc/netkit-rsh/files/rlogin.pamd
new file mode 100644
index 000000000000..ae4cd2f796f2
--- /dev/null
+++ b/net-misc/netkit-rsh/files/rlogin.pamd
@@ -0,0 +1,11 @@
+#%PAM-1.0
+# For root login to succeed here with pam_securetty, "rlogin" must be
+# listed in /etc/securetty.
+auth required /lib/security/pam_nologin.so
+auth required /lib/security/pam_securetty.so
+auth required /lib/security/pam_env.so
+auth sufficient /lib/security/pam_rhosts_auth.so
+auth required /lib/security/pam_stack.so service=system-auth
+account required /lib/security/pam_stack.so service=system-auth
+password required /lib/security/pam_stack.so service=system-auth
+session required /lib/security/pam_stack.so service=system-auth
diff --git a/net-misc/netkit-rsh/files/rsh.pamd b/net-misc/netkit-rsh/files/rsh.pamd
new file mode 100644
index 000000000000..9feb9af03d96
--- /dev/null
+++ b/net-misc/netkit-rsh/files/rsh.pamd
@@ -0,0 +1,9 @@
+#%PAM-1.0
+# For root login to succeed here with pam_securetty, "rsh" must be
+# listed in /etc/securetty.
+auth required /lib/security/pam_nologin.so
+auth required /lib/security/pam_securetty.so
+auth required /lib/security/pam_env.so
+auth required /lib/security/pam_rhosts_auth.so
+account required /lib/security/pam_stack.so service=system-auth
+session required /lib/security/pam_stack.so service=system-auth
diff --git a/net-misc/netkit-rsh/netkit-rsh-0.17-r2.ebuild b/net-misc/netkit-rsh/netkit-rsh-0.17-r4.ebuild
index 7529ea64d497..062983443a8e 100644
--- a/net-misc/netkit-rsh/netkit-rsh-0.17-r2.ebuild
+++ b/net-misc/netkit-rsh/netkit-rsh-0.17-r4.ebuild
@@ -1,26 +1,25 @@
# 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-r2.ebuild,v 1.12 2003/02/24 19:42:04 dragon Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-rsh/netkit-rsh-0.17-r4.ebuild,v 1.1 2003/07/25 20:23:16 woodchip Exp $
inherit eutils
IUSE=""
S=${WORKDIR}/${P}
-DESCRIPTION="Netkit's Remote Shell Daemon"
+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 mips"
+KEYWORDS="x86 sparc ppc alpha mips"
DEPEND=">=sys-libs/ncurses-5.2
>=sys-libs/pam-0.72"
-src_unpack () {
- unpack ${A}
- cd ${S}
+src_unpack() {
+ unpack ${A} ; cd ${S}
epatch ${FILESDIR}/rlogind-auth.diff
}
@@ -62,4 +61,13 @@ src_install() {
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
+
}