Nmap Development mailing list archives

Re: [patch][Ndiff] Make Ndiff install as a library as well as a script


From: Daniel Miller <bonsaiviking () gmail com>
Date: Tue, 15 Oct 2013 11:34:47 -0500

On 10/14/2013 11:04 PM, Daniel Miller wrote:
I didn't check this, but I don't see why it wouldn't work. I will look
at the Makefiles (and/or other build directives) to be sure that the
name change is propagated throughout. Please expect another patch in a
couple days if I find anything that needs to be changed.
Ok, it looks like this should be the only other line that needs to be changed:

diff --git a/mswin32/Makefile b/mswin32/Makefile
index e849864..7604576 100644
--- a/mswin32/Makefile
+++ b/mswin32/Makefile
@@ -39,7 +39,7 @@ winbuild: nmap.rc nsis/Nmap.nsi LICENSE
        cp ../nping/Release/nping.exe nmap-$(NMAP_VERSION)
        cp ../nmap-update/Release/nmap-update.exe nmap-$(NMAP_VERSION)
 # Install the ndiff batch file wrapper in the zip distribution.
-       cp ../ndiff/ndiff nmap-$(NMAP_VERSION)/ndiff.py
+       cp ../ndiff/ndiff.py nmap-$(NMAP_VERSION)/ndiff.py
        cp python-wrap.bat nmap-$(NMAP_VERSION)/ndiff.bat
        zip -r nmap-$(NMAP_VERSION)-win32.zip nmap-$(NMAP_VERSION)
# Remove ndiff.py and ndiff.bat for the installer because it has ndiff.exe.

As always, please chime in with comments or suggestions. I'll wait until Thursday to commit.

Dan
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: