diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-05-02 04:42:58 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-05-02 04:42:58 +0000 |
commit | 974b46bc6d32f6d882a4f1bdd38ea73b9c02a4d2 (patch) | |
tree | 4dc5268ae67262922ed8e30d342f6fad64a85bfd /net-analyzer/metasploit | |
parent | Mask libnl as per bug #414317. (diff) | |
download | historical-974b46bc6d32f6d882a4f1bdd38ea73b9c02a4d2.tar.gz historical-974b46bc6d32f6d882a4f1bdd38ea73b9c02a4d2.tar.bz2 historical-974b46bc6d32f6d882a4f1bdd38ea73b9c02a4d2.zip |
Bump, drop ppc keyword until msgpack is keyworded
Package-Manager: portage-2.2.0_alpha101/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer/metasploit')
-rw-r--r-- | net-analyzer/metasploit/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/metasploit/Manifest | 16 | ||||
-rw-r--r-- | net-analyzer/metasploit/files/msfrpcd-4.3-conf | 25 | ||||
-rw-r--r-- | net-analyzer/metasploit/files/msfrpcd-4.3-initd | 22 | ||||
-rw-r--r-- | net-analyzer/metasploit/metasploit-4.3.0.ebuild | 92 |
5 files changed, 151 insertions, 12 deletions
diff --git a/net-analyzer/metasploit/ChangeLog b/net-analyzer/metasploit/ChangeLog index e0953ebdd757..b44d87933b89 100644 --- a/net-analyzer/metasploit/ChangeLog +++ b/net-analyzer/metasploit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/metasploit # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.61 2012/04/21 16:54:21 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.62 2012/05/02 04:42:58 patrick Exp $ + +*metasploit-4.3.0 (02 May 2012) + + 02 May 2012; Patrick Lauer <patrick@gentoo.org> +files/msfrpcd-4.3-conf, + +files/msfrpcd-4.3-initd, +metasploit-4.3.0.ebuild: + Bump, drop ppc keyword until msgpack is keyworded 21 Apr 2012; Raúl Porcel <armin76@gentoo.org> metasploit-2.7.ebuild, metasploit-4.0.0-r1.ebuild, metasploit-4.2.0.ebuild: diff --git a/net-analyzer/metasploit/Manifest b/net-analyzer/metasploit/Manifest index 3e2f33250a99..104958e9aedf 100644 --- a/net-analyzer/metasploit/Manifest +++ b/net-analyzer/metasploit/Manifest @@ -1,26 +1,20 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX metasploit.icon 7630 RMD160 4289bddb6b240c8ab94f309cd32dfdd23fc4aa99 SHA1 3bab78d9b905d32ead2e3be13f8fd6553d097dd3 SHA256 d197dd3b939c35d951c2cd5c19b51200ada7f8f92d90775a9eaebdccf18e3949 AUX msfrpcd-4.0-conf 598 RMD160 2c9564cb3422deb4b46254a574f55323896c110c SHA1 0ac1235ecba0d22fc03b2f5adea359a55370a043 SHA256 3ad3e837061fd2b8b28d5afede50fc1965b0df083a8e4b743f39398a344eb6e1 AUX msfrpcd-4.0-initd 636 RMD160 7d5c93935ce73646635e4748c12e3680854bdcf2 SHA1 3b1cc660ddfca643dad93ede1e326b082443a026 SHA256 18804548c2c869addc72a9c003c35c6d25b8144a9a0f841df602834c27c5fd52 AUX msfrpcd-4.2-conf 598 RMD160 2c9564cb3422deb4b46254a574f55323896c110c SHA1 0ac1235ecba0d22fc03b2f5adea359a55370a043 SHA256 3ad3e837061fd2b8b28d5afede50fc1965b0df083a8e4b743f39398a344eb6e1 AUX msfrpcd-4.2-initd 636 RMD160 75bd5fa0f6c91e9577b2c2caa6b0e2c71f45e467 SHA1 209a79833d08556d1bad8f520eb9e4a384b425b3 SHA256 7662ba12ba12bc13e321306c35b93138c9cf35acee30ab403b7a22aecbe139ab +AUX msfrpcd-4.3-conf 598 RMD160 2c9564cb3422deb4b46254a574f55323896c110c SHA1 0ac1235ecba0d22fc03b2f5adea359a55370a043 SHA256 3ad3e837061fd2b8b28d5afede50fc1965b0df083a8e4b743f39398a344eb6e1 +AUX msfrpcd-4.3-initd 636 RMD160 41898cec751b6317753f5d4348bf766dfefdd596 SHA1 0d59ff5c63ae6d26e4f25dcb8c482c0fbd7fcaf8 SHA256 b23f025319d442df9354607c10fd22392de23203615db4293e4268514561a127 AUX msfweb.confd 273 RMD160 35c10406c74e431aa592c7af6d14f813ad18b984 SHA1 66cff0fe0423baa89ffdd3745b7195ae0f0bf273 SHA256 006040ecd27dc0279c2bea6d69365fe1f0d66f507c039ae43720662abe9f4460 AUX msfweb.initd 533 RMD160 44f94381ae9488fb2e3c6f700458798b692971d7 SHA1 9b62d7d85af34430dda55a192460caae258ba978 SHA256 4fd9668e4b467ecfa5160e2c108ac8ace71fbeaefaf829d2f7bfb566d44bb13c DIST framework-2.7.tar.gz 5800216 RMD160 cfdf2705522c845bb4405413207a7df0f3873b94 SHA1 da5d41dfa13e549aacd4fbf2994877cbe80ceed9 SHA256 516952772aaa8982628460b927c9119850925f870903c5a131a9c9f0390cf77f DIST framework-4.0.0.tar.bz2 79515768 RMD160 f8eedb9d68f30b245217b4ed40308dcd351d37c5 SHA1 f1768564be92abcea3ea34fde14acb1af4d52f1d SHA256 45c3c379ea82e46d8efef9cbbe0afa8ae8df98e50f2642afcea84a86c83c5a50 DIST framework-4.2.0.tar.bz2 78756418 RMD160 e212010bf44f949e177b193daa336a6461b4fd26 SHA1 f5ddc56a1f6dd4885edc6849428bf33179c66653 SHA256 24095059ea718dc1288f0a6653eb64e057132242531b8fa520ff15b1d121dcec +DIST framework-4.3.0.tar.bz2 105578179 RMD160 2286985a4f26e635fedd1fe1f3058c738d4dff94 SHA1 a4a6089e05302dabb37ca8dd7e0aec32ff448451 SHA256 84f29291bc2c1ed2ec1fa6f0956f31c508a9765c67f08169aad5f3dd93586c0d EBUILD metasploit-2.7.ebuild 1448 RMD160 c1b0ba83cf2cd5733b66c04ee89fe702af160919 SHA1 53d1dc25feb609856755b2be26e900d3231758b7 SHA256 4e186ca7e1133568ae38e62584b86600cfc65c7b7bec691b85418151901ea984 EBUILD metasploit-4.0.0-r1.ebuild 2681 RMD160 15593abb92244d046ec841d5189f770ef56352ef SHA1 36a02f9a62cf1b32622307afcc40c0f214a7341a SHA256 802227e932bf1ee0b3a2e1552cf49e0f41f7242fe753c133b6eabccec2a38794 EBUILD metasploit-4.2.0.ebuild 2679 RMD160 b9fe6f1b33e5b0385f00c2b1e3ddd4bcb2525c9b SHA1 1b135baac36be0ec7a2e4b5fd8c97c607ac83e2f SHA256 05c335e726f38aa3206a0c00ed7401cf37c59b4a78148a1cd90be9bc26cad8b3 +EBUILD metasploit-4.3.0.ebuild 2693 RMD160 23d6c0efb6320c24e926b4b3c72c629b7fbf8337 SHA1 a7af13bb34dfdb15ccce68f7b71a8cd72700580f SHA256 ce3007bf4ee4273dc5005c0e5b1ecd46608e0e41914c818f0d612f69b76f91d5 EBUILD metasploit-9999.ebuild 3475 RMD160 a4f5b34ba451ebd9bdc049c0fa8dc35bb22da853 SHA1 e3d90752bfcaa5bced62671ec47ed4340caa17f1 SHA256 660c8839a36a3331c8d2a55fb12c1c0d5b8a366990fe34417b80460eb797a385 -MISC ChangeLog 10980 RMD160 8179c4b822add73b0542f2f59054488f7880f411 SHA1 54bd962006c8e8eaa955a23618a8819633480b2f SHA256 28b78d55a41a9e79b70affc694899477919d4755e4122ce2b474155a8f5622b1 +MISC ChangeLog 11195 RMD160 a31945255c9109dafff5472cedb5d5d5eb9b4e52 SHA1 bbe14b8a8c3234228775cd32587fdf873a185662 SHA256 094cffd723b08172d796165730ff41cdf7de8e909bdf1e2fa5afc0bcb5941d8c MISC metadata.xml 921 RMD160 921434e10f300e7c3ad351a78009e44a712bf6d2 SHA1 1060d47deb200ba7fcdf4c2b6a0ce864a0adecc1 SHA256 9a88142f22ae111d23f70b42bb41e42301dd5f4c918cc5e0ef585236c1439b22 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) - -iEYEARECAAYFAk+S5kMACgkQuQc30/atMkCDRACgqihQMURVlR3hKatWWhfBcAxb -pPIAn0wDelF+1DwGjVzmRHdCAEJhdjf5 -=GHKn ------END PGP SIGNATURE----- diff --git a/net-analyzer/metasploit/files/msfrpcd-4.3-conf b/net-analyzer/metasploit/files/msfrpcd-4.3-conf new file mode 100644 index 000000000000..dc56a9d966a6 --- /dev/null +++ b/net-analyzer/metasploit/files/msfrpcd-4.3-conf @@ -0,0 +1,25 @@ +# Config file for /etc/init.d/msfrpcd + +# msfrpcd -h for more info + +# Bind to the following IP instead of 0.0.0.0 +MSF_OPTS="-a 127.0.0.1" + +# Bind to the following TCP port instead of default 55553 +#MSF_OPTS="${MSF_OPTS} -p 55553" + +# Specify the username to access msfrpcd +MSF_OPTS="${MSF_OPTS} -U msf" + +# Specify the password to access msfrpcd +MSF_OPTS="${MSF_OPTS} -P secret" + +# Server type, [Basic|Web] +#MSF_OPTS="${MSF_OPTS} -t Basic" + +# URI for Web server +#MSF_OPTS="${MSF_OPTS} -u " + +# Disable SSL on the XMLRPC socket +# JAVA GUI doesn't support SSL as of Nov 6, 2010 +MSF_OPTS="${MSF_OPTS} -S" diff --git a/net-analyzer/metasploit/files/msfrpcd-4.3-initd b/net-analyzer/metasploit/files/msfrpcd-4.3-initd new file mode 100644 index 000000000000..aa204bd961be --- /dev/null +++ b/net-analyzer/metasploit/files/msfrpcd-4.3-initd @@ -0,0 +1,22 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/files/msfrpcd-4.3-initd,v 1.1 2012/05/02 04:42:58 patrick Exp $ + +VERSION=4.2 +PIDFILE=/var/run/msfrpcd${VERSION}.pid + +start() { + ebegin "Starting msfrpcd${VERSION}" + start-stop-daemon --start --quiet --background \ + --exec /usr/lib/metasploit${VERSION}/msfrpcd \ + --pidfile ${PIDFILE} \ + --make-pidfile -- -f ${MSF_OPTS} + eend $? +} + +stop() { + ebegin "Stopping msfrpcd${VERSION}" + start-stop-daemon --stop --quiet -s 9 --pidfile ${PIDFILE} + eend $? +} diff --git a/net-analyzer/metasploit/metasploit-4.3.0.ebuild b/net-analyzer/metasploit/metasploit-4.3.0.ebuild new file mode 100644 index 000000000000..075aee0446d6 --- /dev/null +++ b/net-analyzer/metasploit/metasploit-4.3.0.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-4.3.0.ebuild,v 1.1 2012/05/02 04:42:58 patrick Exp $ + +EAPI="3" +inherit eutils + +SRC_URI="http://updates.metasploit.com/data/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="4.3" +KEYWORDS="~amd64 ~x86" +IUSE="gui mysql 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 + dev-ruby/msgpack + gui? ( virtual/jre ) + mysql? ( dev-ruby/mysql-ruby + dev-ruby/activerecord[mysql] ) + postgres? ( dev-ruby/ruby-postgres + dev-ruby/activerecord[postgres] )" +DEPEND="" + +QA_PRESTRIPPED=" + usr/lib/${PN}${SLOT}/data/msflinker_linux_x86.bin + usr/lib/${PN}${SLOT}/data/templates/template_armle_linux.bin + usr/lib/${PN}${SLOT}/data/templates/template_x86_linux.bin" + +QA_EXECSTACK=" + usr/lib/${PN}${SLOT}/data/meterpreter/msflinker_linux_x86.bin" +QA_WX_LOAD=" + usr/lib/${PN}${SLOT}/data/templates/template_*_linux.bin" + +S=${WORKDIR}/msf3 + +src_configure() { + # upstream makes weird tarbllz + find "${S}" -type d -name ".svn" -print0 | xargs -0 -n1 rm -R + + rm "${S}"/msfupdate + chmod +x "${S}"/msf* + + use gui || rm msfgui +} + +src_install() { + # should be as simple as copying everything into the target... + dodir /usr/lib/${PN}${SLOT} + cp -R "${S}"/* "${D}"/usr/lib/${PN}${SLOT} + chown -R root:0 "${D}" + + # do not remove LICENSE, bug #238137 + dodir /usr/share/doc/${PF} + cp "${S}"/{README,HACKING} "${D}"/usr/share/doc/${PF} + dosym /usr/lib/${PN}${SLOT}/documentation /usr/share/doc/${PF}/documentation + + dodir /usr/bin/ + for file in msf*; do + dosym /usr/lib/${PN}${SLOT}/${file} /usr/bin/${file}${SLOT} + done + + newinitd "${FILESDIR}"/msfrpcd-${SLOT}-initd msfrpcd${SLOT} || die + newconfd "${FILESDIR}"/msfrpcd-${SLOT}-conf msfrpcd${SLOT} || die + + use gui && make_desktop_entry msfgui${SLOT} \ + "Metasploit Framework" \ + metasploit \ + 'GNOME;System;Network;' && + doicon "${FILESDIR}"/metasploit.xpm + + # Avoid useless revdep-rebuild trigger #377617 + dodir /etc/revdep-rebuild/ + echo "SEARCH_DIRS_MASK=\"/usr/lib*/${PN}${SLOT}/data/john\"" > \ + "${D}"/etc/revdep-rebuild/70-${PN}-${SLOT} +} + +pkg_postinst() { + if use gui; then + elog "You will need to create a /usr/bin/msfrpcd symlink pointing to" + elog "the version of msfrpcd if you want to be able to start msfrpcd" + elog "from the java gui." + elog + elog "ln /usr/bin/msfrpcd${SLOT} /usr/bin/msfrpcd" + elog + fi +} |