summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-11 08:00:24 +0000
committerSam James <sam@gentoo.org>2021-03-11 08:04:14 +0000
commite88dcb4af4552e7774540447764eb4d79cfe8867 (patch)
tree909cf95b18963f513c44486d1661feaaff26dac3 /app-admin/sagan-rules
parentapp-admin/sagan: add 2.0.1 (diff)
downloadgentoo-e88dcb4af4552e7774540447764eb4d79cfe8867.tar.gz
gentoo-e88dcb4af4552e7774540447764eb4d79cfe8867.tar.bz2
gentoo-e88dcb4af4552e7774540447764eb4d79cfe8867.zip
app-admin/sagan-rules: add 20210208
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin/sagan-rules')
-rw-r--r--app-admin/sagan-rules/Manifest1
-rw-r--r--app-admin/sagan-rules/sagan-rules-20210208.ebuild26
2 files changed, 27 insertions, 0 deletions
diff --git a/app-admin/sagan-rules/Manifest b/app-admin/sagan-rules/Manifest
index c2f5a50702ec..3bbf44723d32 100644
--- a/app-admin/sagan-rules/Manifest
+++ b/app-admin/sagan-rules/Manifest
@@ -1,2 +1,3 @@
DIST sagan-rules-06172014.tar.gz 273531 BLAKE2B f78a2203013c3ca4d0f33421b750a6f03f7929193f122df5504b6919ecbc24302bf10a2c65390ebaf6d7f6c4e12a1ef8e2c4d457bd2dd14cd79a7f0313a2c6a5 SHA512 824e3b159fae10876f59e50b1c751e509b04e6ee347e74afb19c1a5f935fe41b8d8874d6379bea477fea5a9c5754b1917f9b78da3009203fe23a0c600e03da23
DIST sagan-rules-20130430.tar.gz 240975 BLAKE2B 26032d61e3933bfebe6eee14e78b6d9cd54dcc1b5acdca833859f3648aa0ea9fe9e590b19ed6febcd93491e8576842c011b3a2e11f1dd75f8f57d642252216ee SHA512 bc31f043a0e14542665d9e1469d85427fea395bb86b833200dfa3c8f4cbd2591f6268f26a478c768ad8784aeb1a102e01e3bbfc63636a0384b2092193bbb9bdb
+DIST sagan-rules-20210208.tar.gz 461258 BLAKE2B bdb9cffa0c3e0a2750c86c32f75cb571cafa7ae51099ca79210a76134e599222b11520d45ea58ecbaebe7b32700d2935f089f69405fa7f3493d7bbb2f5d1abf6 SHA512 d6609c31e262c78b5ef609a602e406b79df80b27b8908b665598bfe18482461e0a5ebcdc4fe26e91be41eacd4e885c1ca28eaf6f4fe2b647726c7db9a09ce277
diff --git a/app-admin/sagan-rules/sagan-rules-20210208.ebuild b/app-admin/sagan-rules/sagan-rules-20210208.ebuild
new file mode 100644
index 000000000000..6535027cd0d5
--- /dev/null
+++ b/app-admin/sagan-rules/sagan-rules-20210208.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Rules for Sagan log analyzer"
+HOMEPAGE="https://quadrantsec.com/sagan_log_analysis_engine/"
+SRC_URI="https://quadrantsec.com/rules/${P}.tar.gz"
+S="${WORKDIR}/rules"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+lognorm"
+
+PDEPEND="app-admin/sagan"
+
+src_install() {
+ insinto /etc/sagan-rules
+ doins *.config
+ doins *rules
+ doins *map
+ if use lognorm ; then
+ doins normalization.rulebase
+ fi
+}