summaryrefslogtreecommitdiff
path: root/app-admin/filebeat
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-05 02:07:17 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-05 02:07:17 +0000
commita6764d56b1c85c8272783500983011c143c72d80 (patch)
tree4012d67c099814931c6188b22a6b5eb4e77f1d6a /app-admin/filebeat
parent38ecaf88ae0891dd2d7f2bdd9a7acdcd45835724 (diff)
gentoo auto-resync : 05:12:2024 - 02:07:17
Diffstat (limited to 'app-admin/filebeat')
-rw-r--r--app-admin/filebeat/Manifest3
-rw-r--r--app-admin/filebeat/filebeat-7.17.25.ebuild58
2 files changed, 61 insertions, 0 deletions
diff --git a/app-admin/filebeat/Manifest b/app-admin/filebeat/Manifest
index 468ab2da1b3e..5533fee80cd8 100644
--- a/app-admin/filebeat/Manifest
+++ b/app-admin/filebeat/Manifest
@@ -2,5 +2,8 @@ AUX filebeat.confd 269 BLAKE2B f9cc2a3d96be870d755c41606a274e94d6f6a2a5be71aeb3f
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.25-deps.tar.xz 696720440 BLAKE2B 795bf60e9bf55b5bf32587a23aedfdfa5bc0e891ff976fc8be5000a12a6053bd75149b927f7c29c012346eb92446b0bd89e6fbf8b42f60c3979f928becc7f65a SHA512 aae8f2f8288819c1104ca74faa81b78534c1bc2a7ee884f8eb2d4e2e0d47083ad1c3fe4eca9ccd16e50c2838319082ae14ec484ddda7073b40e0b0e523ba240a
+DIST filebeat-7.17.25.tar.gz 101680280 BLAKE2B bec6a6f87d67c44cb050c29c39dcf78dd90a48945669de291c3ba2a1bea07759e596294482c7841df535f97ff7ae9ff4690a70196b4776e0bf9b7657568d6800 SHA512 893fcaa18c72f0d6d6d3ae7c2c65d57242b2ce8284118acd15a2a18f0818fcdb9870dccdc7dd69ba5ec3fa0648471497711fd1ed13f978a84841805a67627e09
EBUILD filebeat-7.17.16.ebuild 1340 BLAKE2B 46e8c6e3088ac4fb9a70e509c171c5fef1f36d0db6145b398ab1bdad1e9ffe4f6ca4ea3dbf10ea02a6ffb335e20e84f18e8fcf9e7e7d707df72bd135cf30741b SHA512 9eb4a95ee44a5ff31f1e7114b4d2f87f919786f2fb8402977cdbd09d30101aca89f00717fc847ba5eab7a39351a882d93173d9673dfb87b32271c2eb54cf7e03
+EBUILD filebeat-7.17.25.ebuild 1331 BLAKE2B 905d9b7751114307fcc95f2853c41d506a968cea73524a638e239c766b89335803f45502d9cb7b8237e5a372a7d0ab2502cbcd4d43104dafe1b11c2c65743eba SHA512 52a6ed19b426ec9fd22dabcf804dff623e639b8f0c7f1377abd9137413402e5316410bb29c24f8c573ec508819cbc98d224e9d975b1b9aedf79d15519b5521d0
MISC metadata.xml 492 BLAKE2B 6b16876306316f37d59bf32aac33a2ff918c63dbf2ca0f71448249b20e99e5576f20dbad997a227730cb836c7f244ea8301dae62603e1961127bd755ab87f5b0 SHA512 c42a8bc75fd53383ea094d5049ba5f294cb8a2f0b0fe435eb74427bc82751bfbe4e4bfe076abbd052946ae6b0cf2f7129040a47b439a704629c6846ce6b7fdec
diff --git a/app-admin/filebeat/filebeat-7.17.25.ebuild b/app-admin/filebeat/filebeat-7.17.25.ebuild
new file mode 100644
index 000000000000..6f4efaa268bf
--- /dev/null
+++ b/app-admin/filebeat/filebeat-7.17.25.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2024 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
+ https://github.com/hydrapolic/gentoo-dist/releases/download/${P}/${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"
+}