# ChangeLog for net-analyzer/metasploit
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.12 2005/10/24 10:18:06 strerror Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.13 2006/06/14 11:13:54 pva Exp $
+
+*metasploit-2.6 (14 Jun 2006)
+
+ 14 Jun 2006; Peter Volkov <pva@gentoo.org> +metasploit-2.6.ebuild:
+ Version bump. Thank Kalidarn for report in bug 135404.
*metasploit-2.5 (24 Oct 2005)
-MD5 8c7cc1c4d52b7544fa7ad5d7f5dd80cb metasploit-2.5.ebuild 1242
-MD5 0bd259ecdcb31386b685f2a489c8db2a metasploit-2.3-r2.ebuild 1238
-MD5 6c0dd265cfb2404d35f6dfe4cf3d420d metasploit-2.4-r1.ebuild 1246
-MD5 7f3f7033b220a8be6b88e5a966b67ee6 ChangeLog 2141
-MD5 5c7feb9f12264fd99f3f435216e82f26 metadata.xml 926
-MD5 1d0db6087ff1f30ade92102cea049779 files/digest-metasploit-2.5 66
+MD5 c93aba065aa3047d8ded6e69834ca3f6 ChangeLog 2294
MD5 38b31ffed97d630a113365424ecd9655 files/digest-metasploit-2.3-r2 66
MD5 0891d99b6de5481d3afce5f336d446de files/digest-metasploit-2.4-r1 66
+MD5 1d0db6087ff1f30ade92102cea049779 files/digest-metasploit-2.5 66
+MD5 fdc5a15115e208f9c836bfa9ddcdb7cb files/digest-metasploit-2.6 66
MD5 60ed26ce3c2cba88b12d53ffe7b7d4c8 files/msfweb.confd 273
MD5 ee718583da001cce2972ed8f9c51c72e files/msfweb.initd 528
+MD5 5c7feb9f12264fd99f3f435216e82f26 metadata.xml 926
+MD5 0bd259ecdcb31386b685f2a489c8db2a metasploit-2.3-r2.ebuild 1238
+MD5 6c0dd265cfb2404d35f6dfe4cf3d420d metasploit-2.4-r1.ebuild 1246
+MD5 8c7cc1c4d52b7544fa7ad5d7f5dd80cb metasploit-2.5.ebuild 1242
+MD5 f1d518fdc82d4af4646d2969dda03928 metasploit-2.6.ebuild 1237
--- /dev/null
+MD5 fea4047b477c1a9c9fb1ad4acda65610 framework-2.6.tar.gz 2782676
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-2.6.ebuild,v 1.1 2006/06/14 11:13:54 pva Exp $
+
+MY_P="${P/metasploit/framework}"
+S="${WORKDIR}/${MY_P}"
+DESCRIPTION="The Metasploit Framework is an advanced open-source platform for developing, testing, and using vulnerability exploit code."
+HOMEPAGE="http://www.metasploit.org/"
+SRC_URI="http://metasploit.com/tools/${MY_P}.tar.gz"
+
+LICENSE="GPL-2 Artistic"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="dev-lang/perl
+ dev-perl/Net-SSLeay
+ dev-perl/Term-ReadLine-Perl
+ dev-perl/TermReadKey"
+
+src_install() {
+ dodir /usr/lib/
+ dodir /usr/bin/
+
+ # should be as simple as copying everything into the target...
+ cp -pPR ${S} ${D}usr/lib/metasploit || die
+
+ # and creating symlinks in the /usr/bin dir
+ cd ${D}/usr/bin
+ ln -s ../lib/metasploit/msf* ./ || die
+ chown -R root:0 ${D}
+
+ newinitd ${FILESDIR}/msfweb.initd msfweb || die "newinitd failed"
+ newconfd ${FILESDIR}/msfweb.confd msfweb || die "newconfd failed"
+}
+
+pkg_postinst() {
+ ewarn "You may wish to perform a metasploit update to get"
+ ewarn "the latest modules (e.g. run 'msfupdate -u')"
+}