Gentoo Archives: gentoo-commits

From: "Sergey Popov (pinkbyte)" <pinkbyte@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/arpoison: ChangeLog arpoison-0.6-r2.ebuild
Date: Wed, 26 Dec 2012 09:58:04
Message-Id: 20121226095751.500A12171D@flycatcher.gentoo.org
1 pinkbyte 12/12/26 09:57:51
2
3 Modified: ChangeLog
4 Added: arpoison-0.6-r2.ebuild
5 Log:
6 Revision bump: EAPI 5, fix for crosscompilation, wrt bug #375655
7
8 (Portage version: 2.2.0_alpha144/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.12 net-analyzer/arpoison/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/arpoison/ChangeLog?rev=1.12&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/arpoison/ChangeLog?rev=1.12&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/arpoison/ChangeLog?r1=1.11&r2=1.12
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/arpoison/ChangeLog,v
20 retrieving revision 1.11
21 retrieving revision 1.12
22 diff -u -r1.11 -r1.12
23 --- ChangeLog 9 Oct 2012 07:57:16 -0000 1.11
24 +++ ChangeLog 26 Dec 2012 09:57:51 -0000 1.12
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-analyzer/arpoison
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arpoison/ChangeLog,v 1.11 2012/10/09 07:57:16 pinkbyte Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arpoison/ChangeLog,v 1.12 2012/12/26 09:57:51 pinkbyte Exp $
30 +
31 +*arpoison-0.6-r2 (26 Dec 2012)
32 +
33 + 26 Dec 2012; Sergey Popov <pinkbyte@g.o> +arpoison-0.6-r2.ebuild:
34 + Revision bump: EAPI 5, fix for crosscompilation, wrt bug #375655
35
36 09 Oct 2012; Sergey Popov <pinkbyte@g.o> +arpoison-0.6.ebuild:
37 Bring old revision back, cause it's the one stable on ppc and x86
38
39
40
41 1.1 net-analyzer/arpoison/arpoison-0.6-r2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/arpoison/arpoison-0.6-r2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/arpoison/arpoison-0.6-r2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: arpoison-0.6-r2.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/arpoison/arpoison-0.6-r2.ebuild,v 1.1 2012/12/26 09:57:51 pinkbyte Exp $
51
52 EAPI="5"
53
54 inherit toolchain-funcs
55
56 DESCRIPTION="A utility to poison ARP caches"
57 HOMEPAGE="http://arpoison.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 IUSE=""
64
65 RDEPEND=">=net-libs/libnet-1.1.0"
66 DEPEND="${RDEPEND}
67 >=sys-apps/sed-4"
68
69 S="${WORKDIR}/${PN}"
70
71 src_prepare() {
72 # respect CFLAGS, LDFLAGS and compiler, bug #337896
73 # fix for crosscompilation, bug #375655
74 sed -i Makefile \
75 -e 's|gcc \(-Wall\)|$(CC) \1 $(CFLAGS) $(LDFLAGS)|' \
76 -e "s|libnet-config|${ROOT}usr/bin/libnet-config|g" \
77 || die "sed on Makefile failed"
78 }
79
80 src_compile() {
81 emake CC="$(tc-getCC)"
82 }
83
84 src_install() {
85 dosbin arpoison
86 doman arpoison.8
87 dodoc README TODO
88 }