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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 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.1 2010/02/16 21:08:15 jlec Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/arpd/arpd-0.2-r1.ebuild,v 1.2 2010/09/16 22:47:14 xmw Exp $
4 4
5EAPI="3" 5EAPI="3"
6 6
7inherit eutils 7inherit autotools eutils
8 8
9DESCRIPTION="ARP server which claims all unassigned addresses (for network monitoring or simulation)" 9DESCRIPTION="ARP server which claims all unassigned addresses (for network monitoring or simulation)"
10HOMEPAGE="http://www.citi.umich.edu/u/provos/honeyd/" 10HOMEPAGE="http://www.citi.umich.edu/u/provos/honeyd/"
11SRC_URI="http://www.citi.umich.edu/u/provos/honeyd/${P}.tar.gz" 11SRC_URI="http://www.citi.umich.edu/u/provos/honeyd/${P}.tar.gz"
12 12
23S=${WORKDIR}/${PN} 23S=${WORKDIR}/${PN}
24 24
25src_prepare() { 25src_prepare() {
26 epatch "${FILESDIR}"/arpd.c.patch 26 epatch "${FILESDIR}"/arpd.c.patch
27 epatch "${FILESDIR}"/${P}-libevent.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
28 31
29 sed -i \ 32 eautoreconf
30 -e 's|$withval/lib/libevent.a; then||' \
31 -e 's|if test -f $withval/include/event.h -a -f|if test -f $withval/include/event.h -a -f $withval/lib/libevent.a; then|' \
32 configure || die "sed failed"
33} 33}
34 34
35src_configure() { 35src_configure() {
36 econf --with-libdnet="${EPREFIX}"/usr --with-libevent="${EPREFIX}"/usr 36 econf --with-libdnet="${EPREFIX}"/usr --with-libevent="${EPREFIX}"/usr
37} 37}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.13