Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/logstash-bin/
Date: Wed, 31 Jan 2018 21:58:53
Message-Id: 1517435911.92762f408aef3ca7d3de56612d6d79a4803341a4.mgorny@gentoo
1 commit: 92762f408aef3ca7d3de56612d6d79a4803341a4
2 Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Wed Jan 3 16:24:29 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 31 21:58:31 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92762f40
7
8 app-admin/logstash-bin: drop old
9
10 Closes: https://github.com/gentoo/gentoo/pull/6600
11 Package-Manager: Portage-2.3.18, Repoman-2.3.6
12
13 app-admin/logstash-bin/Manifest | 1 -
14 app-admin/logstash-bin/logstash-bin-5.5.3.ebuild | 75 ------------------------
15 2 files changed, 76 deletions(-)
16
17 diff --git a/app-admin/logstash-bin/Manifest b/app-admin/logstash-bin/Manifest
18 index 54dc647d07d..d115ba5e88c 100644
19 --- a/app-admin/logstash-bin/Manifest
20 +++ b/app-admin/logstash-bin/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST logstash-5.5.3.zip 99551442 BLAKE2B ee29db9b606a3aae83c218d020fc8c17d19013411e3a0deb6c333489803f4d3d6809ac8806adf373e319888049826d0d4ce8f09ca6db3b1afdeb261321e349ba SHA512 a4328ad0b8192b7c5aaed155d608d9db6adeaefd640e461ef4467daa1a28a2ae25d6b2b1adcf47c5dd82b66fc1adbf8ba5f3eabcf7e69dd8719a5860795877aa
23 DIST logstash-5.6.5.zip 109135563 BLAKE2B 6846231439807dd4fc77ae86af849aaefcc9084482f2f88de6148da3d31ef583164da6749ebe0c4def83217e95729a933acbb3e04777db58639eaab91de06831 SHA512 f1dcbb8f67d2f2868e38646b56376428e0996cbf302837300939b8c7ff6d764417fccea40f90559c48441f939e6940e84501ee3ad1e29ad2538969f2cc12b2b8
24 DIST logstash-6.0.1.zip 116215793 BLAKE2B 676810b9cd62f578e31e1d63d4aae8c920590905a7344434d5e14607bab0e3ce59e2740e6839491f44ce769b24330a7a060174dcb5e6cb9cf51a31d165ba990b SHA512 395e4e2ff199d9ffc5156901d6ba6ab17771ab8f8859acede74567b2294e2d7ee2a6693e79f7b3e82c8d5c1959ad259bfb22e7992670cdcd3b73c7b72a635a31
25 DIST logstash-6.1.1.zip 116335093 BLAKE2B e7a990c2ea0eb3ec7de714f038765817c76eaf9e6cef0e55106f1f1aca406ec95d6be779f24c1fa28e096b51feeef968cb31f416f99c85c2f45d798bb74aadf7 SHA512 a2a420169dff31f3d5d65628a9d1eaad930a8e544fc4e986e3671ffeea3a1d03c8f77f8b51568a0da082588a843568fb7aefe29c1c90365882f429f9536f9240
26
27 diff --git a/app-admin/logstash-bin/logstash-bin-5.5.3.ebuild b/app-admin/logstash-bin/logstash-bin-5.5.3.ebuild
28 deleted file mode 100644
29 index 0c945e55090..00000000000
30 --- a/app-admin/logstash-bin/logstash-bin-5.5.3.ebuild
31 +++ /dev/null
32 @@ -1,75 +0,0 @@
33 -# Copyright 1999-2017 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -inherit user
39 -
40 -MY_PN="${PN%-bin}"
41 -MY_P="${MY_PN}-${PV}"
42 -
43 -DESCRIPTION="Tool for managing events and logs"
44 -HOMEPAGE="https://www.elastic.co/products/logstash"
45 -SRC_URI="https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}.zip"
46 -
47 -# source: LICENSE.txt and NOTICE.txt
48 -LICENSE="Apache-2.0 MIT"
49 -SLOT="0"
50 -KEYWORDS="~amd64"
51 -
52 -RESTRICT="strip"
53 -QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so"
54 -
55 -RDEPEND="virtual/jre:1.8"
56 -
57 -S="${WORKDIR}/${MY_P}"
58 -
59 -pkg_setup() {
60 - enewgroup ${MY_PN}
61 - enewuser ${MY_PN} -1 -1 /var/lib/${MY_PN} ${MY_PN}
62 -}
63 -
64 -src_install() {
65 - keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins}
66 - keepdir "/var/lib/${MY_PN}"
67 - keepdir "/var/log/${MY_PN}"
68 -
69 - insinto "/usr/share/${MY_PN}"
70 - newins "${FILESDIR}/agent.conf.sample" agent.conf
71 -
72 - insinto "/opt/${MY_PN}"
73 - doins -r .
74 - fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin"
75 -
76 - insinto /etc/logrotate.d
77 - newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
78 -
79 - newconfd "${FILESDIR}/${MY_PN}.confd" "${MY_PN}"
80 - newinitd "${FILESDIR}/${MY_PN}.initd" "${MY_PN}"
81 -
82 - insinto /usr/share/eselect/modules
83 - doins "${FILESDIR}"/logstash-plugin.eselect
84 -}
85 -
86 -pkg_postinst() {
87 - ewarn "The default pidfile directory has been changed from /run/logstash to /run."
88 - ewarn "Please ensure any running logstash processes are shut down cleanly."
89 - ewarn
90 - ewarn "The default data directory has been moved from /opt/logstash/data to"
91 - ewarn "/var/lib/logstash/data. Please check and move its contents as necessary."
92 - ewarn
93 - ewarn "Self installed plugins are removed during Logstash upgrades (Bug #622602)"
94 - ewarn "Install the plugins via eselect module that will automatically re-install"
95 - ewarn "all self installed plugins after Logstash upgrades."
96 - einfo
97 - einfo "Installing plugins:"
98 - einfo "eselect logstash-plugin install logstash-output-gelf"
99 - einfo
100 -
101 - einfo "Reinstalling self installed plugins (installed via eselect module):"
102 - eselect logstash-plugin reinstall
103 -
104 - einfo
105 - einfo "Sample configuration:"
106 - einfo "${EROOT%/}/usr/share/${MY_PN}"
107 -}