diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2005-02-25 11:09:56 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2005-02-25 11:09:56 +0000 |
commit | f76e115bd6c14337dd9632067e607d4101c90157 (patch) | |
tree | 47145f83419bb540f5e6db9b24fffd4000883e52 /net-analyzer | |
parent | Changelog has moved to CHANGELOG; drop the dohtml (that dir has been punted). (diff) | |
download | gentoo-2-f76e115bd6c14337dd9632067e607d4101c90157.tar.gz gentoo-2-f76e115bd6c14337dd9632067e607d4101c90157.tar.bz2 gentoo-2-f76e115bd6c14337dd9632067e607d4101c90157.zip |
Revision bump; added msfweb init.d script thanks to soulse in bug 83123.
(Portage version: 2.0.51.16)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/metasploit/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/metasploit/Manifest | 15 | ||||
-rw-r--r-- | net-analyzer/metasploit/files/digest-metasploit-2.3-r1 | 1 | ||||
-rw-r--r-- | net-analyzer/metasploit/files/msfweb.initd | 18 | ||||
-rw-r--r-- | net-analyzer/metasploit/metasploit-2.3-r1.ebuild | 44 |
5 files changed, 74 insertions, 12 deletions
diff --git a/net-analyzer/metasploit/ChangeLog b/net-analyzer/metasploit/ChangeLog index 7d02c4ae3643..046d86eaea1a 100644 --- a/net-analyzer/metasploit/ChangeLog +++ b/net-analyzer/metasploit/ChangeLog @@ -1,6 +1,12 @@ # 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.3 2005/02/15 14:49:51 ka0ttic Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.4 2005/02/25 11:09:56 ka0ttic Exp $ + +*metasploit-2.3-r1 (25 Feb 2005) + + 25 Feb 2005; Aaron Walker <ka0ttic@gentoo.org> +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 <ka0ttic@gentoo.org> metasploit-2.3.ebuild: Added missing dev-perl/TermReadKey dep for bug 81936. diff --git a/net-analyzer/metasploit/Manifest b/net-analyzer/metasploit/Manifest index 446c96978e50..f0a6f42c7397 100644 --- a/net-analyzer/metasploit/Manifest +++ b/net-analyzer/metasploit/Manifest @@ -1,14 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 d00a55eaef195de250fe7874301b6d1b metasploit-2.3-r1.ebuild 1194 MD5 58b2cffebded62e81c672f465dd51a2f metasploit-2.3.ebuild 1194 -MD5 dfb0d491c51e0ba63decc90daff7e39a ChangeLog 536 +MD5 6d3b319aef35a6382b07f7cd9839f5ca ChangeLog 745 MD5 5c7feb9f12264fd99f3f435216e82f26 metadata.xml 926 MD5 38b31ffed97d630a113365424ecd9655 files/digest-metasploit-2.3 66 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.0 (GNU/Linux) - -iD8DBQFCEgwYEZCkKN40op4RAn4sAJ92e10XnSNVfYbemE/ZOhJ6O5ll8ACaA2un -0TGs2DNlRIGAFiGV/sRtJcE= -=pmoq ------END PGP SIGNATURE----- +MD5 38b31ffed97d630a113365424ecd9655 files/digest-metasploit-2.3-r1 66 +MD5 ffe169f8ba3ffb0f54e5de34e7b5377d files/msfweb.initd 431 diff --git a/net-analyzer/metasploit/files/digest-metasploit-2.3-r1 b/net-analyzer/metasploit/files/digest-metasploit-2.3-r1 new file mode 100644 index 000000000000..05f71c026b5d --- /dev/null +++ b/net-analyzer/metasploit/files/digest-metasploit-2.3-r1 @@ -0,0 +1 @@ +MD5 96ea8b6a1592337daf924e2ae8e1e938 framework-2.3.tar.gz 2330788 diff --git a/net-analyzer/metasploit/files/msfweb.initd b/net-analyzer/metasploit/files/msfweb.initd new file mode 100644 index 000000000000..66e6cc633b1b --- /dev/null +++ b/net-analyzer/metasploit/files/msfweb.initd @@ -0,0 +1,18 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/files/msfweb.initd,v 1.1 2005/02/25 11:09:56 ka0ttic Exp $ + +start() { + ebegin "Starting msfweb" + start-stop-daemon --start --quiet --exec /usr/bin/msfweb >/dev/null 2>&1 & + echo $! > /var/run/msfweb.pid + eend $? +} + +stop() { + ebegin "Stopping msfweb" + start-stop-daemon --stop --quiet --pidfile /var/run/msfweb.pid + rm -f /var/run/msfweb.pid + eend $? +} diff --git a/net-analyzer/metasploit/metasploit-2.3-r1.ebuild b/net-analyzer/metasploit/metasploit-2.3-r1.ebuild new file mode 100644 index 000000000000..951e67950688 --- /dev/null +++ b/net-analyzer/metasploit/metasploit-2.3-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-2.3-r1.ebuild,v 1.1 2005/02/25 11:09:56 ka0ttic Exp $ + +DESCRIPTION="The Metasploit Framework is an advanced open-source platform for developing, testing, and using vulnerability exploit code." +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 + dev-perl/TermReadKey" + +src_install() { + dodir /usr/lib/ + dodir /usr/bin/ + + # should be as simple as copying everything into the target... + cp -a ${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:root ${D} + + newinitd ${FILESDIR}/msfweb.initd msfweb || die "newinitd failed" +} + +pkg_postinst() { + ewarn "You may wish to perform a metasploit update to get" + ewarn "the latest modules (e.g. run 'msfupdate -u')" +} |