From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 19776158089 for ; Sun, 22 Oct 2023 08:23:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8B102BC014; Sun, 22 Oct 2023 08:23:16 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B34442BC014 for ; Sun, 22 Oct 2023 08:23:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DF59F335D3A for ; Sun, 22 Oct 2023 08:23:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 26AAD10C3 for ; Sun, 22 Oct 2023 08:23:14 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1697962991.4e06c9143af877c6da56a480adcd5e7b82f047ba.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/fluentd/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/fluentd/Manifest app-admin/fluentd/fluentd-1.14.6.ebuild X-VCS-Directories: app-admin/fluentd/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 4e06c9143af877c6da56a480adcd5e7b82f047ba X-VCS-Branch: master Date: Sun, 22 Oct 2023 08:23:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 289a26c3-b6ed-4472-9ec1-6ddee0242582 X-Archives-Hash: dde1668f6a7289242eef2b627608c4b8 commit: 4e06c9143af877c6da56a480adcd5e7b82f047ba Author: Hans de Graaff gentoo org> AuthorDate: Sun Oct 22 08:22:55 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Oct 22 08:23:11 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e06c914 app-admin/fluentd: add 1.14.6 Signed-off-by: Hans de Graaff gentoo.org> app-admin/fluentd/Manifest | 1 + app-admin/fluentd/fluentd-1.14.6.ebuild | 63 +++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/app-admin/fluentd/Manifest b/app-admin/fluentd/Manifest index d372c73abf84..7e62dae7ca2b 100644 --- a/app-admin/fluentd/Manifest +++ b/app-admin/fluentd/Manifest @@ -1 +1,2 @@ DIST fluentd-1.14.4.gem 852480 BLAKE2B d358a067dbfd50164583e629133632039543560104ba5c2b71fb44e3eba0d4119e73556a64f20f60d1c4d67c9c430fa4ab9e3c37e6d0cba166de9396a9dc339b SHA512 09770d0a02e1a29cc0504cd384365fff9445ba5257950b7154f7ba939dbaefcc6b9b1441838cb89d4ddb3101f1715c271de27e1cf46aac430daf968ce145fbe0 +DIST fluentd-1.14.6.gem 856576 BLAKE2B 1422ab704a4b5eb674885a192ae241aa9ee4ba187ff38c9548435c858712f40b6af028776a8e8c8cd122501463cc910e034b5f0a5815e738f7cfd4d1f0d6026e SHA512 63a4e4a51dd9913d0a3a2ea9cb40794de874ee40256890ebaaef3111cc5a401179abdea1230efc92d962811c2f618591bbc7d8d5139d8851d682818712ba3ea7 diff --git a/app-admin/fluentd/fluentd-1.14.6.ebuild b/app-admin/fluentd/fluentd-1.14.6.ebuild new file mode 100644 index 000000000000..7d47ce990b7d --- /dev/null +++ b/app-admin/fluentd/fluentd-1.14.6.ebuild @@ -0,0 +1,63 @@ +# 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}" +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 +}