summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Andrejak <thomas.andrejak@gmail.com>2017-08-31 01:15:55 +0200
committerMichał Górny <mgorny@gentoo.org>2017-09-08 10:19:23 +0200
commit2294b91e6474391d1815cb22d2cabababeb6adae (patch)
tree5b25d690dee3cdff9ea8ba2aa1ed47c9e58461af /net-analyzer/prelude-lml
parentapp-admin/prelude-manager: Bump version 4.0.0 (diff)
downloadgentoo-2294b91e6474391d1815cb22d2cabababeb6adae.tar.gz
gentoo-2294b91e6474391d1815cb22d2cabababeb6adae.tar.bz2
gentoo-2294b91e6474391d1815cb22d2cabababeb6adae.zip
net-analyzer/prelude-lml: Bump version 4.0.0
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.0.0.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/net-analyzer/prelude-lml/Manifest b/net-analyzer/prelude-lml/Manifest
index b804352e6cfb..d53ec4d65adf 100644
--- a/net-analyzer/prelude-lml/Manifest
+++ b/net-analyzer/prelude-lml/Manifest
@@ -1,2 +1,3 @@
DIST prelude-lml-3.0.0.tar.gz 1391203 SHA256 53e3ccba2e3842e583739234366b6a5241dc6a8d18da501e6c9ff5e2b9792814 SHA512 f206407f99df394186466566608b434a94d4fdce3e5e8991a4236f2ee670f6ae2573adea22bc248fdfea760588e94160faa7260257aeaeb35c938e1bb886ee6c WHIRLPOOL 2b8ff99576e502461625897251726dd7c1e3a849e27816c64e931548d0ae76f12c125f444096f1aa1894c5f0fce206a7aa436de754a0ff8a3cc25fd475913fc6
DIST prelude-lml-3.1.0.tar.gz 1408600 SHA256 32a7e2256ae3b87b84b3da05b60fed0bb5e3b32e2f6794516c435eda1d753384 SHA512 16fe23c410f6ee585513589c1f9435e0a7dded010ccfd8bb0a8744603e7e020378afee474f6146472afa39263052defddc8c9115235dbd3015727c18f625773b WHIRLPOOL c6b4e20ac64f18eb0dfc4f7740c767b54ea4a00e3a46fc8dcb985cbf9296eab0a3f4774c4d6efeea63766cb395abf24d96ff29f0f38f6dfee2d411b68d4b0619
+DIST prelude-lml-4.0.0.tar.gz 1435446 SHA256 bc12dcb8f1085694fff20801204f9350c2011f06fceeda3be03ec5a748ab4eef SHA512 e2ae3a754f722b19110a32ae9ab7d0d9ce5ceb256c04a2b56f6549802d605cfa741cef4687c8883b585a0dd59f3507ee2d1275f4eb05050d10d24ad068522ef8 WHIRLPOOL 14c93403e1607cbd8559dc05a8fc4bef41aa73af5e16bec72db9ea9e3981d15c037927e93cc1c591fd5559da1745e4763fe36c416f8d81bccff8f48104f16f2e
diff --git a/net-analyzer/prelude-lml/prelude-lml-4.0.0.ebuild b/net-analyzer/prelude-lml/prelude-lml-4.0.0.ebuild
new file mode 100644
index 000000000000..89563e4bb103
--- /dev/null
+++ b/net-analyzer/prelude-lml/prelude-lml-4.0.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 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"
+)
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --localstatedir="${EPREFIX}/var" \
+ $(use_with ssl libgnutls-prefix)
+}
+
+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}"
+}