Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/filebeat/files/, app-admin/filebeat/
Date: Tue, 29 Oct 2019 06:53:58
Message-Id: 1572332007.ff85244f7e54995f63bdaf2ffd87d2a679501aff.juippis@gentoo
1 commit: ff85244f7e54995f63bdaf2ffd87d2a679501aff
2 Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Fri Oct 25 16:44:23 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 29 06:53:27 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff85244f
7
8 app-admin/filebeat: drop old
9
10 Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/13436
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 app-admin/filebeat/Manifest | 5 ---
15 app-admin/filebeat/filebeat-6.3.2.ebuild | 66 ------------------------------
16 app-admin/filebeat/filebeat-6.4.3.ebuild | 66 ------------------------------
17 app-admin/filebeat/filebeat-6.5.4.ebuild | 66 ------------------------------
18 app-admin/filebeat/filebeat-6.8.1.ebuild | 67 -------------------------------
19 app-admin/filebeat/filebeat-6.8.3.ebuild | 67 -------------------------------
20 app-admin/filebeat/files/filebeat.initd | 2 +-
21 app-admin/filebeat/files/filebeat.initd.1 | 2 +-
22 8 files changed, 2 insertions(+), 339 deletions(-)
23
24 diff --git a/app-admin/filebeat/Manifest b/app-admin/filebeat/Manifest
25 index bb36b2b1661..865b940ffaa 100644
26 --- a/app-admin/filebeat/Manifest
27 +++ b/app-admin/filebeat/Manifest
28 @@ -1,10 +1,5 @@
29 DIST filebeat-5.6.13.tar.gz 18212575 BLAKE2B a0b8810523cecd1c6c87a69832c92b39fdc4cbe199eeae3c837f60b5057915e4d1ffb0fd371b3296cea398a11135b9d8da147451997514c85447722d086b8739 SHA512 fd572666858f1aeeede9e1b2074668d0bd691f58d51acd7955a3203b27d3ee850784a39e47941a570a833926a4109645eb98c24b49263276d1df475578c17efa
30 -DIST filebeat-6.3.2.tar.gz 20923316 BLAKE2B 70ac7e574f94a6141a7c6a1bd0af45ddbda3d01d6ea006c90ea341d2df03cac320d53496833cace3b394b9433251ea68a248dafdc8e28a85a6014314d5a2f3c4 SHA512 3d6ed03c9286bc7784444ad979b1398fcd70d870be184f912202ee5fab7c0ff23df639f445ec14cfcfd4d41ef648f33e88c2959f3c5f966fd3986884a223623a
31 -DIST filebeat-6.4.3.tar.gz 22085261 BLAKE2B 466580ba371d02bd0b51bd80f0e8d9766f2af1d371f88cd01144a648cd8d5488ca54447e925e9014790a836009d76be9eec9ef9b14a102287d3f4a71b852d20d SHA512 c28d9939c2082b586ddf744b4e18427096290987efd74f7ea03d2632a1cdcbc5dd2b043ee7ceeb0457098faeb52abbac57652077c518112fb65858954ee27f34
32 -DIST filebeat-6.5.4.tar.gz 25286147 BLAKE2B c3eca03c8e8e2b863918f3fe65bdea46b351739569f5570daac3e321963e98190331c5bf99c2451db5faa615620e023d2fd9c73060d4d775392a86a2f5578d80 SHA512 a48b9ae267ec80c1b45e4e07644f8080f8ba280da5c3543022b73472eb70de9d836cfffd387e576298becf9313d2cfa67d835158442f163b1a1bd0e72df31297
33 DIST filebeat-6.6.1.tar.gz 29108620 BLAKE2B 21dbe189dcf91efe6170574e3cff858cca4094936fbda54a343f66e61a5f0cd7d29e71d547c34ddd78776283d13e48926dd84925eed58ca07cc7bedf216c9064 SHA512 9c7646efa8aa44c2ae1cbcf85204749bc57491aad075d3ca283cd75a1b3a93d922169603407b2ea111e7e3abe0a43ce26fabccfe93d56a4232bd63e2b2e8b24a
34 -DIST filebeat-6.8.1.tar.gz 35550017 BLAKE2B 0a1913adf2eda50884f33715a059fcc2028e31560afc5412e87d7fd3a6ed5cc504683ad3c5b28f18df24afd3e4c8d96c5b2a930411ae32d09d05c85cfdff0499 SHA512 5ff047e80099b09e25952ac7fc8ea0c6be25df2cd3b638c07c600e680fac32505c279a3a91ee2e61acf0f9535b4adb390a65f3a7dbc3599e74c6b02e0aa6ef71
35 -DIST filebeat-6.8.3.tar.gz 35551301 BLAKE2B ec33f0a5812e355bf2a9212daff999dfed869cd07b20ed9a8fa7c94c76e6fda291a137c5c601d9317ce3e1a34e06be241c1ce7c148f7b6e181903f88c6b1a410 SHA512 49cea2f95429feb311a15b9f247a0c627409edb1badd09d629d37a28994301e69526d5156bce72c9ed65079815f58bca41202862321edc46315e649395293632
36 DIST filebeat-6.8.4.tar.gz 35552503 BLAKE2B 165edceffa71318d77363e4e8e737663eb45e5c3d20148dffd8111187eb3d07eb7998c068b3a3da315ff582f7687d75183ae9828f8b9c87d0c025d450936e00d SHA512 4739481a2ec0307804b797369050b81668f531793bdd1c72304b963e8ab4662b40820dfab211c7fdeeef5deb431f5a0e6ef2680841b4748d352ee8724b2bac42
37 DIST filebeat-7.2.0.tar.gz 46415588 BLAKE2B a8940e9a4a85e6eac79dca3418d3dcd14c5a1062741dd895c561d1498c287bb974a5ac89d5b353dbb75e78e6c67cba97a08d41528042db4e4d76bb46016fac60 SHA512 67d251cabca10a1f6d392be8e6203e66d4cf5d63ceb2af88185ea4824259995dafd3aa8dd2da326d079cfcfedce5996f173cd6c50972db67cbe25f660683e5d1
38 DIST filebeat-7.3.2.tar.gz 49977990 BLAKE2B 6219a382b415572fdea2ff4b0aa3f02b3c1e500d77ed5200b6d5b4334a08b8e91d389ea41b3afe98355f8b20e7f8ecaccf5996f0bb7aad5f10e0f0d69400a0d6 SHA512 75943b251343d28f478f2f19665e4ba31f5bc6e4b26f6e6da8aa062322da4ab8e134c87a9557a97677ba3b22484c44ebaeaeeb87866e0f12e67f1647fe34131a
39
40 diff --git a/app-admin/filebeat/filebeat-6.3.2.ebuild b/app-admin/filebeat/filebeat-6.3.2.ebuild
41 deleted file mode 100644
42 index 1c9264bf6ec..00000000000
43 --- a/app-admin/filebeat/filebeat-6.3.2.ebuild
44 +++ /dev/null
45 @@ -1,66 +0,0 @@
46 -# Copyright 1999-2018 Gentoo Authors
47 -# Distributed under the terms of the GNU General Public License v2
48 -
49 -EAPI=7
50 -
51 -DESCRIPTION="Lightweight log shipper for Logstash and Elasticsearch"
52 -HOMEPAGE="https://www.elastic.co/products/beats"
53 -SRC_URI="https://github.com/elastic/beats/archive/v${PV}.tar.gz -> ${P}.tar.gz"
54 -
55 -LICENSE="Apache-2.0"
56 -SLOT="0"
57 -KEYWORDS="amd64 ~x86"
58 -RESTRICT="test"
59 -
60 -DEPEND=">=dev-lang/go-1.10.3"
61 -RDEPEND="!app-admin/filebeat-bin"
62 -
63 -# Do not complain about CFLAGS etc since go projects do not use them.
64 -QA_FLAGS_IGNORED='.*'
65 -
66 -S="${WORKDIR}/src/github.com/elastic/beats"
67 -
68 -src_unpack() {
69 - mkdir -p "${S%/*}" || die
70 - default
71 - mv beats-${PV} "${S}" || die
72 -}
73 -
74 -src_prepare() {
75 - default
76 -
77 - # avoid Elastic license
78 - rm -r x-pack || die
79 -
80 - # use ${PV} instead of git commit id
81 - sed -i "s/\(COMMIT_ID=\).*/\1${PV}/g" "${S}/libbeat/scripts/Makefile" || die
82 -}
83 -
84 -src_compile() {
85 - GOPATH="${WORKDIR}" emake -C "${S}/filebeat"
86 -}
87 -
88 -src_install() {
89 - keepdir /var/{lib,log}/${PN}
90 -
91 - fperms 0750 /var/{lib,log}/${PN}
92 -
93 - newconfd "${FILESDIR}/${PN}.confd" ${PN}
94 - newinitd "${FILESDIR}/${PN}.initd.1" ${PN}
95 -
96 - docinto examples
97 - dodoc ${PN}/{filebeat.yml,filebeat.reference.yml}
98 -
99 - dobin filebeat/filebeat
100 -}
101 -
102 -pkg_postinst() {
103 - if [[ -n "${REPLACING_VERSIONS}" ]]; then
104 - elog "Please read the migration guide at:"
105 - elog "https://www.elastic.co/guide/en/beats/libbeat/$(ver_cut 1-2)/upgrading.html"
106 - elog ""
107 - fi
108 -
109 - elog "Example configurations:"
110 - elog "${EROOT}/usr/share/doc/${PF}/examples"
111 -}
112
113 diff --git a/app-admin/filebeat/filebeat-6.4.3.ebuild b/app-admin/filebeat/filebeat-6.4.3.ebuild
114 deleted file mode 100644
115 index 8a81429845c..00000000000
116 --- a/app-admin/filebeat/filebeat-6.4.3.ebuild
117 +++ /dev/null
118 @@ -1,66 +0,0 @@
119 -# Copyright 1999-2018 Gentoo Authors
120 -# Distributed under the terms of the GNU General Public License v2
121 -
122 -EAPI=7
123 -
124 -DESCRIPTION="Lightweight log shipper for Logstash and Elasticsearch"
125 -HOMEPAGE="https://www.elastic.co/products/beats"
126 -SRC_URI="https://github.com/elastic/beats/archive/v${PV}.tar.gz -> ${P}.tar.gz"
127 -
128 -LICENSE="Apache-2.0"
129 -SLOT="0"
130 -KEYWORDS="~amd64 ~x86"
131 -RESTRICT="test"
132 -
133 -DEPEND=">=dev-lang/go-1.10.3"
134 -RDEPEND="!app-admin/filebeat-bin"
135 -
136 -# Do not complain about CFLAGS etc since go projects do not use them.
137 -QA_FLAGS_IGNORED='.*'
138 -
139 -S="${WORKDIR}/src/github.com/elastic/beats"
140 -
141 -src_unpack() {
142 - mkdir -p "${S%/*}" || die
143 - default
144 - mv beats-${PV} "${S}" || die
145 -}
146 -
147 -src_prepare() {
148 - default
149 -
150 - # avoid Elastic license
151 - rm -r x-pack || die
152 -
153 - # use ${PV} instead of git commit id
154 - sed -i "s/\(COMMIT_ID=\).*/\1${PV}/g" "${S}/libbeat/scripts/Makefile" || die
155 -}
156 -
157 -src_compile() {
158 - GOPATH="${WORKDIR}" emake -C "${S}/filebeat"
159 -}
160 -
161 -src_install() {
162 - keepdir /var/{lib,log}/${PN}
163 -
164 - fperms 0750 /var/{lib,log}/${PN}
165 -
166 - newconfd "${FILESDIR}/${PN}.confd" ${PN}
167 - newinitd "${FILESDIR}/${PN}.initd.1" ${PN}
168 -
169 - docinto examples
170 - dodoc ${PN}/{filebeat.yml,filebeat.reference.yml}
171 -
172 - dobin filebeat/filebeat
173 -}
174 -
175 -pkg_postinst() {
176 - if [[ -n "${REPLACING_VERSIONS}" ]]; then
177 - elog "Please read the migration guide at:"
178 - elog "https://www.elastic.co/guide/en/beats/libbeat/$(ver_cut 1-2)/upgrading.html"
179 - elog ""
180 - fi
181 -
182 - elog "Example configurations:"
183 - elog "${EROOT}/usr/share/doc/${PF}/examples"
184 -}
185
186 diff --git a/app-admin/filebeat/filebeat-6.5.4.ebuild b/app-admin/filebeat/filebeat-6.5.4.ebuild
187 deleted file mode 100644
188 index 9c0c5d215f4..00000000000
189 --- a/app-admin/filebeat/filebeat-6.5.4.ebuild
190 +++ /dev/null
191 @@ -1,66 +0,0 @@
192 -# Copyright 1999-2018 Gentoo Authors
193 -# Distributed under the terms of the GNU General Public License v2
194 -
195 -EAPI=7
196 -
197 -DESCRIPTION="Lightweight log shipper for Logstash and Elasticsearch"
198 -HOMEPAGE="https://www.elastic.co/products/beats"
199 -SRC_URI="https://github.com/elastic/beats/archive/v${PV}.tar.gz -> ${P}.tar.gz"
200 -
201 -LICENSE="Apache-2.0"
202 -SLOT="0"
203 -KEYWORDS="~amd64 ~x86"
204 -RESTRICT="test"
205 -
206 -DEPEND=">=dev-lang/go-1.11.2"
207 -RDEPEND="!app-admin/filebeat-bin"
208 -
209 -# Do not complain about CFLAGS etc since go projects do not use them.
210 -QA_FLAGS_IGNORED='.*'
211 -
212 -S="${WORKDIR}/src/github.com/elastic/beats"
213 -
214 -src_unpack() {
215 - mkdir -p "${S%/*}" || die
216 - default
217 - mv beats-${PV} "${S}" || die
218 -}
219 -
220 -src_prepare() {
221 - default
222 -
223 - # avoid Elastic license
224 - rm -r x-pack || die
225 -
226 - # use ${PV} instead of git commit id
227 - sed -i "s/\(COMMIT_ID=\).*/\1${PV}/g" "${S}/libbeat/scripts/Makefile" || die
228 -}
229 -
230 -src_compile() {
231 - GOPATH="${WORKDIR}" emake -C "${S}/filebeat"
232 -}
233 -
234 -src_install() {
235 - keepdir /var/{lib,log}/${PN}
236 -
237 - fperms 0750 /var/{lib,log}/${PN}
238 -
239 - newconfd "${FILESDIR}/${PN}.confd" ${PN}
240 - newinitd "${FILESDIR}/${PN}.initd.1" ${PN}
241 -
242 - docinto examples
243 - dodoc ${PN}/{filebeat.yml,filebeat.reference.yml}
244 -
245 - dobin filebeat/filebeat
246 -}
247 -
248 -pkg_postinst() {
249 - if [[ -n "${REPLACING_VERSIONS}" ]]; then
250 - elog "Please read the migration guide at:"
251 - elog "https://www.elastic.co/guide/en/beats/libbeat/$(ver_cut 1-2)/upgrading.html"
252 - elog ""
253 - fi
254 -
255 - elog "Example configurations:"
256 - elog "${EROOT}/usr/share/doc/${PF}/examples"
257 -}
258
259 diff --git a/app-admin/filebeat/filebeat-6.8.1.ebuild b/app-admin/filebeat/filebeat-6.8.1.ebuild
260 deleted file mode 100644
261 index 36a7f617b67..00000000000
262 --- a/app-admin/filebeat/filebeat-6.8.1.ebuild
263 +++ /dev/null
264 @@ -1,67 +0,0 @@
265 -# Copyright 1999-2019 Gentoo Authors
266 -# Distributed under the terms of the GNU General Public License v2
267 -
268 -EAPI="7"
269 -
270 -DESCRIPTION="Lightweight log shipper for Logstash and Elasticsearch"
271 -HOMEPAGE="https://www.elastic.co/products/beats"
272 -SRC_URI="https://github.com/elastic/beats/archive/v${PV}.tar.gz -> ${P}.tar.gz"
273 -
274 -LICENSE="Apache-2.0"
275 -SLOT="0"
276 -KEYWORDS="~amd64 ~x86"
277 -RESTRICT="test"
278 -
279 -DEPEND=">=dev-lang/go-1.12.5"
280 -RDEPEND="!app-admin/filebeat-bin"
281 -
282 -# Do not complain about CFLAGS etc since go projects do not use them.
283 -QA_FLAGS_IGNORED='.*'
284 -
285 -S="${WORKDIR}/src/github.com/elastic/beats"
286 -
287 -src_unpack() {
288 - mkdir -p "${S%/*}" || die
289 - default
290 - mv beats-${PV} "${S}" || die
291 -}
292 -
293 -src_prepare() {
294 - default
295 -
296 - # avoid Elastic license
297 - rm -r x-pack || die
298 -
299 - # use ${PV} instead of git commit id
300 - sed -i "s/\(COMMIT_ID=\).*/\1${PV}/g" "${S}/libbeat/scripts/Makefile" || die
301 -}
302 -
303 -src_compile() {
304 - GOPATH="${WORKDIR}" emake -C "${S}/filebeat"
305 -}
306 -
307 -src_install() {
308 - keepdir /etc/${PN}
309 - keepdir /var/{lib,log}/${PN}
310 -
311 - fperms 0750 /var/{lib,log}/${PN}
312 -
313 - newconfd "${FILESDIR}/${PN}.confd" ${PN}
314 - newinitd "${FILESDIR}/${PN}.initd.1" ${PN}
315 -
316 - docinto examples
317 - dodoc ${PN}/{filebeat.yml,filebeat.reference.yml}
318 -
319 - dobin filebeat/filebeat
320 -}
321 -
322 -pkg_postinst() {
323 - if [[ -n "${REPLACING_VERSIONS}" ]]; then
324 - elog "Please read the migration guide at:"
325 - elog "https://www.elastic.co/guide/en/beats/libbeat/$(ver_cut 1-2)/upgrading.html"
326 - elog ""
327 - fi
328 -
329 - elog "Example configurations:"
330 - elog "${EROOT}/usr/share/doc/${PF}/examples"
331 -}
332
333 diff --git a/app-admin/filebeat/filebeat-6.8.3.ebuild b/app-admin/filebeat/filebeat-6.8.3.ebuild
334 deleted file mode 100644
335 index 0c71f0e0843..00000000000
336 --- a/app-admin/filebeat/filebeat-6.8.3.ebuild
337 +++ /dev/null
338 @@ -1,67 +0,0 @@
339 -# Copyright 1999-2019 Gentoo Authors
340 -# Distributed under the terms of the GNU General Public License v2
341 -
342 -EAPI=7
343 -
344 -DESCRIPTION="Lightweight log shipper for Logstash and Elasticsearch"
345 -HOMEPAGE="https://www.elastic.co/products/beats"
346 -SRC_URI="https://github.com/elastic/beats/archive/v${PV}.tar.gz -> ${P}.tar.gz"
347 -
348 -LICENSE="Apache-2.0"
349 -SLOT="0"
350 -KEYWORDS="~amd64 ~x86"
351 -RESTRICT="test"
352 -
353 -DEPEND=">=dev-lang/go-1.12.9"
354 -RDEPEND="!app-admin/filebeat-bin"
355 -
356 -# Do not complain about CFLAGS etc since go projects do not use them.
357 -QA_FLAGS_IGNORED='.*'
358 -
359 -S="${WORKDIR}/src/github.com/elastic/beats"
360 -
361 -src_unpack() {
362 - mkdir -p "${S%/*}" || die
363 - default
364 - mv beats-${PV} "${S}" || die
365 -}
366 -
367 -src_prepare() {
368 - default
369 -
370 - # avoid Elastic license
371 - rm -r x-pack || die
372 -
373 - # use ${PV} instead of git commit id
374 - sed -i "s/\(COMMIT_ID=\).*/\1${PV}/g" "${S}/libbeat/scripts/Makefile" || die
375 -}
376 -
377 -src_compile() {
378 - GOPATH="${WORKDIR}" emake -C "${S}/filebeat"
379 -}
380 -
381 -src_install() {
382 - keepdir /etc/${PN}
383 - keepdir /var/{lib,log}/${PN}
384 -
385 - fperms 0750 /var/{lib,log}/${PN}
386 -
387 - newconfd "${FILESDIR}/${PN}.confd" ${PN}
388 - newinitd "${FILESDIR}/${PN}.initd.1" ${PN}
389 -
390 - docinto examples
391 - dodoc ${PN}/{filebeat.yml,filebeat.reference.yml}
392 -
393 - dobin filebeat/filebeat
394 -}
395 -
396 -pkg_postinst() {
397 - if [[ -n "${REPLACING_VERSIONS}" ]]; then
398 - elog "Please read the migration guide at:"
399 - elog "https://www.elastic.co/guide/en/beats/libbeat/$(ver_cut 1-2)/upgrading.html"
400 - elog ""
401 - fi
402 -
403 - elog "Example configurations:"
404 - elog "${EROOT}/usr/share/doc/${PF}/examples"
405 -}
406
407 diff --git a/app-admin/filebeat/files/filebeat.initd b/app-admin/filebeat/files/filebeat.initd
408 index 92b8369a41d..1d9a987c87b 100644
409 --- a/app-admin/filebeat/files/filebeat.initd
410 +++ b/app-admin/filebeat/files/filebeat.initd
411 @@ -1,5 +1,5 @@
412 #!/sbin/openrc-run
413 -# Copyright 1999-2017 Gentoo Foundation
414 +# Copyright 1999-2019 Gentoo Foundation
415 # Distributed under the terms of the GNU General Public License v2
416
417 FILEBEAT_USER="${FILEBEAT_USER:-root}"
418
419 diff --git a/app-admin/filebeat/files/filebeat.initd.1 b/app-admin/filebeat/files/filebeat.initd.1
420 index 2cb33ba8ebc..3bad7654d34 100644
421 --- a/app-admin/filebeat/files/filebeat.initd.1
422 +++ b/app-admin/filebeat/files/filebeat.initd.1
423 @@ -1,5 +1,5 @@
424 #!/sbin/openrc-run
425 -# Copyright 1999-2017 Gentoo Foundation
426 +# Copyright 1999-2019 Gentoo Foundation
427 # Distributed under the terms of the GNU General Public License v2
428
429 FILEBEAT_USER="${FILEBEAT_USER:-root}"