diff options
author | Michael Weber <xmw@gentoo.org> | 2010-09-16 22:47:15 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2010-09-16 22:47:15 +0000 |
commit | 401fb359fe508d3e16038d191a871f5acd03da8c (patch) | |
tree | 739113c3a1879fe78559243821058e2ee52015b9 | |
parent | epatch docs: fix inverted logic in documentation (diff) | |
download | gentoo-2-401fb359fe508d3e16038d191a871f5acd03da8c.tar.gz gentoo-2-401fb359fe508d3e16038d191a871f5acd03da8c.tar.bz2 gentoo-2-401fb359fe508d3e16038d191a871f5acd03da8c.zip |
Fix libevent test in configure.in
(Portage version: 2.1.8.3/cvs/Linux x86_64)
-rw-r--r-- | net-misc/arpd/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/arpd/arpd-0.2-r1.ebuild | 12 | ||||
-rw-r--r-- | net-misc/arpd/files/arpd-0.2-buildsystem-libevent-test.patch | 11 | ||||
-rw-r--r-- | net-misc/arpd/metadata.xml | 4 |
4 files changed, 24 insertions, 9 deletions
diff --git a/net-misc/arpd/ChangeLog b/net-misc/arpd/ChangeLog index fbcc00c63ad9..b1861aac348b 100644 --- a/net-misc/arpd/ChangeLog +++ b/net-misc/arpd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/arpd # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/arpd/ChangeLog,v 1.14 2010/02/16 21:08:15 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/arpd/ChangeLog,v 1.15 2010/09/16 22:47:15 xmw Exp $ + + 16 Sep 2010; Michael Weber <xmw@gentoo.org> arpd-0.2-r1.ebuild, + +files/arpd-0.2-buildsystem-libevent-test.patch, metadata.xml: + Taking maintainership. Fix libevent test in configure.in (bug #337481). *arpd-0.2-r1 (16 Feb 2010) diff --git a/net-misc/arpd/arpd-0.2-r1.ebuild b/net-misc/arpd/arpd-0.2-r1.ebuild index 9f308f3b02ee..a5d076dde55f 100644 --- a/net-misc/arpd/arpd-0.2-r1.ebuild +++ b/net-misc/arpd/arpd-0.2-r1.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/arpd/arpd-0.2-r1.ebuild,v 1.1 2010/02/16 21:08:15 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/arpd/arpd-0.2-r1.ebuild,v 1.2 2010/09/16 22:47:14 xmw Exp $ EAPI="3" -inherit eutils +inherit autotools eutils DESCRIPTION="ARP server which claims all unassigned addresses (for network monitoring or simulation)" HOMEPAGE="http://www.citi.umich.edu/u/provos/honeyd/" @@ -25,11 +25,11 @@ S=${WORKDIR}/${PN} src_prepare() { epatch "${FILESDIR}"/arpd.c.patch epatch "${FILESDIR}"/${P}-libevent.patch + + #fix bug 337481, replace test on libevent.a with libevent.so + epatch "${FILESDIR}"/${P}-buildsystem-libevent-test.patch - 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 "sed failed" + eautoreconf } src_configure() { diff --git a/net-misc/arpd/files/arpd-0.2-buildsystem-libevent-test.patch b/net-misc/arpd/files/arpd-0.2-buildsystem-libevent-test.patch new file mode 100644 index 000000000000..c0c0f47712a8 --- /dev/null +++ b/net-misc/arpd/files/arpd-0.2-buildsystem-libevent-test.patch @@ -0,0 +1,11 @@ +--- configure.in.orig 2003-02-09 19:30:33.000000000 +0100 ++++ configure.in 2010-09-17 00:33:36.138294836 +0200 +@@ -62,7 +62,7 @@ + ;; + *) + AC_MSG_RESULT($withval) +- if test -f $withval/include/event.h -a -f $withval/lib/libevent.a; then ++ if test -f $withval/include/event.h -a -f $withval/lib/libevent.so; then + owd=`pwd` + if cd $withval; then withval=`pwd`; cd $owd; fi + EVENTINC="-I$withval/include" diff --git a/net-misc/arpd/metadata.xml b/net-misc/arpd/metadata.xml index b17012b02b48..5355a5e8f3e7 100644 --- a/net-misc/arpd/metadata.xml +++ b/net-misc/arpd/metadata.xml @@ -3,7 +3,7 @@ <pkgmetadata> <herd>no-herd</herd> <maintainer> - <email>maintainer-needed@gentoo.org</email> - <description>This package lacks a primary herd or maintainer.</description> + <email>xmw@gentoo.org</email> + <name>Michael Weber</name> </maintainer> </pkgmetadata> |