diff options
| author | jvdp | 2013-01-11 11:47:18 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2013-01-16 19:39:48 -0800 |
| commit | 4b8bb9595175116fb7d5bcae05fed0d8938c8425 (patch) | |
| tree | 56923fce37bba01acad703a14450a2052edc4f49 /Library/Formula | |
| parent | 9ef723551a6a42803e50ff27cb337fde51f7a312 (diff) | |
| download | homebrew-4b8bb9595175116fb7d5bcae05fed0d8938c8425.tar.bz2 | |
metasploit 4.5.0 Update 2013010902
Closes #17128.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/metasploit.rb | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/Library/Formula/metasploit.rb b/Library/Formula/metasploit.rb index 2b687b97e..3851ce5a3 100644 --- a/Library/Formula/metasploit.rb +++ b/Library/Formula/metasploit.rb @@ -2,25 +2,17 @@ require 'formula' class Metasploit < Formula homepage 'http://www.metasploit.com/framework/' - url 'http://downloads.metasploit.com/data/releases/framework-4.5.0.tar.bz2' - sha1 '13c3e4ef5265ecb5b6303d39ca1347982b782886' + url 'https://github.com/rapid7/metasploit-framework/archive/2013010902.tar.gz' + version '4.5.0-2013010902' + sha1 '2bcde6e6209e428fb18195c381597d462b00acf5' - 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 + head 'https://github.com/rapid7/metasploit-framework.git' def install - libexec.install Dir['.svn','armitage','HACKING',"msf*",'data','documentation','external','lib','modules','plugins','scripts','test','tools'] + libexec.install Dir["msf*"] + libexec.install 'armitage', 'HACKING', 'data', 'documentation', + 'external', 'lib', 'modules', 'plugins', + 'scripts', 'test', 'tools' bin.install_symlink Dir["#{libexec}/msf*","#{libexec}/armitage"] end - - def caveats; <<-EOS.undent - Metasploit can be updated in-place by doing: - cd `brew --prefix metasploit`/libexec/ - svn up - EOS - end end |
