summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-05-22 00:26:47 +0000
committerMike Frysinger <vapier@gentoo.org>2008-05-22 00:26:47 +0000
commita1ec673c8b71cfd774186f67ce576f93ab24daba (patch)
tree5a4e48dd887c6fcbaa0906cace8c3746348e56e2 /net-analyzer/arping
parentupdate maintainer to myself (diff)
downloadgentoo-2-a1ec673c8b71cfd774186f67ce576f93ab24daba.tar.gz
gentoo-2-a1ec673c8b71cfd774186f67ce576f93ab24daba.tar.bz2
gentoo-2-a1ec673c8b71cfd774186f67ce576f93ab24daba.zip
Version bump.
(Portage version: 2.2_pre5.spank.spunk)
Diffstat (limited to 'net-analyzer/arping')
-rw-r--r--net-analyzer/arping/ChangeLog9
-rw-r--r--net-analyzer/arping/arping-2.06.ebuild44
2 files changed, 51 insertions, 2 deletions
diff --git a/net-analyzer/arping/ChangeLog b/net-analyzer/arping/ChangeLog
index 450402b16903..8899cad49ffe 100644
--- a/net-analyzer/arping/ChangeLog
+++ b/net-analyzer/arping/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/arping
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arping/ChangeLog,v 1.29 2007/09/06 16:13:07 jokey Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arping/ChangeLog,v 1.30 2008/05/22 00:26:47 vapier Exp $
+
+*arping-2.06 (22 May 2008)
+
+ 22 May 2008; Mike Frysinger <vapier@gentoo.org> +arping-2.06.ebuild:
+ Version bump.
06 Sep 2007; Markus Ullmann <jokey@gentoo.org>
-files/1.06-libnet-1.0.patch, -arping-1.06-r1.ebuild:
diff --git a/net-analyzer/arping/arping-2.06.ebuild b/net-analyzer/arping/arping-2.06.ebuild
new file mode 100644
index 000000000000..0619d9e7678a
--- /dev/null
+++ b/net-analyzer/arping/arping-2.06.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arping/arping-2.06.ebuild,v 1.1 2008/05/22 00:26:47 vapier Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="A utility to see if a specific IP address is taken and what MAC address owns it"
+HOMEPAGE="http://www.habets.pp.se/synscan/programs.php?prog=arping"
+SRC_URI="ftp://ftp.habets.pp.se/pub/synscan/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+DEPEND="net-libs/libpcap
+ >=net-libs/libnet-1.1.0-r3"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ rm -f Makefile
+ # since we install as arping2, use arping2 in the man page
+ sed -i "s/\(${PN}\)/\12/g" ${PN}.8 || die "sed ${PN}.8 failed"
+}
+
+src_compile() {
+ emake \
+ CC=$(tc-getCC) \
+ LDLIBS="-lpcap -lnet" \
+ arping-2/arping \
+ || die
+}
+
+src_test() {
+ einfo "Selftest only works as root"
+ #make SUDO= HOST=`hostname` MAC=`ifconfig -a | fgrep HWaddr | sed 's/.*HWaddr //g'` test
+}
+
+src_install() {
+ newsbin arping-2/arping arping2 || die
+ newman arping.8 arping2.8
+ dodoc README arping-scan-net.sh
+}