diff options
author | Thomas Andrejak <thomas.andrejak@gmail.com> | 2020-09-29 01:17:56 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-10-12 15:39:47 +0300 |
commit | d3b67e33ed97248e45b653fbc122a466bec00c5a (patch) | |
tree | 71c6a5e5b4e00ea25b100e195d155c160fb0a3c1 | |
parent | app-admin/prelude-manager: Bump version 5.2.0 (diff) | |
download | gentoo-d3b67e33ed97248e45b653fbc122a466bec00c5a.tar.gz gentoo-d3b67e33ed97248e45b653fbc122a466bec00c5a.tar.bz2 gentoo-d3b67e33ed97248e45b653fbc122a466bec00c5a.zip |
net-analyzer/prelude-lml: Bump version 5.2.0
Signed-off-by: Thomas Andrejak <thomas.andrejak@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r-- | net-analyzer/prelude-lml/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/prelude-lml/prelude-lml-5.2.0.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/net-analyzer/prelude-lml/Manifest b/net-analyzer/prelude-lml/Manifest index 1bd2d6c0705f..1e7da423c2b5 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-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 +DIST prelude-lml-5.2.0.tar.gz 1584414 BLAKE2B c97a730e366cdf0663ad6393acc0125d01995bd1339f4538a1dd62c2aa85e46dd78e3e279067a2bac328db675b5de59cebb8474bdafbe00d745320d360124535 SHA512 45de2dea196941086a690b3081b98253a3d9685552a25f39cf3b92d3b223c5a9d98057f855da1f23fff7aa425fd832e6021050d2d7fe58322c4f3f48c34394b5 diff --git a/net-analyzer/prelude-lml/prelude-lml-5.2.0.ebuild b/net-analyzer/prelude-lml/prelude-lml-5.2.0.ebuild new file mode 100644 index 000000000000..554623ae6606 --- /dev/null +++ b/net-analyzer/prelude-lml/prelude-lml-5.2.0.ebuild @@ -0,0 +1,64 @@ +# 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" +} |