public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/fluentd/
Date: Wed, 10 Jan 2024 15:50:42 +0000 (UTC)	[thread overview]
Message-ID: <1704901783.ed3b9a199f7d32bff1d280dc5f10ef403d5d34cc.sam@gentoo> (raw)

commit:     ed3b9a199f7d32bff1d280dc5f10ef403d5d34cc
Author:     Jaco Kroon <jaco <AT> uls <DOT> co <DOT> za>
AuthorDate: Mon Dec  4 14:03:52 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jan 10 15:49:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed3b9a19

app-admin/fluentd: add 1.16.3

Bug: https://bugs.gentoo.org/879181
Signed-off-by: Jaco Kroon <jaco <AT> uls.co.za>
Closes: https://github.com/gentoo/gentoo/pull/34126
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-admin/fluentd/Manifest              |  1 +
 app-admin/fluentd/fluentd-1.16.3.ebuild | 70 +++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/app-admin/fluentd/Manifest b/app-admin/fluentd/Manifest
index 7e62dae7ca2b..4125063fc608 100644
--- a/app-admin/fluentd/Manifest
+++ b/app-admin/fluentd/Manifest
@@ -1,2 +1,3 @@
 DIST fluentd-1.14.4.gem 852480 BLAKE2B d358a067dbfd50164583e629133632039543560104ba5c2b71fb44e3eba0d4119e73556a64f20f60d1c4d67c9c430fa4ab9e3c37e6d0cba166de9396a9dc339b SHA512 09770d0a02e1a29cc0504cd384365fff9445ba5257950b7154f7ba939dbaefcc6b9b1441838cb89d4ddb3101f1715c271de27e1cf46aac430daf968ce145fbe0
 DIST fluentd-1.14.6.gem 856576 BLAKE2B 1422ab704a4b5eb674885a192ae241aa9ee4ba187ff38c9548435c858712f40b6af028776a8e8c8cd122501463cc910e034b5f0a5815e738f7cfd4d1f0d6026e SHA512 63a4e4a51dd9913d0a3a2ea9cb40794de874ee40256890ebaaef3111cc5a401179abdea1230efc92d962811c2f618591bbc7d8d5139d8851d682818712ba3ea7
+DIST fluentd-1.16.3.gem 880128 BLAKE2B c3b7379acf671bdf339cf4e7f2cc83aafebf4b8146203b04dcf7e1608263734979a77f3514373d9ff5740b421daa51edc3f10ab2b112b61cfac6aae4375efa55 SHA512 fb7d5fc9bd020ae4cd5c45d89740ed9a218156e9f64c170c9c6869448d111755a8e225c3539b8b2626a312406a329b5660d5d9ba2aa863eb1ee8ab69fb9c72a0

diff --git a/app-admin/fluentd/fluentd-1.16.3.ebuild b/app-admin/fluentd/fluentd-1.16.3.ebuild
new file mode 100644
index 000000000000..4b5c6efc3d20
--- /dev/null
+++ b/app-admin/fluentd/fluentd-1.16.3.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+inherit ruby-fakegem
+
+DESCRIPTION="data collector and unified logging layer (project under CNCF)"
+HOMEPAGE="https://www.fluentd.org"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+COMMON_DEPEND="acct-group/fluentd
+	acct-user/fluentd"
+DEPEND="${COMMON_DEPEND}
+	test? (
+		dev-ruby/async
+		dev-ruby/test-unit-rr
+		dev-ruby/rr[test]
+		dev-ruby/timecop
+	)
+"
+RDEPEND="${COMMON_DEPEND}"
+
+ruby_add_rdepend "
+	dev-ruby/bundler
+	>=dev-ruby/coolio-1.4.5
+	>=dev-ruby/http_parser_rb-0.5.1
+	>=dev-ruby/msgpack-1.3.1
+	>=dev-ruby/serverengine-2.2.5
+	>=dev-ruby/sigdump-0.2.2
+	>=dev-ruby/strptime-0.2.4
+	>=dev-ruby/tzinfo-1.0
+	=dev-ruby/webrick-1.7*
+	>=dev-ruby/yajl-ruby-1.0"
+
+ruby_add_depend "test? ( dev-ruby/flexmock )"
+
+all_ruby_prepare() {
+	sed -i \
+		-e '/tzinfo-data/d' \
+		-e '/dig_rb/d' \
+		"${PN}".gemspec || die "'sed failed"
+
+	# Avoid test dependency on unpackaged oj
+	rm -f test/test_event_time.rb || die
+}
+
+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
+}


             reply	other threads:[~2024-01-10 15:50 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-10 15:50 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-10-22  8:23 [gentoo-commits] repo/gentoo:master commit in: app-admin/fluentd/ Hans de Graaff
2023-06-25 15:58 Hans de Graaff
2023-03-26 10:42 Hans de Graaff
2022-01-22  0:30 William Hubbs
2021-07-06 10:26 Hans de Graaff
2020-01-23 23:05 Thomas Deutschmann
2020-01-23 18:31 William Hubbs
2019-12-13 17:13 Mikle Kolyada
2019-11-17  7:36 Hans de Graaff
2019-04-06 21:32 Mikle Kolyada
2019-03-30 11:54 Mikle Kolyada
2019-03-05 17:56 Mikle Kolyada
2019-01-10  8:36 Mikle Kolyada
2018-12-28 14:41 Mikle Kolyada
2018-12-28 14:41 Mikle Kolyada
2018-12-24  7:09 Hans de Graaff
2018-12-22 10:52 Mikle Kolyada
2018-12-17 10:55 Mikle Kolyada
2018-12-16 19:05 Mikle Kolyada
2018-06-27 21:51 William Hubbs
2018-05-02  0:06 William Hubbs
2018-04-10  1:43 William Hubbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1704901783.ed3b9a199f7d32bff1d280dc5f10ef403d5d34cc.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox