/[gentoo-x86]/net-misc/arpd/arpd-0.2-r1.ebuild
Gentoo

Contents of /net-misc/arpd/arpd-0.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Fri Jul 20 01:30:30 2012 UTC (10 months ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +3 -3 lines
Keyword ~ppc64

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/arpd/arpd-0.2-r1.ebuild,v 1.7 2011/12/19 13:16:58 xmw Exp $
4
5 EAPI="3"
6
7 inherit autotools eutils
8
9 DESCRIPTION="ARP server which claims all unassigned addresses (for network monitoring or simulation)"
10 HOMEPAGE="http://www.citi.umich.edu/u/provos/honeyd/"
11 SRC_URI="http://www.citi.umich.edu/u/provos/honeyd/${P}.tar.gz"
12
13 LICENSE="BSD"
14 SLOT="0"
15 KEYWORDS="~amd64 hppa ppc ~ppc64 sparc x86"
16 IUSE=""
17
18 DEPEND=">=dev-libs/libdnet-1.4
19 >=dev-libs/libevent-0.6
20 net-libs/libpcap
21 !sys-apps/iproute2"
22
23 S=${WORKDIR}/${PN}
24
25 src_prepare() {
26 epatch "${FILESDIR}"/arpd.c.patch
27 epatch "${FILESDIR}"/${P}-libevent.patch
28
29 #fix bug 337481, replace test on libevent.a with libevent.so
30 epatch "${FILESDIR}"/${P}-buildsystem-libevent-test.patch
31
32 eautoreconf
33 }
34
35 src_configure() {
36 econf --with-libdnet="${EPREFIX}"/usr --with-libevent="${EPREFIX}"/usr
37 }
38
39 src_install() {
40 dosbin arpd || die
41 doman arpd.8 || die
42 }

  ViewVC Help
Powered by ViewVC 1.1.13