Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/filebeat/
Date: Sat, 30 Sep 2017 08:05:23
Message-Id: 1506758702.62252c9d28d7ee0de149b161d8752f6aa92e25d0.monsieurp@gentoo
1 commit: 62252c9d28d7ee0de149b161d8752f6aa92e25d0
2 Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Thu Sep 28 06:34:05 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 30 08:05:02 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62252c9d
7
8 app-admin/filebeat: drop old.
9
10 Package-Manager: Portage-2.3.10, Repoman-2.3.3
11
12 app-admin/filebeat/Manifest | 1 -
13 app-admin/filebeat/filebeat-5.6.1.ebuild | 69 --------------------------------
14 2 files changed, 70 deletions(-)
15
16 diff --git a/app-admin/filebeat/Manifest b/app-admin/filebeat/Manifest
17 index 0ed2451ec95..65a1e593d0f 100644
18 --- a/app-admin/filebeat/Manifest
19 +++ b/app-admin/filebeat/Manifest
20 @@ -1,3 +1,2 @@
21 DIST filebeat-5.5.2.tar.gz 18075191 SHA256 39e792324a35fe84ef9a63cd5324252bc71d1c665188e8d597e12ca170cfde7a SHA512 ad92b41a9ceaad6c6e6fc80d0adccd7fe03a7056d121484bcf35c6a46b2061a5ef6d32121dd12d59b51e7678769da5c405b1d549fa130631ae3f1989b78fba48 WHIRLPOOL 46d182bd339abd26f3c4cf3f8d3a716180fc00147458f571eec34aefcaa67d9e88a561988e37c47083528024e4e0559b255c7a17efa43e0e4b21b653a575f7fd
22 -DIST filebeat-5.6.1.tar.gz 18142175 SHA256 3534ef7a3833ae85aef53a12580520b5d85feaa1408289ea37a6ebff5a2fda0a SHA512 842fd28012455ddacffb66db719e1df6fe987c844899d34428d65bca2ec4e1b49a801a976f546b4380da077426250109c5b1c84188a44c14c98f054165b27123 WHIRLPOOL 1d11e08572e51c526cd0443b3fe3ce691dbcd8bc5463a531d89d2685df157f61e28ca645c37f273e7f5b7c69984f5152de310a140567cd757b70a68d0bc578aa
23 DIST filebeat-5.6.2.tar.gz 18142395 SHA256 72e247d6ec3586883cd58bc6465d18b7eb0857763ff422259205abf090557e45 SHA512 0132be77bfa51aa43b7d0ca9466bd7ab602bddffe163bd63270a3192601c9f9bc9f85f1ad18bf2e90ba5df1f6a4b14be0fc08148c2e75c264e5da7268b9fb92a WHIRLPOOL e25ebf7594fe54c325d72a8f5db09bfb21ed33df42d682cbff6383390f3daebbf57bd15d687bfff6bc740f44ebad9e4d4e5a1329bd18c213aefdea5de7b8d2dd
24
25 diff --git a/app-admin/filebeat/filebeat-5.6.1.ebuild b/app-admin/filebeat/filebeat-5.6.1.ebuild
26 deleted file mode 100644
27 index 451e2191c7a..00000000000
28 --- a/app-admin/filebeat/filebeat-5.6.1.ebuild
29 +++ /dev/null
30 @@ -1,69 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -DESCRIPTION="Lightweight log shipper for Logstash and Elasticsearch"
37 -HOMEPAGE="https://www.elastic.co/products/beats"
38 -SRC_URI="https://github.com/elastic/beats/archive/v${PV}.tar.gz -> ${P}.tar.gz"
39 -
40 -LICENSE="Apache-2.0"
41 -SLOT="0"
42 -KEYWORDS="~amd64 ~x86"
43 -
44 -DEPEND=">=dev-lang/go-1.8.3"
45 -RDEPEND="!app-admin/filebeat-bin"
46 -
47 -ELASTIC="${WORKDIR}/src/github.com/elastic"
48 -BEATS="${ELASTIC}/beats"
49 -S="${BEATS}"
50 -
51 -src_unpack() {
52 - mkdir -p "${ELASTIC}" || die
53 - unpack ${P}.tar.gz
54 - mv beats-${PV} "${BEATS}" || die
55 -}
56 -
57 -src_compile() {
58 - cd ${BEATS}/filebeat || die
59 - GOPATH="${WORKDIR}" emake
60 -}
61 -
62 -src_test() {
63 - cd ${BEATS}/filebeat || die
64 - GOPATH="${WORKDIR}" emake check
65 -}
66 -
67 -src_install() {
68 - keepdir /var/{lib,log}/${PN}
69 -
70 - fperms 0750 /var/{lib,log}/${PN}
71 -
72 - newconfd "${FILESDIR}/${PN}.confd" ${PN}
73 - newinitd "${FILESDIR}/${PN}.initd" ${PN}
74 -
75 - insinto "/usr/share/doc/${PF}/examples"
76 - doins ${PN}/{filebeat.yml,filebeat.full.yml}
77 -
78 - insinto "/etc/${PN}"
79 - doins ${PN}/{filebeat.template.json,filebeat.template-es2x.json,filebeat.template-es6x.json}
80 -
81 - exeinto "/usr/share/${PN}"
82 - doexe libbeat/scripts/migrate_beat_config_1_x_to_5_0.py
83 -
84 - dobin filebeat/filebeat
85 -}
86 -
87 -pkg_postinst() {
88 - if [[ -n "${REPLACING_VERSIONS}" ]]; then
89 - elog "Please read the migration guide at:"
90 - elog "https://www.elastic.co/guide/en/beats/libbeat/5.0/upgrading.html"
91 - elog ""
92 - elog "The migration script:"
93 - elog "${EROOT%/}/usr/share/filebeat/migrate_beat_config_1_x_to_5_0.py"
94 - elog ""
95 - fi
96 -
97 - elog "Example configurations:"
98 - elog "${EROOT%/}/usr/share/doc/${PF}/examples"
99 -}