public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/filebeat/
Date: Sat, 30 Sep 2017 08:05:17 +0000 (UTC)	[thread overview]
Message-ID: <1506758702.c4296a31c749eee895d2e0858dbe14a161ef5815.monsieurp@gentoo> (raw)

commit:     c4296a31c749eee895d2e0858dbe14a161ef5815
Author:     Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Thu Sep 28 06:33:13 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Sep 30 08:05:02 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4296a31

app-admin/filebeat: version bump to 5.6.2.

Package-Manager: Portage-2.3.10, Repoman-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/5812

 app-admin/filebeat/Manifest              |  1 +
 app-admin/filebeat/filebeat-5.6.2.ebuild | 69 ++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/app-admin/filebeat/Manifest b/app-admin/filebeat/Manifest
index 77e4401adc4..0ed2451ec95 100644
--- a/app-admin/filebeat/Manifest
+++ b/app-admin/filebeat/Manifest
@@ -1,2 +1,3 @@
 DIST filebeat-5.5.2.tar.gz 18075191 SHA256 39e792324a35fe84ef9a63cd5324252bc71d1c665188e8d597e12ca170cfde7a SHA512 ad92b41a9ceaad6c6e6fc80d0adccd7fe03a7056d121484bcf35c6a46b2061a5ef6d32121dd12d59b51e7678769da5c405b1d549fa130631ae3f1989b78fba48 WHIRLPOOL 46d182bd339abd26f3c4cf3f8d3a716180fc00147458f571eec34aefcaa67d9e88a561988e37c47083528024e4e0559b255c7a17efa43e0e4b21b653a575f7fd
 DIST filebeat-5.6.1.tar.gz 18142175 SHA256 3534ef7a3833ae85aef53a12580520b5d85feaa1408289ea37a6ebff5a2fda0a SHA512 842fd28012455ddacffb66db719e1df6fe987c844899d34428d65bca2ec4e1b49a801a976f546b4380da077426250109c5b1c84188a44c14c98f054165b27123 WHIRLPOOL 1d11e08572e51c526cd0443b3fe3ce691dbcd8bc5463a531d89d2685df157f61e28ca645c37f273e7f5b7c69984f5152de310a140567cd757b70a68d0bc578aa
+DIST filebeat-5.6.2.tar.gz 18142395 SHA256 72e247d6ec3586883cd58bc6465d18b7eb0857763ff422259205abf090557e45 SHA512 0132be77bfa51aa43b7d0ca9466bd7ab602bddffe163bd63270a3192601c9f9bc9f85f1ad18bf2e90ba5df1f6a4b14be0fc08148c2e75c264e5da7268b9fb92a WHIRLPOOL e25ebf7594fe54c325d72a8f5db09bfb21ed33df42d682cbff6383390f3daebbf57bd15d687bfff6bc740f44ebad9e4d4e5a1329bd18c213aefdea5de7b8d2dd

diff --git a/app-admin/filebeat/filebeat-5.6.2.ebuild b/app-admin/filebeat/filebeat-5.6.2.ebuild
new file mode 100644
index 00000000000..451e2191c7a
--- /dev/null
+++ b/app-admin/filebeat/filebeat-5.6.2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=dev-lang/go-1.8.3"
+RDEPEND="!app-admin/filebeat-bin"
+
+ELASTIC="${WORKDIR}/src/github.com/elastic"
+BEATS="${ELASTIC}/beats"
+S="${BEATS}"
+
+src_unpack() {
+	mkdir -p "${ELASTIC}" || die
+	unpack ${P}.tar.gz
+	mv beats-${PV} "${BEATS}" || die
+}
+
+src_compile() {
+	cd ${BEATS}/filebeat || die
+	GOPATH="${WORKDIR}" emake
+}
+
+src_test() {
+	cd ${BEATS}/filebeat || die
+	GOPATH="${WORKDIR}" emake check
+}
+
+src_install() {
+	keepdir /var/{lib,log}/${PN}
+
+	fperms 0750 /var/{lib,log}/${PN}
+
+	newconfd "${FILESDIR}/${PN}.confd" ${PN}
+	newinitd "${FILESDIR}/${PN}.initd" ${PN}
+
+	insinto "/usr/share/doc/${PF}/examples"
+	doins ${PN}/{filebeat.yml,filebeat.full.yml}
+
+	insinto "/etc/${PN}"
+	doins ${PN}/{filebeat.template.json,filebeat.template-es2x.json,filebeat.template-es6x.json}
+
+	exeinto "/usr/share/${PN}"
+	doexe libbeat/scripts/migrate_beat_config_1_x_to_5_0.py
+
+	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/5.0/upgrading.html"
+		elog ""
+		elog "The migration script:"
+		elog "${EROOT%/}/usr/share/filebeat/migrate_beat_config_1_x_to_5_0.py"
+		elog ""
+	fi
+
+	elog "Example configurations:"
+	elog "${EROOT%/}/usr/share/doc/${PF}/examples"
+}


             reply	other threads:[~2017-09-30  8:05 UTC|newest]

Thread overview: 94+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-30  8:05 Patrice Clement [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-23 10:45 [gentoo-commits] repo/gentoo:master commit in: app-admin/filebeat/ Petr Vaněk
2024-02-12 13:05 Sam James
2024-01-20 13:33 Sam James
2023-09-16  7:57 Joonas Niilola
2023-02-16 10:01 Sam James
2022-08-28  8:22 Joonas Niilola
2022-08-28  8:22 Joonas Niilola
2022-04-29 12:20 Joonas Niilola
2022-04-24  7:58 Joonas Niilola
2022-04-24  7:58 Joonas Niilola
2022-03-16 22:35 Sam James
2022-01-28  8:36 Sam James
2022-01-28  8:36 Sam James
2022-01-08 18:03 Jakov Smolić
2021-12-21  1:56 Sam James
2021-12-21  1:56 Sam James
2021-12-14  1:19 Sam James
2021-11-11 23:49 Sam James
2021-10-12  7:10 Agostino Sarubbo
2021-07-31 10:03 Joonas Niilola
2021-06-16  9:50 Thomas Deutschmann
2021-05-11 15:47 Thomas Deutschmann
2021-03-30  7:25 Joonas Niilola
2021-02-05 10:40 Sam James
2021-01-21 23:23 Sam James
2020-11-14  9:49 Mikle Kolyada
2020-11-14  9:49 Mikle Kolyada
2020-10-16 13:26 Joonas Niilola
2020-09-12 18:39 Thomas Deutschmann
2020-08-30 21:46 Thomas Deutschmann
2020-06-26 23:00 Thomas Deutschmann
2020-06-12 14:33 Thomas Deutschmann
2020-06-12 14:33 Thomas Deutschmann
2020-03-20 14:30 Joonas Niilola
2020-02-26 16:17 Joonas Niilola
2020-02-26 16:17 Joonas Niilola
2020-01-03  9:15 Joonas Niilola
2019-10-29  6:53 Joonas Niilola
2019-10-29  6:53 Joonas Niilola
2019-10-27 11:59 Agostino Sarubbo
2019-09-21 14:49 Joonas Niilola
2019-09-21 14:49 Joonas Niilola
2019-08-28  9:11 David Seifert
2019-07-05 17:50 Michał Górny
2019-07-05 17:50 Michał Górny
2019-03-10 15:23 Mikle Kolyada
2019-03-05 14:58 Thomas Deutschmann
2019-03-04 15:58 Thomas Deutschmann
2019-03-04 15:58 Thomas Deutschmann
2018-12-22  7:08 Mikle Kolyada
2018-12-22  7:08 Mikle Kolyada
2018-12-15  9:02 Mikle Kolyada
2018-12-15  9:02 Mikle Kolyada
2018-12-04 18:03 Mikle Kolyada
2018-11-10 20:57 Thomas Deutschmann
2018-11-10 20:57 Thomas Deutschmann
2018-11-10 20:57 Thomas Deutschmann
2018-11-09 17:57 Mikle Kolyada
2018-09-09 20:41 Thomas Deutschmann
2018-08-28  7:56 Mikle Kolyada
2018-07-11 21:50 Tony Vroon
2018-07-11 21:50 Tony Vroon
2018-07-11 21:50 Tony Vroon
2018-04-20 12:54 Michał Górny
2018-04-20 12:54 Michał Górny
2018-04-20 12:54 Michał Górny
2018-04-06 14:23 Aaron Bauman
2018-01-27 14:00 Michał Górny
2017-12-12 20:27 Patrice Clement
2017-12-12 20:27 Patrice Clement
2017-11-16 15:11 Amy Liffey
2017-11-16 15:11 Amy Liffey
2017-10-15 21:11 Patrice Clement
2017-10-15 21:11 Patrice Clement
2017-09-30  8:05 Patrice Clement
2017-09-21 14:59 Amy Liffey
2017-09-04 18:52 Aaron Bauman
2017-09-04 18:51 Aaron Bauman
2017-08-29  9:44 Patrice Clement
2017-08-13 13:00 Patrice Clement
2017-08-13 13:00 Patrice Clement
2017-07-08 21:35 Patrice Clement
2017-07-04 10:17 Agostino Sarubbo
2017-06-27 12:49 Michael Palimaka
2017-06-04 17:52 Michał Górny
2017-05-29 13:29 Michał Górny
2017-05-29 13:29 Michał Górny
2017-05-23 19:58 Michał Górny
2017-04-26 21:02 Patrice Clement
2017-03-16 21:45 Göktürk Yüksek
2017-01-21 13:36 Patrice Clement
2016-12-27 17:29 Göktürk Yüksek
2016-12-03  3:11 Göktürk Yüksek

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=1506758702.c4296a31c749eee895d2e0858dbe14a161ef5815.monsieurp@gentoo \
    --to=monsieurp@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