From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-analyzer/ettercap: ettercap-0.7.3-r3.ebuild ChangeLog |
Date: | Sun, 01 Mar 2009 20:20:42 |
Message-Id: | E1Lds9R-0001jk-2N@stork.gentoo.org |
1 | patrick 09/03/01 20:20:41 |
2 | |
3 | Modified: ChangeLog |
4 | Added: ettercap-0.7.3-r3.ebuild |
5 | Log: |
6 | Fix for gcc 4.3.3 / fortify_sources. Patch by Jonathan-Christofer Demay. |
7 | (Portage version: 2.2_rc23/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.66 net-analyzer/ettercap/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ettercap/ChangeLog?rev=1.66&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ettercap/ChangeLog?rev=1.66&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ettercap/ChangeLog?r1=1.65&r2=1.66 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ChangeLog,v |
19 | retrieving revision 1.65 |
20 | retrieving revision 1.66 |
21 | diff -u -r1.65 -r1.66 |
22 | --- ChangeLog 6 Sep 2007 16:31:55 -0000 1.65 |
23 | +++ ChangeLog 1 Mar 2009 20:20:40 -0000 1.66 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for net-analyzer/ettercap |
26 | -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ChangeLog,v 1.65 2007/09/06 16:31:55 jokey Exp $ |
28 | +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ChangeLog,v 1.66 2009/03/01 20:20:40 patrick Exp $ |
30 | + |
31 | +*ettercap-0.7.3-r3 (01 Mar 2009) |
32 | + |
33 | + 01 Mar 2009; Patrick Lauer <patrick@g.o> |
34 | + +files/ettercap-0.7.3-open_missing_mode.patch, +ettercap-0.7.3-r3.ebuild: |
35 | + Fix for gcc 4.3.3 / fortify_sources. Patch by Jonathan-Christofer Demay. |
36 | |
37 | 06 Sep 2007; Markus Ullmann <jokey@g.o> -ettercap-0.7.3.ebuild: |
38 | Cleanup |
39 | |
40 | |
41 | |
42 | 1.1 net-analyzer/ettercap/ettercap-0.7.3-r3.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ettercap/ettercap-0.7.3-r3.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ettercap/ettercap-0.7.3-r3.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: ettercap-0.7.3-r3.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2009 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ettercap-0.7.3-r3.ebuild,v 1.1 2009/03/01 20:20:40 patrick Exp $ |
52 | |
53 | # the actual version is "NG-0.7.0" but I suppose portage people will not be |
54 | # happy with it (as for the 0.6.b version), so let's set it to "0.7.0". |
55 | # since 'ettercap NG' has to be intended as an upgrade to 0.6.x series and not as |
56 | # a new project or branch, this will be fine... |
57 | |
58 | WANT_AUTOMAKE="1.8" |
59 | |
60 | # libtool is needed because it provides libltdl (needed for plugins) |
61 | inherit autotools flag-o-matic libtool |
62 | |
63 | MY_P="${PN}-NG-${PV}" |
64 | DESCRIPTION="A suite for man in the middle attacks and network mapping" |
65 | HOMEPAGE="http://ettercap.sourceforge.net/" |
66 | SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" |
67 | |
68 | LICENSE="GPL-2" |
69 | SLOT="0" |
70 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
71 | IUSE="debug gtk ncurses ssl" |
72 | |
73 | RDEPEND=">=net-libs/libnet-1.1.2.1-r1 |
74 | net-libs/libpcap |
75 | ncurses? ( sys-libs/ncurses ) |
76 | ssl? ( dev-libs/openssl ) |
77 | gtk? ( >=x11-libs/gtk+-2.2.2 )" |
78 | DEPEND=${RDEPEND} |
79 | |
80 | S=${WORKDIR}/${MY_P} |
81 | |
82 | src_unpack() { |
83 | unpack ${A} |
84 | cd "${S}" |
85 | epatch "${FILESDIR}"/${P}-as-needed.patch |
86 | epatch "${FILESDIR}"/${P}-open_missing_mode.patch |
87 | eautomake |
88 | } |
89 | |
90 | src_compile() { |
91 | strip-flags |
92 | |
93 | local myconf |
94 | |
95 | if use ssl; then |
96 | myconf="${myconf} --with-openssl=/usr" |
97 | else |
98 | myconf="${myconf} --without-openssl" |
99 | fi |
100 | |
101 | econf ${myconf} \ |
102 | $(use_enable gtk) \ |
103 | $(use_enable debug) \ |
104 | $(use_with ncurses) \ |
105 | || die "econf failed" |
106 | |
107 | emake || die "emake failed" |
108 | } |
109 | |
110 | src_install() { |
111 | emake DESTDIR="${D}" install || die "make install failed" |
112 | } |