mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-04 18:40:19 +02:00
metasploit: symlink added back; spark/ppc keywords dropped
This commit is contained in:
parent
e6a6dc1f90
commit
5849e9f587
2 changed files with 21 additions and 9 deletions
|
|
@ -5,4 +5,4 @@ AUX msfrpcd.initd 626 RMD160 3cb7d960a52540059f126f62e1e355d43b686a51 SHA1 66a0d
|
|||
AUX smart_hasdump_script_6ac6c1d.rb 15510 RMD160 3ff084bf3b86df1fa37499b004ca040161b324b8 SHA1 3795c23ae5160fdc13ba1d9c7f05e3893ff6f4e9 SHA256 66dec160dd9cc2fee2f8de11bf433f40baa1f41734ecf62aca9a32e0ca8a438f
|
||||
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 6137 RMD160 a67170e9292fdf9ea68915d20c64667791f5acf0 SHA1 c12097b9b5640e79508f51e306993e52d9c26d52 SHA256 afd5c1475238fc3a816a1789be15936ddc80cba02462e3497b63888c2d474c4b
|
||||
EBUILD metasploit-9999.ebuild 6425 RMD160 282ec7b89e0eadddc254c39169c3b40c02a977b2 SHA1 7400a44d2c8fc0918e599ee573296a9a153904d0 SHA256 aaa3aea9d3adab5410215df4e1898d35e6a2030e4ebbe5c1560810d70d0557b0
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@ DESCRIPTION="Advanced open-source framework for developing, testing, and using v
|
|||
HOMEPAGE="http://www.metasploit.org/"
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
|
||||
IUSE="+armitage +kissfft unstable lorcon lorcon2 +pcaprub +postgres serialport"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="+armitage +kissfft symlink unstable lorcon lorcon2 +pcaprub +postgres serialport"
|
||||
|
||||
REQUIRED_USE="armitage? ( postgres )"
|
||||
|
||||
|
|
@ -27,14 +27,15 @@ REQUIRED_USE="armitage? ( postgres )"
|
|||
RDEPEND="dev-lang/ruby
|
||||
dev-ruby/rubygems
|
||||
!arm? ( dev-ruby/hpricot
|
||||
!sparc? ( virtual/jdk
|
||||
!ppc? ( dev-ruby/rjb dev-ruby/msgpack ) ) )
|
||||
virtual/jdk
|
||||
dev-ruby/rjb
|
||||
dev-ruby/msgpack )
|
||||
postgres? ( dev-db/postgresql-server
|
||||
!arm? ( dev-ruby/pg
|
||||
dev-ruby/activerecord[postgres] ) )
|
||||
!arm? ( dev-ruby/pg
|
||||
dev-ruby/activerecord[postgres] ) )
|
||||
pcaprub? ( net-libs/libpcap )
|
||||
armitage? ( net-analyzer/nmap
|
||||
!net-analyzer/armitage )
|
||||
armitage? ( net-analyzer/nmap )
|
||||
symlink? ( !=net-analyzer/metasploit-2.7 )
|
||||
lorcon? ( net-wireless/lorcon-old )
|
||||
lorcon2? ( net-wireless/lorcon )"
|
||||
DEPEND=""
|
||||
|
|
@ -154,6 +155,17 @@ 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; 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