summaryrefslogtreecommitdiff
path: root/app-admin/logstash-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-16 11:00:10 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-16 11:00:10 +0100
commit3c490942d0d98701d1c0971e60911fa6bd3ecb76 (patch)
treec7e992463fec552ae6483d7b81848aa185d3559f /app-admin/logstash-bin
parentc748acf4192a1e08c9feb2d5f0004937a4869639 (diff)
gentoo auto-resync : 16:09:2023 - 11:00:10
Diffstat (limited to 'app-admin/logstash-bin')
-rw-r--r--app-admin/logstash-bin/Manifest3
-rw-r--r--app-admin/logstash-bin/logstash-bin-7.17.12.ebuild88
2 files changed, 91 insertions, 0 deletions
diff --git a/app-admin/logstash-bin/Manifest b/app-admin/logstash-bin/Manifest
index 81338e1bdd00..c46267915dfd 100644
--- a/app-admin/logstash-bin/Manifest
+++ b/app-admin/logstash-bin/Manifest
@@ -4,9 +4,12 @@ AUX logstash.confd-r2 767 BLAKE2B fa251570a13b2bc2d0779e0f00549f40bc957f211be0f4
AUX logstash.initd-r2 1997 BLAKE2B 4a2e36bcd171950ddea636f9269708416536b4f54c620b36eca91839b894f0b4242775ec85aadbe93714b8aa7cd535774cd0558f4bc90096638d0640e4f3961f SHA512 23203f99610d1666247ee8584b1d1452216f65c6c06345007768eac494c9de755a79bd74b3fd241e62f2239d52394626a61e06100486f89b7f3a2b8282389d56
AUX pipelines.yml 285 BLAKE2B d256148500854501d8e17c04a0abdcbf1be7aeea6d0e1eaa882023923967ebc012ef95185e06e33fbec60eaa949df650ebe4f9b18abaa7f4edab25d4e5b429f4 SHA512 9a9cff9472c7cd3164bdc73e37521489979106021b3d97fb2b005b74b150d2f2ee8df983219e01f8b5b00907008f4e9816fc303ace3b440a4b91dd178b6a098d
DIST logstash-7.17.10-linux-x86_64.tar.gz 364617045 BLAKE2B da08d74aa970525d232221f78695817d479a2b3ad1422f46f3a4e54473991aa6ff63d5e7cbd4aaf885c3d187abfd096ddfac8d2fd8a4c692d29eb1c1cb516d1a SHA512 5391bfef09c403a365518a3a8e8f075bb7974b137095b3c7fd2a0173cfa6dbd4a7451170a3657afef3e6a468e90a38d6e7a5b669799878f9389fa44ff8fee026
+DIST logstash-7.17.12-linux-x86_64.tar.gz 363841975 BLAKE2B eff842a58d4d970bf8eae286c581d9ee0e331db9789e7c3f41ddba9cc639772f3e894924612cdb66eb7042248fc1dfeb3ddd5738cb85c1da9478a578bf291c83 SHA512 4395a9a2c577456bab9269f0e7b451c329cfb6f6f3e69c85315f670665ba16b4ef174f7d788c262511077c29e92c26dc06a86550b233764794ffc6ca1a058118
DIST logstash-7.17.9-linux-x86_64.tar.gz 364476389 BLAKE2B b02e52e0a9e9a8b7d6b7487333417a95363316dab8530c180b8a42e63f35a20628d9830cd596a6a960d6cb67603dd1f1bfc293ba2705a4683824aafafd8acbc6 SHA512 a43d592e70f023a594f31a3fba365a9cca6611599bd61f998cb1fc38ddd177d459bce23eaf54f811fe0a87a47cdd4bf4b4d4c8008dab1ac03173371f63b91b6c
DIST logstash-oss-7.17.10-linux-x86_64.tar.gz 364424431 BLAKE2B 24553974cd0762424dce27ae1cefc44173e7786d32ce2973f07ec3acf8fd5632e36e36f3f0170f2b1ff8df0f716b9de835df55af800ef639afdba29f47b988bb SHA512 ba22c4c414f47515387bb28cc47612bea58aff97c407f2571863e83174a2bef273627f65dd531ed833e40668c79144a501d49c3ec691c1b1c4d8fb0cb124b052
+DIST logstash-oss-7.17.12-linux-x86_64.tar.gz 363645002 BLAKE2B 2ee159118a07685499bff7cad10aeba39991d65797ce45e75ed733e3aafa45913b0504ec97d28d2353643150606fae36e5e9c380eefd06eb0357e90beb716e33 SHA512 da20df2765a15eef81976dc3778a7561660fad04156b4ebc197581f94234934b3f4b20aec2e39eab3af9c8694b1a3e36a429170852c238451e0dbb24ea9dfd2a
DIST logstash-oss-7.17.9-linux-x86_64.tar.gz 364275206 BLAKE2B 06befbe70974ebe740caad79527b92d78d034de37461bf1883862463fe6b063d7a3759729a6191277c2c5724faaccec315c77c77ac384858f34a9594d400abfa SHA512 7c3f9867853582e5d06b9f895b4740abf56a9b6ce34dfbfb624cf9a4b956f489145cd13f3194a7fb16efc52410f55e797c269dc2957a35bdebf9e1aaa3547eaa
EBUILD logstash-bin-7.17.10.ebuild 2532 BLAKE2B 37fd25d286bcf9f3f95521ea72dd07c5407946c91643fb2e748d2a79e74f31dd28a18f4263fc44da91937fb3d47da857cd55a7f709a3950ebc3bed35003e6d90 SHA512 b4230597a20002df6e1a49135921ef73de1c24325b51806f4f2f6795b697962607a8635c8d05f6e95960fd0152d596a056f01ff31dc65f54b5a0d1ef9a57de2f
+EBUILD logstash-bin-7.17.12.ebuild 2532 BLAKE2B 37fd25d286bcf9f3f95521ea72dd07c5407946c91643fb2e748d2a79e74f31dd28a18f4263fc44da91937fb3d47da857cd55a7f709a3950ebc3bed35003e6d90 SHA512 b4230597a20002df6e1a49135921ef73de1c24325b51806f4f2f6795b697962607a8635c8d05f6e95960fd0152d596a056f01ff31dc65f54b5a0d1ef9a57de2f
EBUILD logstash-bin-7.17.9.ebuild 2532 BLAKE2B 37fd25d286bcf9f3f95521ea72dd07c5407946c91643fb2e748d2a79e74f31dd28a18f4263fc44da91937fb3d47da857cd55a7f709a3950ebc3bed35003e6d90 SHA512 b4230597a20002df6e1a49135921ef73de1c24325b51806f4f2f6795b697962607a8635c8d05f6e95960fd0152d596a056f01ff31dc65f54b5a0d1ef9a57de2f
MISC metadata.xml 571 BLAKE2B 8fb52685ec095fe2a192d477c7e5737be2ab526fe5ee9c77f62c8aa1799dea7c471eb3ea073352b2d09e3f1ba82b0dea05dd03648eb810e32504a2707342832e SHA512 36de48dec06abe08515d48f2e2fb86e5125ab6e9331f989dea8fff9d2511b337afffc75a842bf85b051fbe968b220676a4610c0a4d1a6b2c3b83759f9c2ca199
diff --git a/app-admin/logstash-bin/logstash-bin-7.17.12.ebuild b/app-admin/logstash-bin/logstash-bin-7.17.12.ebuild
new file mode 100644
index 000000000000..684ea639d771
--- /dev/null
+++ b/app-admin/logstash-bin/logstash-bin-7.17.12.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit java-pkg-2
+
+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}-linux-x86_64.tar.gz )
+ !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}-linux-x86_64.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="acct-group/logstash
+ acct-user/logstash
+ virtual/jre"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ default
+
+ local d
+ for d in aarch64-FreeBSD aarch64-Linux arm-Linux Darwin i386-Linux i386-SunOS \
+ i386-Windows mips64el-Linux ppc64-AIX ppc64le-Linux ppc64-Linux \
+ ppc-AIX s390x-Linux sparcv9-Linux sparcv9-SunOS x86_64-DragonFlyBSD \
+ x86_64-FreeBSD x86_64-OpenBSD x86_64-SunOS x86_64-Windows; do
+ rm -r vendor/jruby/lib/jni/$d || die
+ done
+
+ # remove bundled java
+ rm -r jdk || die
+}
+
+src_install() {
+ keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins}
+ 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"
+}