/[gentoo-x86]/net-misc/netkit-rwho/netkit-rwho-0.17-r2.ebuild
Gentoo

Contents of /net-misc/netkit-rwho/netkit-rwho-0.17-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Fri Jul 20 15:23:14 2007 UTC (12 years, 4 months ago) by pva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
Fixed bug #174236. ebuild bumped to propagate fixed init.d script to our users. Thank Rod Butler <rbrbrb2004 AT yahoo.com> for report and Uberlord for the fix.
(Portage version: 2.1.3_rc8)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-rwho/netkit-rwho-0.17-r2.ebuild,v 1.10 2007/06/24 22:58:51 vapier Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Netkit - ruptime/rwho/rwhod"
8 HOMEPAGE="http://www.hcs.harvard.edu/~dholland/computers/netkit.html"
9 SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P}.tar.gz
10 mirror://gentoo/${PN}-0.17-patches.tar.gz"
11
12 LICENSE="BSD"
13 SLOT="0"
14 KEYWORDS="alpha amd64 arm mips ppc s390 sh sparc x86"
15 IUSE=""
16
17 RDEPEND="virtual/libc"
18 DEPEND="${RDEPEND}
19 >=sys-apps/sed-4"
20
21 src_unpack() {
22 unpack ${A}
23 cd "${S}"
24 epatch "${WORKDIR}"/${P}-tiny-packet-dos.patch
25 epatch "${WORKDIR}"/${P}-gentoo.diff
26 epatch "${WORKDIR}"/${P}-debian.patch
27 }
28
29 src_compile() {
30 ./configure || die "configure failed"
31 sed -i \
32 -e "s:-O2::" \
33 -e "s:-Wpointer-arith::" \
34 MCONFIG
35 emake || die "emake failed"
36 }
37
38 src_install() {
39 keepdir /var/spool/rwho
40
41 into /usr
42 dobin ruptime/ruptime rwho/rwho || die "dobin failed"
43 dosbin rwhod/rwhod || die "dosbin failed"
44 doman ruptime/ruptime.1 rwho/rwho.1 rwhod/rwhod.8
45 dodoc README ChangeLog
46
47 newinitd "${FILESDIR}"/${P}-rc rwhod
48 newconfd "${FILESDIR}"/${P}-confd rwhod
49
50 exeinto /etc/cron.monthly
51 doexe "${FILESDIR}"/${P}-cron
52 }

  ViewVC Help
Powered by ViewVC 1.1.20