Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -4,16 +4,24 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
NMAP_VERSION = 7.40
|
||||
NMAP_SITE = http://nmap.org/dist
|
||||
NMAP_VERSION = 7.60
|
||||
NMAP_SITE = https://nmap.org/dist
|
||||
NMAP_SOURCE = nmap-$(NMAP_VERSION).tar.bz2
|
||||
NMAP_DEPENDENCIES = libpcap pcre
|
||||
NMAP_DEPENDENCIES = libpcap pcre host-autoconf
|
||||
NMAP_CONF_OPTS = --without-liblua --without-zenmap \
|
||||
--with-libdnet=included --with-liblinear=included \
|
||||
--with-libpcre="$(STAGING_DIR)/usr" --without-ncat
|
||||
NMAP_LICENSE = GPLv2
|
||||
NMAP_LICENSE = GPL-2.0
|
||||
NMAP_LICENSE_FILES = COPYING
|
||||
|
||||
# nmap doesn't autoreconf properly, so we just re-generate the
|
||||
# top-level configure script, since we are patching configure.ac.
|
||||
define NMAP_DO_AUTOCONF
|
||||
(cd $(@D); $(HOST_DIR)/bin/autoconf)
|
||||
endef
|
||||
|
||||
NMAP_PRE_CONFIGURE_HOOKS += NMAP_DO_AUTOCONF
|
||||
|
||||
# needed by libpcap
|
||||
NMAP_LIBS_FOR_STATIC_LINK += `$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`
|
||||
|
||||
@@ -27,6 +35,14 @@ define NMAP_WRAPPER_EXEC
|
||||
endef
|
||||
NMAP_POST_PATCH_HOOKS += NMAP_WRAPPER_EXEC
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSSH2),y)
|
||||
NMAP_CONF_OPTS += --with-libssh2="$(STAGING_DIR)/usr"
|
||||
NMAP_DEPENDENCIES += libssh2
|
||||
NMAP_LIBS_FOR_STATIC_LINK += `$(PKG_CONFIG_HOST_BINARY) --libs libssh2`
|
||||
else
|
||||
NMAP_CONF_OPTS += --without-libssh2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
NMAP_CONF_OPTS += --with-openssl="$(STAGING_DIR)/usr"
|
||||
NMAP_DEPENDENCIES += host-pkgconf openssl
|
||||
|
||||
Reference in New Issue
Block a user