metasploit: reverted symlink flag for now. Zero_Chaos will fix it properly

This commit is contained in:
Anton Bolshakov 2012-03-24 03:02:45 +00:00
parent 5849e9f587
commit d62c5688e6
2 changed files with 2 additions and 16 deletions

View file

@ -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 6425 RMD160 282ec7b89e0eadddc254c39169c3b40c02a977b2 SHA1 7400a44d2c8fc0918e599ee573296a9a153904d0 SHA256 aaa3aea9d3adab5410215df4e1898d35e6a2030e4ebbe5c1560810d70d0557b0
EBUILD metasploit-9999.ebuild 5990 RMD160 bce8379369b9c7ab742e8a86cb1596a813afe720 SHA1 9c27bd8dddd7fd9e1fd3794217e5698fac2edc29 SHA256 b05e53c092342e10602b3561934667e33d0af0704194d293bc548c16622d9269

View file

@ -18,7 +18,7 @@ HOMEPAGE="http://www.metasploit.org/"
SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="+armitage +kissfft symlink unstable lorcon lorcon2 +pcaprub +postgres serialport"
IUSE="+armitage +kissfft unstable lorcon lorcon2 +pcaprub +postgres serialport"
REQUIRED_USE="armitage? ( postgres )"
@ -35,7 +35,6 @@ RDEPEND="dev-lang/ruby
dev-ruby/activerecord[postgres] ) )
pcaprub? ( net-libs/libpcap )
armitage? ( net-analyzer/nmap )
symlink? ( !=net-analyzer/metasploit-2.7 )
lorcon? ( net-wireless/lorcon-old )
lorcon2? ( net-wireless/lorcon )"
DEPEND=""
@ -153,19 +152,6 @@ src_install() {
fi
}
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"