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/logstash-bin/
Date: Tue, 12 Dec 2017 20:27:23 +0000 (UTC)	[thread overview]
Message-ID: <1513110429.3b829c4415e9e3997f0f430c2a2a02eaa6a6fa7b.monsieurp@gentoo> (raw)

commit:     3b829c4415e9e3997f0f430c2a2a02eaa6a6fa7b
Author:     Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Mon Dec 11 06:38:51 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Dec 12 20:27:09 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b829c44

app-admin/logstash-bin: bump to 5.6.5/6.0.1.

Package-Manager: Portage-2.3.16, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/6516

 app-admin/logstash-bin/Manifest                  |  2 +
 app-admin/logstash-bin/logstash-bin-5.6.5.ebuild | 77 ++++++++++++++++++++++++
 app-admin/logstash-bin/logstash-bin-6.0.1.ebuild | 77 ++++++++++++++++++++++++
 3 files changed, 156 insertions(+)

diff --git a/app-admin/logstash-bin/Manifest b/app-admin/logstash-bin/Manifest
index b0a11f33682..238b9dd330e 100644
--- a/app-admin/logstash-bin/Manifest
+++ b/app-admin/logstash-bin/Manifest
@@ -1,3 +1,5 @@
 DIST logstash-5.5.3.zip 99551442 BLAKE2B ee29db9b606a3aae83c218d020fc8c17d19013411e3a0deb6c333489803f4d3d6809ac8806adf373e319888049826d0d4ce8f09ca6db3b1afdeb261321e349ba SHA512 a4328ad0b8192b7c5aaed155d608d9db6adeaefd640e461ef4467daa1a28a2ae25d6b2b1adcf47c5dd82b66fc1adbf8ba5f3eabcf7e69dd8719a5860795877aa
 DIST logstash-5.6.4.zip 109819435 BLAKE2B 63c7016c7fa38f92d2f6a43b9e3086014bc4d4fb67772d4156f8c9fb31bce7329e52734a30effca3fa9691bef81727be1c7da9b54bfc4ce97bc7487fe60a4862 SHA512 5382671758d905bbd89f9e05eff9ffcf4a3bbc4fca6f06844647c31df3f50198c297daa0151915c9ef1f0cd741ccb9fb12a7fa13cdc429463d92783c92624717
+DIST logstash-5.6.5.zip 109135563 BLAKE2B 6846231439807dd4fc77ae86af849aaefcc9084482f2f88de6148da3d31ef583164da6749ebe0c4def83217e95729a933acbb3e04777db58639eaab91de06831 SHA512 f1dcbb8f67d2f2868e38646b56376428e0996cbf302837300939b8c7ff6d764417fccea40f90559c48441f939e6940e84501ee3ad1e29ad2538969f2cc12b2b8
 DIST logstash-6.0.0.zip 118915764 BLAKE2B fd99a2d73c0f7bc381154f197353cb8a5f55f8c278b8381207b3bbeac13dd7850ae4b994dbcc582324b11e7a9bfa6807bcaeebf5506b5234bc6ba0ad62009182 SHA512 9d830f5a88e51b5076af13cc2909fd42c7a75de9466fdd0e7379dff20e7f6d6bfd97b6005278222fb3ab020aa98a572023fc36a7f7cde2eaa4d9a1745f3c82b4
+DIST logstash-6.0.1.zip 116215793 BLAKE2B 676810b9cd62f578e31e1d63d4aae8c920590905a7344434d5e14607bab0e3ce59e2740e6839491f44ce769b24330a7a060174dcb5e6cb9cf51a31d165ba990b SHA512 395e4e2ff199d9ffc5156901d6ba6ab17771ab8f8859acede74567b2294e2d7ee2a6693e79f7b3e82c8d5c1959ad259bfb22e7992670cdcd3b73c7b72a635a31

diff --git a/app-admin/logstash-bin/logstash-bin-5.6.5.ebuild b/app-admin/logstash-bin/logstash-bin-5.6.5.ebuild
new file mode 100644
index 00000000000..f5c2a9c0a25
--- /dev/null
+++ b/app-admin/logstash-bin/logstash-bin-5.6.5.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit java-pkg-2 user
+
+MY_PN="${PN%-bin}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Tool for managing events and logs"
+HOMEPAGE="https://www.elastic.co/products/logstash"
+SRC_URI="https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}.zip"
+
+# source: LICENSE.txt and NOTICE.txt
+LICENSE="Apache-2.0 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="strip"
+QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so"
+
+RDEPEND="virtual/jre:1.8"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+	enewgroup ${MY_PN}
+	enewuser ${MY_PN} -1 -1 /var/lib/${MY_PN} ${MY_PN}
+}
+
+src_install() {
+	keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins}
+	keepdir "/var/lib/${MY_PN}"
+	keepdir "/var/log/${MY_PN}"
+
+	insinto "/usr/share/${MY_PN}"
+	newins "${FILESDIR}/agent.conf.sample" agent.conf
+
+	rm -v config/startup.options || die
+	insinto /etc/${MY_PN}
+	doins config/*
+	rm -rv config data || die
+
+	insinto "/opt/${MY_PN}"
+	doins -r .
+	fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin"
+
+	newconfd "${FILESDIR}/${MY_PN}.confd-r1" "${MY_PN}"
+	newinitd "${FILESDIR}/${MY_PN}.initd-r1" "${MY_PN}"
+
+	insinto /usr/share/eselect/modules
+	doins "${FILESDIR}"/logstash-plugin.eselect
+}
+
+pkg_postinst() {
+	ewarn "The default pidfile directory has been changed from /run/logstash to /run."
+	ewarn "Please ensure any running logstash processes are shut down cleanly."
+	ewarn
+	ewarn "The default data directory has been moved from /opt/logstash/data to"
+	ewarn "/var/lib/logstash/data. Please check and move its contents as necessary."
+	ewarn
+	ewarn "Self installed plugins are removed during Logstash upgrades (Bug #622602)"
+	ewarn "Install the plugins via eselect module that will automatically re-install"
+	ewarn "all self installed plugins after Logstash upgrades."
+	einfo
+	einfo "Installing plugins:"
+	einfo "eselect logstash-plugin install logstash-output-gelf"
+	einfo
+
+	einfo "Reinstalling self installed plugins (installed via eselect module):"
+	eselect logstash-plugin reinstall
+
+	einfo
+	einfo "Sample configuration:"
+	einfo "${EROOT%/}/usr/share/${MY_PN}"
+}

diff --git a/app-admin/logstash-bin/logstash-bin-6.0.1.ebuild b/app-admin/logstash-bin/logstash-bin-6.0.1.ebuild
new file mode 100644
index 00000000000..f5c2a9c0a25
--- /dev/null
+++ b/app-admin/logstash-bin/logstash-bin-6.0.1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit java-pkg-2 user
+
+MY_PN="${PN%-bin}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Tool for managing events and logs"
+HOMEPAGE="https://www.elastic.co/products/logstash"
+SRC_URI="https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}.zip"
+
+# source: LICENSE.txt and NOTICE.txt
+LICENSE="Apache-2.0 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="strip"
+QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so"
+
+RDEPEND="virtual/jre:1.8"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+	enewgroup ${MY_PN}
+	enewuser ${MY_PN} -1 -1 /var/lib/${MY_PN} ${MY_PN}
+}
+
+src_install() {
+	keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins}
+	keepdir "/var/lib/${MY_PN}"
+	keepdir "/var/log/${MY_PN}"
+
+	insinto "/usr/share/${MY_PN}"
+	newins "${FILESDIR}/agent.conf.sample" agent.conf
+
+	rm -v config/startup.options || die
+	insinto /etc/${MY_PN}
+	doins config/*
+	rm -rv config data || die
+
+	insinto "/opt/${MY_PN}"
+	doins -r .
+	fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin"
+
+	newconfd "${FILESDIR}/${MY_PN}.confd-r1" "${MY_PN}"
+	newinitd "${FILESDIR}/${MY_PN}.initd-r1" "${MY_PN}"
+
+	insinto /usr/share/eselect/modules
+	doins "${FILESDIR}"/logstash-plugin.eselect
+}
+
+pkg_postinst() {
+	ewarn "The default pidfile directory has been changed from /run/logstash to /run."
+	ewarn "Please ensure any running logstash processes are shut down cleanly."
+	ewarn
+	ewarn "The default data directory has been moved from /opt/logstash/data to"
+	ewarn "/var/lib/logstash/data. Please check and move its contents as necessary."
+	ewarn
+	ewarn "Self installed plugins are removed during Logstash upgrades (Bug #622602)"
+	ewarn "Install the plugins via eselect module that will automatically re-install"
+	ewarn "all self installed plugins after Logstash upgrades."
+	einfo
+	einfo "Installing plugins:"
+	einfo "eselect logstash-plugin install logstash-output-gelf"
+	einfo
+
+	einfo "Reinstalling self installed plugins (installed via eselect module):"
+	eselect logstash-plugin reinstall
+
+	einfo
+	einfo "Sample configuration:"
+	einfo "${EROOT%/}/usr/share/${MY_PN}"
+}


             reply	other threads:[~2017-12-12 20:27 UTC|newest]

Thread overview: 124+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-12 20:27 Patrice Clement [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-20 13:33 [gentoo-commits] repo/gentoo:master commit in: app-admin/logstash-bin/ Sam James
2024-01-20 13:33 Sam James
2023-09-16  7:57 Joonas Niilola
2023-05-27  7:49 Joonas Niilola
2023-03-11 16:26 Sam James
2023-01-08  3:37 Sam James
2022-11-18  8:51 Joonas Niilola
2022-07-15  8:38 Joonas Niilola
2022-07-15  8:38 Joonas Niilola
2022-07-15  8:38 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
2021-12-21  1:56 Sam James
2021-12-14  1:19 Sam James
2021-11-11 23:49 Sam James
2021-10-04 12:51 Joonas Niilola
2021-10-04 12:51 Joonas Niilola
2021-10-02 12:46 Joonas Niilola
2021-07-31 10:03 Joonas Niilola
2021-07-31 10:03 Joonas Niilola
2021-06-16  9:50 Thomas Deutschmann
2021-06-16  9:50 Thomas Deutschmann
2021-05-31  8:20 Sam James
2021-05-11 15:47 Thomas Deutschmann
2021-03-30  7:25 Joonas Niilola
2021-03-30  7:25 Joonas Niilola
2021-03-30  7:25 Joonas Niilola
2021-01-21 23:23 Sam James
2020-11-18 17:34 Thomas Deutschmann
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-07-30 18:17 Thomas Deutschmann
2020-07-30 18:17 Thomas Deutschmann
2020-07-30 18:17 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-29  6:53 Joonas Niilola
2019-09-21 14:49 Joonas Niilola
2019-09-21 14:49 Joonas Niilola
2019-08-28  9:11 David Seifert
2019-08-11 14:39 Joonas Niilola
2019-08-11 14:39 Joonas Niilola
2019-03-04 15: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 15:22 Mikle Kolyada
2018-11-10 20:57 Thomas Deutschmann
2018-11-10 20:57 Thomas Deutschmann
2018-11-10 20:57 Thomas Deutschmann
2018-10-02  9:40 Thomas Deutschmann
2018-10-02  9:40 Thomas Deutschmann
2018-10-02  9:40 Thomas Deutschmann
2018-09-09 20:41 Thomas Deutschmann
2018-09-09 20:41 Thomas Deutschmann
2018-09-09 20:41 Thomas Deutschmann
2018-08-07 22:27 Patrice Clement
2018-07-15 16:16 Mikle Kolyada
2018-07-15 16:16 Mikle Kolyada
2018-05-14 13:45 Michał Górny
2018-05-14 13:45 Michał Górny
2018-05-14 13:45 Michał Górny
2018-03-12 22:59 Patrice Clement
2018-03-12 22:59 Patrice Clement
2018-01-31 21:58 Michał Górny
2018-01-31 21:58 Michał Górny
2017-12-12 20:27 Patrice Clement
2017-11-25 13:22 Amy Liffey
2017-11-16 15:13 Amy Liffey
2017-11-16 15:13 Amy Liffey
2017-10-18 22:32 Patrice Clement
2017-10-18 22:32 Patrice Clement
2017-09-30  8:59 Patrice Clement
2017-09-25 11:29 Michael Orlitzky
2017-07-08 21:35 Patrice Clement
2017-06-04 17:52 Michał Górny
2017-05-19 10:52 Michał Górny
2017-05-18 22:25 Michał Górny
2017-05-17 16:37 Patrick Lauer
2017-04-26 21:02 Patrice Clement
2017-03-28  3:05 Göktürk Yüksek
2017-03-16 22:03 Göktürk Yüksek
2016-11-28 11:07 Patrick Lauer
2016-10-31 13:55 Patrick Lauer
2016-10-15  9:25 Patrick Lauer
2016-10-02 12:59 Göktürk Yüksek
2016-10-01 19:05 Patrick Lauer
2016-09-08  9:35 Patrice Clement
2016-09-08  9:33 Patrice Clement
2016-09-08  6:52 Patrice Clement
2016-09-02 14:38 Patrick Lauer
2016-09-02  5:26 Patrick Lauer
2016-09-01 14:14 Patrick Lauer
2016-07-11  9:24 Patrick Lauer
2016-07-04 16:18 Göktürk Yüksek
2016-07-04 16:18 Göktürk Yüksek
2016-06-23  2:33 Patrick Lauer
2016-04-28 10:25 Sam Jorna
2016-04-04  9:00 Ian Delaney
2016-04-01  9:15 Patrick Lauer
2016-02-23 10:10 Ian Delaney
2016-02-15 13:16 Patrice Clement
2016-02-09 10:26 Ian Delaney
2015-12-23 10:03 Patrice Clement
2015-12-23 10:03 Patrice Clement
2015-12-23 10:03 Patrice Clement
2015-12-07 11:37 Ian Delaney
2015-09-09  5:37 Ian Delaney

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=1513110429.3b829c4415e9e3997f0f430c2a2a02eaa6a6fa7b.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