nmap / nmap/nmap

Make Nmap OEM Zip Packages For Linux and Mac

Open
#2,282 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Linux macOS/OS X
Dominant language
C
Stars
13.6k
Forks
2.9k
PR merge metrics
No merged PRs in 30d

Description

Right now the Nmap RPM's and Mac installers don't make it easy to install in another location and I'm not sure how easily silent installation is on Mac. This can be especially frustrating for Nmap OEM customers who install Nmap with their product and might want more control. We already make this easy on Windows with the Nmap OEM silent installer with support for specifying install directory and also the Nmap OEM Win32 zip file. But we might be able to fix this on Mac and Linux as follows:

  • Make Nmap OEM zip file with nmap executable and data dirs (like we do with Nmap OEM Windows zip file) that licensees can package with their product and easily extract wherever they want it. Nmap needs to be able to find it's data dir, but Nmap has lots of ways to do that and we can create the zip file to extract in a format where Nmap can find it (like we do with Nmap OEM Win32 zipfile). The Nmap OEM zip file would not need to contain Zenmap, which would considerably simplify things. We would probably rebuild so Nmap reports itself as Nmap OEM.
  • Regarding the RPM binaries, we could do the same--build portable binaries the same way we do for RPMs (except with Nmap OEM name) and bundle them with the data files in a zip file (or tarball) that can be easily extracted and run where needed. Again this would be simplified by not requiring Zenmap.
  • We would then want to make sure we document the instructions for using these in the Nmap Install Guide.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the existing Nmap OEM Windows zip package, Linux RPM binaries, Mac installers, and the Nmap Install Guide at nmap.org/book/install.html. Define the portable Linux and Mac package contents and extraction instructions, then document how OEM customers use the packages without Zenmap.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux, macos
Domain
build-system, documentation, release
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.