diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
commit | b7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (patch) | |
tree | 9fd110f9fc996e8a4213eeda994a8c112491b86d /app-admin/logstash-bin/logstash-bin-6.4.3.ebuild | |
parent | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (diff) |
gentoo resync : 19.03.2019
Diffstat (limited to 'app-admin/logstash-bin/logstash-bin-6.4.3.ebuild')
-rw-r--r-- | app-admin/logstash-bin/logstash-bin-6.4.3.ebuild | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/app-admin/logstash-bin/logstash-bin-6.4.3.ebuild b/app-admin/logstash-bin/logstash-bin-6.4.3.ebuild deleted file mode 100644 index 7cc0ca6f38b2..000000000000 --- a/app-admin/logstash-bin/logstash-bin-6.4.3.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# 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" -} |