1 |
commit: 65475eb31fa27c90d390160dadb43e04d695fb9f |
2 |
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 23 17:15:05 2012 +0000 |
4 |
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 23 17:15:05 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/ago.git;a=commit;h=65475eb3 |
7 |
|
8 |
Initial commit of ettercap-9999 |
9 |
|
10 |
--- |
11 |
net-analyzer/ettercap/Manifest | 2 + |
12 |
net-analyzer/ettercap/ettercap-9999.ebuild | 53 ++++++++++++++++++++++++++++ |
13 |
net-analyzer/ettercap/metadata.xml | 13 +++++++ |
14 |
3 files changed, 68 insertions(+), 0 deletions(-) |
15 |
|
16 |
diff --git a/net-analyzer/ettercap/Manifest b/net-analyzer/ettercap/Manifest |
17 |
new file mode 100644 |
18 |
index 0000000..5222797 |
19 |
--- /dev/null |
20 |
+++ b/net-analyzer/ettercap/Manifest |
21 |
@@ -0,0 +1,2 @@ |
22 |
+EBUILD ettercap-9999.ebuild 1243 SHA256 5bc4e70223c0cba6464971bcb3fc09a12bf3b344846f250ec4b1ea9222933ae9 SHA512 a584bae630d438472d4263299243442b4413be7dcfb608d04fe29b752d8499611c17cbe03a544b358a61ee614966545366e1b266ab8e96123baa6cd10158c2bb WHIRLPOOL ed9508fc2290a9c6605d089cdf8efe0f43d62ae3e46863ae6fb8ac23baea5186f0c06f1341f20295be7e1d4d1beaa11976c512c86f7877e59becb4fab1fe94ab |
23 |
+MISC metadata.xml 321 SHA256 302f247e355f4901e0823ea2910ac536b06f6e9e7a5c72d56030ffd2c36f536f SHA512 17510fbf0242c37760eb8c2317d733cc40cd8fe8bc514539e0ccb86723a92f3c359510998e6eae59128d1b9979e27ac02866972a417496e19d08d0fe947f799e WHIRLPOOL ef0e7086ae967cf2e7154cceb5a24484b55ef21d1c86e0690372a7a45e7928ac05a89c036fa9c11d81f7da68eb81b10959941fdedcf7cbfdf843b9317ad10ce4 |
24 |
|
25 |
diff --git a/net-analyzer/ettercap/ettercap-9999.ebuild b/net-analyzer/ettercap/ettercap-9999.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..1003ecd |
28 |
--- /dev/null |
29 |
+++ b/net-analyzer/ettercap/ettercap-9999.ebuild |
30 |
@@ -0,0 +1,53 @@ |
31 |
+# Copyright 1999-2012 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Header: $ |
34 |
+ |
35 |
+EAPI=4 |
36 |
+ |
37 |
+inherit cmake-utils git-2 |
38 |
+ |
39 |
+DESCRIPTION="A suite for man in the middle attacks and network mapping" |
40 |
+HOMEPAGE="http://ettercap.sourceforge.net/" |
41 |
+EGIT_REPO_URI="git://github.com/Ettercap/${PN}.git" |
42 |
+EGIT_BRANCH="${PN}_rc" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="" |
47 |
+IUSE="gtk ipv6 ncurses plugins ssl" |
48 |
+ |
49 |
+RDEPEND="dev-libs/libpcre |
50 |
+ net-libs/libnet:1.1 |
51 |
+ net-libs/libpcap |
52 |
+ sys-libs/zlib |
53 |
+ gtk? ( |
54 |
+ dev-libs/atk |
55 |
+ dev-libs/glib:2 |
56 |
+ media-libs/freetype |
57 |
+ x11-libs/cairo |
58 |
+ x11-libs/gdk-pixbuf:2 |
59 |
+ x11-libs/gtk+:2 |
60 |
+ x11-libs/pango |
61 |
+ ) |
62 |
+ ncurses? ( sys-libs/ncurses ) |
63 |
+ ssl? ( dev-libs/openssl )" |
64 |
+DEPEND="${RDEPEND} |
65 |
+ sys-devel/flex |
66 |
+ virtual/yacc" |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ #ettercap defaults to using mozilla so let's try to use xdg-open and pray it works |
70 |
+ sed -i 's#mozilla -remote openurl(http://%host%url)#xdg-open 'http://%host%url'#' "${S}"/share/etter.conf || die |
71 |
+ cmake-utils_src_prepare |
72 |
+} |
73 |
+ |
74 |
+src_configure() { |
75 |
+ local mycmakeargs=( |
76 |
+ $(cmake-utils_use_enable ncurses CURSES) |
77 |
+ $(cmake-utils_use_enable gtk) |
78 |
+ $(cmake-utils_use_enable ssl) |
79 |
+ $(cmake-utils_use_enable plugins) |
80 |
+ $(cmake-utils_use_enable ipv6) |
81 |
+ ) |
82 |
+ cmake-utils_src_configure |
83 |
+} |
84 |
|
85 |
diff --git a/net-analyzer/ettercap/metadata.xml b/net-analyzer/ettercap/metadata.xml |
86 |
new file mode 100644 |
87 |
index 0000000..3d1a976 |
88 |
--- /dev/null |
89 |
+++ b/net-analyzer/ettercap/metadata.xml |
90 |
@@ -0,0 +1,13 @@ |
91 |
+<?xml version="1.0" encoding="UTF-8"?> |
92 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
93 |
+<pkgmetadata> |
94 |
+ <maintainer> |
95 |
+ <email>ago@g.o</email> |
96 |
+ <name>Agostino Sarubbo</name> |
97 |
+ </maintainer> |
98 |
+ <use> |
99 |
+ <flag name="plugins">Install ettercap plugins (et_*.so)</flag> |
100 |
+ </use> |
101 |
+ |
102 |
+</pkgmetadata> |
103 |
+ |