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/logstash-bin/
Date: Tue, 30 Mar 2021 07:25:40
Message-Id: 1617089120.caa026c6923b1f306c5599771d16a5799a1f3153.juippis@gentoo
1 commit: caa026c6923b1f306c5599771d16a5799a1f3153
2 Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Thu Mar 25 15:17:14 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 30 07:25:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caa026c6
7
8 app-admin/logstash-bin: drop old
9
10 Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
11 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
12
13 app-admin/logstash-bin/Manifest | 8 --
14 app-admin/logstash-bin/logstash-bin-6.8.13.ebuild | 73 -------------------
15 app-admin/logstash-bin/logstash-bin-7.8.1.ebuild | 89 -----------------------
16 app-admin/logstash-bin/logstash-bin-7.9.2.ebuild | 89 -----------------------
17 app-admin/logstash-bin/logstash-bin-7.9.3.ebuild | 89 -----------------------
18 5 files changed, 348 deletions(-)
19
20 diff --git a/app-admin/logstash-bin/Manifest b/app-admin/logstash-bin/Manifest
21 index c0bc2ac6a67..ab52504552f 100644
22 --- a/app-admin/logstash-bin/Manifest
23 +++ b/app-admin/logstash-bin/Manifest
24 @@ -1,14 +1,6 @@
25 -DIST logstash-6.8.13.tar.gz 176911221 BLAKE2B 644dc67dea638e2e2307e807bf2f08e9758db4f8b1a01deb13585b925ceeaaaafba0e573f125c095603b5c7e5329ae82677472c72f53af9d26d792de31c896ed SHA512 f253b566e8f67063bea6dd183ca495d7b53b0062566278e0937af71763fb0b3339ef90c7620edd3370719faa2c49a162e1757141fa60b7136e9d9c3d83657d32
26 DIST logstash-6.8.15.tar.gz 176912362 BLAKE2B 68178b2cbf0ad3ecafc83fddf4c50ef767862fbb90ba7a0dd0527de4f8d3bddc485a99a7e774c6d0efd5b3eb4bf701be042cfc58dcb546c7436db39ff4594841 SHA512 bb42b1284f6ca8d4b10cac96b57cae0f28a33047164f9f9a352ed906a960e11fea3d9c58b23cdd607e0d76eee7aa07fbb6ce8870323e3cc6cba472578d99fb01
27 DIST logstash-7.10.2-linux-x86_64.tar.gz 351170815 BLAKE2B 536a33de4be4bd1b6dfccf7d4cedc064b0f0b9c0569545d195244cf14f38d9c83159439d7710a76fdc4e4394b5f7d5a1919460c1c03186b4fc7f054744a46016 SHA512 34099b34a05c6b85b1b355310bd190b606aa0bcce1cad07bf5fd98959e54f61860bdd697cca8f3cdab2d2b815bbc2a788d2e14dcac4b3d85a0d5bafd72d2b170
28 DIST logstash-7.12.0-linux-x86_64.tar.gz 368429061 BLAKE2B 7bf60eeeec072e99aec807c8cb64cfd5cd46270d297c717fee539531286f487ef254738a439947e40bfc039778d20fa746566aa4d0c031a8f1a22deaaab9ce74 SHA512 ba32cb97e81cc3f4369c752b860aea7a85d212921954e5829f0b63526584d01c79731dd094905d91ed35f9887ae70bfffd5324b25dc3f23e60745462493e8195
29 -DIST logstash-7.8.1.tar.gz 159599529 BLAKE2B c7ba03fc106add6ee0b956de1c3a1ed221c2571087aeedec178d65be3cc83a10f7a4eb35898fc441ffd1c27322668d8e95344a5509cc703b4788d76422a5a1f1 SHA512 7ad6d380e92e90fad2a058a24571b85a49d5ed81835837c12dfa2f4ae4c776483de39b099ed6852ca7f4bab833cd5aba44d28df3048557dfc4a52d4c5486e276
30 -DIST logstash-7.9.2.tar.gz 158690951 BLAKE2B a50d959d0d032896b64f2957f299efead1ef51cda77c440f612500ba7193bc8cc81b092c59513dc70a412cf813920df4da5cadff5a494136c5d284d5b9060f34 SHA512 54ec3f58f6fea9d8dee9cbe8eaf755bb9f5d26858082f6594f6fe5f006af6e3f2ee2d5899ada71ef4ad6856d27c0c91ad7a0769aea16c09a8cf6ab234ffc939e
31 -DIST logstash-7.9.3.tar.gz 158711139 BLAKE2B 5a5426e3ee41e3f985318e7356a3b13df1042b887a627824e9d14a73839e648ea6291333921902320b20cc3e474a15d9b1f4c76bfcfdc0b6aaa08ed098df0ae4 SHA512 f4bfc97203bcad589d3682a4dfd8f7e6172efa958775541b128f43b151cedf4065b1eab012d60a8aa5005dbb504e4c3638a26492c30fba3ba5b271ad17876f25
32 -DIST logstash-oss-6.8.13.tar.gz 176780212 BLAKE2B 68a5f262023f75525e8b8f98d279920011a0a4cbb34c7297c51f3e45034ab12ca2e2f57b2bb22453107e24fdbca65f16f73a69776fbfd321ea87c6fd1b8d0292 SHA512 0919c8f7bbf39ac9cb41d0065267eb39ba359393e629bf360d6795a68efc9444ab99c7287c533b53efe9ec74fbe403ebe5e5e178b42c48b92d79281a3a5f2045
33 DIST logstash-oss-6.8.15.tar.gz 176782145 BLAKE2B 20cdd28d9c6e43edb3cc6d60b961155880aaf2e22d100b6641246a56194ba87aef3c41e039be2ab6bca75e646b83a3f42c935472776aa87a4baa774cca74458d SHA512 c74f189af58ca936b3d3e19970f29a78b8f041f5771163c5ed28466e84cf456f4814a9f4c5a9def2706c39daaebaca948c14e683a6aa82b2e1c1e7ee57592dc2
34 DIST logstash-oss-7.10.2-linux-x86_64.tar.gz 350992238 BLAKE2B f31207af62b6ff36af4be6fae9c6ede18a481317d28ba2ee6469cd095acba9b41ad4d7598756a51a078bf3d4269ae2f11750e4117842e496811a79825f284aef SHA512 5425483a7d3ec5ba186574940031a529efa683f452f5e3e38ffd9bd07771beabdd5c54a8147ed42fe761b700ea5c294018f1efb22fa6fdcf23189f2aea314b5b
35 DIST logstash-oss-7.12.0-linux-x86_64.tar.gz 368251521 BLAKE2B 0959b29335dba2728d2e7a76ee482fb713f9d504a52bea1dcde99f042cfd52d9e18067cb3fffe6ca28b2eddddfd4ded1a19de616f4ddd3b6889e373a908706a0 SHA512 5d7bd5ec3ea5907771bb7590277e54be3407cebe6bc89dd7f5d73b02e9e8907855d19500787b21c8ffcff9cdbbb68a4bbb286131d03ce5585ec89e5c2a76dc60
36 -DIST logstash-oss-7.8.1.tar.gz 159415077 BLAKE2B b6dd108679d813cf4ba0d0426ea8acfb460cdcfeec052359a6ce79f194fe4631349973ce1bc726fe7356264211608328204332c74e49ba0aa92e626571789142 SHA512 60d964c0b1f6afebcd41a8036e2dbbee62ca15365c840a5664406428c6b692588ea9343a600ba12d4355ff46ae60a08d42c61c5f33bb7590ce119e15fa1a32e4
37 -DIST logstash-oss-7.9.2.tar.gz 158510234 BLAKE2B 568f5ba0ebe2baf75211af2e4c859ec5496e28149a060d7688606b56a7972924f0a163914f1c085bc2600694bfc7363fa5300785457f64f3210b97e1074c7210 SHA512 dbd83299a5b3ec76f3e4b235d0b6aff9aad2ab395412b570e3ef82c2ba761a1899a7009b117af9b13b623c00579f323751da7b54c613047efa2558394a19387d
38 -DIST logstash-oss-7.9.3.tar.gz 158530838 BLAKE2B 0a37f05a42848e6d99ac6741f7fa92a73794d292ad72f793754805d45bdff940163875046258148f71cf953ce40be8747d201d0782de0cf60f2ed16db0136b29 SHA512 13d7a2e417d061b838c8be8a2a874f5964fd32c70cb437ab4bab7c4f8a17882b7874dabe53ba6a588250e56557e972b6d1f5be7970debbfbd893d4532705e6f2
39
40 diff --git a/app-admin/logstash-bin/logstash-bin-6.8.13.ebuild b/app-admin/logstash-bin/logstash-bin-6.8.13.ebuild
41 deleted file mode 100644
42 index 08167fb0287..00000000000
43 --- a/app-admin/logstash-bin/logstash-bin-6.8.13.ebuild
44 +++ /dev/null
45 @@ -1,73 +0,0 @@
46 -# Copyright 1999-2020 Gentoo Authors
47 -# Distributed under the terms of the GNU General Public License v2
48 -
49 -EAPI=7
50 -
51 -inherit java-pkg-2
52 -
53 -MY_PN="${PN%-bin}"
54 -MY_P="${MY_PN}-${PV}"
55 -
56 -DESCRIPTION="Tool for managing events and logs"
57 -HOMEPAGE="https://www.elastic.co/products/logstash"
58 -SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}.tar.gz )
59 - !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}.tar.gz )"
60 -
61 -# source: LICENSE.txt and NOTICE.txt
62 -LICENSE="Apache-2.0 MIT x-pack? ( Elastic )"
63 -SLOT="0"
64 -KEYWORDS="~amd64"
65 -IUSE="x-pack"
66 -
67 -RESTRICT="strip"
68 -QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so"
69 -
70 -RDEPEND="acct-group/logstash
71 - acct-user/logstash
72 - virtual/jre:1.8"
73 -
74 -S="${WORKDIR}/${MY_P}"
75 -
76 -src_install() {
77 - keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins}
78 - keepdir "/var/log/${MY_PN}"
79 -
80 - insinto "/usr/share/${MY_PN}"
81 - newins "${FILESDIR}/agent.conf.sample" agent.conf
82 -
83 - rm -v config/{pipelines.yml,startup.options} || die
84 - insinto /etc/${MY_PN}
85 - doins -r config/.
86 - doins "${FILESDIR}/pipelines.yml"
87 - rm -rv config data || die
88 -
89 - insinto "/opt/${MY_PN}"
90 - doins -r .
91 - fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin"
92 -
93 - newconfd "${FILESDIR}/${MY_PN}.confd-r2" "${MY_PN}"
94 - newinitd "${FILESDIR}/${MY_PN}.initd-r2" "${MY_PN}"
95 -
96 - insinto /usr/share/eselect/modules
97 - doins "${FILESDIR}"/logstash-plugin.eselect
98 -}
99 -
100 -pkg_postinst() {
101 - ewarn "Self installed plugins are removed during Logstash upgrades (Bug #622602)"
102 - ewarn "Install the plugins via eselect module that will automatically re-install"
103 - ewarn "all self installed plugins after Logstash upgrades."
104 - elog
105 - elog "Installing plugins:"
106 - elog "eselect logstash-plugin install logstash-output-gelf"
107 - elog
108 -
109 - elog "Reinstalling self installed plugins (installed via eselect module):"
110 - eselect logstash-plugin reinstall
111 -
112 - elog
113 - elog "Sample configuration:"
114 - elog "${EROOT}/usr/share/${MY_PN}"
115 - elog
116 - elog "The default pipeline configuration expects the configuration(s) to be found in:"
117 - elog "${EROOT}/etc/logstash/conf.d/*.conf"
118 -}
119
120 diff --git a/app-admin/logstash-bin/logstash-bin-7.8.1.ebuild b/app-admin/logstash-bin/logstash-bin-7.8.1.ebuild
121 deleted file mode 100644
122 index f4705732966..00000000000
123 --- a/app-admin/logstash-bin/logstash-bin-7.8.1.ebuild
124 +++ /dev/null
125 @@ -1,89 +0,0 @@
126 -# Copyright 1999-2020 Gentoo Authors
127 -# Distributed under the terms of the GNU General Public License v2
128 -
129 -EAPI=7
130 -
131 -inherit java-pkg-2
132 -
133 -MY_PN="${PN%-bin}"
134 -MY_P="${MY_PN}-${PV}"
135 -
136 -DESCRIPTION="Tool for managing events and logs"
137 -HOMEPAGE="https://www.elastic.co/products/logstash"
138 -SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}.tar.gz )
139 - !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}.tar.gz )"
140 -
141 -# source: LICENSE.txt and NOTICE.txt
142 -LICENSE="Apache-2.0 MIT x-pack? ( Elastic )"
143 -SLOT="0"
144 -KEYWORDS="~amd64"
145 -IUSE="x-pack"
146 -
147 -RESTRICT="strip"
148 -QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so"
149 -
150 -RDEPEND="acct-group/logstash
151 - acct-user/logstash
152 - virtual/jre"
153 -
154 -S="${WORKDIR}/${MY_P}"
155 -
156 -src_prepare() {
157 - default
158 -
159 - rm vendor/jruby/lib/jni/aarch64-Linux/libjffi-1.2.so \
160 - vendor/jruby/lib/jni/arm-Linux/libjffi-1.2.so \
161 - vendor/jruby/lib/jni/i386-SunOS/libjffi-1.2.so \
162 - vendor/jruby/lib/jni/mips64el-Linux/libjffi-1.2.so \
163 - vendor/jruby/lib/jni/ppc64-Linux/libjffi-1.2.so \
164 - vendor/jruby/lib/jni/ppc64le-Linux/libjffi-1.2.so \
165 - vendor/jruby/lib/jni/sparcv9-Linux/libjffi-1.2.so \
166 - vendor/jruby/lib/jni/sparcv9-SunOS/libjffi-1.2.so \
167 - vendor/jruby/lib/jni/x86_64-DragonFlyBSD/libjffi-1.2.so \
168 - vendor/jruby/lib/jni/x86_64-FreeBSD/libjffi-1.2.so \
169 - vendor/jruby/lib/jni/x86_64-SunOS/libjffi-1.2.so || die
170 -}
171 -
172 -src_install() {
173 - keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins}
174 - keepdir "/var/log/${MY_PN}"
175 -
176 - insinto "/usr/share/${MY_PN}"
177 - newins "${FILESDIR}/agent.conf.sample" agent.conf
178 -
179 - rm -v config/{pipelines.yml,startup.options} || die
180 - insinto /etc/${MY_PN}
181 - doins -r config/.
182 - doins "${FILESDIR}/pipelines.yml"
183 - rm -rv config data || die
184 -
185 - insinto "/opt/${MY_PN}"
186 - doins -r .
187 - fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin"
188 -
189 - newconfd "${FILESDIR}/${MY_PN}.confd-r2" "${MY_PN}"
190 - newinitd "${FILESDIR}/${MY_PN}.initd-r2" "${MY_PN}"
191 -
192 - insinto /usr/share/eselect/modules
193 - doins "${FILESDIR}"/logstash-plugin.eselect
194 -}
195 -
196 -pkg_postinst() {
197 - ewarn "Self installed plugins are removed during Logstash upgrades (Bug #622602)"
198 - ewarn "Install the plugins via eselect module that will automatically re-install"
199 - ewarn "all self installed plugins after Logstash upgrades."
200 - elog
201 - elog "Installing plugins:"
202 - elog "eselect logstash-plugin install logstash-output-gelf"
203 - elog
204 -
205 - elog "Reinstalling self installed plugins (installed via eselect module):"
206 - eselect logstash-plugin reinstall
207 -
208 - elog
209 - elog "Sample configuration:"
210 - elog "${EROOT}/usr/share/${MY_PN}"
211 - elog
212 - elog "The default pipeline configuration expects the configuration(s) to be found in:"
213 - elog "${EROOT}/etc/logstash/conf.d/*.conf"
214 -}
215
216 diff --git a/app-admin/logstash-bin/logstash-bin-7.9.2.ebuild b/app-admin/logstash-bin/logstash-bin-7.9.2.ebuild
217 deleted file mode 100644
218 index f4705732966..00000000000
219 --- a/app-admin/logstash-bin/logstash-bin-7.9.2.ebuild
220 +++ /dev/null
221 @@ -1,89 +0,0 @@
222 -# Copyright 1999-2020 Gentoo Authors
223 -# Distributed under the terms of the GNU General Public License v2
224 -
225 -EAPI=7
226 -
227 -inherit java-pkg-2
228 -
229 -MY_PN="${PN%-bin}"
230 -MY_P="${MY_PN}-${PV}"
231 -
232 -DESCRIPTION="Tool for managing events and logs"
233 -HOMEPAGE="https://www.elastic.co/products/logstash"
234 -SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}.tar.gz )
235 - !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}.tar.gz )"
236 -
237 -# source: LICENSE.txt and NOTICE.txt
238 -LICENSE="Apache-2.0 MIT x-pack? ( Elastic )"
239 -SLOT="0"
240 -KEYWORDS="~amd64"
241 -IUSE="x-pack"
242 -
243 -RESTRICT="strip"
244 -QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so"
245 -
246 -RDEPEND="acct-group/logstash
247 - acct-user/logstash
248 - virtual/jre"
249 -
250 -S="${WORKDIR}/${MY_P}"
251 -
252 -src_prepare() {
253 - default
254 -
255 - rm vendor/jruby/lib/jni/aarch64-Linux/libjffi-1.2.so \
256 - vendor/jruby/lib/jni/arm-Linux/libjffi-1.2.so \
257 - vendor/jruby/lib/jni/i386-SunOS/libjffi-1.2.so \
258 - vendor/jruby/lib/jni/mips64el-Linux/libjffi-1.2.so \
259 - vendor/jruby/lib/jni/ppc64-Linux/libjffi-1.2.so \
260 - vendor/jruby/lib/jni/ppc64le-Linux/libjffi-1.2.so \
261 - vendor/jruby/lib/jni/sparcv9-Linux/libjffi-1.2.so \
262 - vendor/jruby/lib/jni/sparcv9-SunOS/libjffi-1.2.so \
263 - vendor/jruby/lib/jni/x86_64-DragonFlyBSD/libjffi-1.2.so \
264 - vendor/jruby/lib/jni/x86_64-FreeBSD/libjffi-1.2.so \
265 - vendor/jruby/lib/jni/x86_64-SunOS/libjffi-1.2.so || die
266 -}
267 -
268 -src_install() {
269 - keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins}
270 - keepdir "/var/log/${MY_PN}"
271 -
272 - insinto "/usr/share/${MY_PN}"
273 - newins "${FILESDIR}/agent.conf.sample" agent.conf
274 -
275 - rm -v config/{pipelines.yml,startup.options} || die
276 - insinto /etc/${MY_PN}
277 - doins -r config/.
278 - doins "${FILESDIR}/pipelines.yml"
279 - rm -rv config data || die
280 -
281 - insinto "/opt/${MY_PN}"
282 - doins -r .
283 - fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin"
284 -
285 - newconfd "${FILESDIR}/${MY_PN}.confd-r2" "${MY_PN}"
286 - newinitd "${FILESDIR}/${MY_PN}.initd-r2" "${MY_PN}"
287 -
288 - insinto /usr/share/eselect/modules
289 - doins "${FILESDIR}"/logstash-plugin.eselect
290 -}
291 -
292 -pkg_postinst() {
293 - ewarn "Self installed plugins are removed during Logstash upgrades (Bug #622602)"
294 - ewarn "Install the plugins via eselect module that will automatically re-install"
295 - ewarn "all self installed plugins after Logstash upgrades."
296 - elog
297 - elog "Installing plugins:"
298 - elog "eselect logstash-plugin install logstash-output-gelf"
299 - elog
300 -
301 - elog "Reinstalling self installed plugins (installed via eselect module):"
302 - eselect logstash-plugin reinstall
303 -
304 - elog
305 - elog "Sample configuration:"
306 - elog "${EROOT}/usr/share/${MY_PN}"
307 - elog
308 - elog "The default pipeline configuration expects the configuration(s) to be found in:"
309 - elog "${EROOT}/etc/logstash/conf.d/*.conf"
310 -}
311
312 diff --git a/app-admin/logstash-bin/logstash-bin-7.9.3.ebuild b/app-admin/logstash-bin/logstash-bin-7.9.3.ebuild
313 deleted file mode 100644
314 index f4705732966..00000000000
315 --- a/app-admin/logstash-bin/logstash-bin-7.9.3.ebuild
316 +++ /dev/null
317 @@ -1,89 +0,0 @@
318 -# Copyright 1999-2020 Gentoo Authors
319 -# Distributed under the terms of the GNU General Public License v2
320 -
321 -EAPI=7
322 -
323 -inherit java-pkg-2
324 -
325 -MY_PN="${PN%-bin}"
326 -MY_P="${MY_PN}-${PV}"
327 -
328 -DESCRIPTION="Tool for managing events and logs"
329 -HOMEPAGE="https://www.elastic.co/products/logstash"
330 -SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}.tar.gz )
331 - !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}.tar.gz )"
332 -
333 -# source: LICENSE.txt and NOTICE.txt
334 -LICENSE="Apache-2.0 MIT x-pack? ( Elastic )"
335 -SLOT="0"
336 -KEYWORDS="~amd64"
337 -IUSE="x-pack"
338 -
339 -RESTRICT="strip"
340 -QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so"
341 -
342 -RDEPEND="acct-group/logstash
343 - acct-user/logstash
344 - virtual/jre"
345 -
346 -S="${WORKDIR}/${MY_P}"
347 -
348 -src_prepare() {
349 - default
350 -
351 - rm vendor/jruby/lib/jni/aarch64-Linux/libjffi-1.2.so \
352 - vendor/jruby/lib/jni/arm-Linux/libjffi-1.2.so \
353 - vendor/jruby/lib/jni/i386-SunOS/libjffi-1.2.so \
354 - vendor/jruby/lib/jni/mips64el-Linux/libjffi-1.2.so \
355 - vendor/jruby/lib/jni/ppc64-Linux/libjffi-1.2.so \
356 - vendor/jruby/lib/jni/ppc64le-Linux/libjffi-1.2.so \
357 - vendor/jruby/lib/jni/sparcv9-Linux/libjffi-1.2.so \
358 - vendor/jruby/lib/jni/sparcv9-SunOS/libjffi-1.2.so \
359 - vendor/jruby/lib/jni/x86_64-DragonFlyBSD/libjffi-1.2.so \
360 - vendor/jruby/lib/jni/x86_64-FreeBSD/libjffi-1.2.so \
361 - vendor/jruby/lib/jni/x86_64-SunOS/libjffi-1.2.so || die
362 -}
363 -
364 -src_install() {
365 - keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins}
366 - keepdir "/var/log/${MY_PN}"
367 -
368 - insinto "/usr/share/${MY_PN}"
369 - newins "${FILESDIR}/agent.conf.sample" agent.conf
370 -
371 - rm -v config/{pipelines.yml,startup.options} || die
372 - insinto /etc/${MY_PN}
373 - doins -r config/.
374 - doins "${FILESDIR}/pipelines.yml"
375 - rm -rv config data || die
376 -
377 - insinto "/opt/${MY_PN}"
378 - doins -r .
379 - fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin"
380 -
381 - newconfd "${FILESDIR}/${MY_PN}.confd-r2" "${MY_PN}"
382 - newinitd "${FILESDIR}/${MY_PN}.initd-r2" "${MY_PN}"
383 -
384 - insinto /usr/share/eselect/modules
385 - doins "${FILESDIR}"/logstash-plugin.eselect
386 -}
387 -
388 -pkg_postinst() {
389 - ewarn "Self installed plugins are removed during Logstash upgrades (Bug #622602)"
390 - ewarn "Install the plugins via eselect module that will automatically re-install"
391 - ewarn "all self installed plugins after Logstash upgrades."
392 - elog
393 - elog "Installing plugins:"
394 - elog "eselect logstash-plugin install logstash-output-gelf"
395 - elog
396 -
397 - elog "Reinstalling self installed plugins (installed via eselect module):"
398 - eselect logstash-plugin reinstall
399 -
400 - elog
401 - elog "Sample configuration:"
402 - elog "${EROOT}/usr/share/${MY_PN}"
403 - elog
404 - elog "The default pipeline configuration expects the configuration(s) to be found in:"
405 - elog "${EROOT}/etc/logstash/conf.d/*.conf"
406 -}