From 7708ee8dcc0833c0864fa2ed645da7b1ec5c8d95 Mon Sep 17 00:00:00 2001 From: Zero_Chaos Date: Wed, 18 Feb 2009 05:49:47 +0000 Subject: [PATCH] Here is what I have so far for fasttrack, it DOES NOT WORK and will need cleanup but it is damn close --- net-analyzer/fasttrack/Manifest | 1 + net-analyzer/fasttrack/fasttrack-9999.ebuild | 55 ++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 net-analyzer/fasttrack/Manifest create mode 100644 net-analyzer/fasttrack/fasttrack-9999.ebuild diff --git a/net-analyzer/fasttrack/Manifest b/net-analyzer/fasttrack/Manifest new file mode 100644 index 000000000..404602907 --- /dev/null +++ b/net-analyzer/fasttrack/Manifest @@ -0,0 +1 @@ +EBUILD fasttrack-9999.ebuild 1308 RMD160 7893bd07adedb17445a7c7b5a5c5785beb2cd911 SHA1 c319b0456f2a08d13ecd8022603d4d8b7549a976 SHA256 b87ddaa9eab84ceff055c3f812030de6604a2c55a0152c2e7cc0838fdcd52730 diff --git a/net-analyzer/fasttrack/fasttrack-9999.ebuild b/net-analyzer/fasttrack/fasttrack-9999.ebuild new file mode 100644 index 000000000..31858291d --- /dev/null +++ b/net-analyzer/fasttrack/fasttrack-9999.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils python distutils subversion +DESCRIPTION="Let's pop a box" +HOMEPAGE="http://thepentest.com" +ESVN_REPO_URI="http://svn.thepentest.com/fasttrack/" + +LICENSE="BSD" +KEYWORDS="~x86 ~amd64" +IUSE="" +SLOT="0" +EAPI=2 + +RDEPEND="net-analyzer/nmap + net-analyzer/ettercap + net-analyzer/metasploit[sqlite3] + net-ftp/proftpd + dev-db/freetds + dev-python/pymssql + dev-python/pymills + dev-python/pexpect + dev-python/clientform + dev-python/beautifulsoup + !slow? ( dev-python/psyco )" + +src_compile() { + true; +} + +src_install() { + echo 'THIS DOESN"T ACTUALLY WORK YET' && die + dodir /usr/lib/${PN} + mv ${S}/fast-track.py ${S}/fast-track.py.bak + sed 's! bin/! /usr/lib/fasttrack/bin/!' ${S}/fast-track.py.bak > ${S}/fast-track.py.1 + sed 's!"bin/!"/usr/lib/fasttrack/bin/!' ${S}/fast-track.py.1 > ${S}/fast-track.py + dosbin ${S}/fast-track.py + mv ${S}/ftgui ${S}/ftgui.bak + sed 's! bin/!/usr/lib/fasttrack/bin/!' ${S}/ftgui.bak > ${S}/ftgui.1 + sed 's!fast-track.py!/usr/sbin/fast-track.py!' ${S}/ftgui.1 > ${S}/ftgui + dosbin ${S}/ftgui + dodir /usr/lib/${PN}/bin + cp -pR ${S}/bin /usr/lib/${PN}/bin + dodoc readme/* +} + +pkg_postinst() { + python_mod_optimize +} + +pkg_postrm() { + python_mod_cleanup +} +