summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Andrejak <thomas.andrejak@gmail.com>2018-05-19 18:34:25 +0200
committerTony Vroon <chainsaw@gentoo.org>2018-07-18 08:31:50 +0100
commit6b197c4037fb77c3373c8bd955234a87a5b2765c (patch)
treec26cdc9ed9deb427c9df2afc73501f301d01a2b7 /net-analyzer/prelude-lml
parentnet-analyzer/prelude-correlator: Bump version 4.1 (diff)
downloadgentoo-6b197c4037fb77c3373c8bd955234a87a5b2765c.tar.gz
gentoo-6b197c4037fb77c3373c8bd955234a87a5b2765c.tar.bz2
gentoo-6b197c4037fb77c3373c8bd955234a87a5b2765c.zip
net-analyzer/prelude-lml: Bump version 4.1
Diffstat (limited to 'net-analyzer/prelude-lml')
-rw-r--r--net-analyzer/prelude-lml/Manifest1
-rw-r--r--net-analyzer/prelude-lml/prelude-lml-4.1.0.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/net-analyzer/prelude-lml/Manifest b/net-analyzer/prelude-lml/Manifest
index cc0f04d9a4f6..32957a3f02eb 100644
--- a/net-analyzer/prelude-lml/Manifest
+++ b/net-analyzer/prelude-lml/Manifest
@@ -1,3 +1,4 @@
DIST prelude-lml-3.0.0.tar.gz 1391203 BLAKE2B b3e4bfab596f869919c70dd7d2c3860bba33754970eff9b1a8c238f35cafec67601548985bd36244740062455a19fc816cbd7eb50bc6a3c4c97cf9da5b288dd3 SHA512 f206407f99df394186466566608b434a94d4fdce3e5e8991a4236f2ee670f6ae2573adea22bc248fdfea760588e94160faa7260257aeaeb35c938e1bb886ee6c
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
diff --git a/net-analyzer/prelude-lml/prelude-lml-4.1.0.ebuild b/net-analyzer/prelude-lml/prelude-lml-4.1.0.ebuild
new file mode 100644
index 000000000000..754a0268b461
--- /dev/null
+++ b/net-analyzer/prelude-lml/prelude-lml-4.1.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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/libprelude-${PV}
+ dev-libs/libpcre
+ icu? ( dev-libs/icu:= )
+ ssl? ( net-libs/gnutls:= )"
+
+DEPEND="${RDEPEND}
+ 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}"
+}