1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Remove nse_pcrelib from build.

This commit is contained in:
dmiller
2023-06-24 01:53:09 +00:00
parent 828ab48764
commit d131a096a8
5 changed files with 4 additions and 9 deletions

View File

@@ -88,9 +88,9 @@ UNINSTALLNDIFF=@UNINSTALLNDIFF@
UNINSTALLNPING=@UNINSTALLNPING@ UNINSTALLNPING=@UNINSTALLNPING@
ifneq (@NOLUA@,yes) ifneq (@NOLUA@,yes)
NSE_SRC=nse_main.cc nse_utility.cc nse_nsock.cc nse_db.cc nse_dnet.cc nse_fs.cc nse_nmaplib.cc nse_debug.cc nse_pcrelib.cc nse_lpeg.cc NSE_SRC=nse_main.cc nse_utility.cc nse_nsock.cc nse_db.cc nse_dnet.cc nse_fs.cc nse_nmaplib.cc nse_debug.cc nse_lpeg.cc
NSE_HDRS=nse_main.h nse_utility.h nse_nsock.h nse_db.h nse_dnet.h nse_fs.h nse_nmaplib.h nse_debug.h nse_pcrelib.h nse_lpeg.h NSE_HDRS=nse_main.h nse_utility.h nse_nsock.h nse_db.h nse_dnet.h nse_fs.h nse_nmaplib.h nse_debug.h nse_lpeg.h
NSE_OBJS=nse_main.o nse_utility.o nse_nsock.o nse_db.o nse_dnet.o nse_fs.o nse_nmaplib.o nse_debug.o nse_pcrelib.o nse_lpeg.o NSE_OBJS=nse_main.o nse_utility.o nse_nsock.o nse_db.o nse_dnet.o nse_fs.o nse_nmaplib.o nse_debug.o nse_lpeg.o
ifneq (@OPENSSL_LIBS@,) ifneq (@OPENSSL_LIBS@,)
NSE_SRC+=nse_openssl.cc nse_ssl_cert.cc NSE_SRC+=nse_openssl.cc nse_ssl_cert.cc
NSE_HDRS+=nse_openssl.h nse_ssl_cert.h NSE_HDRS+=nse_openssl.h nse_ssl_cert.h

View File

@@ -214,7 +214,6 @@
<ClCompile Include="..\nse_nsock.cc" /> <ClCompile Include="..\nse_nsock.cc" />
<ClCompile Include="..\nse_dnet.cc" /> <ClCompile Include="..\nse_dnet.cc" />
<ClCompile Include="..\nse_openssl.cc" /> <ClCompile Include="..\nse_openssl.cc" />
<ClCompile Include="..\nse_pcrelib.cc" />
<ClCompile Include="..\nse_ssl_cert.cc" /> <ClCompile Include="..\nse_ssl_cert.cc" />
<ClCompile Include="..\nse_zlib.cc" /> <ClCompile Include="..\nse_zlib.cc" />
<ClCompile Include="..\osscan.cc" /> <ClCompile Include="..\osscan.cc" />
@@ -274,7 +273,6 @@
<ClInclude Include="..\nse_nsock.h" /> <ClInclude Include="..\nse_nsock.h" />
<ClInclude Include="..\nse_dnet.h" /> <ClInclude Include="..\nse_dnet.h" />
<ClInclude Include="..\nse_openssl.h" /> <ClInclude Include="..\nse_openssl.h" />
<ClInclude Include="..\nse_pcrelib.h" />
<ClInclude Include="..\nse_ssl_cert.h" /> <ClInclude Include="..\nse_ssl_cert.h" />
<ClInclude Include="..\nse_zlib.h" /> <ClInclude Include="..\nse_zlib.h" />
<ClInclude Include="..\osscan.h" /> <ClInclude Include="..\osscan.h" />

View File

@@ -15,7 +15,6 @@
#include "nse_fs.h" #include "nse_fs.h"
#include "nse_nsock.h" #include "nse_nsock.h"
#include "nse_nmaplib.h" #include "nse_nmaplib.h"
#include "nse_pcrelib.h"
#include "nse_openssl.h" #include "nse_openssl.h"
#include "nse_debug.h" #include "nse_debug.h"
#include "nse_lpeg.h" #include "nse_lpeg.h"
@@ -562,7 +561,6 @@ static int panic (lua_State *L)
static void set_nmap_libraries (lua_State *L) static void set_nmap_libraries (lua_State *L)
{ {
static const luaL_Reg libs[] = { static const luaL_Reg libs[] = {
{NSE_PCRELIBNAME, luaopen_pcrelib},
{NSE_NMAPLIBNAME, luaopen_nmap}, {NSE_NMAPLIBNAME, luaopen_nmap},
{NSE_DBLIBNAME, luaopen_db}, {NSE_DBLIBNAME, luaopen_db},
{LFSLIBNAME, luaopen_lfs}, {LFSLIBNAME, luaopen_lfs},

View File

@@ -292,7 +292,7 @@ local REQUIRE_ERROR = {};
rawset(stdnse, "silent_require", function (...) rawset(stdnse, "silent_require", function (...)
local status, mod = pcall(require, ...); local status, mod = pcall(require, ...);
if not status then if not status then
print_debug(1, "%s", traceback(mod)); print_debug(2, "%s", traceback(mod));
error(REQUIRE_ERROR) error(REQUIRE_ERROR)
else else
return mod; return mod;

View File

@@ -107,7 +107,6 @@ local libs = {
"ospf", "ospf",
"outlib", "outlib",
"packet", "packet",
"pcre",
"pgsql", "pgsql",
"pop3", "pop3",
"pppoe", "pppoe",