summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-06-30 04:37:50 +0000
committerJeroen Roovers <jer@gentoo.org>2014-06-30 04:37:50 +0000
commit3552e7d743283dab59bce433098eefff756225d4 (patch)
treef08900b84e6ef8c3aebbdf2caeafbb4717f3a599 /net-analyzer/arping
parentDepend on setuptools. (diff)
downloadgentoo-2-3552e7d743283dab59bce433098eefff756225d4.tar.gz
gentoo-2-3552e7d743283dab59bce433098eefff756225d4.tar.bz2
gentoo-2-3552e7d743283dab59bce433098eefff756225d4.zip
Version bump.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-analyzer/arping')
-rw-r--r--net-analyzer/arping/ChangeLog9
-rw-r--r--net-analyzer/arping/arping-2.14.ebuild40
2 files changed, 47 insertions, 2 deletions
diff --git a/net-analyzer/arping/ChangeLog b/net-analyzer/arping/ChangeLog
index 3fa7e90d3641..7778bf96c754 100644
--- a/net-analyzer/arping/ChangeLog
+++ b/net-analyzer/arping/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/arping
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arping/ChangeLog,v 1.79 2013/03/01 15:53:50 jer Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arping/ChangeLog,v 1.80 2014/06/30 04:37:50 jer Exp $
+
+*arping-2.14 (30 Jun 2014)
+
+ 30 Jun 2014; Jeroen Roovers <jer@gentoo.org> +arping-2.14.ebuild:
+ Version bump.
01 Mar 2013; Jeroen Roovers <jer@gentoo.org> -arping-2.12.ebuild:
Old.
diff --git a/net-analyzer/arping/arping-2.14.ebuild b/net-analyzer/arping/arping-2.14.ebuild
new file mode 100644
index 000000000000..bd9696064a60
--- /dev/null
+++ b/net-analyzer/arping/arping-2.14.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arping/arping-2.14.ebuild,v 1.1 2014/06/30 04:37:50 jer Exp $
+
+EAPI=5
+
+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="http://www.habets.pp.se/synscan/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+
+DEPEND="
+ net-libs/libpcap
+ net-libs/libnet:1.1
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ rm -f Makefile
+ # since we install as arping2, use arping2 in the man page
+ sed \
+ -e "s|\(${PN}\)|\12|g" \
+ -e "s|\(${PN}\)\(\W\)|\12\2|g" \
+ -e "s|${PN}2-|${PN}-|g" \
+ -e "s|(${PN}2 2.*\.x only)||g" \
+ -i doc/${PN}.8 || die "sed ${PN}.8 failed"
+ sed \
+ -e "s|\(${PN}\) |\12 |g" \
+ -i extra/${PN}-scan-net.sh || die "sed ${PN}-scan-net.sh failed"
+}
+
+src_install() {
+ # since we install as arping2, we cannot use emake install
+ newsbin src/${PN} ${PN}2
+ newman doc/${PN}.8 ${PN}2.8
+ dodoc README extra/arping-scan-net.sh
+}