summaryrefslogtreecommitdiff
path: root/app-admin/filebeat
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-23 17:40:32 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-23 17:40:32 +0000
commit9aeefa0bd7e7604816f3ce08002112f9965176c3 (patch)
treea321bc3114ba3db3c2375bff886cc0b4e9a324b6 /app-admin/filebeat
parentedca36e835d0d4e929c1dd3e9688954ae0aa191a (diff)
gentoo auto-resync : 23:02:2024 - 17:40:32
Diffstat (limited to 'app-admin/filebeat')
-rw-r--r--app-admin/filebeat/Manifest4
-rw-r--r--app-admin/filebeat/filebeat-7.17.5.ebuild58
-rw-r--r--app-admin/filebeat/files/filebeat.initd43
3 files changed, 0 insertions, 105 deletions
diff --git a/app-admin/filebeat/Manifest b/app-admin/filebeat/Manifest
index e2cf58335c31..468ab2da1b3e 100644
--- a/app-admin/filebeat/Manifest
+++ b/app-admin/filebeat/Manifest
@@ -1,10 +1,6 @@
AUX filebeat.confd 269 BLAKE2B f9cc2a3d96be870d755c41606a274e94d6f6a2a5be71aeb3fc10f989d58b1bb5cc3683b38ede75f7e34937daa4189eccdd30c306b20e219c91bc90ac22d21b40 SHA512 89f2a8ead476750b3fd9a94dcc84311503907e78e66c70d151f27c7fdc8835e7bae6667a6aed0b6470a8f9b42c850396973fd09b1b6aec2d170e3774c8cfddff
-AUX filebeat.initd 1385 BLAKE2B c69021a76aa4c49212edf8612b6e672b9d92365ff77fddb24d5b34b78260ed49214366a7ca9ea58c9ea490d914bfe5c506141f5cf2cb7f02f7f89eafc75e5c32 SHA512 f48fcb51464797eed586619de7f9cbfcab678d2832671b1dbb5717f2ab544391ba7a517269e1fdcdff9d43c1e07e95916302a91f79e7a4b734dd19d5802cba7d
AUX filebeat.initd.1 1385 BLAKE2B 889ea416c252efa60fd6c7c8fae8937f5064455bb6289e1fa6127ddd1535387dbdfe9a91afb091745a7d0e5cd058e2296a5d270e52494595ee0e72111500fd64 SHA512 d34bcc9d2e032ebc79f0ff1272974ba4346bdd7a32c24c005eaa3b2a8dde6767fd88460b7b79f2f0b98a624f371f2b3a5483ef92909da4b21e4f0967ddcd86c8
DIST filebeat-7.17.16-deps.tar.xz 633004812 BLAKE2B c10790fc07e6fcc583f88944a4d114cb712f8c27e27006d11bdbea5dfe2e36b504f767034c0b033af4363b44e3c38c92f6a490b4a65303d5aee49ebfe76c9f29 SHA512 91ed7b7e55d6659b52ce89756e49364595322e8486c3b9f13199f98871909d88c4fd0515e3867af43173b1b966965c992cc48c71de026a7e2a401a515092809f
DIST filebeat-7.17.16.tar.gz 101629004 BLAKE2B c67eed28574948022673737dba4d39409c23f5b4b94f3a9935090acd7a1c34d9302b35b42f6ab6e58cdf25a2dd948adbefc145f1075cd574e8196af000cf129c SHA512 db52d802f0f253e714a6e26436bbec82bfcf74f38d8f2a8f862a9318375b020676d3980a4b20f468ced0215de1eb0a009915a33a61652fe11de8098cd8542bfe
-DIST filebeat-7.17.5-deps.tar.xz 548163248 BLAKE2B 720a91b3e5a2fe16394ef3502f133837bd64d326bda6fadc066ae6517d9682a82614c6c699f9edacbe6d987ef326542bbf875a4063e2a4513ea296259f9b2445 SHA512 3b3cc39bdd966998a5b7867e60d390a539e1dd80ec7b8d68e3b0b9c1aab9eecca3810d1e989c74f15c20385a7c9a41e820129e28d33c2e47c2ba90d5e236a077
-DIST filebeat-7.17.5.tar.gz 101518610 BLAKE2B 4736a097e82741981841b78b18947b47fef32a50d6f6b498b4377f2e9ffedc79196b9ea0d70398a9830864f36520538ee868fcdf6081ea5b157e69aabe316ab9 SHA512 c82bc5c85492b6fe85b172d52d3faf4a6a2e8d8ec3f1964549beea6eda5a5e76ad0c55e084ad42ce429d0caac18fc7f0da769b9242c7959558800e0e3de7e14b
EBUILD filebeat-7.17.16.ebuild 1340 BLAKE2B 46e8c6e3088ac4fb9a70e509c171c5fef1f36d0db6145b398ab1bdad1e9ffe4f6ca4ea3dbf10ea02a6ffb335e20e84f18e8fcf9e7e7d707df72bd135cf30741b SHA512 9eb4a95ee44a5ff31f1e7114b4d2f87f919786f2fb8402977cdbd09d30101aca89f00717fc847ba5eab7a39351a882d93173d9673dfb87b32271c2eb54cf7e03
-EBUILD filebeat-7.17.5.ebuild 1359 BLAKE2B 064a4a0407e5f899584137d6aa5eb7a3d31dc4b268384801c6c71abbadd621d96c7e1fed6a474417e7bd7e808dcace34357bdb9acf819d05dcea9a1496f18806 SHA512 19ec33820cdbd6ad0b50efbc35bf6909a003fcc51f6aef79267499947f0c8486959a56c8f5ad23529941176384b915f5dee8f9aeee494193a0bc3c480a7d8a2a
MISC metadata.xml 492 BLAKE2B 6b16876306316f37d59bf32aac33a2ff918c63dbf2ca0f71448249b20e99e5576f20dbad997a227730cb836c7f244ea8301dae62603e1961127bd755ab87f5b0 SHA512 c42a8bc75fd53383ea094d5049ba5f294cb8a2f0b0fe435eb74427bc82751bfbe4e4bfe076abbd052946ae6b0cf2f7129040a47b439a704629c6846ce6b7fdec
diff --git a/app-admin/filebeat/filebeat-7.17.5.ebuild b/app-admin/filebeat/filebeat-7.17.5.ebuild
deleted file mode 100644
index 0adc1d2035d7..000000000000
--- a/app-admin/filebeat/filebeat-7.17.5.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-inherit go-module
-
-DESCRIPTION="Lightweight log shipper for Logstash and Elasticsearch"
-HOMEPAGE="https://www.elastic.co/products/beats"
-SRC_URI="https://github.com/elastic/beats/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-SRC_URI+=" https://media.githubusercontent.com/media/hydrapolic/gentoo-dist/master/filebeat/${P}-deps.tar.xz"
-
-LICENSE="Apache-2.0 BSD-2 MIT"
-SLOT="0"
-KEYWORDS="amd64 ~x86"
-RESTRICT="test"
-
-S="${WORKDIR}/beats-${PV}"
-
-src_prepare() {
- default
-
- # avoid Elastic license
- rm -r x-pack || die
-
- # use ${PV} instead of git commit id
- sed -i "s/\(COMMIT_ID=\).*/\1${PV}/g" "${S}/libbeat/scripts/Makefile" || die
-}
-
-src_compile() {
- emake -C "${S}/filebeat"
-}
-
-src_install() {
- keepdir /etc/${PN}
- keepdir /var/{lib,log}/${PN}
-
- fperms 0750 /var/{lib,log}/${PN}
-
- newconfd "${FILESDIR}/${PN}.confd" ${PN}
- newinitd "${FILESDIR}/${PN}.initd.1" ${PN}
-
- docinto examples
- dodoc ${PN}/{filebeat.yml,filebeat.reference.yml}
-
- dobin filebeat/filebeat
-}
-
-pkg_postinst() {
- if [[ -n "${REPLACING_VERSIONS}" ]]; then
- elog "Please read the migration guide at:"
- elog "https://www.elastic.co/guide/en/beats/libbeat/$(ver_cut 1-2)/upgrading.html"
- elog ""
- fi
-
- elog "Example configurations:"
- elog "${EROOT}/usr/share/doc/${PF}/examples"
-}
diff --git a/app-admin/filebeat/files/filebeat.initd b/app-admin/filebeat/files/filebeat.initd
deleted file mode 100644
index de4bf3ae8434..000000000000
--- a/app-admin/filebeat/files/filebeat.initd
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-FILEBEAT_USER="${FILEBEAT_USER:-root}"
-FILEBEAT_GROUP="${FILEBEAT_GROUP:-root}"
-FILEBEAT_CONFIG="${FILEBEAT_CONFIG:-/etc/filebeat/filebeat.yml}"
-FILEBEAT_DATADIR="${FILEBEAT_DATADIR:-/var/lib/filebeat}"
-FILEBEAT_LOGDIR="${FILEBEAT_LOGDIR:-/var/log/filebeat}"
-FILEBEAT_OPTS="${FILEBEAT_OPTS:-}"
-
-command="/usr/bin/filebeat"
-command_args="-c ${FILEBEAT_CONFIG} ${FILEBEAT_OPTS} -path.config $(dirname $FILEBEAT_CONFIG) \
- -path.data ${FILEBEAT_DATADIR} -path.home ${FILEBEAT_DATADIR} -path.logs ${FILEBEAT_LOGDIR}"
-command_background="true"
-command_user="${FILEBEAT_USER}:${FILEBEAT_GROUP}"
-extra_commands="checkconfig"
-pidfile="/run/filebeat.pid"
-retry="TERM/5/KILL/5"
-start_stop_daemon_args="--chdir ${FILEBEAT_DATADIR}"
-
-depend() {
- use net
- after elasticsearch
-}
-
-checkconfig() {
- if [ ! -e ${FILEBEAT_CONFIG} ]; then
- eend "Please create a configuration file at ${FILEBEAT_CONFIG}"
- return 1
- fi
-
- ebegin "Checking your configuration"
- ${command} ${command_args} -configtest
- eend $? "Configuration error. Please fix your configuration files."
-}
-
-start_pre() {
- checkconfig || return 1
-
- checkpath -d -o "${FILEBEAT_USER}":"${FILEBEAT_GROUP}" -m750 "${FILEBEAT_DATADIR}"
- checkpath -d -o "${FILEBEAT_USER}":"${FILEBEAT_GROUP}" -m750 "${FILEBEAT_LOGDIR}"
-}