diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2019-03-30 14:53:59 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2019-03-30 14:53:59 +0300 |
commit | 989e5b3c55d184c0147c85dbd06baaf14bf2f1ee (patch) | |
tree | b320c5ed92382e39b48d8fe40386312d24fe82dc /app-admin/fluentd | |
parent | net-misc/icaclient: Removed old. (diff) | |
download | gentoo-989e5b3c55d184c0147c85dbd06baaf14bf2f1ee.tar.gz gentoo-989e5b3c55d184c0147c85dbd06baaf14bf2f1ee.tar.bz2 gentoo-989e5b3c55d184c0147c85dbd06baaf14bf2f1ee.zip |
app-admin/fluentd: Version bump (v1.4.1)
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'app-admin/fluentd')
-rw-r--r-- | app-admin/fluentd/Manifest | 1 | ||||
-rw-r--r-- | app-admin/fluentd/fluentd-1.4.1.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/app-admin/fluentd/Manifest b/app-admin/fluentd/Manifest index 788dd3be51d7..e723c1e900d0 100644 --- a/app-admin/fluentd/Manifest +++ b/app-admin/fluentd/Manifest @@ -3,3 +3,4 @@ DIST fluentd-1.3.1.gem 437760 BLAKE2B 59afdadc2d67e30d35df2f33c169e9f2cbfd44ac6b DIST fluentd-1.3.2.gem 438272 BLAKE2B c7a239928e251b84217cba4181e81f58dda42065c07c254ec5ed1012f8ebd98323cfbd671d5e9f940025d049c67b6dedd4f0feb9a079291e83f465e107e105d3 SHA512 8357ae88ed028778f6c7ae3dca051b32840bcf8cd344292e1fd3d203dae85e32d8263dea72d657010d803bb36d78d27a8441a8a7edf49439609041acac39f967 DIST fluentd-1.3.3.gem 438784 BLAKE2B 186aa4af59707c6a68a6f82b94b233e3f52eb11745ff4ce7f942a4fb1f8516cc966e14f541a23dfdfda72ddea058e19d1b8184d0c40bf92ce4cd48e5735946a9 SHA512 b3348939d72b07d424a8d98f0d817e72d55918be9ac4ef5f456a3c44ac1ca28944b63c943bf2bb230b58793a33c1ca12304cebed15827a3f6e32f2ae3b68f0dd DIST fluentd-1.4.0.gem 440832 BLAKE2B 8f25cc6ca4ceb164156fe3ff3a14a18109f0943587cc5cad49185ee442e3cf381fa6859e36c8df94241f8a9922102fd479e39b08c394c46d6edc7bcf58abecee SHA512 e817cc128a29e5c30c40e08985f84d3a8e713cdcfd0e05af7d08d3b7dd5cb6810b85c455a3c425bd84775cdc060e74530dd264bf5fe354b5038c3a2d779d42c6 +DIST fluentd-1.4.1.gem 442368 BLAKE2B fff0b5677a41637caa6ba3725797df7b1573c13ed9742cd125e89a5a8c1ac380c23d84c3f89e0c11ac109dc757c0bed93b8d79ce4c722a90d04c9a0bbd5d8887 SHA512 64bda77b818f2e35cf941b02119b08c9a52c03c8b94f7c2c5ab9c92e31010e296babe996cf400c41a3b34f92a16d577e81cbd6f204270b0a1d1370c6cfe83bfe diff --git a/app-admin/fluentd/fluentd-1.4.1.ebuild b/app-admin/fluentd/fluentd-1.4.1.ebuild new file mode 100644 index 000000000000..9bb8568d1ebc --- /dev/null +++ b/app-admin/fluentd/fluentd-1.4.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem user + +DESCRIPTION="data collector and unified logging layer (project under CNCF)" +HOMEPAGE="https://www.fluentd.org" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +ruby_add_rdepend " + >=dev-ruby/msgpack-0.7.0 + >=dev-ruby/yajl-ruby-1.0 + >=dev-ruby/coolio-1.4.5 + >=dev-ruby/serverengine-2.0.4 + >=dev-ruby/http_parser_rb-0.5.1 + >=dev-ruby/sigdump-0.2.2 + >=dev-ruby/tzinfo-1.0 + >=dev-ruby/strptime-0.2.2" + +pkg_setup() { + enewgroup ${PN} + enewuser ${PN} -1 -1 -1 ${PN} +} + +all_ruby_prepare() { + sed -i \ + -e '/tzinfo-data/d' \ + -e '/dig_rb/d' \ + "${PN}".gemspec || die "'sed failed" +} + +all_ruby_install() { + all_fakegem_install + keepdir /var/log/fluentd + fowners fluentd:adm /var/log/fluentd + insinto /etc/fluent + doins fluent.conf + newconfd "${FILESDIR}"/${PN}.confd ${PN} + newinitd "${FILESDIR}"/${PN}.initd ${PN} + insinto /etc/logrotate.d + newins "${FILESDIR}"/${PN}.logrotate ${PN} +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "A default configuration file has been installed in" + elog "${EROOT}etc/fluent/fluent.conf. You will need to edit" + elog "this file to match your configuration." + fi +} |