summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Mozes <hydrapolic@gmail.com>2018-12-11 09:04:55 +0100
committerMikle Kolyada <zlogene@gentoo.org>2018-12-15 11:59:34 +0300
commit7d08f6dfd0f67a5c65c1aeed92e87ac147002d19 (patch)
tree3664b0915efd9a8fa7ed919d0842f784a9721add /app-admin
parentwww-apps/kibana-bin: drop old (diff)
downloadgentoo-7d08f6dfd0f67a5c65c1aeed92e87ac147002d19.tar.gz
gentoo-7d08f6dfd0f67a5c65c1aeed92e87ac147002d19.tar.bz2
gentoo-7d08f6dfd0f67a5c65c1aeed92e87ac147002d19.zip
app-admin/logstash-bin: bump to 6.5.2
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/logstash-bin/Manifest2
-rw-r--r--app-admin/logstash-bin/logstash-bin-6.5.2.ebuild77
2 files changed, 79 insertions, 0 deletions
diff --git a/app-admin/logstash-bin/Manifest b/app-admin/logstash-bin/Manifest
index 0282a176f84b..285ddb6e832e 100644
--- a/app-admin/logstash-bin/Manifest
+++ b/app-admin/logstash-bin/Manifest
@@ -2,6 +2,8 @@ DIST logstash-5.6.13.tar.gz 104517136 BLAKE2B c4f0ba5f8e1624ef0493e553166a3c18aa
DIST logstash-6.3.2.tar.gz 144211416 BLAKE2B 8471fd0a920b4ef06cd775ceaafde33e16e5d1898c89339f4a039262a7a6472d6cb8dd2017db8811d6a827395a5b1e7040d9759c8734de2ccd1fc7e615345813 SHA512 11507b9177aa6cd4172eb825e395571de71bae8b0e39d7f700fe27c7219b22bc2b9a493e39016eead2d54407dc5e5cc20a0c6e4453140d628cadea076453308f
DIST logstash-6.4.3.tar.gz 153936585 BLAKE2B efdcc4664587a3ab18e2e78136c92bc643e99989fa5ac1cd1daaeb48ca1f6fa57f122a5686ddcaab59d920a0ef0e59dc70f59c05a520b731347f37d8faa78c38 SHA512 39bab1b9b0c9f0006c2ad7aa152b3863179030352202ec0c4c4a887bdeb98d4c34127699655cfc7c5b9f44119b45de9629bfacc670d520dcf266b3298fdf2484
DIST logstash-6.5.1.tar.gz 160215101 BLAKE2B 4baa559f9491b74055e7c5a51ad546b4e3ceebabed832f99528578295652034fb8b24a714ab0d2ee2e3155d98fd49df7a16625d761d602bc2126e72c51e90986 SHA512 0113a256971da55f8e79335227d725c2212661335b46e5c2e6cf01c2f1acb15556a9f18bca70f91665f1935d42ed40e83b0e12a812b1e4651963c5935581195e
+DIST logstash-6.5.2.tar.gz 160290894 BLAKE2B 5ddd7df30b1ba121fd0b28a9a7a9f21af487c3beb310509ce532766b5d652de46e4df3fc0ad9cb391e3256a12811b1d841859ab9124c0646c16e72d5e337b655 SHA512 2595a47c7834425f61e5e2fc2a34b1a87895db3e262e371c2faa588553de6530f395b2bc311e696ed5cac1b5d225a7ca97d1c6efe6906452791765920da8275f
DIST logstash-oss-6.3.2.tar.gz 144128583 BLAKE2B 99de9d375a06d132844ce63fa5d0e092bb05aedb93ff5e4a278ea75ca2fe68701afa3028af4f9c3e5b3b469e46faf4d6dc62d006e9dac3a9e9528ff94aa2dd47 SHA512 7fa97f0ca070677aaddc73ff900397ce4a45f4b02467917219acb3c414cf0cbf396b481f624d2ebc3f370b2e41120b3b103f6d080a9fafdce98b119eb8d27f5d
DIST logstash-oss-6.4.3.tar.gz 153809786 BLAKE2B 774e67b7f3b89747299fda520456164186e843dedbea4b6727fa325dc8148ea1b25fcb2105e76b84330729a55390e597fac93cf2e2f258e83f2b6cc1c1091372 SHA512 c84e4fcdbf8e96e5d3005186bdf45f20939bb065f02370128b4e15273c4c0fe5609bab606fc7a6a2b71fcee90beb3f435ff42c9126efaed436bf5af1d784c56a
DIST logstash-oss-6.5.1.tar.gz 160086071 BLAKE2B e031a68ad27d7ff67cd2e15a524f9209ae9bc90e20e1ea7ec7fc78aa77ad4b8ea6cd1f90a4d29f1c4f020a6e70951ceaa19a8f672bccd8a862f5d4bdf1c0e2a3 SHA512 7fffca3396dffd213c7d97ff1d7a83e07d705bf0fcac764effce5d918c6c7318ea62c74b67f0d084c4aa89a79e987d4711b27ee0355dfc24d1334ef43d1ae75f
+DIST logstash-oss-6.5.2.tar.gz 160161702 BLAKE2B fac7d07c09f80756e3dbc4c36768a1b88a0710eb4c7fb6e5cc5e630f37cd9548917f8ddb51dad97abd8a06bd9a9cbd7710532fa264c80d0af8d0137aaf2aec8d SHA512 509ff8d4bf8a9954d70fc126d379e969c062f8e8ccaf304895a7596abf7e546936fc686fe1f94fa8f536eff86d9307276c5c8b46a4b5a10a8da38a61265479a2
diff --git a/app-admin/logstash-bin/logstash-bin-6.5.2.ebuild b/app-admin/logstash-bin/logstash-bin-6.5.2.ebuild
new file mode 100644
index 000000000000..7cc0ca6f38b2
--- /dev/null
+++ b/app-admin/logstash-bin/logstash-bin-6.5.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit java-pkg-2 user
+
+MY_PN="${PN%-bin}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Tool for managing events and logs"
+HOMEPAGE="https://www.elastic.co/products/logstash"
+SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}.tar.gz )
+ !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}.tar.gz )"
+
+# source: LICENSE.txt and NOTICE.txt
+LICENSE="Apache-2.0 MIT x-pack? ( Elastic )"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="x-pack"
+
+RESTRICT="strip"
+QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so"
+
+RDEPEND="virtual/jre:1.8"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ enewgroup ${MY_PN}
+ enewuser ${MY_PN} -1 -1 /var/lib/${MY_PN} ${MY_PN}
+}
+
+src_install() {
+ keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins}
+ keepdir "/var/lib/${MY_PN}"
+ keepdir "/var/log/${MY_PN}"
+
+ insinto "/usr/share/${MY_PN}"
+ newins "${FILESDIR}/agent.conf.sample" agent.conf
+
+ rm -v config/{pipelines.yml,startup.options} || die
+ insinto /etc/${MY_PN}
+ doins -r config/.
+ doins "${FILESDIR}/pipelines.yml"
+ rm -rv config data || die
+
+ insinto "/opt/${MY_PN}"
+ doins -r .
+ fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin"
+
+ newconfd "${FILESDIR}/${MY_PN}.confd-r2" "${MY_PN}"
+ newinitd "${FILESDIR}/${MY_PN}.initd-r2" "${MY_PN}"
+
+ insinto /usr/share/eselect/modules
+ doins "${FILESDIR}"/logstash-plugin.eselect
+}
+
+pkg_postinst() {
+ ewarn "Self installed plugins are removed during Logstash upgrades (Bug #622602)"
+ ewarn "Install the plugins via eselect module that will automatically re-install"
+ ewarn "all self installed plugins after Logstash upgrades."
+ elog
+ elog "Installing plugins:"
+ elog "eselect logstash-plugin install logstash-output-gelf"
+ elog
+
+ elog "Reinstalling self installed plugins (installed via eselect module):"
+ eselect logstash-plugin reinstall
+
+ elog
+ elog "Sample configuration:"
+ elog "${EROOT%/}/usr/share/${MY_PN}"
+ elog
+ elog "The default pipeline configuration expects the configuration(s) to be found in:"
+ elog "${EROOT%/}/etc/logstash/conf.d/*.conf"
+}