From 1b7f69e7ec423e322f7903103759b04adad3e6c9 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Fri, 20 May 2011 10:05:33 +0000 Subject: [PATCH] [packages] fix nmap build variants (#9387) The default variant of nmap does not appear to be building correctly, if at all (all invocations of configure have --with-openssl). Add a nossl variant to fix building. Set PKG_BULID_DIR to differ between variants to prevent overlapping of builds. Signed-off-by: Kevin Locke SVN-Revision: 26951 --- net/nmap/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/net/nmap/Makefile b/net/nmap/Makefile index 87208e92a1..c80e6c1f92 100644 --- a/net/nmap/Makefile +++ b/net/nmap/Makefile @@ -13,12 +13,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nmap PKG_VERSION:=5.51 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://nmap.org/dist/ PKG_MD5SUM:=0b80d2cb92ace5ebba8095a4c2850275 PKG_INSTALL:=1 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) + include $(INCLUDE_DIR)/package.mk NMAP_DEPENDS:=+libpcap +libstdcpp @@ -37,6 +39,7 @@ endef define Package/nmap $(call Package/nmap/default) DEPENDS:=$(NMAP_DEPENDS) + VARIANT:=nossl TITLE:=Utility for network exploration or security auditing endef @@ -50,6 +53,7 @@ endef define Package/ncat $(call Package/nmap/default) DEPENDS:=$(NCAT_DEPENDS) + VARIANT:=nossl TITLE:=Much-improved reimplementation of Netcat endef @@ -63,12 +67,14 @@ endef define Package/nping $(call Package/nmap/default) DEPENDS:=$(NPING_DEPENDS) + VARIANT:=nossl TITLE:=Network packet generation tool / ping utility endef define Package/ndiff $(call Package/nmap/default) DEPENDS:=$(NDIFF_DEPENDS) + VARIANT:=nossl TITLE:=Utility to compare the results of Nmap scans endef -- 2.30.2