1 |
commit: 3dcb98c29832333f4a5793e8707e57285434f9f6 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 17 15:58:12 2016 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 17 16:03:52 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dcb98c2 |
7 |
|
8 |
net-misc/netkit-rsh: drop old <0.17-r10 versions |
9 |
|
10 |
net-misc/netkit-rsh/netkit-rsh-0.17-r9.ebuild | 77 --------------------------- |
11 |
1 file changed, 77 deletions(-) |
12 |
|
13 |
diff --git a/net-misc/netkit-rsh/netkit-rsh-0.17-r9.ebuild b/net-misc/netkit-rsh/netkit-rsh-0.17-r9.ebuild |
14 |
deleted file mode 100644 |
15 |
index deefa64..0000000 |
16 |
--- a/net-misc/netkit-rsh/netkit-rsh-0.17-r9.ebuild |
17 |
+++ /dev/null |
18 |
@@ -1,77 +0,0 @@ |
19 |
-# Copyright 1999-2012 Gentoo Foundation |
20 |
-# Distributed under the terms of the GNU General Public License v2 |
21 |
-# $Id$ |
22 |
- |
23 |
-inherit eutils pam toolchain-funcs |
24 |
- |
25 |
-PATCHVER="3" |
26 |
-DESCRIPTION="Netkit's Remote Shell Suite: rexec{,d} rlogin{,d} rsh{,d}" |
27 |
-HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/" |
28 |
-SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P}.tar.gz |
29 |
- mirror://gentoo/rexec-1.5.tar.gz |
30 |
- mirror://gentoo/${P}-patches-${PATCHVER}.tar.lzma" |
31 |
- |
32 |
-LICENSE="BSD" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" |
35 |
-IUSE="pam" |
36 |
- |
37 |
-RDEPEND=">=sys-libs/ncurses-5.2 |
38 |
- pam? ( >=sys-auth/pambase-20080219.1 )" |
39 |
-DEPEND="${RDEPEND} |
40 |
- || ( app-arch/xz-utils app-arch/lzma-utils )" |
41 |
- |
42 |
-src_unpack() { |
43 |
- unpack ${A} |
44 |
- |
45 |
- cd "${S}" |
46 |
- rm -rf rexec |
47 |
- mv ../rexec rexec |
48 |
- |
49 |
- if [[ -n ${PATCHVER} ]] ; then |
50 |
- EPATCH_SUFFIX="patch" |
51 |
- epatch "${WORKDIR}"/patch |
52 |
- fi |
53 |
- |
54 |
- if tc-is-cross-compiler ; then |
55 |
- # Can't do runtime tests when cross-compiling |
56 |
- sed -i -e "s|./__conftest|: ./__conftest|" configure |
57 |
- fi |
58 |
-} |
59 |
- |
60 |
-src_compile() { |
61 |
- local myconf |
62 |
- use pam || myconf="--without-pam" |
63 |
- tc-export CC |
64 |
- ./configure ${myconf} || die |
65 |
- |
66 |
- sed -i \ |
67 |
- -e "s:-pipe -O2:${CFLAGS}:" \ |
68 |
- -e "/^LDFLAGS=$/d" \ |
69 |
- -e "s:-Wpointer-arith::" \ |
70 |
- MCONFIG || die "could not sed MCONFIG" |
71 |
- emake || die |
72 |
-} |
73 |
- |
74 |
-src_install() { |
75 |
- local b exe |
76 |
- insinto /etc/xinetd.d |
77 |
- for b in rcp rexec{,d} rlogin{,d} rsh{,d} ; do |
78 |
- if [[ ${b:0-1} == "d" ]] ; then |
79 |
- dosbin ${b}/${b} || die "dosbin ${b} failed" |
80 |
- dosym ${b} /usr/sbin/in.${b} |
81 |
- doman ${b}/${b}.8 |
82 |
- else |
83 |
- dobin ${b}/${b} || die "dobin ${b} failed" |
84 |
- doman ${b}/${b}.1 |
85 |
- [[ ${b} != "rexec" ]] \ |
86 |
- && fperms 4711 /usr/bin/${b} |
87 |
- if [[ ${b} != "rcp" ]]; then |
88 |
- newins "${FILESDIR}"/${b}.xinetd ${b} |
89 |
- newpamd "${FILESDIR}/${b}.pamd-pambase" ${b} |
90 |
- fi |
91 |
- fi |
92 |
- done |
93 |
- dodoc README ChangeLog BUGS |
94 |
- newdoc rexec/README README.rexec |
95 |
-} |