# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="The Metasploit Framework is an advanced open-source platform for developing, testing, and using vulnerability exploit code." # This project is a powerful tool for penetration testing, exploit development, and vulnerability research. # The Framework is written in the Perl scripting language and includes various components written in C, assembler, and Python. # This project can be roughly compared to commercial offerings such as Immunity's CANVAS and Core Security Technology's Impact. # The major difference between the Framework and these commercial products is the focus; while the commercial products need to # always provide the latest exploits and an intuitive GUI, the Framework was designed to facilitate research and experimentation with new technologies. HOMEPAGE="http://www.metasploit.org/" # Need to change the name MY_P=${P/metasploit/framework} SRC_URI="http://metasploit.com/tools/${MY_P}.tar.gz" S=${WORKDIR}/${MY_P} LICENSE="GPL-2 Artistic" SLOT="0" KEYWORDS="~x86 ~ppc" IUSE="" RDEPEND="dev-lang/perl dev-perl/Net-SSLeay dev-perl/Term-ReadLine-Perl" src_compile() { einfo "Nothing to build, jumping to install..." } src_install() { # I need to create this ? dodir /usr/lib/ dodir /usr/bin/ # should be as simple as copying everything into the target... cp -a -R ${S} ${D}usr/lib/metasploit || die # and creating symlinks in the /usr/bin dir cd ${D}/usr/bin ln -s ../lib/metasploit/msf* ./ || die } pkg_postinst() { ewarn "You may wish to perform a metasploit update to get" ewarn "the latest modules (e.g. run 'msfupdate -u')" }