diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2022-12-20 14:49:30 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2022-12-20 15:25:21 +0100 |
commit | d8e67fb7eeddbd4eddec7d06669aa7a94620b120 (patch) | |
tree | 3f70e7a434f5912b5be257b584124dbfa139841e /net-analyzer | |
parent | sec-policy/selinux-prelude: treeclean (diff) | |
download | gentoo-d8e67fb7eeddbd4eddec7d06669aa7a94620b120.tar.gz gentoo-d8e67fb7eeddbd4eddec7d06669aa7a94620b120.tar.bz2 gentoo-d8e67fb7eeddbd4eddec7d06669aa7a94620b120.zip |
net-analyzer/prelude-lml: treeclean
Closes: https://bugs.gentoo.org/861233
Closes: https://bugs.gentoo.org/778989
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/prelude-lml/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/prelude-lml/files/prelude-lml-3.0.0-conf.patch | 22 | ||||
-rw-r--r-- | net-analyzer/prelude-lml/files/prelude-lml-3.1.0-run.patch | 14 | ||||
-rw-r--r-- | net-analyzer/prelude-lml/files/prelude-lml.initd | 26 | ||||
-rw-r--r-- | net-analyzer/prelude-lml/files/prelude-lml.run | 4 | ||||
-rw-r--r-- | net-analyzer/prelude-lml/files/prelude-lml.service | 13 | ||||
-rw-r--r-- | net-analyzer/prelude-lml/metadata.xml | 12 | ||||
-rw-r--r-- | net-analyzer/prelude-lml/prelude-lml-5.2.0.ebuild | 64 |
8 files changed, 0 insertions, 156 deletions
diff --git a/net-analyzer/prelude-lml/Manifest b/net-analyzer/prelude-lml/Manifest deleted file mode 100644 index 621a92c59ab4..000000000000 --- a/net-analyzer/prelude-lml/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST prelude-lml-5.2.0.tar.gz 1584414 BLAKE2B c97a730e366cdf0663ad6393acc0125d01995bd1339f4538a1dd62c2aa85e46dd78e3e279067a2bac328db675b5de59cebb8474bdafbe00d745320d360124535 SHA512 45de2dea196941086a690b3081b98253a3d9685552a25f39cf3b92d3b223c5a9d98057f855da1f23fff7aa425fd832e6021050d2d7fe58322c4f3f48c34394b5 diff --git a/net-analyzer/prelude-lml/files/prelude-lml-3.0.0-conf.patch b/net-analyzer/prelude-lml/files/prelude-lml-3.0.0-conf.patch deleted file mode 100644 index dab4ea8a6bb1..000000000000 --- a/net-analyzer/prelude-lml/files/prelude-lml-3.0.0-conf.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/prelude-lml.conf -+++ b/prelude-lml.conf -@@ -92,7 +92,7 @@ - time-format = "%b %d %H:%M:%S" - prefix-regex = "^(?P<timestamp>.{15}) (?P<hostname>\S+) (?:(?P<process>\S+?)(?:\[(?P<pid>[0-9]+)\])?: )?" - file = /var/log/messages --file = /var/log/secure -+file = /var/log/auth.log - # udp-server = 0.0.0.0 - # tcp-server = 0.0.0.0 - # tcp-tls-server = 0.0.0.0 ---- a/prelude-lml.conf.in -+++ b/prelude-lml.conf.in -@@ -92,7 +92,7 @@ - time-format = "%b %d %H:%M:%S" - prefix-regex = "^(?P<timestamp>.{15}) (?P<hostname>\S+) (?:(?P<process>\S+?)(?:\[(?P<pid>[0-9]+)\])?: )?" - file = /var/log/messages --file = /var/log/secure -+file = /var/log/auth.log - # udp-server = 0.0.0.0 - # tcp-server = 0.0.0.0 - # tcp-tls-server = 0.0.0.0 diff --git a/net-analyzer/prelude-lml/files/prelude-lml-3.1.0-run.patch b/net-analyzer/prelude-lml/files/prelude-lml-3.1.0-run.patch deleted file mode 100644 index a9eba7760d36..000000000000 --- a/net-analyzer/prelude-lml/files/prelude-lml-3.1.0-run.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -209,9 +209,9 @@ - configdir=$SYSCONFDIR/prelude-lml - prelude_lml_conf=$configdir/prelude-lml.conf - regex_conf=$configdir/plugins.rules --metadata_dir=$LOCALSTATEDIR/lib/prelude-lml -+metadata_dir=$LOCALSTATEDIR/prelude-lml - plugindir=$LIBDIR/prelude-lml --lml_run_dir=$LOCALSTATEDIR/run/prelude-lml -+lml_run_dir=/run/prelude-lml - - AC_DEFINE_UNQUOTED(PRELUDE_LML_CONF, "$prelude_lml_conf", Path to the LML configuration file) - AC_DEFINE_UNQUOTED(LOG_PLUGIN_DIR, "$plugindir", Prelude-LML report plugin directory) diff --git a/net-analyzer/prelude-lml/files/prelude-lml.initd b/net-analyzer/prelude-lml/files/prelude-lml.initd deleted file mode 100644 index 0e1dd2e0f4fc..000000000000 --- a/net-analyzer/prelude-lml/files/prelude-lml.initd +++ /dev/null @@ -1,26 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -BIN_LML=/usr/bin/prelude-lml -PID_LML=/run/prelude-lml/prelude-lml.pid - -depend() { - need net - after prelude-manager -} - -start() { - ebegin "Starting prelude-lml" - checkpath -d -m 0755 -o root:root /run/prelude-lml - start-stop-daemon --start --exec $BIN_LML \ - --pidfile $PID_LML -- -d -P $PID_LML - eend $? -} - -stop() { - ebegin "Stopping prelude-lml" - start-stop-daemon --stop --exec $BIN_LML \ - --pidfile $PID_LML - eend $? -} diff --git a/net-analyzer/prelude-lml/files/prelude-lml.run b/net-analyzer/prelude-lml/files/prelude-lml.run deleted file mode 100644 index 75f2ef89adda..000000000000 --- a/net-analyzer/prelude-lml/files/prelude-lml.run +++ /dev/null @@ -1,4 +0,0 @@ -# Configuration to create /run/prelude-lml directory -# Used as part of systemd's tmpfiles - -d /run/prelude-lml 0755 root root diff --git a/net-analyzer/prelude-lml/files/prelude-lml.service b/net-analyzer/prelude-lml/files/prelude-lml.service deleted file mode 100644 index 9d9230c6ff4c..000000000000 --- a/net-analyzer/prelude-lml/files/prelude-lml.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=Prelude-LML service -DefaultDependencies=no -After=remote_fs.target prelude-manager.service - -[Service] -ExecStart=/usr/bin/prelude-lml -d -P /run/prelude-lml/prelude-lml.pid -Type=forking -PIDFile=/run/prelude-lml/prelude-lml.pid -Restart=always - -[Install] -WantedBy=multi-user.target diff --git a/net-analyzer/prelude-lml/metadata.xml b/net-analyzer/prelude-lml/metadata.xml deleted file mode 100644 index 60708d8389e8..000000000000 --- a/net-analyzer/prelude-lml/metadata.xml +++ /dev/null @@ -1,12 +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-LML is a log analyser that allows Prelude to collect and - analyze information from all kind of applications emitting logs or - syslog messages in order to detect suspicious activities and transform - them into Prelude-IDMEF alerts. Prelude-LML handles events generated - by a large set of applications - </longdescription> -</pkgmetadata> diff --git a/net-analyzer/prelude-lml/prelude-lml-5.2.0.ebuild b/net-analyzer/prelude-lml/prelude-lml-5.2.0.ebuild deleted file mode 100644 index 554623ae6606..000000000000 --- a/net-analyzer/prelude-lml/prelude-lml-5.2.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools systemd tmpfiles - -DESCRIPTION="The prelude log analyzer" -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" -IUSE="icu ssl" - -RDEPEND="dev-libs/libpcre - >=dev-libs/libprelude-5.2.0 - <dev-libs/libprelude-6 - icu? ( dev-libs/icu:= ) - ssl? ( net-libs/gnutls:= )" - -DEPEND="${RDEPEND}" - -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${PN}-3.1.0-run.patch" - "${FILESDIR}/${PN}-3.0.0-conf.patch" -) - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - local myconf=( - --localstatedir="${EPREFIX}/var" - $(use_with ssl libgnutls-prefix) - ) - - econf "${myconf[@]}" -} - -src_install() { - default - - rm -rv "${ED}/run" || die "rm failed" - keepdir /var/${PN} - keepdir /var/spool/prelude/prelude-lml - - find "${D}" -name '*.la' -delete || die - - systemd_dounit "${FILESDIR}/${PN}.service" - newtmpfiles "${FILESDIR}/${PN}.run" "${PN}.conf" - - newinitd "${FILESDIR}/${PN}.initd" "${PN}" -} - -pkg_postinst() { - tmpfiles_process "${PN}.conf" -} |