blob: f7052b1ab7ca2a3aa4b2fc4237a2d4ba53c5f1f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/rarpd/rarpd-1.1-r2.ebuild,v 1.11 2006/11/26 19:49:44 corsair Exp $
inherit eutils
DESCRIPTION="Reverse Address Resolution Protocol Daemon"
HOMEPAGE="ftp://ftp.dementia.org/pub/net-tools"
SRC_URI="ftp://ftp.dementia.org/pub/net-tools/${P}.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~hppa ppc ppc64 sparc x86"
IUSE=""
DEPEND=">=net-libs/libnet-1.0.2a-r3
<net-libs/libnet-1.1
net-libs/libpcap"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PV}-libnet-1.0.patch
epatch ${FILESDIR}/${PV}-daemon.patch
}
src_install() {
#make install DESTDIR=${D} || die # only installs rarpd to /
dosbin rarpd
doman rarpd.8
dodoc AUTHORS COPYING README TODO VERSION INSTALL
newconfd ${FILESDIR}/rarpd.conf.d rarpd
newinitd ${FILESDIR}/rarpd.init.d rarpd
}
|