summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Andrejak <thomas.andrejak@gmail.com>2019-11-07 02:39:20 +0100
committerGöktürk Yüksek <gokturk@gentoo.org>2019-12-24 16:54:37 -0500
commitac8111e4b45dd4d4b2aca7c1fc05bb2daa4fa8be (patch)
treeb88e7d26fbfd0524900841833041fdee484fa4f9 /net-analyzer
parentnet-analyzer/prelude-correlator: Bump version 5.1 (diff)
downloadgentoo-ac8111e4b45dd4d4b2aca7c1fc05bb2daa4fa8be.tar.gz
gentoo-ac8111e4b45dd4d4b2aca7c1fc05bb2daa4fa8be.tar.bz2
gentoo-ac8111e4b45dd4d4b2aca7c1fc05bb2daa4fa8be.zip
net-analyzer/prelude-lml: Bump version 5.1
Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/prelude-lml/Manifest1
-rw-r--r--net-analyzer/prelude-lml/prelude-lml-5.1.0.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/net-analyzer/prelude-lml/Manifest b/net-analyzer/prelude-lml/Manifest
index 32957a3f02eb..ec29cc917cd6 100644
--- a/net-analyzer/prelude-lml/Manifest
+++ b/net-analyzer/prelude-lml/Manifest
@@ -2,3 +2,4 @@ DIST prelude-lml-3.0.0.tar.gz 1391203 BLAKE2B b3e4bfab596f869919c70dd7d2c3860bba
DIST prelude-lml-3.1.0.tar.gz 1408600 BLAKE2B 7475754de5df1200e89fe37fbdc27ec7d0862f7d844ad56adf6875fea88c19e3a7f4da725a729bde16171e207ce47f40200eaf10ddeededf0b14ac60fd92cf4a SHA512 16fe23c410f6ee585513589c1f9435e0a7dded010ccfd8bb0a8744603e7e020378afee474f6146472afa39263052defddc8c9115235dbd3015727c18f625773b
DIST prelude-lml-4.0.0.tar.gz 1435446 BLAKE2B 03231bfe4763bfbbc3256075f832a99f83c8e26221412f6b07ab7464d4d46b6abdad6dccdd3379927dbf05cfe808b31df57398f48bd794a311ced19f6e7fac67 SHA512 e2ae3a754f722b19110a32ae9ab7d0d9ce5ceb256c04a2b56f6549802d605cfa741cef4687c8883b585a0dd59f3507ee2d1275f4eb05050d10d24ad068522ef8
DIST prelude-lml-4.1.0.tar.gz 1457294 BLAKE2B ec57e0e1d9048918c838965444888e80ee320882057dd3972c5da68402ca2443363dc26efc86e89916b1bc4e25d32c36aeac350ddf4aafb4598e8b3704e4f6e7 SHA512 e34d542e3b9e12873f9e2a19e2573b32e2b686574cbc8678cefbb198d7397695f8a2512effb58be9e6703663158c2294d741e0f6f8db23c5541e58bdd3c7f035
+DIST prelude-lml-5.1.0.tar.gz 1585080 BLAKE2B 572a3bf2b013dc3f427f7e3a4cc650219945a0e481e10f9f8f8e6afac75c86db5319fd16f1bf9157ede55ae511ce5151a0fe63694d0b8cc2becbd6430521fba3 SHA512 248434352c340d9979051897190fc7fbe835c7b1f2411ec98a04cbf0bebb6f115e80ca854d35ab2b2f50722c052eea10e088e4557ca4218f0dfed21ae21109ae
diff --git a/net-analyzer/prelude-lml/prelude-lml-5.1.0.ebuild b/net-analyzer/prelude-lml/prelude-lml-5.1.0.ebuild
new file mode 100644
index 000000000000..2d2d40b4db58
--- /dev/null
+++ b/net-analyzer/prelude-lml/prelude-lml-5.1.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools systemd
+
+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.1.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}
+
+ find "${D}" -name '*.la' -delete || die
+
+ systemd_dounit "${FILESDIR}/${PN}.service"
+ systemd_newtmpfilesd "${FILESDIR}/${PN}.run" "${PN}.conf"
+
+ newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+}