X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=pkgs%2Fnmap%2Fnmap.nm;h=a439ed18c16824e0ee3f2a29267909125f1d9b65;hb=802ea3af55e3167b6574e23b230cdbf0ed2ae0db;hp=78e7c9d7a6d595015fb20da6684f961aa922ae8b;hpb=f0b55c28746b56de89d7a10a4ad0ad2a4939baac;p=ipfire-3.x.git
diff --git a/pkgs/nmap/nmap.nm b/pkgs/nmap/nmap.nm
index 78e7c9d7a..a439ed18c 100644
--- a/pkgs/nmap/nmap.nm
+++ b/pkgs/nmap/nmap.nm
@@ -1,52 +1,43 @@
###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
-# #
-# This program is free software: you can redistribute it and/or modify #
-# it under the terms of the GNU General Public License as published by #
-# the Free Software Foundation, either version 3 of the License, or #
-# (at your option) any later version. #
-# #
-# This program is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with this program. If not, see . #
-# #
+# IPFire.org - An Open Source Firewall Solution #
+# Copyright (C) - IPFire Development Team #
###############################################################################
-###############################################################################
-# Definitions
-###############################################################################
-
-include $(PKGROOT)/Include
-
-PKG_NAME = nmap
-PKG_VER = 5.51
-PKG_REL = 1
+name = nmap
+version = 5.51
+release = 1
-PKG_MAINTAINER =
-PKG_GROUPS = Networking/Sniffer
-PKG_URL = http://nmap.org/
-PKG_LICENSE = GPLv2+
-PKG_SUMMARY = Network exploration tool and security scanner.
+groups = Networking/Sniffer
+url = http://nmap.org/
+license = GPLv2+
+summary = Network exploration tool and security scanner.
-PKG_BUILD_DEPS+= gcc-c++ libdnet-devel libpcap-devel lua-devel openssl-devel \
- pcre-devel
-
-define PKG_DESCRIPTION
- Nmap is a utility for network exploration or security auditing. \
- It supports ping scanning, many port scanning techniques, and \
- TCP/IP fingerprinting. Nmap also offers flexible target and port \
- specification, decoy scanning, determination of TCP sequence \
+description
+ Nmap is a utility for network exploration or security auditing.
+ It supports ping scanning, many port scanning techniques, and
+ TCP/IP fingerprinting. Nmap also offers flexible target and port
+ specification, decoy scanning, determination of TCP sequence
predictability characteristics, reverse-identd scanning, and more.
-endef
-
-PKG_TARBALL = $(THISAPP).tar.bz2
-
-CONFIGURE_OPTIONS += \
- --without-nmapfe \
- --without-zenmap
+end
+
+source_dl =
+sources = %{thisapp}.tar.bz2
+
+build
+ requires
+ gcc-c++
+ libdnet-devel
+ libpcap-devel
+ lua-devel
+ openssl-devel
+ pcre-devel
+ end
+
+ configure_options += \
+ --without-nmapfe \
+ --without-zenmap
+end
+
+packages
+ package %{name}
+end