ChangeLog

# ChangeLog for net-analyzer/metasploit
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.36 2008/06/25 15:32:36 pva Exp $

*metasploit-3.1_p5539 (25 Jun 2008)

25 Jun 2008; Peter Volkov -metasploit-3.1_p5456.ebuild,
+metasploit-3.1_p5539.ebuild:
Cleaned unused version, bumped to get upstream fixes for 3.1 branch.

*metasploit-3.1_p5507 (19 May 2008)

19 May 2008; Peter Volkov +metasploit-3.1_p5507.ebuild:
Update to current HEAD, to get all updates.

26 Mar 2008; Peter Volkov -files/metasploit-3.0.patch,
-metasploit-3.1.ebuild, -metasploit-3.1_p5422.ebuild,
-metasploit-3.1_p5435.ebuild, metasploit-3.1_p5456.ebuild:
Fixed other typos in postinstall, thank Anton Bolshakov for report in bug
#214380. Removed unused versions from 3.0 branch.

24 Mar 2008; Raúl Porcel
metasploit-3.1_p5456.ebuild:
Add ~sparc wrt #211774

*metasploit-3.1_p5456 (24 Mar 2008)

24 Mar 2008; Peter Volkov +metasploit-3.1_p5456.ebuild:
Sync with upstream.

23 Mar 2008; Peter Volkov metasploit-2.7.ebuild:
Fixed typo in postrm, bug #214380, thank Denilson for report

*metasploit-3.1_p5435 (07 Mar 2008)

07 Mar 2008; +metasploit-3.1_p5435.ebuild:
Bump to include security fixes in code which uses WEBrick, although ruby
should be already fixed in our tree ;).

01 Mar 2008; metasploit-3.1_p5422.ebuild:
Added even more details how to keep metasploit up to date.

*metasploit-3.1_p5422 (01 Mar 2008)

01 Mar 2008; metasploit-2.7.ebuild,
metasploit-3.1.ebuild, +metasploit-3.1_p5422.ebuild:
Hopefully fixed update problem, bug #195924. Now we use subversion eclass
with it's features to allow users upgrade metasploit even if new revision is
not available in portage ATM. Thank Erwin Paternotte, Jakub Moc, Anton
Bolshakov, H D Moore, and Doug Klima for their input and help in fixing this
bug.

25 Feb 2008; -metasploit-3.0-r1.ebuild,
metasploit-3.1.ebuild:
Updated fetch URI, bug 211428. Thank Muelli for report. Removed unused.

25 Feb 2008; metasploit-3.1.ebuild:
Fixed typo, thank Anton Bolshakov for report in bug #142778.

*metasploit-3.1 (30 Jan 2008)

30 Jan 2008; -metasploit-2.6.ebuild,
metasploit-2.7.ebuild, metasploit-3.0-r1.ebuild, +metasploit-3.1.ebuild:
Version bump.

*metasploit-3.0-r1 (13 Oct 2007)

13 Oct 2007; Cédric Krier -metasploit-3.0.ebuild,
+metasploit-3.0-r1.ebuild:
Fix rails version for bug #195652

*metasploit-3.0 (09 Sep 2007)

09 Sep 2007; Cédric Krier +files/msfweb3.confd,
+files/metasploit-3.0.patch, +files/msfweb3.initd, +metasploit-3.0.ebuild:
Version bump with new slot for bug #142778

07 Feb 2007; Simon Stelling metasploit-2.7.ebuild:
stable on amd64; bug 164246

03 Feb 2007; Jason Wever metasploit-2.7.ebuild:
Added ~sparc keyword.

03 Feb 2007; nixnut metasploit-2.7.ebuild:
Stable on ppc wrt bug 164246

28 Jan 2007; Raúl Porcel metasploit-2.7.ebuild:
x86 stable wrt bug 164246

11 Nov 2006; metasploit-2.6.ebuild:
Stable on amd64 - bug #153912

05 Nov 2006; Christian Faulhammer
metasploit-2.6.ebuild:
stabled x86, bug #153912

03 Nov 2006; Timothy Redaelli metasploit-2.6.ebuild:
Stable on ppc. Bug #153912

03 Nov 2006; Peter Volkov files/msfweb.initd:
Fixed init script issue caused msfweb not to stop properly. Thank Timothy
Redaelli for report in bug #153912.

*metasploit-2.7 (02 Nov 2006)

02 Nov 2006; Peter Volkov metadata.xml,
-metasploit-2.3-r2.ebuild, -metasploit-2.4-r1.ebuild,
-metasploit-2.5.ebuild, +metasploit-2.7.ebuild:
Version bump. Thank Matt Drew (aetius) matt.drew at gmail.com for report.
Removed old versions. Cleaned metadata.xml a bit.

*metasploit-2.6 (14 Jun 2006)

14 Jun 2006; Peter Volkov +metasploit-2.6.ebuild:
Version bump. Thank Kalidarn for report in bug 135404.

*metasploit-2.5 (24 Oct 2005)

24 Oct 2005; Benjamin Smee +metasploit-2.5.ebuild:
version bump. bug #110303

24 Aug 2005; Diego Pettenò
metasploit-2.4-r1.ebuild:
FreeBSD fixes: cp -a -> cp -pPR; root:root -> root:0.

12 Aug 2005; Olivier Crête metasploit-2.4-r1.ebuild:
Marked ~amd64, closes bug #102111, thanks to Mike Cvet for testing

04 Jun 2005; Marcelo Goes
metasploit-2.4-r1.ebuild:
Use normal file instead of snapshot, wrt bug 95048.

*metasploit-2.4-r1 (04 Jun 2005)

04 Jun 2005; Marcelo Goes -metasploit-2.4.ebuild,
+metasploit-2.4-r1.ebuild:
Revision bump. CA certificate changed, preventing use of msfupdate -u. Fixes
bug 95048. Thanks to H D Moore .

*metasploit-2.4 (11 May 2005)

11 May 2005; Aaron Walker +metasploit-2.4.ebuild:
Version bump.

*metasploit-2.3-r2 (27 Apr 2005)

27 Apr 2005; Aaron Walker +files/msfweb.confd,
files/msfweb.initd, -metasploit-2.3.ebuild, -metasploit-2.3-r1.ebuild,
+metasploit-2.3-r2.ebuild:
Revision bump; add conf.d file and init.d enhancements. Thanks once again to
soulse in bug 90543. Tidy old ebuilds.

13 Mar 2005; Luca Barbato :
Fixed ChangeLog as requersted by reporter in bug #75532

*metasploit-2.3-r1 (25 Feb 2005)

25 Feb 2005; Aaron Walker +files/msfweb.initd,
+metasploit-2.3-r1.ebuild:
Revision bump; added msfweb init.d script thanks to soulse in bug 83123.

15 Feb 2005; Aaron Walker metasploit-2.3.ebuild:
Added missing dev-perl/TermReadKey dep for bug 81936.

*metasploit-2.3 (13 Feb 2005)

13 Feb 2005; Daniel Black +metasploit-2.3.ebuild:
Initial ebuild as per bug #75532 thanks to Stefano

Manifest

AUX msfweb.confd 273 RMD160 35c10406c74e431aa592c7af6d14f813ad18b984 SHA1 66cff0fe0423baa89ffdd3745b7195ae0f0bf273 SHA256 006040ecd27dc0279c2bea6d69365fe1f0d66f507c039ae43720662abe9f4460
AUX msfweb.initd 533 RMD160 44f94381ae9488fb2e3c6f700458798b692971d7 SHA1 9b62d7d85af34430dda55a192460caae258ba978 SHA256 4fd9668e4b467ecfa5160e2c108ac8ace71fbeaefaf829d2f7bfb566d44bb13c
AUX msfweb3.confd 234 RMD160 2cad154dc7ac4e836e8b4dd8c4366521742f90b3 SHA1 c3bac2879f00f56ff0a0737eea6a4d200f5761c9 SHA256 bc911b32a2c81d337135c7614e0982e102056fb174d274177cc2b8aca717e97f
AUX msfweb3.initd 578 RMD160 47baabd2beb338fd8a067694830400801a028c1a SHA1 6a5ec10c2c82925e6e731c46f8b0fcfa607b9502 SHA256 79c74ded23d8541cf470e6c24aa2ebf45bcb4460e456c273ec0e1da4d156f066
DIST framework-2.7.tar.gz 5800216 RMD160 cfdf2705522c845bb4405413207a7df0f3873b94 SHA1 da5d41dfa13e549aacd4fbf2994877cbe80ceed9 SHA256 516952772aaa8982628460b927c9119850925f870903c5a131a9c9f0390cf77f
EBUILD metasploit-2.7.ebuild 1451 RMD160 86b02866587de2829a1905ab274cbe4abdd41991 SHA1 e7cc8fb826d55a9be1125dd63ea16798dea1c393 SHA256 fc61998068bf093cf4a68f1563130bed0c1c05c6db7fee51669e49de9460cc96
EBUILD metasploit-3.1_p5507.ebuild 3663 RMD160 2e5b90e6cf63af5613fc8112649c6292d1249f95 SHA1 68841799480026e5ab5c9254ce4d103945946614 SHA256 a2ecb36fb254fefc08384b05e28ed59d32c4172f9a89c0b2c40644adc68a11ee
EBUILD metasploit-3.1_p5539.ebuild 3663 RMD160 89a115760d6755da69d460587af0a2813cc6221f SHA1 bfab79cc5e3533215e2cad4deff5219456378b68 SHA256 ec88685f15c32c87f666c42316b0028a87a7fca4675e482ab557d590ca0be803
MISC ChangeLog 6217 RMD160 6666cdda11bb5138fe85241146f550e0a7c22af5 SHA1 b53a5dacac4a83b93c8c44053325c5b08329168a SHA256 7f17dda3daf2c2a86f3409259021d3bbf09a52039a45c221078a5eb9e547d76d
MISC metadata.xml 863 RMD160 90c921bdc34bc98f2c43fb75f633dbdeb65561ae SHA1 022699039a88ca8d53bd75d0b20dbd8709953d55 SHA256 594bd50431c2ecc70b0834fed0dbfe28bac86201fb4e5b20989a56baa8f21eff

files

metadata.xml




netmon

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.

metasploit-2.7.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-2.7.ebuild,v 1.8 2008/03/23 16:02:01 pva Exp $

MY_P="${P/metasploit/framework}"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="Advanced open-source framework 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 ~sparc 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() {
elog "To update metasploit modules run:"
elog " # cd /usr/lib/metasploit && svn update"
}

pkg_postrm() {
if [[ -d /usr/lib/metasploit ]] ; then
ewarn "If you ever updated modules emerge will keep /var/lib/metasploit"
ewarn "directory. Thus to remove metasploit completely do not forgive to:"
ewarn " # rm -r /usr/lib/metasploit"
fi
}

metasploit-3.1_p5507.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-3.1_p5507.ebuild,v 1.1 2008/05/19 12:37:40 pva Exp $

MY_P=${PN/metasploit/framework}-${PV}

# Metasploit uses subversion as a *normal* update mechanism for stable branches
# of the package. This ebuild uses _p inside $PV to install updated up
# to revision version of framework. For more information, take a look
# at bug #195924.
if [[ "${PV}" =~ (_p)([0-9]+) ]] ; then
inherit subversion
SRC_URI=""
MTSLPT_REV=${BASH_REMATCH[2]}
ESVN_REPO_URI="https://metasploit.com/svn/framework3/branches/framework-${PV%_p*}/@${MTSLPT_REV}"
else
SRC_URI="http://sugar.metasploit.com/releases/${MY_P}.tar.gz"
fi

DESCRIPTION="Advanced open-source framework for developing, testing, and using vulnerability exploit code"
HOMEPAGE="http://www.metasploit.org/"

LICENSE="MSF-1.2"
SLOT="3"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="gtk sqlite sqlite3 postgres httpd"

RDEPEND="dev-lang/ruby
gtk? ( dev-ruby/ruby-libglade2 )
httpd? ( =dev-ruby/rails-1.2* )
sqlite? ( dev-ruby/sqlite-ruby
dev-ruby/activerecord )
sqlite3? ( dev-ruby/sqlite3-ruby
dev-ruby/activerecord )
postgres? ( dev-ruby/ruby-postgres
dev-ruby/activerecord )"
DEPEND=""

S=${WORKDIR}/${MY_P}

src_compile() {
sed -i -e "s/RAILS_GEM_VERSION = '1.2.2'/RAILS_GEM_VERSION = '1.2'/" \
data/msfweb/config/environment.rb || die "sed failed"
}

src_install() {
if [[ "${SRC_URI}" != "" ]] ; then
# remove the subversion directories
find "${S}" -type d -name ".svn" -print0 | xargs -0 -n1 rm -R
fi

# should be as simple as copying everything into the target...
dodir /usr/lib/${PN}${SLOT}
cp -R "${S}"/* "${D}"/usr/lib/${PN}${SLOT} || die "Copy files failed"
rm -Rf "${D}"/usr/lib/${PN}${SLOT}/documentation "${D}"/usr/lib/${PN}${SLOT}/README

rm "${S}"/documentation/LICENSE
dodir /usr/share/doc/${PF}
cp -R "${S}"/{documentation,README} "${D}"/usr/share/doc/${PF}

dodir /usr/bin/
for file in `ls msf*`; do
dosym /usr/lib/${PN}${SLOT}/${file} /usr/bin/${file}${SLOT}
done

chown -R root:0 "${D}"

if use httpd; then
newinitd "${FILESDIR}"/msfweb${SLOT}.initd msfweb${SLOT} \
|| die "newinitd failed"
newconfd "${FILESDIR}"/msfweb${SLOT}.confd msfweb${SLOT} \
|| die "newconfd failed"
fi
}

pkg_postinst() {
if [[ "${SRC_URI}" == "" ]] ; then
elog "If you wish to update ${PN} manually simply run:"
elog
elog "ESVN_REVISION= emerge =${PF}"
elog
elog "where is either HEAD (in case you wish to get all updates)"
elog "or specific revision number. But NOTE, this update will vanish"
elog "next time you reemerge ${PN}. To make update permanent either"
elog "create ebuild with specific revision number inside your overlay"
elog "or report revision bump bug at http://bugs.gentoo.org ."
elog
elog "In case you use portage it's also possible to create"
elog "/etc/portage/env/${CATEGORY}/${PN} file with ESVN_REVISION="
elog "content. Then each time you run emerge ${PN} you'll have said"
elog " installed. For example, if you run"
elog " # mkdir -p /etc/portage/env/${CATEGORY}"
elog " # echo ESVN_REVISION=HEAD >> /etc/portage/env/${CATEGORY}/${PN}"
elog "each time you reemerge ${PN} it'll be updated to get all possible"
elog "updates for framework-${PV%_p*} branch."
elog "You can do similar things in paludis using /etc/paludis/bashrc."
else
ewarn "${PN} version you installed is for testing purposes only"
ewarn "as it's impossible to update it. For day by day work use"
ewarn "different version."
fi
}

metasploit-3.1_p5539.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-3.1_p5539.ebuild,v 1.1 2008/06/25 15:32:36 pva Exp $

MY_P=${PN/metasploit/framework}-${PV}

# Metasploit uses subversion as a *normal* update mechanism for stable branches
# of the package. This ebuild uses _p inside $PV to install updated up
# to revision version of framework. For more information, take a look
# at bug #195924.
if [[ "${PV}" =~ (_p)([0-9]+) ]] ; then
inherit subversion
SRC_URI=""
MTSLPT_REV=${BASH_REMATCH[2]}
ESVN_REPO_URI="https://metasploit.com/svn/framework3/branches/framework-${PV%_p*}/@${MTSLPT_REV}"
else
SRC_URI="http://sugar.metasploit.com/releases/${MY_P}.tar.gz"
fi

DESCRIPTION="Advanced open-source framework for developing, testing, and using vulnerability exploit code"
HOMEPAGE="http://www.metasploit.org/"

LICENSE="MSF-1.2"
SLOT="3"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="gtk sqlite sqlite3 postgres httpd"

RDEPEND="dev-lang/ruby
gtk? ( dev-ruby/ruby-libglade2 )
httpd? ( =dev-ruby/rails-1.2* )
sqlite? ( dev-ruby/sqlite-ruby
dev-ruby/activerecord )
sqlite3? ( dev-ruby/sqlite3-ruby
dev-ruby/activerecord )
postgres? ( dev-ruby/ruby-postgres
dev-ruby/activerecord )"
DEPEND=""

S=${WORKDIR}/${MY_P}

src_compile() {
sed -i -e "s/RAILS_GEM_VERSION = '1.2.2'/RAILS_GEM_VERSION = '1.2'/" \
data/msfweb/config/environment.rb || die "sed failed"
}

src_install() {
if [[ "${SRC_URI}" != "" ]] ; then
# remove the subversion directories
find "${S}" -type d -name ".svn" -print0 | xargs -0 -n1 rm -R
fi

# should be as simple as copying everything into the target...
dodir /usr/lib/${PN}${SLOT}
cp -R "${S}"/* "${D}"/usr/lib/${PN}${SLOT} || die "Copy files failed"
rm -Rf "${D}"/usr/lib/${PN}${SLOT}/documentation "${D}"/usr/lib/${PN}${SLOT}/README

rm "${S}"/documentation/LICENSE
dodir /usr/share/doc/${PF}
cp -R "${S}"/{documentation,README} "${D}"/usr/share/doc/${PF}

dodir /usr/bin/
for file in `ls msf*`; do
dosym /usr/lib/${PN}${SLOT}/${file} /usr/bin/${file}${SLOT}
done

chown -R root:0 "${D}"

if use httpd; then
newinitd "${FILESDIR}"/msfweb${SLOT}.initd msfweb${SLOT} \
|| die "newinitd failed"
newconfd "${FILESDIR}"/msfweb${SLOT}.confd msfweb${SLOT} \
|| die "newconfd failed"
fi
}

pkg_postinst() {
if [[ "${SRC_URI}" == "" ]] ; then
elog "If you wish to update ${PN} manually simply run:"
elog
elog "ESVN_REVISION= emerge =${PF}"
elog
elog "where is either HEAD (in case you wish to get all updates)"
elog "or specific revision number. But NOTE, this update will vanish"
elog "next time you reemerge ${PN}. To make update permanent either"
elog "create ebuild with specific revision number inside your overlay"
elog "or report revision bump bug at http://bugs.gentoo.org ."
elog
elog "In case you use portage it's also possible to create"
elog "/etc/portage/env/${CATEGORY}/${PN} file with ESVN_REVISION="
elog "content. Then each time you run emerge ${PN} you'll have said"
elog " installed. For example, if you run"
elog " # mkdir -p /etc/portage/env/${CATEGORY}"
elog " # echo ESVN_REVISION=HEAD >> /etc/portage/env/${CATEGORY}/${PN}"
elog "each time you reemerge ${PN} it'll be updated to get all possible"
elog "updates for framework-${PV%_p*} branch."
elog "You can do similar things in paludis using /etc/paludis/bashrc."
else
ewarn "${PN} version you installed is for testing purposes only"
ewarn "as it's impossible to update it. For day by day work use"
ewarn "different version."
fi
}