From: Michael Tremer Date: Fri, 30 Dec 2022 16:24:35 +0000 (+0000) Subject: snort: New package X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29ed087a69aa99dbcbc6402a8695186d5fdaafef;p=ipfire-3.x.git snort: New package Signed-off-by: Michael Tremer --- diff --git a/snort/snort.nm b/snort/snort.nm new file mode 100644 index 000000000..3334d5b9b --- /dev/null +++ b/snort/snort.nm @@ -0,0 +1,60 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = snort +version = 3.1.50.0 +release = 1 +thisapp = snort3-%{version} + +groups = Networking/Tools +url = https://github.com/snort3/snort3 +license = GPLv2 +summary = A Network Intrusion Detection/Prevention System + +description + Snort 3 is the next generation Snort IPS (Intrusion Prevention System). +end + +source_dl = https://github.com/snort3/snort3/archive/refs/tags/%{version}.tar.gz#/ + +build + requires + cmake + flex-devel >= 2.6.0 + hwloc-devel + libdaq-devel >= 3.0.10 + libdnet-devel + libpcap-devel + libtirpc-devel + libunwind-devel + libuuid-devel + luajit-devel + openssl-devel + pcre-devel + xz-devel + zlib-devel + + # Hyperscan only exists on x86_64 + (hyperscan-devel if arch(x86_64)) + end + + build + %{cmake} . + + make %{PARALLELISMFLAGS} + end +end + +packages + package %{name} + + package %{name}-devel + template DEVEL + end + + package %{name}-debuginfo + template DEBUGINFO + end +end