summaryrefslogtreecommitdiff
path: root/package/nmap/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/nmap/Makefile
parentbbd610f15a71b27c955175cb98392b114717fd47 (diff)
optimize ipkg package management
- generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig
Diffstat (limited to 'package/nmap/Makefile')
-rw-r--r--package/nmap/Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/package/nmap/Makefile b/package/nmap/Makefile
index 053347a76..a1f69228b 100644
--- a/package/nmap/Makefile
+++ b/package/nmap/Makefile
@@ -9,19 +9,23 @@ PKG_NAME:= nmap
PKG_VERSION:= 4.76
PKG_RELEASE:= 1
PKG_MD5SUM:= 278dd2e849cc3dbb947df961a1aaffd0
-MASTER_SITES:= http://download.insecure.org/nmap/dist/
+PKG_DESCR:= utility for network exploration or security auditing
+PKG_SECTION:= net
+PKG_DEPENDS:= libdnet libpcap libpcre
+PKG_URL:= http://nmap.org
+PKG_SITES:= http://download.insecure.org/nmap/dist/
+
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-PKG_DEPEND:= libgcc libdnet libpcap libpcre
+include ${TOPDIR}/mk/package.mk
+
ifeq ($(ADK_COMPILE_NMAP_WITH_UCLIBCXX),y)
-PKG_DEPEND+= uclibc++
+PKG_DEPENDS+= uclibc++
else
-PKG_DEPEND+= libstdcxx
+PKG_DEPENDS+= libstdcxx
endif
-include ${TOPDIR}/mk/package.mk
-
-$(eval $(call PKG_template,NMAP,nmap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPEND}))
+$(eval $(call PKG_template,NMAP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
TCPPFLAGS+= -DNOLUA
ifeq ($(ADK_COMPILE_NMAP_WITH_UCLIBCXX),y)