From 6f64473a40147bffdef7d2e12cf5de0db07fb1df Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Thu, 3 Jul 2014 08:03:56 -0700 Subject: nmap: update to 6.46 Updated to later version on nmap. remove patch which is included in update Added ndiff package Include zenmap build changes but commented out for now and untested Signed-off-by: Armin Kuster --- recipes-security/nmap/nmap_6.46.bb | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 recipes-security/nmap/nmap_6.46.bb (limited to 'recipes-security/nmap/nmap_6.46.bb') diff --git a/recipes-security/nmap/nmap_6.46.bb b/recipes-security/nmap/nmap_6.46.bb new file mode 100644 index 0000000..42db71f --- /dev/null +++ b/recipes-security/nmap/nmap_6.46.bb @@ -0,0 +1,36 @@ +SUMMARY = "network auditing tool" +DESCRIPTION = "Nmap ("Network Mapper") is a free and open source (license) utility for network discovery and security auditing." +SECTION = "security" +LICENSE = "GPL-2.0" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" +FILES_${PN} += "${target_datadir}/ncat" + +SRC_URI = "http://nmap.org/dist/${BPN}-${PV}.tar.bz2" + +SRC_URI[md5sum] = "5a36ad3a63d5b7ea5514f745a397436a" +SRC_URI[sha256sum] = "3f89d9053c69507fe9533c40188a6561d49607a37b1db6380aed9039d4883137" + +inherit autotools-brokensep + +DEPENDS = "libpcap" + +EXTRA_OECONF = "--without-liblua --without-zenmap --without-subversion --with-pcap=linux" + +do_configure() { + autoconf + oe_runconf +} + +# should add a conditional for "--without-zenmap" test. +# zenmap builds if the below are uncommented. Not tested +#PACKAGES =+ "${PN}-zenmap" +#FILES_${PN}-zenmap = "/usr/share/zenmap/*" + +# should add a conditional based for "--without-ndiff" +PACKAGES =+ "${PN}-python" +DESCRIPTION_${PN}-python = \ +"The ${PN}-python package includes the ndiff utility. \ +Ndiff is a tool to aid in the comparison of Nmap scans." +FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" + + -- cgit v1.2.3-54-g00ecf