Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/arping: ChangeLog arping-2.10.ebuild
Date: Mon, 27 Feb 2012 09:09:47
Message-Id: 20120227090934.764042004B@flycatcher.gentoo.org
1 radhermit 12/02/27 09:09:34
2
3 Modified: ChangeLog
4 Added: arping-2.10.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha87/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.46 net-analyzer/arping/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/arping/ChangeLog?rev=1.46&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/arping/ChangeLog?rev=1.46&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/arping/ChangeLog?r1=1.45&r2=1.46
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/arping/ChangeLog,v
20 retrieving revision 1.45
21 retrieving revision 1.46
22 diff -u -r1.45 -r1.46
23 --- ChangeLog 15 Sep 2010 01:33:35 -0000 1.45
24 +++ ChangeLog 27 Feb 2012 09:09:34 -0000 1.46
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-analyzer/arping
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arping/ChangeLog,v 1.45 2010/09/15 01:33:35 jer Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arping/ChangeLog,v 1.46 2012/02/27 09:09:34 radhermit Exp $
31 +
32 +*arping-2.10 (27 Feb 2012)
33 +
34 + 27 Feb 2012; Tim Harder <radhermit@g.o> +arping-2.10.ebuild:
35 + Version bump.
36
37 *arping-2.09-r1 (15 Sep 2010)
38
39
40
41
42 1.1 net-analyzer/arping/arping-2.10.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/arping/arping-2.10.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/arping/arping-2.10.ebuild?rev=1.1&content-type=text/plain
46
47 Index: arping-2.10.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/arping/arping-2.10.ebuild,v 1.1 2012/02/27 09:09:34 radhermit Exp $
52
53 EAPI="4"
54
55 inherit toolchain-funcs
56
57 DESCRIPTION="A utility to see if a specific IP address is taken and what MAC address owns it"
58 HOMEPAGE="http://www.habets.pp.se/synscan/programs.php?prog=arping"
59 SRC_URI="http://www.habets.pp.se/synscan/files/${P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="2"
63 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
64 IUSE=""
65
66 DEPEND="net-libs/libpcap
67 net-libs/libnet:1.1"
68 RDEPEND="${DEPEND}"
69
70 src_prepare() {
71 rm -f Makefile
72 # since we install as arping2, use arping2 in the man page
73 sed \
74 -e "s|\(${PN}\)|\12|g" \
75 -e "s|\(${PN}\)\(\W\)|\12\2|g" \
76 -e "s|${PN}2-|${PN}-|g" \
77 -e "s|(${PN}2 2.*\.x only)||g" \
78 -i doc/${PN}.8 || die "sed ${PN}.8 failed"
79 sed \
80 -e "s|\(${PN}\) |\12 |g" \
81 -i extra/${PN}-scan-net.sh || die "sed ${PN}-scan-net.sh failed"
82 }
83
84 src_test() {
85 einfo "Selftest only works as root"
86 #make SUDO= HOST=`hostname` MAC=`ifconfig -a | fgrep HWaddr | sed 's/.*HWaddr //g'` test
87 }
88
89 src_install() {
90 # since we install as arping2, we cannot use emake install
91 newsbin src/${PN} ${PN}2
92 newman doc/${PN}.8 ${PN}2.8
93 dodoc README extra/arping-scan-net.sh
94 }