1 |
commit: e1a5e15e8ed3767ff25b4736a9ee6d2a10993355 |
2 |
Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Sep 24 21:25:59 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 4 12:48:53 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1a5e15e |
7 |
|
8 |
app-admin/logstash-bin: drop old |
9 |
|
10 |
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/22391 |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
app-admin/logstash-bin/Manifest | 10 --- |
15 |
app-admin/logstash-bin/logstash-bin-6.8.15.ebuild | 73 ------------------- |
16 |
app-admin/logstash-bin/logstash-bin-6.8.16.ebuild | 73 ------------------- |
17 |
app-admin/logstash-bin/logstash-bin-7.12.0.ebuild | 88 ----------------------- |
18 |
app-admin/logstash-bin/logstash-bin-7.12.1.ebuild | 88 ----------------------- |
19 |
app-admin/logstash-bin/logstash-bin-7.13.2.ebuild | 88 ----------------------- |
20 |
6 files changed, 420 deletions(-) |
21 |
|
22 |
diff --git a/app-admin/logstash-bin/Manifest b/app-admin/logstash-bin/Manifest |
23 |
index 6e05e409cd0..3de59aab68e 100644 |
24 |
--- a/app-admin/logstash-bin/Manifest |
25 |
+++ b/app-admin/logstash-bin/Manifest |
26 |
@@ -1,18 +1,8 @@ |
27 |
-DIST logstash-6.8.15.tar.gz 176912362 BLAKE2B 68178b2cbf0ad3ecafc83fddf4c50ef767862fbb90ba7a0dd0527de4f8d3bddc485a99a7e774c6d0efd5b3eb4bf701be042cfc58dcb546c7436db39ff4594841 SHA512 bb42b1284f6ca8d4b10cac96b57cae0f28a33047164f9f9a352ed906a960e11fea3d9c58b23cdd607e0d76eee7aa07fbb6ce8870323e3cc6cba472578d99fb01 |
28 |
-DIST logstash-6.8.16.tar.gz 176912473 BLAKE2B ec7d5fb92a2ef55499b395a855bc5cfd3c953180d5bd443bd70ff792f12c51a6635d1cc60cf115cab6b934c6201f889f8fbb3b3e35a4841b177d42d0d6864c3f SHA512 c272fb8b0e03c37a057f7789989645077279492abca58a690fbc50e8e5e428a8f3c765e7d68d37ddaf927650b563d1ab0f637eb8a5213f4f0475bbfed1264caf |
29 |
DIST logstash-6.8.17.tar.gz 179116623 BLAKE2B fa25a3149fded215586d97b3bd2a2b2b168292d45e32f1b69987c9e6e9e6f35100643df09d03f51da042b27acfd57bfcfdb1f4f18fddf7b9d21e01ef84668cc7 SHA512 00cf51cbce906d2594b0a17548d362fe678f458a2e7f9c167d4387953a848a588dbba070d370002a5e4d7ca2df2e3910805a27e3c0263ab29d99042229af0c3a |
30 |
DIST logstash-6.8.19.tar.gz 179116787 BLAKE2B 156c915e4932acd1668b811f0c39c51870faa1ad462b6059a89e4f085af7e8aeaebcb458d65dec5fbc925ba49293db662af1fcb62f3a3b02eabe7756f6f193ab SHA512 19648c9f5f4ae2d222157d45a639f8e6740cd96610fa44a3374c036944b2dba8582f69909ece3e6b0cefe2f340cdc3094bb4b6daace2e564935cad4f8a4f4b19 |
31 |
-DIST logstash-7.12.0-linux-x86_64.tar.gz 368429061 BLAKE2B 7bf60eeeec072e99aec807c8cb64cfd5cd46270d297c717fee539531286f487ef254738a439947e40bfc039778d20fa746566aa4d0c031a8f1a22deaaab9ce74 SHA512 ba32cb97e81cc3f4369c752b860aea7a85d212921954e5829f0b63526584d01c79731dd094905d91ed35f9887ae70bfffd5324b25dc3f23e60745462493e8195 |
32 |
-DIST logstash-7.12.1-linux-x86_64.tar.gz 368465800 BLAKE2B eea395286408de50cf61b2a69f6a673f81c4021370eab9b04fb1a9ad993a5b625145d6710e5045f9572a6a923455fe8613c2262bd488f6e76d467850b1bfa5c5 SHA512 9ef32dbeb4269d904a775a1cf5833b09cc5b8b71c03f953641fd5de5c27ba51ec878d9e74cdd98255d37fcd39d592deea72832bdce26cbb2827db4ae3b294834 |
33 |
-DIST logstash-7.13.2-linux-x86_64.tar.gz 360899712 BLAKE2B 327c5a2820cc42ec0d63bd5d8e1983f37e217e7fe28eebe326a7437b938a3602b387e0138c0055b3b23f8d657013e79a8d7b9b0ad698075667a0c944c07e7dd8 SHA512 706a107fefc587262c27d754ddddce482affc6b12e240895d56ec61e97887f1edf7b0a0888e089827c622917d772f3b9231b6aadf352f5e78c7eee98cfdbfb2b |
34 |
DIST logstash-7.13.4-linux-x86_64.tar.gz 361126551 BLAKE2B e972b2c6b992573f0320de0487141c17fa6cd1889d7d266f79958fbc261a4e8564b9f9fc88b654de7e476c6c2747f47e169d0fd3601888035193a2cb844fd710 SHA512 2dba64af5f6b0724a75a8f4f3dc9fb067e27785fd5d0b9ef0571c77df6ebaa89418a165b7489ad47676847c4a9f928cbfc8d3ddc885db21053d0bda9dd524f49 |
35 |
DIST logstash-7.15.0-linux-x86_64.tar.gz 368280150 BLAKE2B 6e98096782ba4b36428b72e6f48007ccb6db05ac5032475267ebd1564dac1c136a059b42330f85efc8a758372fe0851b6c0d676f4062e01fe2c0d8f6c010de70 SHA512 50503eeea1ebed2540fac23429962f945e66fd8e1c260b6f4d3a80b220d83f2799d703b5d7778c6c80aed90c9e36cd777a580d63c80ab78dd440e26ff2e8b7ac |
36 |
-DIST logstash-oss-6.8.15.tar.gz 176782145 BLAKE2B 20cdd28d9c6e43edb3cc6d60b961155880aaf2e22d100b6641246a56194ba87aef3c41e039be2ab6bca75e646b83a3f42c935472776aa87a4baa774cca74458d SHA512 c74f189af58ca936b3d3e19970f29a78b8f041f5771163c5ed28466e84cf456f4814a9f4c5a9def2706c39daaebaca948c14e683a6aa82b2e1c1e7ee57592dc2 |
37 |
-DIST logstash-oss-6.8.16.tar.gz 176782454 BLAKE2B afdea56bbaa2623548948722f5dcd85172e0d3580c302fde91e1f6d0af66e82538465da9aeb428bbb9e66c7a8bdd29ce69279098d5c3ee9a7c2ac1efdbedb628 SHA512 d994472606cbb474471441a238c6bfacf9c1cdf1adf20129a8bc256daab9ea49adaa8c425c9a41520846465393a2c112ec6c83478579620ebbf446e528accf20 |
38 |
DIST logstash-oss-6.8.17.tar.gz 178986613 BLAKE2B 5e318903fb134f6096fb983d3651d5d81c2bc9d62421aa7468ee7cb82a5e7895a517911a759d82f1f2c939c3ce67df4e26c1296c0871cb1cfb8078627e68e5f3 SHA512 0f43f9f0dc4a253c6d5a6f07234a22bc67b8866dd6f25837372c1d3c9cca2ddb1b94b632c4528324eeb23019d5d1ae7374661dec8011e55210555e01bec77c2c |
39 |
DIST logstash-oss-6.8.19.tar.gz 178986302 BLAKE2B 54ff9be5f26f5e1aaf69403a05ec15358951f5ff4676ba1dc22d995c59071554ef542100400712238c01924a07de5777cda13b0cb84f8d19f1b953405eaab82e SHA512 2f7a2b187c418ba85fff5c86ff12379bc0a8ae0fe098f713c6d5c5339b6aec19589382e0817f6bf495c253f13f489eecb9161daa9102b366ef32073def4e75cf |
40 |
-DIST logstash-oss-7.12.0-linux-x86_64.tar.gz 368251521 BLAKE2B 0959b29335dba2728d2e7a76ee482fb713f9d504a52bea1dcde99f042cfd52d9e18067cb3fffe6ca28b2eddddfd4ded1a19de616f4ddd3b6889e373a908706a0 SHA512 5d7bd5ec3ea5907771bb7590277e54be3407cebe6bc89dd7f5d73b02e9e8907855d19500787b21c8ffcff9cdbbb68a4bbb286131d03ce5585ec89e5c2a76dc60 |
41 |
-DIST logstash-oss-7.12.1-linux-x86_64.tar.gz 368287628 BLAKE2B 72e758e6962cc5a24c2a5f6ea4c268be1bc0b5a0ae1d73cb056d0d321b20495df346233e58661f11a37fc5e6c0750f28501af24511a7a29c2e698ce933c7380f SHA512 cefdfdaf2f1d0190d35bc5da2244a5bc09659e9f225cfd05acbdacd0f5f89cc13b928704491d18ac0d54c3500f8c15dc7ca64341bf0d7ed56a49c10eb82a55d4 |
42 |
-DIST logstash-oss-7.13.2-linux-x86_64.tar.gz 360703237 BLAKE2B 130b68f77fb5b52db71d478801afe498ab157f2b38c56e67455b28bc7358faaae9663c79b515031544136e6dc126d8d96b6fab8f7802bf84d5125850540feaae SHA512 0d4cc38740b9a9b44a528a148ea8f2032a27af275bf4508700ec62ae3d74987c4fbbda72b4b6fb4a4059e9be3a7949813ad401187d43335e99b9a280350fba93 |
43 |
DIST logstash-oss-7.13.4-linux-x86_64.tar.gz 360925283 BLAKE2B 68482538d4b2589044215495ab7d41b4820650908d979438b197c5ee4ff82dfc53580fba7c834c62964e9b12ff23e6d9ecfc6e333a2cb6f077d6d4c953527173 SHA512 d57c30c763ba3323380c7276a49895ce3adbe90700061bdf1ce8c6abe98c4ac0c5789ac2a725f15d8d4f89c80dec691479027887b8976dcd618aa91f7af13d8e |
44 |
DIST logstash-oss-7.15.0-linux-x86_64.tar.gz 368079309 BLAKE2B 8f21ad0572b93ea7711fc4e721afcb067a629798b72325bff5642b3406e432da5ad6c0b4515ea6e4fa1e2412fdaae464f97bebc1531c61b30abfa8f8ddbb27b8 SHA512 648d83444cdf4997175eb48833cb4ddad09876fd65f6a01bc6ad2d983eb109707885a08250191b066f9d3775247774e09ecdbb7bcac2f7c22c6f1901f0648ba8 |
45 |
|
46 |
diff --git a/app-admin/logstash-bin/logstash-bin-6.8.15.ebuild b/app-admin/logstash-bin/logstash-bin-6.8.15.ebuild |
47 |
deleted file mode 100644 |
48 |
index beabb835c09..00000000000 |
49 |
--- a/app-admin/logstash-bin/logstash-bin-6.8.15.ebuild |
50 |
+++ /dev/null |
51 |
@@ -1,73 +0,0 @@ |
52 |
-# Copyright 1999-2021 Gentoo Authors |
53 |
-# Distributed under the terms of the GNU General Public License v2 |
54 |
- |
55 |
-EAPI=7 |
56 |
- |
57 |
-inherit java-pkg-2 |
58 |
- |
59 |
-MY_PN="${PN%-bin}" |
60 |
-MY_P="${MY_PN}-${PV}" |
61 |
- |
62 |
-DESCRIPTION="Tool for managing events and logs" |
63 |
-HOMEPAGE="https://www.elastic.co/products/logstash" |
64 |
-SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}.tar.gz ) |
65 |
- !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}.tar.gz )" |
66 |
- |
67 |
-# source: LICENSE.txt and NOTICE.txt |
68 |
-LICENSE="Apache-2.0 MIT x-pack? ( Elastic )" |
69 |
-SLOT="0" |
70 |
-KEYWORDS="~amd64" |
71 |
-IUSE="x-pack" |
72 |
- |
73 |
-RESTRICT="strip" |
74 |
-QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so" |
75 |
- |
76 |
-RDEPEND="acct-group/logstash |
77 |
- acct-user/logstash |
78 |
- virtual/jre:1.8" |
79 |
- |
80 |
-S="${WORKDIR}/${MY_P}" |
81 |
- |
82 |
-src_install() { |
83 |
- keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins} |
84 |
- keepdir "/var/log/${MY_PN}" |
85 |
- |
86 |
- insinto "/usr/share/${MY_PN}" |
87 |
- newins "${FILESDIR}/agent.conf.sample" agent.conf |
88 |
- |
89 |
- rm -v config/{pipelines.yml,startup.options} || die |
90 |
- insinto /etc/${MY_PN} |
91 |
- doins -r config/. |
92 |
- doins "${FILESDIR}/pipelines.yml" |
93 |
- rm -rv config data || die |
94 |
- |
95 |
- insinto "/opt/${MY_PN}" |
96 |
- doins -r . |
97 |
- fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin" |
98 |
- |
99 |
- newconfd "${FILESDIR}/${MY_PN}.confd-r2" "${MY_PN}" |
100 |
- newinitd "${FILESDIR}/${MY_PN}.initd-r2" "${MY_PN}" |
101 |
- |
102 |
- insinto /usr/share/eselect/modules |
103 |
- doins "${FILESDIR}"/logstash-plugin.eselect |
104 |
-} |
105 |
- |
106 |
-pkg_postinst() { |
107 |
- ewarn "Self installed plugins are removed during Logstash upgrades (Bug #622602)" |
108 |
- ewarn "Install the plugins via eselect module that will automatically re-install" |
109 |
- ewarn "all self installed plugins after Logstash upgrades." |
110 |
- elog |
111 |
- elog "Installing plugins:" |
112 |
- elog "eselect logstash-plugin install logstash-output-gelf" |
113 |
- elog |
114 |
- |
115 |
- elog "Reinstalling self installed plugins (installed via eselect module):" |
116 |
- eselect logstash-plugin reinstall |
117 |
- |
118 |
- elog |
119 |
- elog "Sample configuration:" |
120 |
- elog "${EROOT}/usr/share/${MY_PN}" |
121 |
- elog |
122 |
- elog "The default pipeline configuration expects the configuration(s) to be found in:" |
123 |
- elog "${EROOT}/etc/logstash/conf.d/*.conf" |
124 |
-} |
125 |
|
126 |
diff --git a/app-admin/logstash-bin/logstash-bin-6.8.16.ebuild b/app-admin/logstash-bin/logstash-bin-6.8.16.ebuild |
127 |
deleted file mode 100644 |
128 |
index beabb835c09..00000000000 |
129 |
--- a/app-admin/logstash-bin/logstash-bin-6.8.16.ebuild |
130 |
+++ /dev/null |
131 |
@@ -1,73 +0,0 @@ |
132 |
-# Copyright 1999-2021 Gentoo Authors |
133 |
-# Distributed under the terms of the GNU General Public License v2 |
134 |
- |
135 |
-EAPI=7 |
136 |
- |
137 |
-inherit java-pkg-2 |
138 |
- |
139 |
-MY_PN="${PN%-bin}" |
140 |
-MY_P="${MY_PN}-${PV}" |
141 |
- |
142 |
-DESCRIPTION="Tool for managing events and logs" |
143 |
-HOMEPAGE="https://www.elastic.co/products/logstash" |
144 |
-SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}.tar.gz ) |
145 |
- !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}.tar.gz )" |
146 |
- |
147 |
-# source: LICENSE.txt and NOTICE.txt |
148 |
-LICENSE="Apache-2.0 MIT x-pack? ( Elastic )" |
149 |
-SLOT="0" |
150 |
-KEYWORDS="~amd64" |
151 |
-IUSE="x-pack" |
152 |
- |
153 |
-RESTRICT="strip" |
154 |
-QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so" |
155 |
- |
156 |
-RDEPEND="acct-group/logstash |
157 |
- acct-user/logstash |
158 |
- virtual/jre:1.8" |
159 |
- |
160 |
-S="${WORKDIR}/${MY_P}" |
161 |
- |
162 |
-src_install() { |
163 |
- keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins} |
164 |
- keepdir "/var/log/${MY_PN}" |
165 |
- |
166 |
- insinto "/usr/share/${MY_PN}" |
167 |
- newins "${FILESDIR}/agent.conf.sample" agent.conf |
168 |
- |
169 |
- rm -v config/{pipelines.yml,startup.options} || die |
170 |
- insinto /etc/${MY_PN} |
171 |
- doins -r config/. |
172 |
- doins "${FILESDIR}/pipelines.yml" |
173 |
- rm -rv config data || die |
174 |
- |
175 |
- insinto "/opt/${MY_PN}" |
176 |
- doins -r . |
177 |
- fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin" |
178 |
- |
179 |
- newconfd "${FILESDIR}/${MY_PN}.confd-r2" "${MY_PN}" |
180 |
- newinitd "${FILESDIR}/${MY_PN}.initd-r2" "${MY_PN}" |
181 |
- |
182 |
- insinto /usr/share/eselect/modules |
183 |
- doins "${FILESDIR}"/logstash-plugin.eselect |
184 |
-} |
185 |
- |
186 |
-pkg_postinst() { |
187 |
- ewarn "Self installed plugins are removed during Logstash upgrades (Bug #622602)" |
188 |
- ewarn "Install the plugins via eselect module that will automatically re-install" |
189 |
- ewarn "all self installed plugins after Logstash upgrades." |
190 |
- elog |
191 |
- elog "Installing plugins:" |
192 |
- elog "eselect logstash-plugin install logstash-output-gelf" |
193 |
- elog |
194 |
- |
195 |
- elog "Reinstalling self installed plugins (installed via eselect module):" |
196 |
- eselect logstash-plugin reinstall |
197 |
- |
198 |
- elog |
199 |
- elog "Sample configuration:" |
200 |
- elog "${EROOT}/usr/share/${MY_PN}" |
201 |
- elog |
202 |
- elog "The default pipeline configuration expects the configuration(s) to be found in:" |
203 |
- elog "${EROOT}/etc/logstash/conf.d/*.conf" |
204 |
-} |
205 |
|
206 |
diff --git a/app-admin/logstash-bin/logstash-bin-7.12.0.ebuild b/app-admin/logstash-bin/logstash-bin-7.12.0.ebuild |
207 |
deleted file mode 100644 |
208 |
index aea75866ef6..00000000000 |
209 |
--- a/app-admin/logstash-bin/logstash-bin-7.12.0.ebuild |
210 |
+++ /dev/null |
211 |
@@ -1,88 +0,0 @@ |
212 |
-# Copyright 1999-2021 Gentoo Authors |
213 |
-# Distributed under the terms of the GNU General Public License v2 |
214 |
- |
215 |
-EAPI=7 |
216 |
- |
217 |
-inherit java-pkg-2 |
218 |
- |
219 |
-MY_PN="${PN%-bin}" |
220 |
-MY_P="${MY_PN}-${PV}" |
221 |
- |
222 |
-DESCRIPTION="Tool for managing events and logs" |
223 |
-HOMEPAGE="https://www.elastic.co/products/logstash" |
224 |
-SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz ) |
225 |
- !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}-linux-x86_64.tar.gz )" |
226 |
- |
227 |
-# source: LICENSE.txt and NOTICE.txt |
228 |
-LICENSE="Apache-2.0 MIT x-pack? ( Elastic )" |
229 |
-SLOT="0" |
230 |
-KEYWORDS="~amd64" |
231 |
-IUSE="x-pack" |
232 |
- |
233 |
-RESTRICT="strip" |
234 |
-QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so" |
235 |
- |
236 |
-RDEPEND="acct-group/logstash |
237 |
- acct-user/logstash |
238 |
- virtual/jre" |
239 |
- |
240 |
-S="${WORKDIR}/${MY_P}" |
241 |
- |
242 |
-src_prepare() { |
243 |
- default |
244 |
- |
245 |
- local d |
246 |
- for d in aarch64-Linux arm-Linux Darwin i386-Linux i386-SunOS \ |
247 |
- i386-Windows mips64el-Linux ppc64-AIX ppc64le-Linux ppc64-Linux \ |
248 |
- ppc-AIX sparcv9-Linux sparcv9-SunOS x86_64-DragonFlyBSD \ |
249 |
- x86_64-FreeBSD x86_64-OpenBSD x86_64-SunOS x86_64-Windows; do |
250 |
- rm -r vendor/jruby/lib/jni/$d || die |
251 |
- done |
252 |
- |
253 |
- # remove bundled java |
254 |
- rm -r jdk || die |
255 |
-} |
256 |
- |
257 |
-src_install() { |
258 |
- keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins} |
259 |
- keepdir "/var/log/${MY_PN}" |
260 |
- |
261 |
- insinto "/usr/share/${MY_PN}" |
262 |
- newins "${FILESDIR}/agent.conf.sample" agent.conf |
263 |
- |
264 |
- rm -v config/{pipelines.yml,startup.options} || die |
265 |
- insinto /etc/${MY_PN} |
266 |
- doins -r config/. |
267 |
- doins "${FILESDIR}/pipelines.yml" |
268 |
- rm -rv config data || die |
269 |
- |
270 |
- insinto "/opt/${MY_PN}" |
271 |
- doins -r . |
272 |
- fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin" |
273 |
- |
274 |
- newconfd "${FILESDIR}/${MY_PN}.confd-r2" "${MY_PN}" |
275 |
- newinitd "${FILESDIR}/${MY_PN}.initd-r2" "${MY_PN}" |
276 |
- |
277 |
- insinto /usr/share/eselect/modules |
278 |
- doins "${FILESDIR}"/logstash-plugin.eselect |
279 |
-} |
280 |
- |
281 |
-pkg_postinst() { |
282 |
- ewarn "Self installed plugins are removed during Logstash upgrades (Bug #622602)" |
283 |
- ewarn "Install the plugins via eselect module that will automatically re-install" |
284 |
- ewarn "all self installed plugins after Logstash upgrades." |
285 |
- elog |
286 |
- elog "Installing plugins:" |
287 |
- elog "eselect logstash-plugin install logstash-output-gelf" |
288 |
- elog |
289 |
- |
290 |
- elog "Reinstalling self installed plugins (installed via eselect module):" |
291 |
- eselect logstash-plugin reinstall |
292 |
- |
293 |
- elog |
294 |
- elog "Sample configuration:" |
295 |
- elog "${EROOT}/usr/share/${MY_PN}" |
296 |
- elog |
297 |
- elog "The default pipeline configuration expects the configuration(s) to be found in:" |
298 |
- elog "${EROOT}/etc/logstash/conf.d/*.conf" |
299 |
-} |
300 |
|
301 |
diff --git a/app-admin/logstash-bin/logstash-bin-7.12.1.ebuild b/app-admin/logstash-bin/logstash-bin-7.12.1.ebuild |
302 |
deleted file mode 100644 |
303 |
index aea75866ef6..00000000000 |
304 |
--- a/app-admin/logstash-bin/logstash-bin-7.12.1.ebuild |
305 |
+++ /dev/null |
306 |
@@ -1,88 +0,0 @@ |
307 |
-# Copyright 1999-2021 Gentoo Authors |
308 |
-# Distributed under the terms of the GNU General Public License v2 |
309 |
- |
310 |
-EAPI=7 |
311 |
- |
312 |
-inherit java-pkg-2 |
313 |
- |
314 |
-MY_PN="${PN%-bin}" |
315 |
-MY_P="${MY_PN}-${PV}" |
316 |
- |
317 |
-DESCRIPTION="Tool for managing events and logs" |
318 |
-HOMEPAGE="https://www.elastic.co/products/logstash" |
319 |
-SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz ) |
320 |
- !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}-linux-x86_64.tar.gz )" |
321 |
- |
322 |
-# source: LICENSE.txt and NOTICE.txt |
323 |
-LICENSE="Apache-2.0 MIT x-pack? ( Elastic )" |
324 |
-SLOT="0" |
325 |
-KEYWORDS="~amd64" |
326 |
-IUSE="x-pack" |
327 |
- |
328 |
-RESTRICT="strip" |
329 |
-QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so" |
330 |
- |
331 |
-RDEPEND="acct-group/logstash |
332 |
- acct-user/logstash |
333 |
- virtual/jre" |
334 |
- |
335 |
-S="${WORKDIR}/${MY_P}" |
336 |
- |
337 |
-src_prepare() { |
338 |
- default |
339 |
- |
340 |
- local d |
341 |
- for d in aarch64-Linux arm-Linux Darwin i386-Linux i386-SunOS \ |
342 |
- i386-Windows mips64el-Linux ppc64-AIX ppc64le-Linux ppc64-Linux \ |
343 |
- ppc-AIX sparcv9-Linux sparcv9-SunOS x86_64-DragonFlyBSD \ |
344 |
- x86_64-FreeBSD x86_64-OpenBSD x86_64-SunOS x86_64-Windows; do |
345 |
- rm -r vendor/jruby/lib/jni/$d || die |
346 |
- done |
347 |
- |
348 |
- # remove bundled java |
349 |
- rm -r jdk || die |
350 |
-} |
351 |
- |
352 |
-src_install() { |
353 |
- keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins} |
354 |
- keepdir "/var/log/${MY_PN}" |
355 |
- |
356 |
- insinto "/usr/share/${MY_PN}" |
357 |
- newins "${FILESDIR}/agent.conf.sample" agent.conf |
358 |
- |
359 |
- rm -v config/{pipelines.yml,startup.options} || die |
360 |
- insinto /etc/${MY_PN} |
361 |
- doins -r config/. |
362 |
- doins "${FILESDIR}/pipelines.yml" |
363 |
- rm -rv config data || die |
364 |
- |
365 |
- insinto "/opt/${MY_PN}" |
366 |
- doins -r . |
367 |
- fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin" |
368 |
- |
369 |
- newconfd "${FILESDIR}/${MY_PN}.confd-r2" "${MY_PN}" |
370 |
- newinitd "${FILESDIR}/${MY_PN}.initd-r2" "${MY_PN}" |
371 |
- |
372 |
- insinto /usr/share/eselect/modules |
373 |
- doins "${FILESDIR}"/logstash-plugin.eselect |
374 |
-} |
375 |
- |
376 |
-pkg_postinst() { |
377 |
- ewarn "Self installed plugins are removed during Logstash upgrades (Bug #622602)" |
378 |
- ewarn "Install the plugins via eselect module that will automatically re-install" |
379 |
- ewarn "all self installed plugins after Logstash upgrades." |
380 |
- elog |
381 |
- elog "Installing plugins:" |
382 |
- elog "eselect logstash-plugin install logstash-output-gelf" |
383 |
- elog |
384 |
- |
385 |
- elog "Reinstalling self installed plugins (installed via eselect module):" |
386 |
- eselect logstash-plugin reinstall |
387 |
- |
388 |
- elog |
389 |
- elog "Sample configuration:" |
390 |
- elog "${EROOT}/usr/share/${MY_PN}" |
391 |
- elog |
392 |
- elog "The default pipeline configuration expects the configuration(s) to be found in:" |
393 |
- elog "${EROOT}/etc/logstash/conf.d/*.conf" |
394 |
-} |
395 |
|
396 |
diff --git a/app-admin/logstash-bin/logstash-bin-7.13.2.ebuild b/app-admin/logstash-bin/logstash-bin-7.13.2.ebuild |
397 |
deleted file mode 100644 |
398 |
index aea75866ef6..00000000000 |
399 |
--- a/app-admin/logstash-bin/logstash-bin-7.13.2.ebuild |
400 |
+++ /dev/null |
401 |
@@ -1,88 +0,0 @@ |
402 |
-# Copyright 1999-2021 Gentoo Authors |
403 |
-# Distributed under the terms of the GNU General Public License v2 |
404 |
- |
405 |
-EAPI=7 |
406 |
- |
407 |
-inherit java-pkg-2 |
408 |
- |
409 |
-MY_PN="${PN%-bin}" |
410 |
-MY_P="${MY_PN}-${PV}" |
411 |
- |
412 |
-DESCRIPTION="Tool for managing events and logs" |
413 |
-HOMEPAGE="https://www.elastic.co/products/logstash" |
414 |
-SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz ) |
415 |
- !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}-linux-x86_64.tar.gz )" |
416 |
- |
417 |
-# source: LICENSE.txt and NOTICE.txt |
418 |
-LICENSE="Apache-2.0 MIT x-pack? ( Elastic )" |
419 |
-SLOT="0" |
420 |
-KEYWORDS="~amd64" |
421 |
-IUSE="x-pack" |
422 |
- |
423 |
-RESTRICT="strip" |
424 |
-QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so" |
425 |
- |
426 |
-RDEPEND="acct-group/logstash |
427 |
- acct-user/logstash |
428 |
- virtual/jre" |
429 |
- |
430 |
-S="${WORKDIR}/${MY_P}" |
431 |
- |
432 |
-src_prepare() { |
433 |
- default |
434 |
- |
435 |
- local d |
436 |
- for d in aarch64-Linux arm-Linux Darwin i386-Linux i386-SunOS \ |
437 |
- i386-Windows mips64el-Linux ppc64-AIX ppc64le-Linux ppc64-Linux \ |
438 |
- ppc-AIX sparcv9-Linux sparcv9-SunOS x86_64-DragonFlyBSD \ |
439 |
- x86_64-FreeBSD x86_64-OpenBSD x86_64-SunOS x86_64-Windows; do |
440 |
- rm -r vendor/jruby/lib/jni/$d || die |
441 |
- done |
442 |
- |
443 |
- # remove bundled java |
444 |
- rm -r jdk || die |
445 |
-} |
446 |
- |
447 |
-src_install() { |
448 |
- keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins} |
449 |
- keepdir "/var/log/${MY_PN}" |
450 |
- |
451 |
- insinto "/usr/share/${MY_PN}" |
452 |
- newins "${FILESDIR}/agent.conf.sample" agent.conf |
453 |
- |
454 |
- rm -v config/{pipelines.yml,startup.options} || die |
455 |
- insinto /etc/${MY_PN} |
456 |
- doins -r config/. |
457 |
- doins "${FILESDIR}/pipelines.yml" |
458 |
- rm -rv config data || die |
459 |
- |
460 |
- insinto "/opt/${MY_PN}" |
461 |
- doins -r . |
462 |
- fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin" |
463 |
- |
464 |
- newconfd "${FILESDIR}/${MY_PN}.confd-r2" "${MY_PN}" |
465 |
- newinitd "${FILESDIR}/${MY_PN}.initd-r2" "${MY_PN}" |
466 |
- |
467 |
- insinto /usr/share/eselect/modules |
468 |
- doins "${FILESDIR}"/logstash-plugin.eselect |
469 |
-} |
470 |
- |
471 |
-pkg_postinst() { |
472 |
- ewarn "Self installed plugins are removed during Logstash upgrades (Bug #622602)" |
473 |
- ewarn "Install the plugins via eselect module that will automatically re-install" |
474 |
- ewarn "all self installed plugins after Logstash upgrades." |
475 |
- elog |
476 |
- elog "Installing plugins:" |
477 |
- elog "eselect logstash-plugin install logstash-output-gelf" |
478 |
- elog |
479 |
- |
480 |
- elog "Reinstalling self installed plugins (installed via eselect module):" |
481 |
- eselect logstash-plugin reinstall |
482 |
- |
483 |
- elog |
484 |
- elog "Sample configuration:" |
485 |
- elog "${EROOT}/usr/share/${MY_PN}" |
486 |
- elog |
487 |
- elog "The default pipeline configuration expects the configuration(s) to be found in:" |
488 |
- elog "${EROOT}/etc/logstash/conf.d/*.conf" |
489 |
-} |