diff options
author | 2012-08-23 19:15:05 +0200 | |
---|---|---|
committer | 2012-08-23 19:15:05 +0200 | |
commit | 65475eb31fa27c90d390160dadb43e04d695fb9f (patch) | |
tree | 8a1c431f1a57aa844611a75b3f8e3efe56771181 /net-analyzer | |
parent | respect CXXFLAGS (diff) | |
download | ago-65475eb31fa27c90d390160dadb43e04d695fb9f.tar.gz ago-65475eb31fa27c90d390160dadb43e04d695fb9f.tar.bz2 ago-65475eb31fa27c90d390160dadb43e04d695fb9f.zip |
Initial commit of ettercap-9999
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/ettercap/Manifest | 2 | ||||
-rw-r--r-- | net-analyzer/ettercap/ettercap-9999.ebuild | 53 | ||||
-rw-r--r-- | net-analyzer/ettercap/metadata.xml | 13 |
3 files changed, 68 insertions, 0 deletions
diff --git a/net-analyzer/ettercap/Manifest b/net-analyzer/ettercap/Manifest new file mode 100644 index 0000000..5222797 --- /dev/null +++ b/net-analyzer/ettercap/Manifest @@ -0,0 +1,2 @@ +EBUILD ettercap-9999.ebuild 1243 SHA256 5bc4e70223c0cba6464971bcb3fc09a12bf3b344846f250ec4b1ea9222933ae9 SHA512 a584bae630d438472d4263299243442b4413be7dcfb608d04fe29b752d8499611c17cbe03a544b358a61ee614966545366e1b266ab8e96123baa6cd10158c2bb WHIRLPOOL ed9508fc2290a9c6605d089cdf8efe0f43d62ae3e46863ae6fb8ac23baea5186f0c06f1341f20295be7e1d4d1beaa11976c512c86f7877e59becb4fab1fe94ab +MISC metadata.xml 321 SHA256 302f247e355f4901e0823ea2910ac536b06f6e9e7a5c72d56030ffd2c36f536f SHA512 17510fbf0242c37760eb8c2317d733cc40cd8fe8bc514539e0ccb86723a92f3c359510998e6eae59128d1b9979e27ac02866972a417496e19d08d0fe947f799e WHIRLPOOL ef0e7086ae967cf2e7154cceb5a24484b55ef21d1c86e0690372a7a45e7928ac05a89c036fa9c11d81f7da68eb81b10959941fdedcf7cbfdf843b9317ad10ce4 diff --git a/net-analyzer/ettercap/ettercap-9999.ebuild b/net-analyzer/ettercap/ettercap-9999.ebuild new file mode 100644 index 0000000..1003ecd --- /dev/null +++ b/net-analyzer/ettercap/ettercap-9999.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit cmake-utils git-2 + +DESCRIPTION="A suite for man in the middle attacks and network mapping" +HOMEPAGE="http://ettercap.sourceforge.net/" +EGIT_REPO_URI="git://github.com/Ettercap/${PN}.git" +EGIT_BRANCH="${PN}_rc" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="gtk ipv6 ncurses plugins ssl" + +RDEPEND="dev-libs/libpcre + net-libs/libnet:1.1 + net-libs/libpcap + sys-libs/zlib + gtk? ( + dev-libs/atk + dev-libs/glib:2 + media-libs/freetype + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/pango + ) + ncurses? ( sys-libs/ncurses ) + ssl? ( dev-libs/openssl )" +DEPEND="${RDEPEND} + sys-devel/flex + virtual/yacc" + +src_prepare() { + #ettercap defaults to using mozilla so let's try to use xdg-open and pray it works + sed -i 's#mozilla -remote openurl(http://%host%url)#xdg-open 'http://%host%url'#' "${S}"/share/etter.conf || die + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_enable ncurses CURSES) + $(cmake-utils_use_enable gtk) + $(cmake-utils_use_enable ssl) + $(cmake-utils_use_enable plugins) + $(cmake-utils_use_enable ipv6) + ) + cmake-utils_src_configure +} diff --git a/net-analyzer/ettercap/metadata.xml b/net-analyzer/ettercap/metadata.xml new file mode 100644 index 0000000..3d1a976 --- /dev/null +++ b/net-analyzer/ettercap/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>ago@gentoo.org</email> + <name>Agostino Sarubbo</name> + </maintainer> + <use> + <flag name="plugins">Install ettercap plugins (et_*.so)</flag> + </use> + +</pkgmetadata> + |