diff options
Diffstat (limited to 'recipes-security/nmap/nmap_6.46.bb')
| -rw-r--r-- | recipes-security/nmap/nmap_6.46.bb | 36 |
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 @@ | |||
| 1 | SUMMARY = "network auditing tool" | ||
| 2 | DESCRIPTION = "Nmap ("Network Mapper") is a free and open source (license) utility for network discovery and security auditing." | ||
| 3 | SECTION = "security" | ||
| 4 | LICENSE = "GPL-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" | ||
| 6 | FILES_${PN} += "${target_datadir}/ncat" | ||
| 7 | |||
| 8 | SRC_URI = "http://nmap.org/dist/${BPN}-${PV}.tar.bz2" | ||
| 9 | |||
| 10 | SRC_URI[md5sum] = "5a36ad3a63d5b7ea5514f745a397436a" | ||
| 11 | SRC_URI[sha256sum] = "3f89d9053c69507fe9533c40188a6561d49607a37b1db6380aed9039d4883137" | ||
| 12 | |||
| 13 | inherit autotools-brokensep | ||
| 14 | |||
| 15 | DEPENDS = "libpcap" | ||
| 16 | |||
| 17 | EXTRA_OECONF = "--without-liblua --without-zenmap --without-subversion --with-pcap=linux" | ||
| 18 | |||
| 19 | do_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" | ||
| 30 | PACKAGES =+ "${PN}-python" | ||
| 31 | DESCRIPTION_${PN}-python = \ | ||
| 32 | "The ${PN}-python package includes the ndiff utility. \ | ||
| 33 | Ndiff is a tool to aid in the comparison of Nmap scans." | ||
| 34 | FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" | ||
| 35 | |||
| 36 | |||
