2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-02-25 05:39:51 +01:00
|
|
|
#
|
|
|
|
# nmap
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-02-25 05:39:51 +01:00
|
|
|
|
2014-08-26 23:47:25 +02:00
|
|
|
NMAP_VERSION = 6.47
|
2013-02-25 05:39:51 +01:00
|
|
|
NMAP_SITE = http://nmap.org/dist
|
|
|
|
NMAP_SOURCE = nmap-$(NMAP_VERSION).tar.bz2
|
|
|
|
NMAP_DEPENDENCIES = libpcap pcre
|
|
|
|
NMAP_CONF_OPT = --without-liblua --without-zenmap \
|
|
|
|
--with-libdnet=included --with-liblinear=included \
|
2014-03-10 21:26:23 +01:00
|
|
|
--with-libpcre="$(STAGING_DIR)/usr" --without-ncat
|
2013-02-25 05:39:51 +01:00
|
|
|
NMAP_LICENSE = GPLv2
|
|
|
|
NMAP_LICENSE_FILES = COPYING
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
|
NMAP_CONF_OPT += --with-openssl="$(STAGING_DIR)/usr"
|
|
|
|
NMAP_DEPENDENCIES += openssl
|
|
|
|
else
|
|
|
|
NMAP_CONF_OPT += --without-openssl
|
|
|
|
endif
|
|
|
|
|
2014-04-17 22:25:10 +02:00
|
|
|
# ndiff only works with python2.x
|
|
|
|
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
|
|
|
NMAP_DEPENDENCIES += python
|
|
|
|
else
|
|
|
|
NMAP_CONF_OPT += --without-ndiff
|
|
|
|
endif
|
|
|
|
|
2013-02-25 05:39:51 +01:00
|
|
|
$(eval $(autotools-package))
|