summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-analyzer/arping/ChangeLog10
-rw-r--r--net-analyzer/arping/Manifest13
-rw-r--r--net-analyzer/arping/arping-2.08-r1.ebuild47
3 files changed, 57 insertions, 13 deletions
diff --git a/net-analyzer/arping/ChangeLog b/net-analyzer/arping/ChangeLog
index 013b25a423da..49f494113c49 100644
--- a/net-analyzer/arping/ChangeLog
+++ b/net-analyzer/arping/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/arping
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arping/ChangeLog,v 1.38 2008/09/28 13:05:18 cedk Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arping/ChangeLog,v 1.39 2009/12/10 17:51:34 jer Exp $
+
+*arping-2.08-r1 (10 Dec 2009)
+
+ 10 Dec 2009; Jeroen Roovers <jer@gentoo.org> +arping-2.08-r1.ebuild:
+ Fix executable name in man page and example script, and fix example script
+ name (bug #257864). Use PN instead of hardcoding package name.
*arping-2.08 (28 Sep 2008)
diff --git a/net-analyzer/arping/Manifest b/net-analyzer/arping/Manifest
index db4132d50522..f5dba2b1dc55 100644
--- a/net-analyzer/arping/Manifest
+++ b/net-analyzer/arping/Manifest
@@ -1,18 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST arping-2.05.tar.gz 32287 RMD160 de682f2dc4e2dc7a60dd584bbed0a7834b7e85fd SHA1 35434c22679284607a49319cf1ff566c0af935e6 SHA256 552c1d34e49b540aa9044cbc376f041abe72c039c9d0006a1b16eb97a97d9996
DIST arping-2.06.tar.gz 34372 RMD160 01d2318183a6e1a85bf2f90a3ebba86cd93bfeed SHA1 0bbe4daf6d52ca88f006ec7bce3b5073bdbc2069 SHA256 269eae074c994da4673fc59987080221d1bb6f99f180200c51100343addf27b0
DIST arping-2.08.tar.gz 33771 RMD160 a405de14e3a25cb72280a642ad823a7174e481b1 SHA1 296824cc039e617c00e627e1d86670af233d922f SHA256 9f09f992892f9f7b1dbd29dad8ba365f596e973b82e0f303805c24d870989062
EBUILD arping-2.05.ebuild 1156 RMD160 230fd6144914b492606267ba03d1f3b1546d547a SHA1 cc966c16458c1cf00b394864da453d8ede1410cb SHA256 03beb78c506f93628312d0866753371742bcf60232c373acf2a61f38080f6b72
EBUILD arping-2.06.ebuild 1160 RMD160 931a36037e015cd2f315188747e5d4eae3198646 SHA1 bbfa390e7a67131711da5a4b13772fa815f2eaae SHA256 86e3ed72b62e7521c792f231f1e6829cd2bd1492304e9c914428555d6e45aae5
+EBUILD arping-2.08-r1.ebuild 1271 RMD160 6f87eb54549e46900177c975c361a95793b4d775 SHA1 3936436012a5180d46beb31ab6cd53552f71db02 SHA256 42c60b044d3580e98dd7e8b43506b3381c086f89fafe7b1c22a296b8bdf96b06
EBUILD arping-2.08.ebuild 1167 RMD160 f9d748b8d601c364e2e38d7d94389db877f05f43 SHA1 db80ae2eccdc83b50392928d9332a04aa1cb3822 SHA256 ef5d40152cd77351b7af877816e9a3de8c5705e83c9109fbc4137c6a017fa575
-MISC ChangeLog 5230 RMD160 226611ec11984508fe87e962566399ad6a5c0f39 SHA1 d06bdee3a907ef7a74967380dd9c8174b7919073 SHA256 375d7111eaf3c1819189dfde950187c948001525c5228bded47851b76e79da80
+MISC ChangeLog 5474 RMD160 08919d381537650ae71901fa490cda27ea30d824 SHA1 09bf64381db5aefb4a1e17b63fa12c9ac7ae2379 SHA256 002a0afdd9906e5f7866759a470c06b1ce36ba3063709e26ca335d31b416a270
MISC metadata.xml 159 RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b SHA1 9f5df3eabd621951a959cc8e0e2e0d352cd1fe1e SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkkW00QACgkQ67wieSYcaxcxigCg5mcafCJ30/cy9sTI981ASFpg
-cMAAnjg37QX9/tQKkl7mPGbL2TcUyFef
-=P7sS
------END PGP SIGNATURE-----
diff --git a/net-analyzer/arping/arping-2.08-r1.ebuild b/net-analyzer/arping/arping-2.08-r1.ebuild
new file mode 100644
index 000000000000..01d70f00c305
--- /dev/null
+++ b/net-analyzer/arping/arping-2.08-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arping/arping-2.08-r1.ebuild,v 1.1 2009/12/10 17:51:34 jer 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 ~ia64 ~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 -e "s|\(${PN}\)|\12|g" ${PN}.8 || die "sed ${PN}.8 failed"
+ sed -i -e "s|\(${PN}\) |\12 |g" ${PN}-scan-net.sh || \
+ die "sed ${PN}-scan-net.sh 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 ${PN}-2/${PN} ${PN}2 || die
+ newman ${PN}.8 ${PN}2.8
+ dodoc README
+ newdoc ${PN}{,2}-scan-net.sh
+}