mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-16 11:51:08 +02:00
Here is what I have so far for fasttrack, it DOES NOT WORK and will need cleanup but it is damn close
This commit is contained in:
parent
1de4d10a39
commit
7708ee8dcc
2 changed files with 56 additions and 0 deletions
1
net-analyzer/fasttrack/Manifest
Normal file
1
net-analyzer/fasttrack/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
EBUILD fasttrack-9999.ebuild 1308 RMD160 7893bd07adedb17445a7c7b5a5c5785beb2cd911 SHA1 c319b0456f2a08d13ecd8022603d4d8b7549a976 SHA256 b87ddaa9eab84ceff055c3f812030de6604a2c55a0152c2e7cc0838fdcd52730
|
||||
55
net-analyzer/fasttrack/fasttrack-9999.ebuild
Normal file
55
net-analyzer/fasttrack/fasttrack-9999.ebuild
Normal file
|
|
@ -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
|
||||
}
|
||||
|
||||
Loading…
Reference in a new issue