summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Jackson <iggy@gentoo.org>2005-04-27 00:31:14 +0000
committerBrian Jackson <iggy@gentoo.org>2005-04-27 00:31:14 +0000
commit50095922db2fbd4e6f42ea273fa27ddd1f128209 (patch)
tree3d377caa135d0097389ae8eda379eed3cf320e2c /net-misc/arpd/arpd-0.2.ebuild
parenthppa stable for lanius (diff)
downloadgentoo-2-50095922db2fbd4e6f42ea273fa27ddd1f128209.tar.gz
gentoo-2-50095922db2fbd4e6f42ea273fa27ddd1f128209.tar.bz2
gentoo-2-50095922db2fbd4e6f42ea273fa27ddd1f128209.zip
patch from bug #76833, thanks to those guys, also works on amd64
(Portage version: 2.0.51.20-r4)
Diffstat (limited to 'net-misc/arpd/arpd-0.2.ebuild')
-rw-r--r--net-misc/arpd/arpd-0.2.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/net-misc/arpd/arpd-0.2.ebuild b/net-misc/arpd/arpd-0.2.ebuild
index ddc9f42cbdd1..1eb200282326 100644
--- a/net-misc/arpd/arpd-0.2.ebuild
+++ b/net-misc/arpd/arpd-0.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/arpd/arpd-0.2.ebuild,v 1.9 2005/01/29 21:21:15 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/arpd/arpd-0.2.ebuild,v 1.10 2005/04/27 00:31:14 iggy Exp $
DESCRIPTION="ARP reply daemon enables a single host to claim all unassigned addresses on a LAN for network monitoring or simulation"
HOMEPAGE="http://www.citi.umich.edu/u/provos/honeyd/"
@@ -8,9 +8,11 @@ SRC_URI="http://www.citi.umich.edu/u/provos/honeyd/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="x86 ~sparc ~ppc hppa"
+KEYWORDS="x86 ~sparc ~ppc hppa ~amd64"
IUSE=""
+inherit eutils
+
DEPEND=">=dev-libs/libdnet-1.4
>=dev-libs/libevent-0.6
virtual/libpcap"
@@ -21,10 +23,12 @@ src_unpack() {
unpack ${A}
cd ${S}
+ epatch ${FILESDIR}/arpd.c.patch || die "epatch failed"
+
sed -i \
-e 's|$withval/lib/libevent.a; then||' \
-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|' \
- configure || die
+ configure || die "sed failed"
}
src_compile() {