[packages] nmap: makefile cleanup

git-svn-id: svn://svn.openwrt.org/openwrt/packages@24956 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nunojpg 2011-01-10 12:22:12 +00:00
parent 79d734c15a
commit 2c03f5f4cc

View File

@ -18,6 +18,7 @@ include $(INCLUDE_DIR)/package.mk
NMAP_DEPENDS:=+libpcap +libstdcpp NMAP_DEPENDS:=+libpcap +libstdcpp
NCAT_DEPENDS:=+libpcap NCAT_DEPENDS:=+libpcap
NPING_DEPENDS:=+libpcap +libpthread NPING_DEPENDS:=+libpcap +libpthread
NDIFF_DEPENDS:=+python
define Package/nmap/default define Package/nmap/default
SUBMENU:=NMAP Suite SUBMENU:=NMAP Suite
@ -30,47 +31,39 @@ endef
define Package/nmap define Package/nmap
$(call Package/nmap/default) $(call Package/nmap/default)
DEPENDS:=$(NMAP_DEPENDS) DEPENDS:=$(NMAP_DEPENDS)
TITLE:=nmap tool(without ssl support) TITLE:=Utility for network exploration or security auditing
endef endef
define Package/nmap-ssl define Package/nmap-ssl
$(call Package/nmap/default) $(call Package/nmap/default)
DEPENDS:=$(NMAP_DEPENDS) +libopenssl DEPENDS:=$(NMAP_DEPENDS) +libopenssl
VARIANT:=ssl VARIANT:=ssl
TITLE:=nmap tool(with openssl support) TITLE:=Nmap (with OpenSSL support)
endef endef
define Package/ncat define Package/ncat
$(call Package/nmap/default) $(call Package/nmap/default)
DEPENDS:=$(NCAT_DEPENDS) DEPENDS:=$(NCAT_DEPENDS)
TITLE:=ncat tool(without ssl support) TITLE:=Much-improved reimplementation of Netcat
endef endef
define Package/ncat-ssl define Package/ncat-ssl
$(call Package/nmap/default) $(call Package/nmap/default)
DEPENDS:=$(NCAT_DEPENDS) +libopenssl DEPENDS:=$(NCAT_DEPENDS) +libopenssl
VARIANT:=ssl VARIANT:=ssl
TITLE:=ncat tool(with openssl support) TITLE:=Ncat (with OpenSSL support)
endef endef
define Package/nping define Package/nping
$(call Package/nmap/default) $(call Package/nmap/default)
DEPENDS:=$(NPING_DEPENDS) DEPENDS:=$(NPING_DEPENDS)
TITLE:=nping tool TITLE:=Network packet generation tool / ping utility
endef endef
define Package/ndiff define Package/ndiff
$(call Package/nmap/default) $(call Package/nmap/default)
DEPENDS:=+python DEPENDS:=$(NDIFF_DEPENDS)
TITLE:=ndiff tool TITLE:=Utility to compare the results of Nmap scans
endef
define Package/nmap/config
source "$(SOURCE)/Config_nossl.in"
endef
define Package/nmap-ssl/config
source "$(SOURCE)/Config_ssl.in"
endef endef
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \