/[gentoo-x86]/net-misc/netkit-telnetd/netkit-telnetd-0.17-r3.ebuild
Gentoo

Contents of /net-misc/netkit-telnetd/netkit-telnetd-0.17-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.27 - (show annotations) (download)
Thu Dec 1 23:10:18 2005 UTC (14 years ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.26: +1 -1 lines
FILE REMOVED
old

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-telnetd/netkit-telnetd-0.17-r3.ebuild,v 1.26 2005/03/12 22:36:23 solar Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Standard Linux telnet client and server"
8 HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
9 SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-telnet-${PV}.tar.gz"
10
11 LICENSE="BSD"
12 SLOT="0"
13 KEYWORDS="x86 ppc sparc mips alpha hppa amd64 ppc64"
14 IUSE="build"
15
16 DEPEND=">=sys-libs/ncurses-5.2
17 !net-misc/telnet-bsd"
18
19 S=${WORKDIR}/netkit-telnet-${PV}
20
21 src_unpack() {
22 unpack ${A}
23 cd ${S}
24 epatch ${FILESDIR}/netkit-telnetd-0.17-gentoo.patch
25 }
26
27 src_compile() {
28 ./configure --prefix=/usr || die
29
30 sed -i \
31 -e "s:-pipe -O2:${CFLAGS}:" \
32 -e "s:-Wpointer-arith::" \
33 MCONFIG
34
35 make || die
36 cd telnetlogin
37 make || die
38 }
39
40 src_install() {
41 dobin telnet/telnet || die
42 #that's it if we're going on a build image
43 use build && return 0
44
45 dosbin telnetd/telnetd || die
46 dosym telnetd /usr/sbin/in.telnetd
47 dosbin telnetlogin/telnetlogin || die
48 doman telnet/telnet.1
49 doman telnetd/*.8
50 doman telnetd/issue.net.5
51 dosym telnetd.8.gz /usr/share/man/man8/in.telnetd.8.gz
52 doman telnetlogin/telnetlogin.8
53 dodoc BUGS ChangeLog README
54 dodoc ${FILESDIR}/net.issue.sample
55 newdoc telnet/README README.telnet
56 newdoc telnet/TODO TODO.telnet
57 insinto /etc/xinetd.d
58 newins ${FILESDIR}/telnetd.xinetd telnetd
59 }

  ViewVC Help
Powered by ViewVC 1.1.20