[PATCH] suricata-update: New package

Stefan Schantl stefan.schantl at ipfire.org
Sun Jun 23 10:20:23 BST 2019


Signed-off-by: Stefan Schantl <stefan.schantl at ipfire.org>
---
 suricata-update/suricata-update.nm | 40 ++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 suricata-update/suricata-update.nm

diff --git a/suricata-update/suricata-update.nm b/suricata-update/suricata-update.nm
new file mode 100644
index 000000000..35bd9599d
--- /dev/null
+++ b/suricata-update/suricata-update.nm
@@ -0,0 +1,40 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info at ipfire.org>                   #
+###############################################################################
+
+name       = suricata-update
+version    = 1.0.5
+release    = 1
+thisapp    = %{name}-%{version}
+arch       = noarch
+
+groups     = Development/Tools
+url        = https://github.com/OISF/suricata-update
+license    = LGPLv2+
+summary    = A tool for updating Suricata rules.
+
+description
+	This package contains a Python written tool to update the used rules for
+	suricata.
+end
+
+source_dl  = https://github.com/OISF/%{name}/archive/%{version}.tar.gz#/
+
+build
+	build
+		%{python3} setup.py build
+	end
+
+	install
+		%{python3} setup.py install --root=%{BUILDROOT}
+	end
+end
+
+packages
+	package %{name}
+
+	package %{name}-debuginfo
+		template DEBUGINFO
+	end
+end
-- 
2.20.1



More information about the Development mailing list