]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blobdiff - pkgs/suricata/suricata.nm
Change file layout of the makefiles.
[people/stevee/ipfire-3.x.git] / pkgs / suricata / suricata.nm
index 468258bff0b4e5474e1f01531dfa7535645d6996..56becaa405d840f893a556eb0a4b48d3611bda46 100644 (file)
@@ -1,59 +1,50 @@
 ###############################################################################
-#                                                                             #
-# 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       = suricata
-PKG_VER        = 1.0.5
-PKG_REL        = 1
-
-PKG_MAINTAINER =
-PKG_GROUPS     = Networking/IDS
-PKG_URL        = http://www.openinfosecfoundation.org/
-PKG_LICENSE    = GPLv2
-PKG_SUMMARY    = Open Source Next Generation Intrusion Detection and Prevention Engine.
-
-PKG_BUILD_DEPS+= libcap-ng-devel libnfnetlink-devel libnetfilter_queue-devel \
-       libnet-devel libpcap-devel libyaml-devel pcre-devel pkg-config zlib-devel
-
-PKG_PACKAGES  += $(PKG_NAME_REAL)-devel
-
-define PKG_DESCRIPTION
-       The suricata engine is not intended to just replace or emulate the \
-       existing tools in the industry, but provides new ideas and \
-       technologies. 
-endef
-
-PKG_TARBALL    = $(THISAPP).tar.gz
-
-CONFIGURE_OPTIONS += \
-       --enable-gccprotect \
-       --enable-nfqueue \
-       --disable-static
-
-define STAGE_INSTALL_CMDS
-       -mkdir -pv $(BUILDROOT)/etc/logrotate.d/
-       cp -vf $(DIR_SOURCE)/suricata.logrotate $(BUILDROOT)/etc/logrotate.d/$(PKG_NAME)
-endef
-
+name       = suricata
+version    = 1.0.5
+release    = 1
+
+groups     = Networking/IDS
+url        = http://www.openinfosecfoundation.org/
+license    = GPLv2
+summary    = Open Source Next Generation Intrusion Detection and Prevention Engine.
+
+description
+       The suricata engine is not intended to just replace or emulate the
+       existing tools in the industry, but provides new ideas and
+       technologies.
+end
+
+source_dl  = http://www.openinfosecfoundation.org/download/
+
+build
+       requires
+               libcap-ng-devel
+               libnfnetlink-devel
+               libnetfilter_queue-devel
+               libnet-devel
+               libpcap-devel
+               libyaml-devel
+               pcre-devel
+               pkg-config
+               zlib-devel
+       end
+
+       configure_options += \
+               --enable-gccprotect \
+               --enable-nfqueue \
+               --disable-static
+end
+
+
+packages
+       package %{name}
+       end
+       
+       package %{name}-devel
+               template DEVEL
+       end
+end