homebrew-core/Formula/metasploit.rb
Cyghost 68e6f5118d Metasploit 3.7.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-31 10:39:03 -07:00

27 lines
851 B
Ruby

require 'formula'
class Metasploit < Formula
url "http://updates.metasploit.com/data/releases/framework-3.7.2.tar.bz2"
homepage 'http://www.metasploit.com/framework/'
sha1 'b12991d879d7eb664ffd8f72e4fa11611f10a07d'
head "https://www.metasploit.com/svn/framework3/trunk/", :using => :svn
# Metasploit's tarball comes with a full .svn checkout.
# Don't clean these folders, so users can "svn up" to update
# metasploit in-place, which apparently is standard for this project.
skip_clean :all
def install
libexec.install Dir["msf*",'data','external','lib','modules','plugins','scripts','test','tools']
bin.mkpath
Dir["#{libexec}/msf*"].each {|f| ln_s f, bin}
end
def caveats; <<-EOS.undent
Metasploit can be updated in-place by doing:
cd `brew --prefix metasploit`/libexec/
svn up
EOS
end
end