diff options
| author | Luke G | 2009-09-13 14:28:04 +1000 |
|---|---|---|
| committer | Max Howell | 2009-09-16 15:39:30 +0100 |
| commit | 9a59a1037c4bb227da2fff2fae209f341b9aedbe (patch) | |
| tree | ec1012bd4f0a85d750a65080529f54ab00018060 /Library | |
| parent | 9f033332f0810bd7984fefb640e766a0a2980d6a (diff) | |
| download | homebrew-9a59a1037c4bb227da2fff2fae209f341b9aedbe.tar.bz2 | |
Nmap 5.00 formula
We don't install zenmap as it uses Python dist tools and doesn't play nice.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/nmap.rb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Library/Formula/nmap.rb b/Library/Formula/nmap.rb new file mode 100644 index 000000000..343208073 --- /dev/null +++ b/Library/Formula/nmap.rb @@ -0,0 +1,25 @@ +require 'brewkit' + +class Nmap <Formula + @url='http://nmap.org/dist/nmap-5.00.tar.bz2' + @homepage='http://nmap.org/5/' + @md5='32d27de32166c02d670bb4a086185886' + + def install + system "./configure", "--prefix=#{prefix}", + "--without-zenmap" + + system "make" + system "make install" # seperate steps required otherwise the build fails + end + + def caveats; <<-EOS +Root level scans do not work under Snow Leopard. +More information: http://seclists.org/nmap-dev/2009/q3/0904.html + +There is a fix but it was made after the 5.00 release, so if you need it +install the latest Nmap from the subversion repository. +http://nmap.org/book/install.html#inst-svn + EOS + end +end |
