diff options
Diffstat (limited to 'homebrew/nmap')
-rw-r--r-- | homebrew/nmap/.beer | 39 | ||||
-rw-r--r-- | homebrew/nmap/.make.sh-auto | 7 | ||||
-rw-r--r-- | homebrew/nmap/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/nmap/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/nmap/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/nmap/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/nmap/download.sh | 1 |
7 files changed, 51 insertions, 0 deletions
diff --git a/homebrew/nmap/.beer b/homebrew/nmap/.beer new file mode 100644 index 000000000..1e2086ad7 --- /dev/null +++ b/homebrew/nmap/.beer @@ -0,0 +1,39 @@ +{ + "name": "Nmap", + "description": "Port scanning utility for large networks", + "url": "https://nmap.org/dist/nmap-7.70.tar.bz2", + "mirror": null, + "homepage": "https://nmap.org/", + "depends": [ + { + "depend": "openssl", + "build-depend": false + } + ], + "resource": [], + "conflicts": [ + { + "conflict": "ndiff", + "reason": "both install `ndiff` binaries" + } + ], + "patches": [], + "install": [ + "ENV.deparallelize", + "args = %W[", + "--prefix=#{prefix}", + "--with-libpcre=included", + "--with-liblua=included", + "--with-openssl=#{Formula[\"openssl\"].opt_prefix}", + "--without-nmap-update", + "--disable-universal", + "--without-zenmap", + "]", + "system \"./configure\", *args", + "system \"make\" ", + "system \"make\", \"install\"", + "rm_f Dir[bin/\"uninstall_*\"] " + ], + "version": "7.70", + "file": "nmap.rb" +}
\ No newline at end of file diff --git a/homebrew/nmap/.make.sh-auto b/homebrew/nmap/.make.sh-auto new file mode 100644 index 000000000..121525c40 --- /dev/null +++ b/homebrew/nmap/.make.sh-auto @@ -0,0 +1,7 @@ +pkg:setup +ENV.deparallelize +args = %W[--prefix=#{prefix} --with-libpcre=included --with-liblua=included --with-openssl=#{Formula["openssl"].opt_prefix} --without-nmap-update --disable-universal --without-zenmap ] +pkg:configure *args +make +make DESTDIR=${PKG_DEST} install +rm_f Dir[bin/"uninstall_*"] diff --git a/homebrew/nmap/_metadata/description b/homebrew/nmap/_metadata/description new file mode 100644 index 000000000..3de83ad64 --- /dev/null +++ b/homebrew/nmap/_metadata/description @@ -0,0 +1 @@ +Port scanning utility for large networks diff --git a/homebrew/nmap/_metadata/homepage b/homebrew/nmap/_metadata/homepage new file mode 100644 index 000000000..32f575385 --- /dev/null +++ b/homebrew/nmap/_metadata/homepage @@ -0,0 +1 @@ +https://nmap.org/ diff --git a/homebrew/nmap/_metadata/name b/homebrew/nmap/_metadata/name new file mode 100644 index 000000000..853608090 --- /dev/null +++ b/homebrew/nmap/_metadata/name @@ -0,0 +1 @@ +Nmap diff --git a/homebrew/nmap/_metadata/version b/homebrew/nmap/_metadata/version new file mode 100644 index 000000000..8b67de382 --- /dev/null +++ b/homebrew/nmap/_metadata/version @@ -0,0 +1 @@ +7.70 diff --git a/homebrew/nmap/download.sh b/homebrew/nmap/download.sh new file mode 100755 index 000000000..b505dd721 --- /dev/null +++ b/homebrew/nmap/download.sh @@ -0,0 +1 @@ +wget https://nmap.org/dist/nmap-7.70.tar.bz2
\ No newline at end of file |