From 6da0f26a2017b2548f20200b06d0624039ddb47f Mon Sep 17 00:00:00 2001 From: david Date: Tue, 8 Apr 2008 21:07:09 +0000 Subject: [PATCH] Add a README to the Zenmap distribution. --- macosx/Makefile | 6 +++++- macosx/README | 30 ++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 macosx/README diff --git a/macosx/Makefile b/macosx/Makefile index c51d35f9a..c111a50cb 100644 --- a/macosx/Makefile +++ b/macosx/Makefile @@ -6,7 +6,7 @@ NMAP_NUM_VERSION := $(shell grep '^\#[ \t]*define[ \t]\+NMAP_NUM_VERSION' ../nma STAGING_DIR = Zenmap-$(NMAP_VERSION) -DIST_FILES = $(addprefix $(STAGING_DIR)/,Zenmap.app) +DIST_FILES = $(addprefix $(STAGING_DIR)/,Zenmap.app README) Zenmap-$(NMAP_VERSION).dmg: $(DIST_FILES) rm -f $@ @@ -17,6 +17,10 @@ $(STAGING_DIR)/Zenmap.app: cd ../zenmap && install_scripts/macosx/make-bundle.sh mv -f ../zenmap/dist/Zenmap.app $(STAGING_DIR) +$(STAGING_DIR)/README: + mkdir -p $(STAGING_DIR) + cp -f README $(STAGING_DIR)/ + clean: rm -rf $(STAGING_DIR) rm -f Zenmap-$(NMAP_VERSION).dmg diff --git a/macosx/README b/macosx/README new file mode 100644 index 000000000..e9f8f48ab --- /dev/null +++ b/macosx/README @@ -0,0 +1,30 @@ +This is a test packaging of Zenmap for Mac OS X. + +We are distributing this in the hope of creating a really great +distribution of Nmap and Zenmap on the Mac, and for that we need your +help. Please try it out and send comments and suggestions to +nmap-dev@insecure.org. + +This package does not come with Nmap itself. Zenmap and Nmap may be +bundled together in the future depending on what users recommend. You +need to install Nmap separately. Make sure it is in your system PATH; +see below. Please write nmap-dev@insecure.org if you have an idea for a +good way to package Nmap and Zenmap together. + +Known issues: + +Zenmap doesn't run as root. I haven't found a convenient way to run it +as root. You can do it by peeking inside the application bundle: + sudo /Volumes/Zenmap-4.60/Zenmap.app/Contents/MacOS/zenmap +But there has to be a better way. Please write nmap-dev@insecure.org if +you have suggestions. + +/usr/local/bin is not in the default PATH. As mentioned above, currently +you have to install Nmap separately. When Nmap is compiled from source, +by default it is installed in /usr/local/bin. But /usr/local/bin is +*not* in the default OS X PATH! You will see an error in Zenmap: +"[Errno 2] No such file or directory". I don't recommend installing Nmap +with a prefix of /usr, but you can make a symbolic link from +/usr/bin/nmap to /usr/local/bin/nmap and it will work fine. + +David Fifield