summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2015-09-20 15:57:21 -0700
committerArmin Kuster <akuster808@gmail.com>2015-10-08 07:08:47 -0700
commitbd30c8d843daeb9d6788f05e9b1ca67573af1d8d (patch)
treef07ef79ce64a54b3507a2aaad9ee36bd3ff9c834
parente16a42bf6b6d701b97fc582203836d10a97b29d3 (diff)
downloadmeta-security-bd30c8d843daeb9d6788f05e9b1ca67573af1d8d.tar.gz
nmap: fix build issue.
ncat/ncat_lua.c:174: undefined reference to `lua_remove' ncat/ncat_lua.c:167: undefined reference to `lua_insert' use internal lua support Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--recipes-security/nmap/nmap_6.47.bb6
1 files changed, 2 insertions, 4 deletions
diff --git a/recipes-security/nmap/nmap_6.47.bb b/recipes-security/nmap/nmap_6.47.bb
index c0b0650..e9ce1c9 100644
--- a/recipes-security/nmap/nmap_6.47.bb
+++ b/recipes-security/nmap/nmap_6.47.bb
@@ -13,7 +13,7 @@ SRC_URI[sha256sum] = "8fa11e9e203ce2d81a207db5ca4f110a525f6c01c1dd0018325a7112a5
13 13
14inherit autotools-brokensep pkgconfig distro_features_check 14inherit autotools-brokensep pkgconfig distro_features_check
15 15
16PACKAGECONFIG = "ncat nping ndiff pcap lua" 16PACKAGECONFIG = "ncat nping ndiff pcap"
17PACKAGECONFIG += " ${@bb.utils.contains("IMAGE_FEATURES", "x11-base", "zenmap", "", d)}" 17PACKAGECONFIG += " ${@bb.utils.contains("IMAGE_FEATURES", "x11-base", "zenmap", "", d)}"
18 18
19PACKAGECONFIG[pcap] = "--with-pcap=linux, --without-pcap, libpcap, libpcap" 19PACKAGECONFIG[pcap] = "--with-pcap=linux, --without-pcap, libpcap, libpcap"
@@ -24,14 +24,12 @@ PACKAGECONFIG[nping] = ",--without-nping,"
24PACKAGECONFIG[ncat] = ",--without-ncat," 24PACKAGECONFIG[ncat] = ",--without-ncat,"
25PACKAGECONFIG[ndiff] = ",--without-ndiff," 25PACKAGECONFIG[ndiff] = ",--without-ndiff,"
26 26
27#use nmap's Included or system's libs
28PACKAGECONFIG[lua] = "--with-liblua=${STAGING_LIBDIR}/.., --without-liblua, lua"
29PACKAGECONFIG[pcre] = "--with-libpcre=${STAGING_LIBDIR}/.., --with-libpcre=included, libpre" 27PACKAGECONFIG[pcre] = "--with-libpcre=${STAGING_LIBDIR}/.., --with-libpcre=included, libpre"
30 28
31#Add gui 29#Add gui
32PACKAGECONFIG[zenmap] = "--with-zenmap, --without-zenmap, gtk+ python-core python-codecs python-io python-logging python-unittest python-xml python-netclient python-doctest python-subprocess python-pygtk, python-core python-codecs python-io python-logging python-netclient python-xml python-unittest python-doctest python-subprocess python-pygtk gtk+" 30PACKAGECONFIG[zenmap] = "--with-zenmap, --without-zenmap, gtk+ python-core python-codecs python-io python-logging python-unittest python-xml python-netclient python-doctest python-subprocess python-pygtk, python-core python-codecs python-io python-logging python-netclient python-xml python-unittest python-doctest python-subprocess python-pygtk gtk+"
33 31
34EXTRA_OECONF = "--with-libdnet=included --with-liblinear=included --without-subversion" 32EXTRA_OECONF = "--with-libdnet=included --with-liblinear=included --without-subversion --with-liblua=included"
35 33
36do_configure() { 34do_configure() {
37 autoconf 35 autoconf