diff options
author | Thomas Andrejak <thomas.andrejak@gmail.com> | 2016-11-27 23:37:30 +0100 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2016-12-06 12:27:10 -0500 |
commit | c7ddb86a0eea564b06e988d2d1ece59dad17ff61 (patch) | |
tree | 92e31ade5ff51f019f5dc1c313f30e61964efc53 /net-analyzer/prelude-lml | |
parent | app-admin/prelude-manager: Bump version 3.1.0 (diff) | |
download | gentoo-c7ddb86a0eea564b06e988d2d1ece59dad17ff61.tar.gz gentoo-c7ddb86a0eea564b06e988d2d1ece59dad17ff61.tar.bz2 gentoo-c7ddb86a0eea564b06e988d2d1ece59dad17ff61.zip |
net-analyzer/prelude-lml: Bump version 3.1.0
Diffstat (limited to 'net-analyzer/prelude-lml')
-rw-r--r-- | net-analyzer/prelude-lml/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/prelude-lml/files/prelude-lml-3.1.0-run.patch | 14 | ||||
-rw-r--r--[-rwxr-xr-x] | net-analyzer/prelude-lml/files/prelude-lml.initd | 0 | ||||
-rw-r--r-- | net-analyzer/prelude-lml/prelude-lml-3.1.0.ebuild | 54 |
4 files changed, 69 insertions, 0 deletions
diff --git a/net-analyzer/prelude-lml/Manifest b/net-analyzer/prelude-lml/Manifest index 021270e8ad2a..b804352e6cfb 100644 --- a/net-analyzer/prelude-lml/Manifest +++ b/net-analyzer/prelude-lml/Manifest @@ -1 +1,2 @@ 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 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 new file mode 100644 index 000000000000..a9eba7760d36 --- /dev/null +++ b/net-analyzer/prelude-lml/files/prelude-lml-3.1.0-run.patch @@ -0,0 +1,14 @@ +--- 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 index c4c352a720df..c4c352a720df 100755..100644 --- a/net-analyzer/prelude-lml/files/prelude-lml.initd +++ b/net-analyzer/prelude-lml/files/prelude-lml.initd diff --git a/net-analyzer/prelude-lml/prelude-lml-3.1.0.ebuild b/net-analyzer/prelude-lml/prelude-lml-3.1.0.ebuild new file mode 100644 index 000000000000..051962d3f3c5 --- /dev/null +++ b/net-analyzer/prelude-lml/prelude-lml-3.1.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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="ssl icu" + +RDEPEND="~dev-libs/libprelude-${PV} + dev-libs/libpcre + icu? ( dev-libs/icu ) + ssl? ( net-libs/gnutls:= )" + +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${P}-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}" +} |