summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-02-25 11:09:56 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-02-25 11:09:56 +0000
commitce69e26c73810b84a41961e47c428dcab084e109 (patch)
treeec721eb69e2bc740512ae64ecac3458cdc654365 /net-analyzer/metasploit
parentChangelog has moved to CHANGELOG; drop the dohtml (that dir has been punted). (diff)
downloadhistorical-ce69e26c73810b84a41961e47c428dcab084e109.tar.gz
historical-ce69e26c73810b84a41961e47c428dcab084e109.tar.bz2
historical-ce69e26c73810b84a41961e47c428dcab084e109.zip
Revision bump; added msfweb init.d script thanks to soulse in bug 83123.
Package-Manager: portage-2.0.51.16
Diffstat (limited to 'net-analyzer/metasploit')
-rw-r--r--net-analyzer/metasploit/ChangeLog8
-rw-r--r--net-analyzer/metasploit/Manifest11
-rw-r--r--net-analyzer/metasploit/files/digest-metasploit-2.3-r11
-rw-r--r--net-analyzer/metasploit/files/msfweb.initd18
-rw-r--r--net-analyzer/metasploit/metasploit-2.3-r1.ebuild44
5 files changed, 77 insertions, 5 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..6c5a953b4e92 100644
--- a/net-analyzer/metasploit/Manifest
+++ b/net-analyzer/metasploit/Manifest
@@ -1,14 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+MD5 f6641446118c7c081b6f76998351818a metasploit-2.3-r1.ebuild 1197
MD5 58b2cffebded62e81c672f465dd51a2f metasploit-2.3.ebuild 1194
-MD5 dfb0d491c51e0ba63decc90daff7e39a ChangeLog 536
+MD5 31ceccc42c11a586be4d02ce66a02996 ChangeLog 745
MD5 5c7feb9f12264fd99f3f435216e82f26 metadata.xml 926
MD5 38b31ffed97d630a113365424ecd9655 files/digest-metasploit-2.3 66
+MD5 38b31ffed97d630a113365424ecd9655 files/digest-metasploit-2.3-r1 66
+MD5 f9cb96949abbc8b02b5bebe78aedf53e files/msfweb.initd 536
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
-iD8DBQFCEgwYEZCkKN40op4RAn4sAJ92e10XnSNVfYbemE/ZOhJ6O5ll8ACaA2un
-0TGs2DNlRIGAFiGV/sRtJcE=
-=pmoq
+iD8DBQFCHweQEZCkKN40op4RApX/AJsGV8XhY3IN1m0u4y1Qfjiw9LRhsQCgxTZn
+EiQGtwYAx7+KHjzzPYvh6Vc=
+=Ngtm
-----END PGP SIGNATURE-----
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')"
+}