mirror of
https://github.com/nmap/nmap.git
synced 2026-01-01 20:39:02 +00:00
Install the nselib/data directory on "make install". For some reason
this has been overlooked, and scripts that need data files would not work after installation.
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
# Nmap Changelog ($Id$); -*-text-*-
|
||||
|
||||
o The nselib/data directory is now installed. It was not installed
|
||||
before because of an error in the Makefile. The scripts that would
|
||||
not have worked after installation because they were missing data
|
||||
files are http-enum.nse, http-favicon.nse, http-iis-webdav-vuln.nse,
|
||||
http-userdir-enum.nse, smb-pwdump.nse, pop3-brute.nse,
|
||||
smb-brute.nse, and snmp-brute.nse. [David]
|
||||
|
||||
o Fixed a compile error on NetBSD. It was
|
||||
tcpip.cc:2948: error: pointer of type 'void *' used in arithmetic
|
||||
Thanks to Jay Fink for reporting the problem and submitting a patch.
|
||||
|
||||
@@ -254,6 +254,7 @@ install-ndiff:
|
||||
|
||||
NSE_FILES = scripts/script.db scripts/*.nse
|
||||
NSE_LIB_LUA_FILES = nselib/*.lua
|
||||
NSE_LIB_DATA_FILES = nselib/data/*
|
||||
|
||||
install-nse: $(TARGET)
|
||||
$(INSTALL) -c -m 644 nse_main.lua $(DESTDIR)$(nmapdatadir)/
|
||||
@@ -261,6 +262,8 @@ install-nse: $(TARGET)
|
||||
$(INSTALL) -c -m 644 $(NSE_FILES) $(DESTDIR)$(nmapdatadir)/scripts
|
||||
$(INSTALL) -d $(DESTDIR)$(nmapdatadir)/nselib
|
||||
$(INSTALL) -c -m 644 $(NSE_LIB_LUA_FILES) $(DESTDIR)$(nmapdatadir)/nselib
|
||||
$(INSTALL) -d $(DESTDIR)$(nmapdatadir)/nselib/data
|
||||
$(INSTALL) -c -m 644 $(NSE_LIB_DATA_FILES) $(DESTDIR)$(nmapdatadir)/nselib/data
|
||||
|
||||
install-ncat: $(NCATDIR)/ncat
|
||||
@cd $(NCATDIR) && $(MAKE) install
|
||||
|
||||
Reference in New Issue
Block a user