diff options
author | Armin Kuster <akuster808@gmail.com> | 2015-09-20 15:57:21 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2015-10-08 07:08:47 -0700 |
commit | bd30c8d843daeb9d6788f05e9b1ca67573af1d8d (patch) | |
tree | f07ef79ce64a54b3507a2aaad9ee36bd3ff9c834 | |
parent | e16a42bf6b6d701b97fc582203836d10a97b29d3 (diff) | |
download | meta-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.bb | 6 |
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 | ||
14 | inherit autotools-brokensep pkgconfig distro_features_check | 14 | inherit autotools-brokensep pkgconfig distro_features_check |
15 | 15 | ||
16 | PACKAGECONFIG = "ncat nping ndiff pcap lua" | 16 | PACKAGECONFIG = "ncat nping ndiff pcap" |
17 | PACKAGECONFIG += " ${@bb.utils.contains("IMAGE_FEATURES", "x11-base", "zenmap", "", d)}" | 17 | PACKAGECONFIG += " ${@bb.utils.contains("IMAGE_FEATURES", "x11-base", "zenmap", "", d)}" |
18 | 18 | ||
19 | PACKAGECONFIG[pcap] = "--with-pcap=linux, --without-pcap, libpcap, libpcap" | 19 | PACKAGECONFIG[pcap] = "--with-pcap=linux, --without-pcap, libpcap, libpcap" |
@@ -24,14 +24,12 @@ PACKAGECONFIG[nping] = ",--without-nping," | |||
24 | PACKAGECONFIG[ncat] = ",--without-ncat," | 24 | PACKAGECONFIG[ncat] = ",--without-ncat," |
25 | PACKAGECONFIG[ndiff] = ",--without-ndiff," | 25 | PACKAGECONFIG[ndiff] = ",--without-ndiff," |
26 | 26 | ||
27 | #use nmap's Included or system's libs | ||
28 | PACKAGECONFIG[lua] = "--with-liblua=${STAGING_LIBDIR}/.., --without-liblua, lua" | ||
29 | PACKAGECONFIG[pcre] = "--with-libpcre=${STAGING_LIBDIR}/.., --with-libpcre=included, libpre" | 27 | PACKAGECONFIG[pcre] = "--with-libpcre=${STAGING_LIBDIR}/.., --with-libpcre=included, libpre" |
30 | 28 | ||
31 | #Add gui | 29 | #Add gui |
32 | PACKAGECONFIG[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+" | 30 | PACKAGECONFIG[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 | ||
34 | EXTRA_OECONF = "--with-libdnet=included --with-liblinear=included --without-subversion" | 32 | EXTRA_OECONF = "--with-libdnet=included --with-liblinear=included --without-subversion --with-liblua=included" |
35 | 33 | ||
36 | do_configure() { | 34 | do_configure() { |
37 | autoconf | 35 | autoconf |