metasploit-bin: I'm told I don't need this now... I will focus my fury elsewhere

This commit is contained in:
Zero_Chaos 2012-02-25 01:32:20 +00:00
parent 15026dbd6a
commit fb8ebf34d0
2 changed files with 0 additions and 48 deletions

View file

@ -1,3 +0,0 @@
DIST metasploit-latest-linux-installer.run 243922601 RMD160 ff8ec6984aa397e8ac306fb640feae8718750d54 SHA1 18de72a751a92c1ed5606f8967c458b2ce5ee197 SHA256 60f8f3f31fd57d7a0f5c87f0ebfeeb9b3e238f5998e9139730794ae09a4b814a
DIST metasploit-latest-linux-x64-installer.run 245241294 RMD160 624e063abba608ea0e3fc6b4d9c4e422faf903a3 SHA1 0d5592b09a3770dedb3f485000a3cc24ae8a4735 SHA256 ea55a7316e620900ed5ca87fc2f1218fea744678560ed02b9f7979acf1d5930b
EBUILD metasploit-bin-9999.ebuild 1471 RMD160 2328e4caef47c1a8267cbdfee6eefce2fa6ca17d SHA1 47fd7c9a4aea9f17e3a42a61f6fc485e199356c4 SHA256 f48b9ac239e0880d0e98110be4a5d58a6e072206e4ac493e2943a45ecc8734b9

View file

@ -1,45 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
DESCRIPTION=""
HOMEPAGE=""
SRC_URI="amd64? ( "http://downloads.metasploit.com/data/releases/metasploit-latest-linux-x64-installer.run" ) \
x86? ( "http://downloads.metasploit.com/data/releases/metasploit-latest-linux-installer.run" )"
LICENSE=""
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
DEPEND="!net-analyzer/metasploit"
RDEPEND="${DEPEND}"
RESTRICT="strip"
S=${WORKDIR}
src_unpack() {
die "This is not ready for use yet, don't even try"
use amd64 && cp "${DISTDIR}/metasploit-latest-linux-x64-installer.run" "${WORKDIR}"
use x86 && cp "${DISTDIR}/metasploit-latest-linux-installer.run" "${WORKDIR}"
use amd64 && chmod 755 "${WORKDIR}/metasploit-latest-linux-x64-installer.run"
use x86 && chmod 755 "${WORKDIR}/metasploit-latest-linux-installer.run"
}
pkg_setup() {
:
}
src_install() {
# We add the following line because metasploit insists on adding it's own postgres user otherwise
# do a proper newuser newgroup in here, steal it from the postgres ebuild
addpredict /etc/passwd
use amd64 && ${WORKDIR}/metasploit-latest-linux-x64-installer.run --mode unattended --prefix "${ED}/opt/metasploit" --debuglevel 4 --debugtrace "${ED}/opt/metasploit/install.log"
use x86 && ${WORKDIR}/metasploit-latest-linux-installer.run --mode unattended
# make_wrapper skype ./skype /opt/skype /opt/skype
}