summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomáš Mózes <hydrapolic@gmail.com>2022-04-23 10:39:46 +0000
committerJoonas Niilola <juippis@gentoo.org>2022-04-24 10:57:14 +0300
commitf739161d74c847c05f2a29a8d6f7db28f5cfbfcd (patch)
tree195dc0c36889846695d86110229ec7d38001a40f /app-admin/filebeat
parentapp-admin/logstash-bin: bump to 7.17.3 (diff)
downloadgentoo-f739161d74c847c05f2a29a8d6f7db28f5cfbfcd.tar.gz
gentoo-f739161d74c847c05f2a29a8d6f7db28f5cfbfcd.tar.bz2
gentoo-f739161d74c847c05f2a29a8d6f7db28f5cfbfcd.zip
app-admin/filebeat: bump to 7.17.3
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-admin/filebeat')
-rw-r--r--app-admin/filebeat/Manifest2
-rw-r--r--app-admin/filebeat/filebeat-7.17.3.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/app-admin/filebeat/Manifest b/app-admin/filebeat/Manifest
index 802280bcf8e8..b020483f175b 100644
--- a/app-admin/filebeat/Manifest
+++ b/app-admin/filebeat/Manifest
@@ -66,6 +66,8 @@ DIST dmitri.shuralyov.com%2Fgpu%2Fmtl%2F@v%2Fv0.0.0-20190408044501-666a987793e9.
DIST filebeat-7.16.2.tar.gz 101409424 BLAKE2B ba73e3ba5c3b57bd5ed36e1c14e9b7c1f8abd6fa8e3d073fbb204f39e1ebd31af4818a28649ac1577981f4781608938719a5e2c950fb306ae31ebbef57ce3e23 SHA512 0e0545bc41efc31b4c94cd9db6d50488e0f8540138506a7ff8015a3128c0e8e47f22fd85d2abedc6240c0b729f914e7dc855f377bfe486cc8ae2c39e583efa38
DIST filebeat-7.16.3.tar.gz 101408214 BLAKE2B 1d241e6909e58784730cc241af87ad2243a07c4c5930e8dc12049770d89b99dd40349a865e9b218eff7085227f02955af2afdfcc7a8369e20413fccfa94f0843 SHA512 95f96697e46df35b291ab24d447dc7e290264559e7b09d3a603991d151004f37aef93c668954e846f37f70a94f86ddd1a3de433db25fcaff465bb67a27bef7b1
DIST filebeat-7.17.1.tar.gz 101433890 BLAKE2B e512171be2428acb52b968bbf61f46b78484fe393f94fb4e219743e281ab6f9ae2796062922b4726a378d40a486461021909258b5cc1c121ff7641d2ea8e29cd SHA512 770ebe8431f93157b4452acd2a1632290642d128623e897d8b39965ed446935e804303788ebdcebe26fb3a28100048307888cba42fef14d9be007b9579759141
+DIST filebeat-7.17.3-deps.tar.xz 548178056 BLAKE2B 3c149f839405a7fda885c8269c58bdf973645470d5de1e916094fa018ebcc7c2e735ded1cc35e2607917186d0a1bb45b5ff16acb35e8d2a67a7e4106d5bc2f10 SHA512 f71fc619326b2dffc295f191a259641a473403e2528a6788ade6ac5a9d127c1c49ac6ae70123263897d30d1aac9f723f36b80af6d677dddd6958bff210280026
+DIST filebeat-7.17.3.tar.gz 101455865 BLAKE2B 57159a2495dfdcead4539a49422fb5509ca21820b68051082f74c6b2adea79c5a9066183a06c518382f74208611e1e25422e9b63d543290c63ae992a9e0593c6 SHA512 40b1cf3bafc50f9e33b0350f1432952b47a1b695aa9368bc029303f834bc795c691a2f4732fbba615d826e14bd21b8b74dca23157b796cd302db1844c186bc02
DIST github.com%2F!azure%2Fazure-amqp-common-go%2Fv3%2F@v%2Fv3.2.1.mod 375 BLAKE2B 26f391ea590a140998561769b8b993ff06b76995fa7843bebd6a16d44d59833f431c1648fe0cbfa1e15073561b48dd2fcc279631b62be382fdaaa9b4c20c1dd8 SHA512 798dc78c765b057872e9c5ead9486c646d04440bbd10464e196eea48b040314d3f24403cfc62ce90b68387852516493bbea9be421021ed2f473622613e3319bc
DIST github.com%2F!azure%2Fazure-amqp-common-go%2Fv3%2F@v%2Fv3.2.1.zip 34976 BLAKE2B 4359d69f914b03abfd5459943d9901fe343a52b2e652430562ecaaad0b4d9d060c9d6934423049728c0cc7ecbd25e16e30b16b8c6ed840f5e114178ea2a9b82a SHA512 b6c4cede3eb778e9341f6fbeeca4b4b5292298c6de2761d57076e0f4eb7b3c856c7fe20bda17e7284fc054703e56a855ebcb9bb682fd695e78e929e6f3cb6b76
DIST github.com%2F!azure%2Fazure-event-hubs-go%2Fv3%2F@v%2Fv3.3.15.mod 1006 BLAKE2B 6c98c4086f34198c9fe625107ff9fe4348733103b65f2011a8eb7da9be732584a77eb235814f778a702e7a861ec2bdfc120c8cf28459be572c176657080c0184 SHA512 ded351d695c257341db24ead60260b1f1b533d33dffab437bebb83f3b74ba86a35b12de551c03ca7f7b6e332ff532e4a81702a9ecaa86cfb3bb2a256e5e5c1fc
diff --git a/app-admin/filebeat/filebeat-7.17.3.ebuild b/app-admin/filebeat/filebeat-7.17.3.ebuild
new file mode 100644
index 000000000000..f1697569b7b0
--- /dev/null
+++ b/app-admin/filebeat/filebeat-7.17.3.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2022 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"
+}