mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-30 19:50:23 +00:00
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>
This commit is contained in:
parent
af8dd46f86
commit
6964fa543c
@ -13,7 +13,7 @@ SRC_URI = "http://nmap.org/dist/${BP}.tar.bz2 \
|
|||||||
SRC_URI[md5sum] = "84eb6fbe788e0d4918c2b1e39421bf79"
|
SRC_URI[md5sum] = "84eb6fbe788e0d4918c2b1e39421bf79"
|
||||||
SRC_URI[sha256sum] = "847b068955f792f4cc247593aca6dc3dc4aae12976169873247488de147a6e18"
|
SRC_URI[sha256sum] = "847b068955f792f4cc247593aca6dc3dc4aae12976169873247488de147a6e18"
|
||||||
|
|
||||||
inherit autotools-brokensep pkgconfig python3native
|
inherit autotools-brokensep pkgconfig pythonnative
|
||||||
|
|
||||||
PACKAGECONFIG ?= "ncat nping ndiff pcap"
|
PACKAGECONFIG ?= "ncat nping ndiff pcap"
|
||||||
|
|
||||||
@ -36,6 +36,8 @@ EXTRA_OECONF = "--with-libdnet=included --with-liblinear=included --without-subv
|
|||||||
# disable for now until py3 is supported
|
# disable for now until py3 is supported
|
||||||
EXTRA_OECONF += "--without-zenmap"
|
EXTRA_OECONF += "--without-zenmap"
|
||||||
|
|
||||||
|
export PYTHON_SITEPACKAGES_DIR
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
autoconf
|
autoconf
|
||||||
oe_runconf
|
oe_runconf
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user