diff options
author | Patrick Lauer <patrick@gentoo.org> | 2010-11-14 22:55:42 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2010-11-14 22:55:42 +0000 |
commit | 4365c5cef6355dd9fd9c081290396be14a0e58b9 (patch) | |
tree | ed17debef20a71d739fd35411c6e68c01654182c /net-analyzer | |
parent | Automated update of use.local.desc (diff) | |
download | historical-4365c5cef6355dd9fd9c081290396be14a0e58b9.tar.gz historical-4365c5cef6355dd9fd9c081290396be14a0e58b9.tar.bz2 historical-4365c5cef6355dd9fd9c081290396be14a0e58b9.zip |
Bump
Package-Manager: portage-2.2.0_alpha4/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/metasploit/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/metasploit/Manifest | 6 | ||||
-rw-r--r-- | net-analyzer/metasploit/files/msfweb3.5.confd | 10 | ||||
-rw-r--r-- | net-analyzer/metasploit/files/msfweb3.5.initd | 20 | ||||
-rw-r--r-- | net-analyzer/metasploit/metasploit-3.5.0.ebuild | 80 |
5 files changed, 122 insertions, 2 deletions
diff --git a/net-analyzer/metasploit/ChangeLog b/net-analyzer/metasploit/ChangeLog index 866b4d5d79a5..5726b1bc4d5d 100644 --- a/net-analyzer/metasploit/ChangeLog +++ b/net-analyzer/metasploit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/metasploit # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.51 2010/09/04 18:55:42 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.52 2010/11/14 22:55:42 patrick Exp $ + +*metasploit-3.5.0 (14 Nov 2010) + + 14 Nov 2010; Patrick Lauer <patrick@gentoo.org> +files/msfweb3.5.confd, + +metasploit-3.5.0.ebuild, +files/msfweb3.5.initd: + Bump *metasploit-3.4.1 (14 Jul 2010) diff --git a/net-analyzer/metasploit/Manifest b/net-analyzer/metasploit/Manifest index ce334cf97f91..f7bf85e56962 100644 --- a/net-analyzer/metasploit/Manifest +++ b/net-analyzer/metasploit/Manifest @@ -6,15 +6,19 @@ AUX msfweb3.3.confd 234 RMD160 2cad154dc7ac4e836e8b4dd8c4366521742f90b3 SHA1 c3b AUX msfweb3.3.initd 673 RMD160 b50f2ae6759f51b39d90431045b8a99459aa5ce9 SHA1 e910a022e658c6077474f9c8c2c8f9b6210511cc SHA256 a2d063bbcea8d5e4b5a1a5f62f57696d8ad8c62d1608cbc02a8585c1cd15e19c AUX msfweb3.4.confd 234 RMD160 2cad154dc7ac4e836e8b4dd8c4366521742f90b3 SHA1 c3bac2879f00f56ff0a0737eea6a4d200f5761c9 SHA256 bc911b32a2c81d337135c7614e0982e102056fb174d274177cc2b8aca717e97f AUX msfweb3.4.initd 673 RMD160 37b0de42a08bb5ac25b8e0592fd77ab255a27448 SHA1 af608f5ef6830909bd8a736d97a443dc5ad666a5 SHA256 eacf33f458de1137555882ac8921880d58f5b89f9ac597ef91f6cf5ec78b2547 +AUX msfweb3.5.confd 234 RMD160 2cad154dc7ac4e836e8b4dd8c4366521742f90b3 SHA1 c3bac2879f00f56ff0a0737eea6a4d200f5761c9 SHA256 bc911b32a2c81d337135c7614e0982e102056fb174d274177cc2b8aca717e97f +AUX msfweb3.5.initd 673 RMD160 80392c5f938cc7a7db026e9f97eca17d73e2d1e3 SHA1 e3c12515f4cef616f6b7d27b57112ad90cc44c56 SHA256 19c08b3232f2e4322641a30eb5192dae94f2f2eec43ac0358b0d70dfd726c5b8 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 DIST framework-3.3.3.tar.bz2 23438382 RMD160 7af61daff176cbbe6455abecefe8323acf561238 SHA1 6c6e257f21ad55328e45fbc04020c3c2a9ca9b78 SHA256 a650778f7946a7f113acd716023978fd94f01325e9a4cf6342fb00ba3f6a2c0b DIST framework-3.4.0.tar.bz2 31099089 RMD160 7e5c2a58fd8ac91a80f5113e8e2eb30d9c047d00 SHA1 41cfbd4fa879003cdc69f0aadab188bcc1ac0371 SHA256 da734592a7192747fd66c05459d27daeb3e49aea92dd5dadc3305a6b8ee081e8 DIST framework-3.4.1.tar.bz2 32779137 RMD160 30200656cfd0907b1ff60cf115695e02143602af SHA1 21a8acccf282ef48801d4769fa3865437ea4d667 SHA256 65f1e627822f320cf885e20f59a96a85844b1b7780f9299943b4fa671f4dba00 +DIST framework-3.5.0.tar.bz2 42254784 RMD160 090d557574b8e98e461f9de2bb95f604d74cf645 SHA1 15e72afdfdc374f74a6eb07969174855b6d02361 SHA256 bb1cd6e70547b039672d2087a580fe4a29199098a78030a6e50779687dccbed7 EBUILD metasploit-2.7.ebuild 1451 RMD160 86b02866587de2829a1905ab274cbe4abdd41991 SHA1 e7cc8fb826d55a9be1125dd63ea16798dea1c393 SHA256 fc61998068bf093cf4a68f1563130bed0c1c05c6db7fee51669e49de9460cc96 EBUILD metasploit-3.3.3.ebuild 2919 RMD160 69d867f0c6e7448da1953fe157a28d57718e8235 SHA1 a7344a0baa68cd6a8717b94ef998066f90158e17 SHA256 d65d28b77e8326f9fde85225bef7f7a37e2327fd3f69075653bd13b440e3711b EBUILD metasploit-3.4.0.ebuild 2919 RMD160 0ea84526740db98f902db71e87aaaf73ac0db5ef SHA1 e2a5b180f53844ef927e4412296aaa1d0575fd2a SHA256 75eb237471c8d9cce33d1d48eda9ff0dfee316c1d8e954225e70243109ca0c47 EBUILD metasploit-3.4.1.ebuild 2919 RMD160 a76cfa206a4fa634137d37291cb4b9aa9e7a0c00 SHA1 39236ae0616a7b7cc84e4b270ff5f464c9e1b355 SHA256 de08c9e20d364a10acfacb9e3f5b73e74598b63663f91ec73808941763c0e54c -MISC ChangeLog 8831 RMD160 0348056e59dadc03dc2c7ebb595d73308edea5a9 SHA1 29cd38b0b94c648225f927a91cc2f1f6e992cfbd SHA256 b05bc7903eb5f729c6eb31de50cfa2a295455084bd210e40992ab086a7cfc176 +EBUILD metasploit-3.5.0.ebuild 2919 RMD160 48c458cdea7d9c500e444e51c0d158e67994125a SHA1 27f00aeb038f39f51be08a4f898d4bed1bf238a1 SHA256 8f7666201914b2f2a986bc16dd1c47e431711d8ca7b266746f6ddfa86eb033ee +MISC ChangeLog 8998 RMD160 6382e3d4ac86c735d8c08f13de6e727eb0982d6f SHA1 2f0af234cd03f78bff0745d0f1af1acb2804f28b SHA256 2986d8afc664f2faa6987d6635361a4ea699e568614b1c89a64fb137d52eb8b3 MISC metadata.xml 864 RMD160 0843a578171a49e091f29d1b1c700bf45df48961 SHA1 024eeb7d6cf06fac61952e51af1e17f091e26e46 SHA256 8af2db5b683a4de1f16cf076ba1baa9ffc1c04897ca5c0f8c9e47ad64e85f0f7 diff --git a/net-analyzer/metasploit/files/msfweb3.5.confd b/net-analyzer/metasploit/files/msfweb3.5.confd new file mode 100644 index 000000000000..b0cf87e6dfaf --- /dev/null +++ b/net-analyzer/metasploit/files/msfweb3.5.confd @@ -0,0 +1,10 @@ +# Config file for /etc/init.d/metasploit + +# Bind to the following IP instead of the loopback address +IPADDR=127.0.0.1 + +# Bind to the following TCP port instead of default 55555 +PORT=55555 + +# All options +MSF_OPTS="-a $IPADDR -p $PORT" diff --git a/net-analyzer/metasploit/files/msfweb3.5.initd b/net-analyzer/metasploit/files/msfweb3.5.initd new file mode 100644 index 000000000000..bf8040c24710 --- /dev/null +++ b/net-analyzer/metasploit/files/msfweb3.5.initd @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/files/msfweb3.5.initd,v 1.1 2010/11/14 22:55:42 patrick Exp $ + +PIDFILE=/var/run/msfweb3.5.pid + +start() { + ebegin "Starting msfweb3.5" + start-stop-daemon --start --quiet --background --startas msfweb3.4 --exec /usr/lib/metasploit3.4/msfweb \ + --pidfile ${PIDFILE} --make-pidfile -- ${MSF_OPTS} + eend $? + einfo "Note: msfweb3.5 is started but needs some before it serves clients." +} + +stop() { + ebegin "Stopping msfweb" + start-stop-daemon --stop --quiet -s 9 --pidfile ${PIDFILE} + eend $? +} diff --git a/net-analyzer/metasploit/metasploit-3.5.0.ebuild b/net-analyzer/metasploit/metasploit-3.5.0.ebuild new file mode 100644 index 000000000000..4cae814a7872 --- /dev/null +++ b/net-analyzer/metasploit/metasploit-3.5.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-3.5.0.ebuild,v 1.1 2010/11/14 22:55:42 patrick Exp $ + +SRC_URI="http://www.metasploit.com/releases/framework-${PV}.tar.bz2" + +DESCRIPTION="Advanced open-source framework for developing, testing, and using vulnerability exploit code" +HOMEPAGE="http://www.metasploit.org/" + +LICENSE="BSD" +SLOT="3.5" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="gtk sqlite postgres" + +# Note we use bundled gems (see data/msfweb/vendor/rails/) as upstream voted for +# such solution, bug #247787 +RDEPEND="dev-lang/ruby + dev-ruby/rubygems + gtk? ( dev-ruby/ruby-libglade2 ) + sqlite? ( dev-ruby/sqlite3-ruby + dev-ruby/activerecord ) + postgres? ( dev-ruby/ruby-postgres + dev-ruby/activerecord )" +DEPEND="" + +S=${WORKDIR}/msf3 + +src_install() { + if [[ "${SRC_URI}" != "" ]] ; then + # svn sources... + 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" + + # do not remove LICENSE, bug #238137 + dodir /usr/share/doc/${PF} + cp -R "${S}"/{documentation,README} "${D}"/usr/share/doc/${PF} + rm -Rf "${D}"/usr/lib/${PN}${SLOT}/documentation "${D}"/usr/lib/${PN}${SLOT}/README + dosym /usr/share/doc/${PF}/documentation /usr/lib/${PN}${SLOT}/documentation + + dodir /usr/bin/ + use gtk || rm msfgui + for file in msf*; do + dosym /usr/lib/${PN}${SLOT}/${file} /usr/bin/${file}${SLOT} + done + + chown -R root:0 "${D}" + + newinitd "${FILESDIR}"/msfweb${SLOT}.initd msfweb${SLOT} \ + || die "newinitd failed" + newconfd "${FILESDIR}"/msfweb${SLOT}.confd msfweb${SLOT} \ + || die "newconfd failed" +} + +pkg_postinst() { + if [[ "${SRC_URI}" == "" ]] ; then + elog "If you wish to update ${PN} manually simply run:" + elog + elog "ESVN_REVISION=<rev> emerge =${PF}" + elog + elog "where <rev> 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=<rev>" + elog "content. Then each time you run emerge ${PN} you'll have said" + elog "<rev> 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." + fi +} |