summaryrefslogtreecommitdiffstats
path: root/recipes-security/nmap/nmap_6.46.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-security/nmap/nmap_6.46.bb')
-rw-r--r--recipes-security/nmap/nmap_6.46.bb36
1 files changed, 36 insertions, 0 deletions
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 @@
1SUMMARY = "network auditing tool"
2DESCRIPTION = "Nmap ("Network Mapper") is a free and open source (license) utility for network discovery and security auditing."
3SECTION = "security"
4LICENSE = "GPL-2.0"
5LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
6FILES_${PN} += "${target_datadir}/ncat"
7
8SRC_URI = "http://nmap.org/dist/${BPN}-${PV}.tar.bz2"
9
10SRC_URI[md5sum] = "5a36ad3a63d5b7ea5514f745a397436a"
11SRC_URI[sha256sum] = "3f89d9053c69507fe9533c40188a6561d49607a37b1db6380aed9039d4883137"
12
13inherit autotools-brokensep
14
15DEPENDS = "libpcap"
16
17EXTRA_OECONF = "--without-liblua --without-zenmap --without-subversion --with-pcap=linux"
18
19do_configure() {
20 autoconf
21 oe_runconf
22}
23
24# should add a conditional for "--without-zenmap" test.
25# zenmap builds if the below are uncommented. Not tested
26#PACKAGES =+ "${PN}-zenmap"
27#FILES_${PN}-zenmap = "/usr/share/zenmap/*"
28
29# should add a conditional based for "--without-ndiff"
30PACKAGES =+ "${PN}-python"
31DESCRIPTION_${PN}-python = \
32"The ${PN}-python package includes the ndiff utility. \
33Ndiff is a tool to aid in the comparison of Nmap scans."
34FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*"
35
36