Commit f0d1be4a authored by Ed Reel's avatar Ed Reel Committed by GitHub

Merge pull request #1305 from minektur/nmaptweaks

fix build to match new ENV requirements, fix filecmd for configure
parents 6fb995d5 c952b79e
......@@ -3,7 +3,7 @@ require 'package'
class Nmap < Package
description 'Nmap (\'Network Mapper\') is a free and open source (license) utility for network discovery and security auditing.'
homepage 'https://nmap.org/'
version '7.60'
version '7.60-1'
source_url 'https://nmap.org/dist/nmap-7.60.tar.bz2'
source_sha256 'a8796ecc4fa6c38aad6139d9515dc8113023a82e9d787e5a5fb5fa1b05516f21'
......@@ -20,10 +20,13 @@ class Nmap < Package
x86_64: '12eb815ec4bc47ac0d778575c7125907421937396fa491745d5ab48486380550',
})
depends_on 'buildessential'
depends_on 'buildessential' => :build
depends_on 'filecmd' => :build
def self.build
system "./configure --with-pcap=linux --without-zenmap"
#fixup "/usr/bin/file" -> "/usr/local/bin/file" in the configure scripts
system "sed -i s#/usr/bin/file##{CREW_DEST_PREFIX}/bin/file#g libdnet-stripped/configure"
system "./configure --with-pcap=linux --without-zenmap --prefix=#{CREW_PREFIX}"
system "make"
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment