mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-19 21:31:10 +02:00
metasploit: re-slotted to 9999, symlink introduced
This commit is contained in:
parent
92a8f01bfb
commit
d6261b82ce
4 changed files with 21 additions and 8 deletions
|
|
@ -1,8 +1,8 @@
|
|||
AUX msfrpcd5.confd 440 RMD160 67e569204d77592e8b0e19d34d87c0c75a722687 SHA1 ff1eea41295270d0b5117ee233b5f5fe44a84834 SHA256 f1148f3f4fe24b2689d6a8f3d8510031f493100a5b48823c0a5bc2085a6439b4
|
||||
AUX msfrpcd5.initd 561 RMD160 e9811489784131c4c1e68279d43b4f2ba4c093b1 SHA1 38240c3bba090011c25fffe90d9c898e540ba463 SHA256 89a897977b53a471334caa47eeadcb5595fa783bfafd99c7ae1d5c8f9e7041bc
|
||||
AUX msfrpcd9999.confd 440 RMD160 67e569204d77592e8b0e19d34d87c0c75a722687 SHA1 ff1eea41295270d0b5117ee233b5f5fe44a84834 SHA256 f1148f3f4fe24b2689d6a8f3d8510031f493100a5b48823c0a5bc2085a6439b4
|
||||
AUX msfrpcd9999.initd 561 RMD160 e9811489784131c4c1e68279d43b4f2ba4c093b1 SHA1 38240c3bba090011c25fffe90d9c898e540ba463 SHA256 89a897977b53a471334caa47eeadcb5595fa783bfafd99c7ae1d5c8f9e7041bc
|
||||
AUX smart_hasdump_script_82d2446.rb 15509 RMD160 2dbf6b71c336a204c2dd487949a8d619aa3ec4ea SHA1 a0c78784e4286df979a8429c8044988f894aad4a SHA256 0034a0d2c5f7ef488663429eb2cfac4a87bab615059fbe75c5d2b65efbdac0de
|
||||
AUX smart_hashdump_post_82d2446.rb 15248 RMD160 eafe737b88ff49a20f8ed7be7e350a76fe41503c SHA1 7770ae269df90d345a822162c1007c69cc424de4 SHA256 2b719934b7f7076a5d3439a1dc252d3513312161f8e488154d1815923782da16
|
||||
DIST dns_fuzzer.rb 19884 RMD160 1a403637009cba5eec88647a6e54c0e6ef771e8d SHA1 7076259a5c93caa6471845db2cf4ea5e3a6647a7 SHA256 02818f5cd0554a5408a5ba28a931e79527d584645b1c87cf2b2291c14532a587
|
||||
DIST jboss_seam_remote_command_rb 3412 RMD160 c577b1bd75943f2ddceea3161bc1037dd0150c2f SHA1 b858c726d3ee26317726635373d5db3b7eeb774d SHA256 c87f1cc1b82ed105c7bf551db7e3bad0a787244c4cdd124015a3ff24cedd23df
|
||||
DIST vbsmem-1.2.1.patch 69002 RMD160 281461151b0d1e453ee613326f4457eebaddebaa SHA1 883a582552e00102be452a2a0105b9e016b3dccc SHA256 7991a5629c562817919c9bb1c8f0a3bdcd1c63cf9b9f32f322d1d266416589d2
|
||||
EBUILD metasploit-9999.ebuild 6803 RMD160 98841d89fe3f6f0722116987d9d92af0ddc32cff SHA1 ec46296b168829377020ee412f23a8d3862a7694 SHA256 5ac07b82cbcd131ae78cb9538d96f94d88b56fd90e1b1ea77991a5bdf9aa83a8
|
||||
EBUILD metasploit-9999.ebuild 7242 RMD160 9521b8464f340a0d26b320e790c47950af3682bc SHA1 6fb2bafe5ae408c187641fc17eb8604ac28e646a SHA256 c9f8f9a4f405d130baab228bf635514202829b81efd9992255c4c6cac7274b65
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ DESCRIPTION="Advanced open-source framework for developing, testing, and using v
|
|||
HOMEPAGE="http://www.metasploit.org/"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="5"
|
||||
SLOT="9999"
|
||||
KEYWORDS="amd64 arm ppc ~sparc x86"
|
||||
IUSE="armitage unstable mysql pcaprub postgres"
|
||||
IUSE="armitage symlink unstable mysql pcaprub postgres"
|
||||
|
||||
REQUIRED_USE="armitage? ( || ( mysql postgres ) )"
|
||||
|
||||
|
|
@ -49,7 +49,8 @@ RDEPEND="dev-lang/ruby
|
|||
dev-db/postgresql-server
|
||||
dev-ruby/activerecord )
|
||||
armitage? ( net-analyzer/nmap
|
||||
!net-analyzer/armitage )"
|
||||
!net-analyzer/armitage )
|
||||
symlink? ( !=net-analyzer/metasploit-2.7 )"
|
||||
DEPEND=""
|
||||
|
||||
QA_PRESTRIPPED="
|
||||
|
|
@ -110,14 +111,13 @@ src_install() {
|
|||
# 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}
|
||||
"${D}"/etc/revdep-rebuild/70-${PN}-${SLOT}
|
||||
|
||||
if use armitage; then
|
||||
echo -e "#!/bin/sh \n\njava -Xmx256m -jar /usr/lib/${PN}${SLOT}/data/armitage/armitage.jar \$*\n" > armitage
|
||||
dobin armitage
|
||||
fi
|
||||
|
||||
|
||||
#Add new modules from metasploit bug report system not in the main tree yet
|
||||
if use unstable; then
|
||||
|
||||
|
|
@ -151,6 +151,19 @@ src_install() {
|
|||
|
||||
}
|
||||
pkg_postinst() {
|
||||
# quick path fix for SET and other tools
|
||||
# copied from kenrel-2.eclass
|
||||
if use symlink; then
|
||||
[[ -h ${ROOT}usr/lib/metasploit ]] && rm ${ROOT}usr/lib/metasploit
|
||||
# if the link doesnt exist, lets create it
|
||||
[[ ! -h ${ROOT}usr/lib/metasploit ]] && MAKELINK=1
|
||||
if [[ ${MAKELINK} == 1 ]]; then
|
||||
cd "${ROOT}"usr/lib/
|
||||
ln -sf metasploit${SLOT} metasploit
|
||||
#cd OLDPWD
|
||||
fi
|
||||
fi
|
||||
|
||||
if use postgres||mysql; then
|
||||
elog "You need to prepare the database as described on the following page:"
|
||||
use postgres && elog "https://community.rapid7.com/docs/DOC-1268"
|
||||
|
|
|
|||
Loading…
Reference in a new issue