Gentoo Archives: gentoo-commits

From: "Cedric Krier (cedk)" <cedk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/arping: ChangeLog arping-2.08.ebuild
Date: Sun, 28 Sep 2008 13:05:22
Message-Id: E1Kjvxe-0005vp-Sy@stork.gentoo.org
1 cedk 08/09/28 13:05:18
2
3 Modified: ChangeLog
4 Added: arping-2.08.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.38 net-analyzer/arping/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/arping/ChangeLog?rev=1.38&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/arping/ChangeLog?rev=1.38&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/arping/ChangeLog?r1=1.37&r2=1.38
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/arping/ChangeLog,v
19 retrieving revision 1.37
20 retrieving revision 1.38
21 diff -u -r1.37 -r1.38
22 --- ChangeLog 7 Jul 2008 21:41:30 -0000 1.37
23 +++ ChangeLog 28 Sep 2008 13:05:18 -0000 1.38
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-analyzer/arping
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arping/ChangeLog,v 1.37 2008/07/07 21:41:30 jokey Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arping/ChangeLog,v 1.38 2008/09/28 13:05:18 cedk Exp $
29 +
30 +*arping-2.08 (28 Sep 2008)
31 +
32 + 28 Sep 2008; Cédric Krier <cedk@g.o> +arping-2.08.ebuild:
33 + Version bump
34
35 07 Jul 2008; Markus Ullmann <jokey@g.o> arping-2.06.ebuild:
36 Stable on arm for bug #229841
37
38
39
40 1.1 net-analyzer/arping/arping-2.08.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/arping/arping-2.08.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/arping/arping-2.08.ebuild?rev=1.1&content-type=text/plain
44
45 Index: arping-2.08.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/arping/arping-2.08.ebuild,v 1.1 2008/09/28 13:05:18 cedk Exp $
50
51 inherit toolchain-funcs
52
53 DESCRIPTION="A utility to see if a specific IP address is taken and what MAC address owns it"
54 HOMEPAGE="http://www.habets.pp.se/synscan/programs.php?prog=arping"
55 SRC_URI="ftp://ftp.habets.pp.se/pub/synscan/${P}.tar.gz"
56
57 LICENSE="GPL-2"
58 SLOT="2"
59 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
60 IUSE=""
61
62 DEPEND="net-libs/libpcap
63 >=net-libs/libnet-1.1.0-r3"
64
65 src_unpack() {
66 unpack ${A}
67 cd "${S}"
68 rm -f Makefile
69 # since we install as arping2, use arping2 in the man page
70 sed -i "s/\(${PN}\)/\12/g" ${PN}.8 || die "sed ${PN}.8 failed"
71 }
72
73 src_compile() {
74 emake \
75 CC=$(tc-getCC) \
76 LDLIBS="-lpcap -lnet" \
77 arping-2/arping \
78 || die
79 }
80
81 src_test() {
82 einfo "Selftest only works as root"
83 #make SUDO= HOST=`hostname` MAC=`ifconfig -a | fgrep HWaddr | sed 's/.*HWaddr //g'` test
84 }
85
86 src_install() {
87 newsbin arping-2/arping arping2 || die
88 newman arping.8 arping2.8
89 dodoc README arping-scan-net.sh
90 }