1 |
commit: f60e08ba74281eea215ea1d7c1806b4108a279f0 |
2 |
Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Jul 13 13:56:18 2018 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 15 16:16:52 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f60e08ba |
7 |
|
8 |
app-admin/logstash-bin: drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.42, Repoman-2.3.9 |
11 |
|
12 |
app-admin/logstash-bin/Manifest | 1 - |
13 |
app-admin/logstash-bin/logstash-bin-5.6.9.ebuild | 78 ------------------------ |
14 |
2 files changed, 79 deletions(-) |
15 |
|
16 |
diff --git a/app-admin/logstash-bin/Manifest b/app-admin/logstash-bin/Manifest |
17 |
index b4e82c8bffd..65f4e4e815a 100644 |
18 |
--- a/app-admin/logstash-bin/Manifest |
19 |
+++ b/app-admin/logstash-bin/Manifest |
20 |
@@ -1,4 +1,3 @@ |
21 |
DIST logstash-5.6.10.tar.gz 104373711 BLAKE2B 759bf003e1799aeaef0a1279b3c7cf5732126ae65e9ca0a3e315cb6f7a1b4e4417fad1fd86328a58be99e04e8053264d873b04cf43cac2b49490bbdc82c8e8b7 SHA512 9ba887da982755efd21b363e9c084660c9b7e6c042e00a8c599f60d6bba5621af7ede43957f6c3d976888f4c13e6ae17cc69afd184f2dcdd41a311972f59a745 |
22 |
-DIST logstash-5.6.9.zip 108563466 BLAKE2B 9225b823ac1f746481b34894c181aedabb0e69eb4242527271240448504f46aa68ba72f63e3752a6a13c3d567bca89df272a09cacc62739a526e3cb24ca90072 SHA512 f5506b2f2bb2da4b2a8d7b199cc328de6625f623b9498f4f2e5505aa8b4082efa207a06d1df8af7b7c21c400268e51d7ae8b9200afdaa191b8e8644e033a9b6b |
23 |
DIST logstash-6.2.4.zip 153969993 BLAKE2B 989f631484be14014b8230e09fa049a0e470078fed938f2df55134a27d5f4f2d8670187126d32c4933b77b496a6ed96e12d180922c2c318c67fb3dbeec5a5a3b SHA512 65f6e5accc4441cb930e5c45723edeea54ba034a25680ca34114296af5a2c456d4152f9b38469475e600fce27a27b0d9c1d206039d12f2ec9cfeb02942a5c189 |
24 |
DIST logstash-oss-6.3.1.tar.gz 143787612 BLAKE2B 2de3b991d27019b1c7df7cfa7152c009f2569e12562106babb56081be2a7ac7d94a967e7c52b58f721c2f70f1e8ec9c2730653ff094cf0dd3a9933486ac13be7 SHA512 959d9d5985e117d23ae12efe248a13ae33f8f3ede320fb3b6872e1c27738b601779f0e2402e7be4a2383cd0f220e50cdfd2d6b160d7f5805b2439cee4d8bd94c |
25 |
|
26 |
diff --git a/app-admin/logstash-bin/logstash-bin-5.6.9.ebuild b/app-admin/logstash-bin/logstash-bin-5.6.9.ebuild |
27 |
deleted file mode 100644 |
28 |
index d1ce6cfb92d..00000000000 |
29 |
--- a/app-admin/logstash-bin/logstash-bin-5.6.9.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,78 +0,0 @@ |
32 |
-# Copyright 1999-2018 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=6 |
36 |
- |
37 |
-inherit java-pkg-2 user |
38 |
- |
39 |
-MY_PN="${PN%-bin}" |
40 |
-MY_P="${MY_PN}-${PV}" |
41 |
- |
42 |
-DESCRIPTION="Tool for managing events and logs" |
43 |
-HOMEPAGE="https://www.elastic.co/products/logstash" |
44 |
-SRC_URI="https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}.zip" |
45 |
- |
46 |
-# source: LICENSE.txt and NOTICE.txt |
47 |
-LICENSE="Apache-2.0 MIT" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="~amd64" |
50 |
- |
51 |
-RESTRICT="strip" |
52 |
-QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so" |
53 |
- |
54 |
-DEPEND="app-arch/unzip" |
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 |
- rm -v config/startup.options || die |
73 |
- insinto /etc/${MY_PN} |
74 |
- doins -r config/. |
75 |
- rm -rv config data || die |
76 |
- |
77 |
- insinto "/opt/${MY_PN}" |
78 |
- doins -r . |
79 |
- fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin" |
80 |
- |
81 |
- newconfd "${FILESDIR}/${MY_PN}.confd-r1" "${MY_PN}" |
82 |
- newinitd "${FILESDIR}/${MY_PN}.initd-r1" "${MY_PN}" |
83 |
- |
84 |
- insinto /usr/share/eselect/modules |
85 |
- doins "${FILESDIR}"/logstash-plugin.eselect |
86 |
-} |
87 |
- |
88 |
-pkg_postinst() { |
89 |
- ewarn "The default pidfile directory has been changed from /run/logstash to /run." |
90 |
- ewarn "Please ensure any running logstash processes are shut down cleanly." |
91 |
- ewarn |
92 |
- ewarn "The default data directory has been moved from /opt/logstash/data to" |
93 |
- ewarn "/var/lib/logstash/data. Please check and move its contents as necessary." |
94 |
- ewarn |
95 |
- ewarn "Self installed plugins are removed during Logstash upgrades (Bug #622602)" |
96 |
- ewarn "Install the plugins via eselect module that will automatically re-install" |
97 |
- ewarn "all self installed plugins after Logstash upgrades." |
98 |
- elog |
99 |
- elog "Installing plugins:" |
100 |
- elog "eselect logstash-plugin install logstash-output-gelf" |
101 |
- elog |
102 |
- |
103 |
- elog "Reinstalling self installed plugins (installed via eselect module):" |
104 |
- eselect logstash-plugin reinstall |
105 |
- |
106 |
- elog |
107 |
- elog "Sample configuration:" |
108 |
- elog "${EROOT%/}/usr/share/${MY_PN}" |
109 |
-} |