diff options
author | Mingli Yu <Mingli.Yu@windriver.com> | 2018-08-22 17:13:49 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-08-22 11:32:58 -0700 |
commit | 6964fa543c9f4394217128b780caa1a94a1d3d21 (patch) | |
tree | 50e841ff88bbf36d7580c37528d1a99999c2f05a /meta-oe | |
parent | af8dd46f862e84af4e2feb32207e5822e44f23fc (diff) | |
download | meta-openembedded-6964fa543c9f4394217128b780caa1a94a1d3d21.tar.gz |
nmap: install ndiff
Currently, the ndiff isn't built and installed
as ndiff is python2 compatible script and it
checks PYTHON_VERSION to determine whether
build and install ndiff in configure phase.
Update to inherit pythonnative to let the
PYTHON_VERSION to be 2 to let ndiff be built
and installed.
Apart from ndiff python script, there is another
script named ndiff.py used by ndiff, export
PYTHON_SITEPACKAGES_DIR to make ndiff.py installed
in the correct place.
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-security/nmap/nmap_7.70.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-security/nmap/nmap_7.70.bb b/meta-oe/recipes-security/nmap/nmap_7.70.bb index e47d09f17..01be1515b 100644 --- a/meta-oe/recipes-security/nmap/nmap_7.70.bb +++ b/meta-oe/recipes-security/nmap/nmap_7.70.bb | |||
@@ -13,7 +13,7 @@ SRC_URI = "http://nmap.org/dist/${BP}.tar.bz2 \ | |||
13 | SRC_URI[md5sum] = "84eb6fbe788e0d4918c2b1e39421bf79" | 13 | SRC_URI[md5sum] = "84eb6fbe788e0d4918c2b1e39421bf79" |
14 | SRC_URI[sha256sum] = "847b068955f792f4cc247593aca6dc3dc4aae12976169873247488de147a6e18" | 14 | SRC_URI[sha256sum] = "847b068955f792f4cc247593aca6dc3dc4aae12976169873247488de147a6e18" |
15 | 15 | ||
16 | inherit autotools-brokensep pkgconfig python3native | 16 | inherit autotools-brokensep pkgconfig pythonnative |
17 | 17 | ||
18 | PACKAGECONFIG ?= "ncat nping ndiff pcap" | 18 | PACKAGECONFIG ?= "ncat nping ndiff pcap" |
19 | 19 | ||
@@ -36,6 +36,8 @@ EXTRA_OECONF = "--with-libdnet=included --with-liblinear=included --without-subv | |||
36 | # disable for now until py3 is supported | 36 | # disable for now until py3 is supported |
37 | EXTRA_OECONF += "--without-zenmap" | 37 | EXTRA_OECONF += "--without-zenmap" |
38 | 38 | ||
39 | export PYTHON_SITEPACKAGES_DIR | ||
40 | |||
39 | do_configure() { | 41 | do_configure() { |
40 | autoconf | 42 | autoconf |
41 | oe_runconf | 43 | oe_runconf |