blob: 6535027cd0d5584237750437a9fc69979cf5fbca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
}
|