summaryrefslogtreecommitdiff
path: root/package/nmap/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-05 12:06:12 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-05 12:06:12 +0200
commit0508d641f6c6613cf5c4e4a70e564ce7ea44b1dc (patch)
treec73156c58366e495317a1a2acceb9c2efcf7d2db /package/nmap/Makefile
parentcd459cb9dc51e6f2cace0b4b994b563f640a25f6 (diff)
fix nmap compile, update to latest upstream. uclibc++ no longer supported, because of missing dynamic_cast operator
Diffstat (limited to 'package/nmap/Makefile')
-rw-r--r--package/nmap/Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/package/nmap/Makefile b/package/nmap/Makefile
index d259260d9..f1c7d224f 100644
--- a/package/nmap/Makefile
+++ b/package/nmap/Makefile
@@ -4,17 +4,16 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= nmap
-PKG_VERSION:= 6.25
+PKG_VERSION:= 6.40
PKG_RELEASE:= 1
-PKG_MD5SUM:= fcc80f94ff3adcb11eedf91092ea6f5e
+PKG_MD5SUM:= c0e2f3370e1fb97fb53185b15aa22aff
PKG_DESCR:= utility for network exploration or security auditing
PKG_SECTION:= net
-PKG_DEPENDS:= libdnet libpcap libpcre
+PKG_DEPENDS:= libdnet libpcap libpcre libstdcxx
PKG_BUILDDEP:= libdnet libpcap pcre
PKG_URL:= http://nmap.org/
PKG_SITES:= http://download.insecure.org/nmap/dist/
PKG_NEED_CXX:= 1
-PKG_CXX:= NMAP
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
@@ -22,17 +21,11 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,NMAP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-LIBRARIES:=-nodefaultlibs -luClibc++ -lgcc -lm -lc -lgcc_s
ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y)
LIBRARIES+=-lssp -lssp_nonshared
endif
TARGET_CPPFLAGS+= -DNOLUA
-ifeq ($(ADK_COMPILE_NMAP_WITH_UCLIBCXX),y)
-CONFIGURE_ENV+= CXXFLAGS="-fno-threadsafe-statics -fno-builtin -fno-rtti -nostdinc++ \
- -I${STAGING_TARGET_DIR}/usr/include/uClibc++" \
- LIBS="${LIBRARIES}"
-endif
CONFIGURE_ARGS+= --without-openssl \
--without-zenmap \
--without-ndiff \