summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-misc/netkit-rsh
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-misc/netkit-rsh')
-rw-r--r--net-misc/netkit-rsh/Manifest3
-rw-r--r--net-misc/netkit-rsh/files/rexec.pamd-pambase6
-rw-r--r--net-misc/netkit-rsh/files/rexec.xinetd12
-rw-r--r--net-misc/netkit-rsh/files/rlogin.pamd-pambase9
-rw-r--r--net-misc/netkit-rsh/files/rlogin.xinetd12
-rw-r--r--net-misc/netkit-rsh/files/rsh.pamd-pambase11
-rw-r--r--net-misc/netkit-rsh/files/rsh.xinetd12
-rw-r--r--net-misc/netkit-rsh/metadata.xml5
-rw-r--r--net-misc/netkit-rsh/netkit-rsh-0.17-r10.ebuild77
-rw-r--r--net-misc/netkit-rsh/netkit-rsh-0.17-r9.ebuild77
10 files changed, 224 insertions, 0 deletions
diff --git a/net-misc/netkit-rsh/Manifest b/net-misc/netkit-rsh/Manifest
new file mode 100644
index 000000000000..9528963fc1d3
--- /dev/null
+++ b/net-misc/netkit-rsh/Manifest
@@ -0,0 +1,3 @@
+DIST netkit-rsh-0.17-patches-3.tar.lzma 13875 SHA256 e7ab523e06cf12cf2b88b404106fd56534ec15b65621e660dfd6e833037680f0 SHA512 0d9c6a8a8d13264b8f2eb6b62e6c65b67cf8b09bd36043acae405c7b2154724733db15d653e4f7ac7d21feebcfa6cd365ca89993fc77eabc5a709d7a6383b187 WHIRLPOOL 9aff6b1cbe1a94cd8bfb371c007cbdd0f0ad6b048fe769eba67bef5b66a4a7fdc3280fef93a9b27be78434e2d97f122445c563aa413a83a8b22224b101ba0df5
+DIST netkit-rsh-0.17.tar.gz 58268 SHA256 edcac7fa18015f0bc04e573f3f54ae3b638d71335df1ad7dae692779914ad669 SHA512 0d8da4a779da137f7b3f158ad010b71f2357c86a2160dbd19331cbf45f86a46110cdfdfd3c4ba2d19ddf3634917bf981eb91bfde02c3cdbc946df8695db75218 WHIRLPOOL 25ea38f5f7883fc89ab9c1dce6b850b177ec78ea2d619341f6001acca61e619bbf1e9d6b79b13eee164d16261ba1b72d07c74f522f192272ce61a2280c4a01b4
+DIST rexec-1.5.tar.gz 18469 SHA256 9bcf9986eb9637d1b8e8ab62a61c80f3422d628e837e72c6ad8c2e38604ccaf4 SHA512 7ed455a921ad71749154bd8e586ac2a624f357b56be17db73b9ed7c1ca1bc19cfb9aee748f79cc649184dfb535ffe5e887643b73a25c3fb6520d4e19fae7333a WHIRLPOOL 3356766c1c048da0c8be0a62cfb2d1f2c13aad0122bf4bfd8540f0e3622a40e9646aa2a9ebbe2f588d9d18a84f70960a60eb496f727b4367f4e20f9d9548ca6d
diff --git a/net-misc/netkit-rsh/files/rexec.pamd-pambase b/net-misc/netkit-rsh/files/rexec.pamd-pambase
new file mode 100644
index 000000000000..8657883e32aa
--- /dev/null
+++ b/net-misc/netkit-rsh/files/rexec.pamd-pambase
@@ -0,0 +1,6 @@
+# For root login to succeed here with pam_securetty, "rexec" must be
+# listed in /etc/securetty.
+auth required pam_securetty.so
+auth include system-remote-login
+account include system-remote-login
+session include system-remote-login
diff --git a/net-misc/netkit-rsh/files/rexec.xinetd b/net-misc/netkit-rsh/files/rexec.xinetd
new file mode 100644
index 000000000000..fea3710ec664
--- /dev/null
+++ b/net-misc/netkit-rsh/files/rexec.xinetd
@@ -0,0 +1,12 @@
+service exec
+{
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = root
+ group = tty
+ server = /usr/sbin/in.rexecd
+ log_on_success = PID HOST USERID EXIT DURATION
+ log_on_failure = USERID ATTEMPT
+ disable = yes
+}
diff --git a/net-misc/netkit-rsh/files/rlogin.pamd-pambase b/net-misc/netkit-rsh/files/rlogin.pamd-pambase
new file mode 100644
index 000000000000..9b4481edd6f8
--- /dev/null
+++ b/net-misc/netkit-rsh/files/rlogin.pamd-pambase
@@ -0,0 +1,9 @@
+#%PAM-1.0
+# For root login to succeed here with pam_securetty, "rlogin" must be
+# listed in /etc/securetty.
+auth required pam_securetty.so
+auth sufficient pam_rhosts.so
+auth include system-remote-login
+account include system-remote-login
+password include system-remote-login
+session include system-remote-login
diff --git a/net-misc/netkit-rsh/files/rlogin.xinetd b/net-misc/netkit-rsh/files/rlogin.xinetd
new file mode 100644
index 000000000000..76a99beba8d1
--- /dev/null
+++ b/net-misc/netkit-rsh/files/rlogin.xinetd
@@ -0,0 +1,12 @@
+service login
+{
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = root
+ group = tty
+ server = /usr/sbin/in.rlogind
+ log_on_success = PID HOST USERID EXIT DURATION
+ log_on_failure = USERID ATTEMPT
+ disable = yes
+}
diff --git a/net-misc/netkit-rsh/files/rsh.pamd-pambase b/net-misc/netkit-rsh/files/rsh.pamd-pambase
new file mode 100644
index 000000000000..460a2cd99f99
--- /dev/null
+++ b/net-misc/netkit-rsh/files/rsh.pamd-pambase
@@ -0,0 +1,11 @@
+#%PAM-1.0
+# For root login to succeed here with pam_securetty, "rsh" must be
+# listed in /etc/securetty.
+auth required pam_securetty.so
+
+# Uncomment this and comment the following to use rhosts_auth module
+#auth required pam_rhosts.so
+auth include system-remote-login
+
+account include system-remote-login
+session include system-remote-login
diff --git a/net-misc/netkit-rsh/files/rsh.xinetd b/net-misc/netkit-rsh/files/rsh.xinetd
new file mode 100644
index 000000000000..3d1fa6527943
--- /dev/null
+++ b/net-misc/netkit-rsh/files/rsh.xinetd
@@ -0,0 +1,12 @@
+service shell
+{
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = root
+ group = tty
+ server = /usr/sbin/in.rshd
+ log_on_success = PID HOST USERID EXIT DURATION
+ log_on_failure = USERID ATTEMPT
+ disable = yes
+}
diff --git a/net-misc/netkit-rsh/metadata.xml b/net-misc/netkit-rsh/metadata.xml
new file mode 100644
index 000000000000..96a2d586367d
--- /dev/null
+++ b/net-misc/netkit-rsh/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>base-system</herd>
+</pkgmetadata>
diff --git a/net-misc/netkit-rsh/netkit-rsh-0.17-r10.ebuild b/net-misc/netkit-rsh/netkit-rsh-0.17-r10.ebuild
new file mode 100644
index 000000000000..459b4ba58383
--- /dev/null
+++ b/net-misc/netkit-rsh/netkit-rsh-0.17-r10.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit eutils pam toolchain-funcs fcaps
+
+PATCHVER="3"
+DESCRIPTION="Netkit's Remote Shell Suite: rexec{,d} rlogin{,d} rsh{,d}"
+HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
+SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P}.tar.gz
+ mirror://gentoo/rexec-1.5.tar.gz
+ mirror://gentoo/${P}-patches-${PATCHVER}.tar.lzma"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
+IUSE="pam"
+
+RDEPEND=">=sys-libs/ncurses-5.2
+ pam? ( >=sys-auth/pambase-20080219.1 )"
+DEPEND="${RDEPEND}
+ || ( app-arch/xz-utils app-arch/lzma-utils )"
+
+FILECAPS=(
+ cap_net_bind_service usr/bin/r{cp,login,sh}
+)
+
+src_unpack() {
+ default
+
+ cd "${S}"
+ rm -rf rexec
+ mv ../rexec rexec
+}
+
+src_prepare() {
+ [[ -n ${PATCHVER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
+
+ if tc-is-cross-compiler ; then
+ # Can't do runtime tests when cross-compiling
+ sed -i -e "s|./__conftest|: ./__conftest|" configure
+ fi
+}
+
+src_configure() {
+ tc-export CC
+ ./configure $(use pam && echo --without-pam) || die
+
+ sed -i \
+ -e "s:-pipe -O2:${CFLAGS}:" \
+ -e "/^LDFLAGS=$/d" \
+ -e "s:-Wpointer-arith::" \
+ MCONFIG || die
+}
+
+src_install() {
+ local b exe
+ insinto /etc/xinetd.d
+ for b in rcp rexec{,d} rlogin{,d} rsh{,d} ; do
+ if [[ ${b} == *d ]] ; then
+ dosbin ${b}/${b}
+ dosym ${b} /usr/sbin/in.${b}
+ doman ${b}/${b}.8
+ else
+ dobin ${b}/${b}
+ doman ${b}/${b}.1
+ if [[ ${b} != "rcp" ]]; then
+ newins "${FILESDIR}"/${b}.xinetd ${b}
+ newpamd "${FILESDIR}/${b}.pamd-pambase" ${b}
+ fi
+ fi
+ done
+ dodoc README ChangeLog BUGS
+ newdoc rexec/README README.rexec
+}
diff --git a/net-misc/netkit-rsh/netkit-rsh-0.17-r9.ebuild b/net-misc/netkit-rsh/netkit-rsh-0.17-r9.ebuild
new file mode 100644
index 000000000000..deefa64d15e8
--- /dev/null
+++ b/net-misc/netkit-rsh/netkit-rsh-0.17-r9.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils pam toolchain-funcs
+
+PATCHVER="3"
+DESCRIPTION="Netkit's Remote Shell Suite: rexec{,d} rlogin{,d} rsh{,d}"
+HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
+SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P}.tar.gz
+ mirror://gentoo/rexec-1.5.tar.gz
+ mirror://gentoo/${P}-patches-${PATCHVER}.tar.lzma"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
+IUSE="pam"
+
+RDEPEND=">=sys-libs/ncurses-5.2
+ pam? ( >=sys-auth/pambase-20080219.1 )"
+DEPEND="${RDEPEND}
+ || ( app-arch/xz-utils app-arch/lzma-utils )"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ rm -rf rexec
+ mv ../rexec rexec
+
+ if [[ -n ${PATCHVER} ]] ; then
+ EPATCH_SUFFIX="patch"
+ epatch "${WORKDIR}"/patch
+ fi
+
+ if tc-is-cross-compiler ; then
+ # Can't do runtime tests when cross-compiling
+ sed -i -e "s|./__conftest|: ./__conftest|" configure
+ fi
+}
+
+src_compile() {
+ local myconf
+ use pam || myconf="--without-pam"
+ tc-export CC
+ ./configure ${myconf} || die
+
+ sed -i \
+ -e "s:-pipe -O2:${CFLAGS}:" \
+ -e "/^LDFLAGS=$/d" \
+ -e "s:-Wpointer-arith::" \
+ MCONFIG || die "could not sed MCONFIG"
+ emake || die
+}
+
+src_install() {
+ local b exe
+ insinto /etc/xinetd.d
+ for b in rcp rexec{,d} rlogin{,d} rsh{,d} ; do
+ if [[ ${b:0-1} == "d" ]] ; then
+ dosbin ${b}/${b} || die "dosbin ${b} failed"
+ dosym ${b} /usr/sbin/in.${b}
+ doman ${b}/${b}.8
+ else
+ dobin ${b}/${b} || die "dobin ${b} failed"
+ doman ${b}/${b}.1
+ [[ ${b} != "rexec" ]] \
+ && fperms 4711 /usr/bin/${b}
+ if [[ ${b} != "rcp" ]]; then
+ newins "${FILESDIR}"/${b}.xinetd ${b}
+ newpamd "${FILESDIR}/${b}.pamd-pambase" ${b}
+ fi
+ fi
+ done
+ dodoc README ChangeLog BUGS
+ newdoc rexec/README README.rexec
+}