diff options
author | Tomas Mozes <hydrapolic@gmail.com> | 2017-05-23 15:00:38 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-05-23 21:58:13 +0200 |
commit | 956554ef25db1cf390e0519c627c8c7f71eeb2e6 (patch) | |
tree | c92ae6d11e5495bb0e40089a37f4d8098475f050 /app-admin/filebeat | |
parent | www-apps/kibana-bin: bump to 5.4.0 (diff) | |
download | gentoo-956554ef25db1cf390e0519c627c8c7f71eeb2e6.tar.gz gentoo-956554ef25db1cf390e0519c627c8c7f71eeb2e6.tar.bz2 gentoo-956554ef25db1cf390e0519c627c8c7f71eeb2e6.zip |
app-admin/filebeat: bump to 5.3.2/5.4.0, drop old
Closes: https://github.com/gentoo/gentoo/pull/4731
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'app-admin/filebeat')
-rw-r--r-- | app-admin/filebeat/Manifest | 3 | ||||
-rw-r--r-- | app-admin/filebeat/filebeat-5.3.2.ebuild (renamed from app-admin/filebeat/filebeat-5.3.1.ebuild) | 2 | ||||
-rw-r--r-- | app-admin/filebeat/filebeat-5.4.0.ebuild | 69 |
3 files changed, 72 insertions, 2 deletions
diff --git a/app-admin/filebeat/Manifest b/app-admin/filebeat/Manifest index 49b139a6f699..f140989b39ba 100644 --- a/app-admin/filebeat/Manifest +++ b/app-admin/filebeat/Manifest @@ -1,3 +1,4 @@ DIST filebeat-5.1.2.tar.gz 16512836 SHA256 7cd554f8be6b02290ebbc17c9820acde3dc59108672ced7a0cf5486faa3e23ce SHA512 f5ade54c3a2471680067fc5f6861ddcc052177c473f40d2135ba281e63172a4ba386368f77e5e4ba77b60c88ee20e5cd0095705aa3ed6e2588fda034de6b116f WHIRLPOOL 438119b4e5664ee0cff2a70b811ea4c247def4b15efdc1bcc243f157fe88669636c6465b93316adc2d774e5b4109856c54cc658bde2636393431b0f30a712f80 DIST filebeat-5.2.2.tar.gz 16489808 SHA256 45c89fab339de3d3e7f9a83c7a48312ede147d5989b67b8619d9128353c891c3 SHA512 7cf54eb0b27d830e51bf97964f078874eae62e1d9642fb598cdd2f0a405db4a74e1f299c5e57e29a67cfea209b9b3c7f38bdcbe6b2e2885285b77615236971c1 WHIRLPOOL 3a708a799b3360cee12a58d858bd51f474fb86c143c6648edd451d2862ce05ae0bc9544ceef62ddbf05bc50c439a7ee041faef70214ced3e53e16e8452a9f486 -DIST filebeat-5.3.1.tar.gz 17594920 SHA256 392c647fd3a4fd40b70d911950f38c0fd65a3ad4bb8548fcd0afd77c01d31d9e SHA512 add9b899886e1d36632e6509ab6abb312bcd58f8545aa4368a4d19e6c9267b3a50fd6f5ebd431edf679a1d4583af1991b362ce87720dcf90d9990ee968769d05 WHIRLPOOL 221027a801e99e008fbe5995d187cd9318180c535ed80a7f48c7befd4c84a168ed1a7666a1ec2bb6f06784f330fde8bb12a4f02141f0bb90cefddb8c6fb5db58 +DIST filebeat-5.3.2.tar.gz 17595133 SHA256 e8c765531276e4731c5148bd99fad1efc799f3ec68e1d32a2fe116995f2b9e2f SHA512 080d079a063641e3688cc9f1563517e9a314ca834b0fa90fe12d455f984bb83282243736ecf17a7e62214034b71d373afc503d3bc5ff3d106ef5965ce00c3543 WHIRLPOOL ef6aee18d24e2b25439485121f30af2ff4d76c4ac2fe97acd1f6ec70d27c8a49ce9c3323baaa2305f56f20dea0118c970458c0cb8bfa05bc0227fdb3987f1478 +DIST filebeat-5.4.0.tar.gz 17823310 SHA256 d236f9433d48b69cc2f0bf3617f17d5f2eec261acee96cc28d8b72be84afc0a7 SHA512 7249f130a4d0c2bb6797c243a9b57e8f44552c548ad33f48a48463bdd16b3419500688be3d96c426155d2fdda3c94058837bf4fcdc59a849d02230e118699a18 WHIRLPOOL ea27e97a3ccffca5839c307b2a4de5428dd5cb6fb90941ad298887492217e23a15081b4f0e9b394175d80b70c1aeef7fc5a2d6b5c1df65b77012e9b11c569c74 diff --git a/app-admin/filebeat/filebeat-5.3.1.ebuild b/app-admin/filebeat/filebeat-5.3.2.ebuild index ae7e555c8499..441b68ae9efa 100644 --- a/app-admin/filebeat/filebeat-5.3.1.ebuild +++ b/app-admin/filebeat/filebeat-5.3.2.ebuild @@ -11,7 +11,7 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" -DEPEND=">=dev-lang/go-1.7.1" +DEPEND=">=dev-lang/go-1.7.4" RDEPEND="!app-admin/filebeat-bin" ELASTIC="${WORKDIR}/src/github.com/elastic" diff --git a/app-admin/filebeat/filebeat-5.4.0.ebuild b/app-admin/filebeat/filebeat-5.4.0.ebuild new file mode 100644 index 000000000000..83d28bf3f0b7 --- /dev/null +++ b/app-admin/filebeat/filebeat-5.4.0.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" + +DEPEND=">=dev-lang/go-1.8.1" +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} + + 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" +} |