net-analyzer/prelude-correlator: treeclean

Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
Jakov Smolić
2022-12-20 15:25:23 +01:00
parent 1c0759a010
commit 4e0318bbc8
8 changed files with 0 additions and 109 deletions
-1
View File
@@ -1 +0,0 @@
DIST prelude-correlator-5.2.0.tar.gz 216556 BLAKE2B 9ccdbaf01224d34a507191521aeda8a8fe91004dc0b7a6113cbfc4b0d7ebab345a160b0e498b3c3477e3cc52cda1501d11a558842bb286444a925463a66ff7b5 SHA512 96e0c7637f3d17dc7cd76603e95f29eba0a1ec86ae603dcb6900b26a12e410e62884f9e339a228e3dd4a0db0fd0e8849bbd098caeb7e3c15db917ed33ebb5b43
@@ -1,10 +0,0 @@
--- a/setup.py 2020-09-29 00:30:57.407653336 +0200
+++ b/setup.py 2020-09-29 00:41:37.813997273 +0200
@@ -67,6 +67,7 @@
class my_install(install):
def run(self):
+ self.skip_build = 0
for dirname, flist in self.distribution.data_files:
prefix = self.prefix
if self.prefix == "/usr":
@@ -1,26 +0,0 @@
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
BIN_CORRELATOR=/usr/bin/prelude-correlator
PID_CORRELATOR=/run/prelude-correlator/prelude-correlator.pid
depend() {
need net
after prelude-manager
}
start() {
ebegin "Starting prelude-correlator"
checkpath -d -m 0755 -o root:root /run/prelude-correlator
start-stop-daemon --start --exec $BIN_CORRELATOR \
--pidfile $PID_CORRELATOR -- -d -P $PID_CORRELATOR
eend $?
}
stop() {
ebegin "Stopping prelude-correlator"
start-stop-daemon --stop --exec $BIN_CORRELATOR \
--pidfile $PID_CORRELATOR
eend $?
}
@@ -1,4 +0,0 @@
# Configuration to create /run/prelude-correlator directory
# Used as part of systemd's tmpfiles
d /run/prelude-correlator 0755 root root
@@ -1,13 +0,0 @@
[Unit]
Description=Prelude-Correlator service
DefaultDependencies=no
After=remote_fs.target prelude-manager.service
[Service]
ExecStart=/usr/bin/prelude-correlator -d -P /run/prelude-correlator/prelude-correlator.pid
Type=forking
PIDFile=/run/prelude-correlator/prelude-correlator.pid
Restart=always
[Install]
WantedBy=multi-user.target
@@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<longdescription lang="en">
Prelude-Correlator allows conducting multi-stream correlations
thanks to a powerful programming language for writing correlation
rules. With any type of alert able to be correlated, event
analysis becomes simpler, quicker and more incisive. This
correlation alert then appears within the Prewikka interface
and indicates the potential target information via the set of
correlation rules.
</longdescription>
</pkgmetadata>
@@ -1,40 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1 systemd tmpfiles
DESCRIPTION="Real time correlator of events received by Prelude Manager"
HOMEPAGE="https://www.prelude-siem.org"
SRC_URI="https://www.prelude-siem.org/pkg/src/${PV}/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND=">=dev-libs/libprelude-5.2.0[python,${PYTHON_USEDEP}]
<dev-libs/libprelude-6[python,${PYTHON_USEDEP}]
dev-python/netaddr[${PYTHON_USEDEP}]"
PATCHES=(
"${FILESDIR}/${PN}-5.2.0-fix_siteconfig.patch"
)
src_install() {
distutils-r1_src_install
keepdir /var/${PN}
keepdir /var/spool/prelude/prelude-correlator
systemd_dounit "${FILESDIR}/${PN}.service"
newtmpfiles "${FILESDIR}/${PN}.run" "${PN}.conf"
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
}
pkg_postinst() {
tmpfiles_process ${PN}.conf
}
-1
View File
@@ -672,7 +672,6 @@ net-misc/selfdhcp
app-admin/prelude-manager
dev-libs/libprelude
dev-libs/libpreludedb
net-analyzer/prelude-correlator
# Jonas Stein <jstein@gentoo.org> (2022-11-13)
# Dead upstream