summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Farina <zerochaos@gentoo.org>2012-08-24 02:28:18 +0000
committerRichard Farina <zerochaos@gentoo.org>2012-08-24 02:28:18 +0000
commitcb25b407e113db5fd3d1f6b4a6ed068daecf8ffe (patch)
treef17bbc017c30e1ff1a0ca45883b73d62c4e9d123 /net-analyzer/metasploit
parentUpdate metadata.xml to remove leading space in "equery uses", wrt bug 432506 (diff)
downloadhistorical-cb25b407e113db5fd3d1f6b4a6ed068daecf8ffe.tar.gz
historical-cb25b407e113db5fd3d1f6b4a6ed068daecf8ffe.tar.bz2
historical-cb25b407e113db5fd3d1f6b4a6ed068daecf8ffe.zip
bump and take over maintainership, many things may change soon
Package-Manager: portage-2.1.11.11/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer/metasploit')
-rw-r--r--net-analyzer/metasploit/ChangeLog8
-rw-r--r--net-analyzer/metasploit/Manifest28
-rw-r--r--net-analyzer/metasploit/files/msfrpcd-4.4-conf25
-rw-r--r--net-analyzer/metasploit/files/msfrpcd-4.4-initd22
-rw-r--r--net-analyzer/metasploit/metadata.xml5
-rw-r--r--net-analyzer/metasploit/metasploit-4.4.0.ebuild130
6 files changed, 215 insertions, 3 deletions
diff --git a/net-analyzer/metasploit/ChangeLog b/net-analyzer/metasploit/ChangeLog
index b95fa2600fc4..ebfb53fc4070 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.65 2012/08/16 03:58:21 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.66 2012/08/24 02:28:18 zerochaos Exp $
+
+*metasploit-4.4.0 (24 Aug 2012)
+
+ 24 Aug 2012; Rick Farina <zerochaos@gentoo.org> +files/msfrpcd-4.4-conf,
+ +files/msfrpcd-4.4-initd, +metasploit-4.4.0.ebuild, metadata.xml:
+ bump and take over maintainership, many things may change soon
16 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org>
metasploit-4.0.0-r1.ebuild, metasploit-4.2.0.ebuild, metasploit-4.3.0.ebuild,
diff --git a/net-analyzer/metasploit/Manifest b/net-analyzer/metasploit/Manifest
index 53e0499919a5..03c7a517e10e 100644
--- a/net-analyzer/metasploit/Manifest
+++ b/net-analyzer/metasploit/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
AUX metasploit.icon 7630 SHA256 d197dd3b939c35d951c2cd5c19b51200ada7f8f92d90775a9eaebdccf18e3949 SHA512 569db261a3782f3874c30ccaf076be512437a9a5a9df835baf29bacec48dd76b2896e009b5ab165ba82aff72ab15d067155f257787e69c3a7cd034dafa5a9066 WHIRLPOOL 3f66eb2a3b51dc787f5da6b2fd93165fdca3e9ae391db0ea69cb0ea5c6c1d9f2d85fffbdb117da4065e0b3e29daa5b7d7e62740cd3210768aa0cfc4a63679376
AUX msfrpcd-4.0-conf 598 SHA256 3ad3e837061fd2b8b28d5afede50fc1965b0df083a8e4b743f39398a344eb6e1 SHA512 3468c2d539916e4a74836a66e6972608d2a0b64188d230e7479b4d3b1494aab2304e4cfd24b3b0ee96a597576a55a88cb91bb7cd7b757f9c18df49c74d4ca575 WHIRLPOOL 6f8f11d0738b2b7f1608f26413d7f99af976cb10548858322d2384384a0326cf45b5f68ff467ab6e687b699db8ad73772950cdd8751f35cbefb049b08ff12c88
AUX msfrpcd-4.0-initd 636 SHA256 18804548c2c869addc72a9c003c35c6d25b8144a9a0f841df602834c27c5fd52 SHA512 f624b56a3de2ba0ddf9474ea1243060d35224879f1c63bbf8550b8202d11678eef83fdddc9e4fd59000e4510c0ae0b55343b6e26ea16edb6f05954456e8ae962 WHIRLPOOL 98aeef214266f529d34ebbb01940579b6a4c4abeab1a4f3228d2feda8ea67d63a480d655f2fb9ea7cbc12727c884c4b7d848d2a9b100ac9115abe41b2dc7394e
@@ -5,16 +8,37 @@ AUX msfrpcd-4.2-conf 598 SHA256 3ad3e837061fd2b8b28d5afede50fc1965b0df083a8e4b74
AUX msfrpcd-4.2-initd 636 SHA256 7662ba12ba12bc13e321306c35b93138c9cf35acee30ab403b7a22aecbe139ab SHA512 8a818297536a6e106a1a0c9a6621f186285e34ce557ee85b2cb482ed59a619a89e8a423a02e7bccc8d7a29a66705cee281c652dcf0576361999f44c3a24680b9 WHIRLPOOL 611c0f3a505097aa3eb9efdd5834c0b2259d3e685e272f4ef73748dedc4af71ae15e473721332463137799fb98bf3d75d90e98bad1e9b2022da9134ef54bcdf4
AUX msfrpcd-4.3-conf 598 SHA256 3ad3e837061fd2b8b28d5afede50fc1965b0df083a8e4b743f39398a344eb6e1 SHA512 3468c2d539916e4a74836a66e6972608d2a0b64188d230e7479b4d3b1494aab2304e4cfd24b3b0ee96a597576a55a88cb91bb7cd7b757f9c18df49c74d4ca575 WHIRLPOOL 6f8f11d0738b2b7f1608f26413d7f99af976cb10548858322d2384384a0326cf45b5f68ff467ab6e687b699db8ad73772950cdd8751f35cbefb049b08ff12c88
AUX msfrpcd-4.3-initd 632 SHA256 14b96d4e738c1596ff7c83ecfb3e973563034bc468ea5355713e67510de5c116 SHA512 b6b00ed041b854e84ab3a9260586325bd980e18b5cb1c526a7e3f71a36ea4497a4641509862bc03e6c45e37182612f75426244579e518c8b3f6da36939641589 WHIRLPOOL e15d2783f3901f19a6d1f314cb4d759c32ff7acc40005d7382767399a1a61d47c043a4be2fe165a84855b85d038b65b614c3c573d35addb7bd21a6b094ab5f36
+AUX msfrpcd-4.4-conf 598 SHA256 3ad3e837061fd2b8b28d5afede50fc1965b0df083a8e4b743f39398a344eb6e1 SHA512 3468c2d539916e4a74836a66e6972608d2a0b64188d230e7479b4d3b1494aab2304e4cfd24b3b0ee96a597576a55a88cb91bb7cd7b757f9c18df49c74d4ca575 WHIRLPOOL 6f8f11d0738b2b7f1608f26413d7f99af976cb10548858322d2384384a0326cf45b5f68ff467ab6e687b699db8ad73772950cdd8751f35cbefb049b08ff12c88
+AUX msfrpcd-4.4-initd 638 SHA256 4e3f18ab619a0067c7ac9a9f13d6824496cb36adf20c216bb96ad365b1ef2725 SHA512 21faadd62a90deaecb617cb106a471de39147e1702f149c1d356ae18f188bf3102bb9e9642122afa2d9c49325bd4cba6f04acaa8f5be2ca238adeb56c9c81821 WHIRLPOOL 8069bec85919e26faf838b8965153425adbd5c46c004ddb0a94c7e6d2b63aeaa30479592b556f2939c90c216d63103931967c36a21b3d9eaa2763d0120c9ba09
AUX msfweb.confd 273 SHA256 006040ecd27dc0279c2bea6d69365fe1f0d66f507c039ae43720662abe9f4460 SHA512 58481d69f99bec1644188ecb5f67249c3c85c12ae65d46643c3daf42b5221f8d1b025ea318ed6d11557cbc16e50acc5eaabb99162d538518265755ebcdb042ab WHIRLPOOL 1cbb5a5ff20eb90f7db6f5523bf8834cfd5aa2c98e378408e418f388993af661273257112db2ebcd950bfa9243e9f19ba4a5262fd2bccc7cc6276658f86115bb
AUX msfweb.initd 533 SHA256 4fd9668e4b467ecfa5160e2c108ac8ace71fbeaefaf829d2f7bfb566d44bb13c SHA512 ec8eb9c09191d273417174c23d2fb1a3d27939a74b010fa33ca696bcce88e9c81d6cc1e6ebff90ea97cb6d730776364de4560db1bed10516ba4a7030e7233a53 WHIRLPOOL dec6ca3cf45ac4e6cea35266df1342b4dcdb3f813dc90820603f23e9d62ee67a9633de17d747cc12d7cb9c982e8868559896c2f8c42540a5005f485045d9730a
DIST framework-2.7.tar.gz 5800216 SHA256 516952772aaa8982628460b927c9119850925f870903c5a131a9c9f0390cf77f SHA512 a65740c81e6c711e6661170ec0dd87919cad6c4aa3aaac08fdaa72b4825be4bea28ec09c78f818ddab7660f5b485b13f87e3175b43c625319ce89b044a40f2a0 WHIRLPOOL f309608e30488484b24555fec84e65ed0dcbeba62a69e6ec23c507dbc0fcf720551a795e2a0793886fcd38d3a9b160819c864720155f58f274577b0246f05946
DIST framework-4.0.0.tar.bz2 79515768 SHA256 45c3c379ea82e46d8efef9cbbe0afa8ae8df98e50f2642afcea84a86c83c5a50
DIST framework-4.2.0.tar.bz2 78756418 SHA256 24095059ea718dc1288f0a6653eb64e057132242531b8fa520ff15b1d121dcec
DIST framework-4.3.0.tar.bz2 111235968 SHA256 d7b39750c68cacfb07f113bf54fb22e99e83c3117b3b8cf279dc55c4515e53cc SHA512 0406d1c7e44cb4db70f72ace1126fdc2bf86268747b980d359e76bf385375b2cef58287b694ebc4d83b6b3f1ac035168579842d6c1ed6ee330da8f35907c9128 WHIRLPOOL 358da3e963ad3f6d6f4558708fe260bc6445bc8bd5e390f018c4c9fde6cd5c0565113ddbb21a7d209040661d44770a1c57cb49463a4d6bc5d6767b954d298d5f
+DIST framework-4.4.0.tar.bz2 148529027 SHA256 ddcc7890a394d8154120a163c90b11119a0322b62d937ad1a3a14ef3fe6cf74e SHA512 dffa5dd36904d4963d0fd240f1796d43824f7df011f91d75a41f0d0ff20d942fc8a3d10495c1a0537df5b455ad7055760743e5022d742e5321b679b2d4c003df WHIRLPOOL ee0fa85a83965f75213e60aaf0174b1962841e8f10193be1cd6bea1aff561f80471c4d8892a07e65ad767587e73c4445b88149460cc5bc5509b5b096f2375b52
EBUILD metasploit-2.7.ebuild 1448 SHA256 4e186ca7e1133568ae38e62584b86600cfc65c7b7bec691b85418151901ea984 SHA512 a31c2dfc5a32eabad32dd50ba9a82a75b35661c81b039a284a14d0ecc0ae2ebae46c29f7e6dd6f30b2671f0509f3ef1a7045c6537d626832eac375d0cb8325a1 WHIRLPOOL ff86aadb12002ea6d2f050927c087ba436b3362d64d0cd2b0785ae727349ae12f010eba7e7e572831e9d95c217d93abc2ecc9862061feada26e823987560d7be
EBUILD metasploit-4.0.0-r1.ebuild 2679 SHA256 139f47fe95a1b5d72ee03030f3bb3d35393b16638725ec4af066e6f2535889da SHA512 5cb5321960a8129bd5721317a2ef90d47f0a298d2b4dc1b336c114c8ff456e0cad64f868364aa4e6e9a61ae5ae9d87b8af6599dc8ed055a9951589ab417aa098 WHIRLPOOL c1668d0606880792a1815b952c1c8b25c0583529c99bac278ded4be02f1d46b8873a9e3b5d4a906c5ef503dfda99cfacf3669f562ba8625b6437d45c31219b92
EBUILD metasploit-4.2.0.ebuild 2677 SHA256 60ee654a29c88b2aa77f5fd499c2233fbcba5f166c3f7b86f2461db49c836c0a SHA512 004359ce659080db75d609f65ff9bcfa71238ae7bba892af9869582f098baf2d2f1a88b0996919980bf041435dd52584dbf957248809ca245cda7f7da2fc2638 WHIRLPOOL 8ee3de5071e924a401bef0cb5e734e600cbce24ed4490b56fe37cf376f976c02cc44e847c764e7461d334ac90b8b5adf4d484347bd250d382153bdbcdff9dc29
EBUILD metasploit-4.3.0.ebuild 2691 SHA256 79edbecf970e095ee0a3b25dddab01d1cbac58e54878ac30622c7a95bda6937f SHA512 60a50cb342d3badb971053a71f77388903be17f013a03db4d5757c80b9f58b60d2f265678eb075676afa4d8c8a1bf38662cbb865e0f435e53b96bc7bb404891f WHIRLPOOL 8e65447ae7ab00ad95f4f54bcd74f4aeec316df8f96ca60bbb5f9547cb5c2b1bc98c867dfedb9d68b73fbed397d2597c01cb0d28ddaff871b4bdcb6ad3175090
+EBUILD metasploit-4.4.0.ebuild 6027 SHA256 fe3b3899b6a152604e2c3a704d013ff6bd21b5b8e1f810ef1748f3838820bd71 SHA512 21d82c0ae93d1b8c1e2ebfb9192d5ab6ddf99447d3511413a6833b92bf4ab9feb6ea1994dcf672b830b91dba44af070ce6747569e2efafbde7e31f368eef44ba WHIRLPOOL 373b81726592e753f092ea7be1709cc44fa0a46a68079c1abe8810932b4eedb0256a3c297298901a9453b3feda0d25af861e5fc7c2c00b8f8c1d9108ef9a89c4
EBUILD metasploit-9999.ebuild 3473 SHA256 6e7290a681e6e132999d56b15c36cf8aaca8d79971a9c59029ff9be5426452b3 SHA512 fd2bd73bd230d1a310e76ae0c4e77b358d45ce6e574a619c1f08de80f9341f2a6fd039f11a81d01baa25523e4f80d3c9492e265fdf94559ed968770b506ae96e WHIRLPOOL 707feb9e0a5e8d32d64f7ee078475fd536ae20e6068fc7714f504fa485e4b0828310a2d742626c74f50a69d768e0752f9d5644da5fc1d5ab3d81fe6c64301f0c
-MISC ChangeLog 11747 SHA256 5fe9008d6a5e7c54a22b9c5adbe05cf403974bfe3e9dff8db38cb502556e0615 SHA512 128d0979ad79a2bbfb1b29b03fd709fe23a430cb6b8119451d3731f592c9446acdcae57dc04fe15d0efef7af7936883851289429fe190ce9cb5331011dbfef6a WHIRLPOOL bd0ea35454467b38b08741155f627efb02e648f3dcb1de9303fe55a0e7e9c43d23fafe8d10de1da9e423c4ac28ff899fc2e5d122b3d4b25a9a525c099637c07c
-MISC metadata.xml 921 SHA256 9a88142f22ae111d23f70b42bb41e42301dd5f4c918cc5e0ef585236c1439b22 SHA512 5bc6ff46269d7f418b5ed5cdf3cc165243de923898aa720c7b0c70d942fe1f5ec3f32725ce24d941f4c45b9d588c14be275511461ef0a16c18ba844de85942a6 WHIRLPOOL 9f67b6503dc540f01fc5f6fe6bfde63ae595b748937774393c812d72d649dde0dea84fc560ce0f83845f547f88a59d8cc329c3f635cc154fd47b38cb3d68d548
+MISC ChangeLog 11989 SHA256 db9e0d2076f3f99db9fd9dbf683a8592ed346225373eeacf781fdb84782e26b3 SHA512 fb459dffe39843af343cd272d5f4d23b170b838840c2ed198f41fbc7f99820b3d64c7e515d21e1f8f4cd1bc18d0b6acf68ff9b3614087c36d0b2a75ba3afb2c8 WHIRLPOOL 33d89764bd0335941bb4f919a8fe95b75a3453295468299fa09c76326849e0bada831f7bcd05d588f644cc9a2ec32907c7561145898cf7b973849f06a7fc7222
+MISC metadata.xml 1059 SHA256 9fdf305ecf47fbf3a8aa7c60cf01d3999b69c9f854472fe26f4081b183e060de SHA512 1f2c5bbd59b723f1d69b796c27ab25847469dc7c566ea71d4e5beb9cb2e7800687fb34a1adc109a759ff19cca519fc65b50d16977de7039d441841d321029f26 WHIRLPOOL 46bdfafa1fd2d6804166b5fe5d9f4ff08147d44610f8f11221c93a5a9e80f7a7ece46238cdcf62b4843318f05a19304a1b9a09859b0ecac25193915cd294a18b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQIcBAEBCgAGBQJQNudTAAoJEKXdFCfdEflK918QALmPy4+QiSTmbuOy0sS3afOc
+A18UwZW2ZFKjhGK/g9tgKKO3IeGEkQ589+yR0lHsBCC7QAlirt37RrRf6rXuRiLz
+j/cH5VwHit0KzMcmqjQB1A7L/4QWwGxBwVWpwzosMp3OLWNS37mH0H8YfU8K7Q2e
+lSU8LA6vC4yXu/pfhhf3XS89SEMJ+j/j3ufqK59ABgQem9fGvr+2p2rNFx8q56lW
+tbgW2BxQ9FBVddFjYsPC+gIyj94f9vQQhCwqO1yuHCHZV7H2CTDepwh5pyuB5Bia
+8rSjVRkueqEZm5/l9pPDGDnvPEKRBhTSI6MQHGGmmUM5VaMbNzqkXfQsliJxfmNH
+4dts9t+VRPoaqPgsvMsgd/NM9q6U5wS2BQgZGrtuQpQ1HwKMOt3hKbNQXL9bpK5j
+m6HWzIR4Bul9YidYeXzSIesdDkrKHe8QyqeTiWiE4lbruJpIJKGMmWtwqS2nLgHT
+0gKNHz/BJ7JzL7PxFnC7+3cLlfi9EGom1Jni2dywxTc6RPepTUygMzwoB/98sdMA
+F1da49TcRgw5EgcXlb0S/UmqzT1oG+xVDUnP61m2Nt2Jhhybd8LJNh1W0xAvG12j
+7pVO83X/fbZu2RNI9fZabTtvHohhlFjdcpJ2ewE/4SE1ti9zSHHDdR0Mw/uuwOdG
+LIKrxdrG1VeXiH1mjlD/
+=90mm
+-----END PGP SIGNATURE-----
diff --git a/net-analyzer/metasploit/files/msfrpcd-4.4-conf b/net-analyzer/metasploit/files/msfrpcd-4.4-conf
new file mode 100644
index 000000000000..dc56a9d966a6
--- /dev/null
+++ b/net-analyzer/metasploit/files/msfrpcd-4.4-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.4-initd b/net-analyzer/metasploit/files/msfrpcd-4.4-initd
new file mode 100644
index 000000000000..d3bee1094abf
--- /dev/null
+++ b/net-analyzer/metasploit/files/msfrpcd-4.4-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.4-initd,v 1.1 2012/08/24 02:28:18 zerochaos Exp $
+
+VERSION=4.3
+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/metadata.xml b/net-analyzer/metasploit/metadata.xml
index eb8bf365ee11..269b0f5360ee 100644
--- a/net-analyzer/metasploit/metadata.xml
+++ b/net-analyzer/metasploit/metadata.xml
@@ -1,6 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer>
+ <email>zerochaos@gentoo.org</email>
+ <name>Rick Farina</name>
+ <description>lover of abuse</description>
+ </maintainer>
<herd>netmon</herd>
<longdescription lang="en">
This project is a powerful tool for penetration testing, exploit
diff --git a/net-analyzer/metasploit/metasploit-4.4.0.ebuild b/net-analyzer/metasploit/metasploit-4.4.0.ebuild
new file mode 100644
index 000000000000..ce821614091a
--- /dev/null
+++ b/net-analyzer/metasploit/metasploit-4.4.0.ebuild
@@ -0,0 +1,130 @@
+# 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.4.0.ebuild,v 1.1 2012/08/24 02:28:18 zerochaos Exp $
+
+EAPI="3"
+inherit eutils multilib
+
+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.4"
+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/postgres
+ dev-ruby/activerecord[postgres] )"
+DEPEND=""
+
+QA_PREBUILT="
+ usr/$(get_libdir)/${PN}${SLOT}/data/cpuinfo/cpuinfo.ia32.bin
+ usr/$(get_libdir)/${PN}${SLOT}/data/cpuinfo/cpuinfo.ia64.bin
+ usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x86_linux.bin
+ usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_armle_linux.bin
+ usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x86_solaris.bin
+ usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x64_linux.bin
+ usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x86_bsd.bin
+ usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/msflinker_linux_x86.bin
+ usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux64/eventmachine-0.12.10/lib/fastfilereaderext.so
+ usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux64/eventmachine-0.12.10/lib/rubyeventmachine.so
+ usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux64/thin-1.3.1/lib/thin_parser.so
+ usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux64/nokogiri-1.5.2/lib/nokogiri/nokogiri.so
+ usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux64/pg-0.13.2/lib/pg_ext.so
+ usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux64/msgpack-0.4.6/lib/msgpack.so
+ usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux32/eventmachine-0.12.10/lib/fastfilereaderext.so
+ usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux32/eventmachine-0.12.10/lib/rubyeventmachine.so
+ usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux32/thin-1.3.1/lib/thin_parser.so
+ usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux32/nokogiri-1.5.2/lib/nokogiri/nokogiri.so
+ usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux32/pg-0.13.2/lib/pg_ext.so
+ usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux32/msgpack-0.4.6/lib/msgpack.so
+ usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch-old/linux64/pg-0.13.2/lib/pg_ext.so
+ usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch-old/linux32/pg-0.13.2/lib/pg_ext.so
+ usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.sse2/john
+ usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.sse2/genmkvpwd
+ usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.sse2/tgtsnarf
+ usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.sse2/mkvcalcproba
+ usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.sse2/calc_stat
+ usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x64.mmx/john
+ usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x64.mmx/genmkvpwd
+ usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x64.mmx/tgtsnarf
+ usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x64.mmx/mkvcalcproba
+ usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x64.mmx/calc_stat
+ usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.any/john
+ usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.any/genmkvpwd
+ usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.any/tgtsnarf
+ usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.any/mkvcalcproba
+ usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.any/calc_stat
+ usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.mmx/john
+ usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.mmx/genmkvpwd
+ usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.mmx/tgtsnarf
+ usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.mmx/mkvcalcproba
+ usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.mmx/calc_stat
+ usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/ext_server_sniffer.lso
+ usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/ext_server_networkpug.lso
+ usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/ext_server_stdapi.lso"
+
+
+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/$(get_libdir)/${PN}${SLOT}
+ cp -R "${S}"/* "${D}"/usr/$(get_libdir)/${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/$(get_libdir)/${PN}${SLOT}/documentation /usr/share/doc/${PF}/documentation
+
+ dodir /usr/bin/
+ for file in msf*; do
+ dosym /usr/$(get_libdir)/${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;GTK;' &&
+ doicon "${FILESDIR}"/metasploit.icon
+
+ # 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
+}