fixed WARNING: QA Issue: /usr/bin/ndiff_nmap contained in package nmap requires /usr/bin/python2.7, but no providers found in its RDEPENDS [file-rdeps]
Signed-off-by: Armin Kuster <akuster...@gmail.com> --- recipes-security/nmap/{nmap_7.00.bb => nmap_7.01.bb} | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) rename recipes-security/nmap/{nmap_7.00.bb => nmap_7.01.bb} (89%) diff --git a/recipes-security/nmap/nmap_7.00.bb b/recipes-security/nmap/nmap_7.01.bb similarity index 89% rename from recipes-security/nmap/nmap_7.00.bb rename to recipes-security/nmap/nmap_7.01.bb index 0a4e310..32996dd 100644 --- a/recipes-security/nmap/nmap_7.00.bb +++ b/recipes-security/nmap/nmap_7.01.bb @@ -7,8 +7,8 @@ LIC_FILES_CHKSUM = "file://COPYING;beginline=7;endline=12;md5=51f7052ac85aaf1a21 SRC_URI = "http://nmap.org/dist/${BP}.tar.bz2" -SRC_URI[md5sum] = "6cdf5d03cc3294b99d69dfca83f2f2ee" -SRC_URI[sha256sum] = "9f442301c615c608a385831c3505cdfed9b0795cd100f1a258b04509802802ae" +SRC_URI[md5sum] = "7fa4edc592184c7addc14f5acb3fe6f7" +SRC_URI[sha256sum] = "cf1fcd2643ba2ef52f47acb3c18e52fa12a4ae4b722804da0e54560704627705" inherit autotools-brokensep pkgconfig distro_features_check @@ -31,10 +31,14 @@ PACKAGECONFIG[zenmap] = "--with-zenmap, --without-zenmap, gtk+ python-core pytho EXTRA_OECONF = "--with-libdnet=included --with-liblinear=included --without-subversion --with-liblua=included" do_configure() { + # strip hard coded python2# + sed -i -e 's=python2\.*=python=g' ${S}/configure.ac + sed -i -e 's=python2\.*=python=g' ${S}/configure autoconf oe_runconf } + PACKAGES = "${PN} ${PN}-dbg ${PN}-doc" FILES_${PN} = "${bindir}/nmap ${datadir}/nmap/* ${bindir}/uninstall_ndiff" -- 2.3.5 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto