]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - pkgs/nmap/nmap.nm
Change file layout of the makefiles.
[ipfire-3.x.git] / pkgs / nmap / nmap.nm
index 78e7c9d7a6d595015fb20da6684f961aa922ae8b..a439ed18c16824e0ee3f2a29267909125f1d9b65 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.       #
-#                                                                             #
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
 ###############################################################################
 
-###############################################################################
-# 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