/[gentoo-x86]/sys-apps/netkit-base/netkit-base-0.17-r8.ebuild
Gentoo

Contents of /sys-apps/netkit-base/netkit-base-0.17-r8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.18 - (show annotations) (download)
Sat Apr 16 19:13:52 2011 UTC (4 years ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.17: +2 -3 lines
Don't PROVIDE virtual/inetd, bug 358831.

(Portage version: 2.1.9.46/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/netkit-base/netkit-base-0.17-r8.ebuild,v 1.17 2010/10/08 02:14:15 leio Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Old-style inetd"
8 HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
9 SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P}.tar.gz"
10
11 LICENSE="BSD"
12 SLOT="0"
13 KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
14 IUSE=""
15
16 DEPEND=""
17
18 src_unpack() {
19 unpack ${A}
20 cd "${S}"
21 epatch "${FILESDIR}"/*.patch
22 }
23
24 src_compile() {
25 ./configure || die
26
27 cp MCONFIG MCONFIG.orig
28 #sed -e "s/-O2/${CFLAGS} -Wstrict-prototypes -fomit-frame-pointer/"
29 sed -e "s:^CFLAGS=.*:CFLAGS=${CFLAGS} -Wall -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline:" \
30 MCONFIG.orig > MCONFIG
31
32 emake || die "compile problem"
33 }
34
35 src_install() {
36 sed -i \
37 -e 's:in\.telnetd$:in.telnetd -L /usr/sbin/telnetlogin:' \
38 etc.sample/inetd.conf
39
40 dosbin inetd/inetd
41 doman inetd/inetd.8
42 newinitd "${FILESDIR}"/inetd.rc6 inetd
43
44 dodoc BUGS ChangeLog README
45 docinto samples ; dodoc etc.sample/*
46 }

  ViewVC Help
Powered by ViewVC 1.1.20