Skip to content
Permalink
Browse files

metasploit2: use perl5.28, disable livecheck, rebuild

This is a very old version of metasploit which is probably
only useful as a historical artifact. Same goes for metasploit3
which is ruby vs perl based.  Current maintained versions are
metasploit 4.x and 5.x which are provided by Rapid7 via nightly
updated installers for MacOS, Linux and Windows.

metasploit2 and metasploit3 could probably be safely removed. Not
sure porting the currently supported versions would be worth the effort since
the exploits are updated on roughly a daily basis.

Current development repo is https://github.com/rapid7/metasploit-framework if
anyone wants to try.
  • Loading branch information...
dbevans committed Jun 12, 2019
1 parent d69cb77 commit ddb2a7f96f566326b0a83004e2ab6066f49548d1
Showing with 5 additions and 3 deletions.
  1. +5 −3 security/metasploit2/Portfile
@@ -6,7 +6,7 @@ PortGroup perl5 1.0
name metasploit2
conflicts metasploit3
version 2.7
revision 4
revision 5
categories security
license {Artistic-1 GPL-2} GPL-2+ APSL-1.1 Noncommercial Restrictive
maintainers nomaintainer
@@ -25,14 +25,14 @@ long_description The Metasploit Project goal is to provide useful information
# https://github.com/rapid7/metasploit-framework
# Maybe it's time to retire version 2 of this port anyway
#master_sites http://www.metasploit.com/tools/
master_sites macports_distfiles
master_sites macports_distfiles:metasploit2

distname framework-${version}

checksums rmd160 cfdf2705522c845bb4405413207a7df0f3873b94 \
sha256 516952772aaa8982628460b927c9119850925f870903c5a131a9c9f0390cf77f

perl5.branches 5.26
perl5.branches 5.28

depends_run port:perl${perl5.major} \
port:p${perl5.major}-net-ssleay \
@@ -62,3 +62,5 @@ destroot {
system "cd ${destroot}${prefix}/sbin && /bin/ln -s ../${metasploitTargetDir}/${useFile} ${useFile}"
}
}

livecheck.type none

0 comments on commit ddb2a7f

Please sign in to comment.
You can’t perform that action at this time.