Update nmap 5.35DC1

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Luke Gallagher 2010-08-09 22:46:57 +10:00 committed by Adam Vandenberg
parent 2e21fdaaef
commit 6d54954bac
1 changed files with 3 additions and 8 deletions

View File

@ -1,20 +1,15 @@
require 'formula'
class Nmap <Formula
url 'http://nmap.org/dist/nmap-5.21.tar.bz2'
url 'http://nmap.org/dist/nmap-5.35DC1.tar.bz2'
homepage 'http://nmap.org/5/'
md5 'f77fa51d89ab27d35e5cd87bb086b858'
md5 '5bc2f8629f26716aa78d4bfe474a5d3a'
version '5.35DC1'
def install
fails_with_llvm
ENV.deparallelize
# There are reports that this is needed for sudo. See:
# http://github.com/mxcl/homebrew/issues/issue/1270
ENV['CFLAGS'] = "-m32 -O2"
ENV['LDFLAGS'] = "-m32 -O2"
ENV['CXXFLAGS'] = "-m32 -O2"
system "./configure", "--prefix=#{prefix}", "--without-zenmap"
system "make" # seperate steps required otherwise the build fails
system "make install"