1 |
commit: a3ee92ff5ee24d0b4d0982dbd8ad9f23992f4315 |
2 |
Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Mar 4 10:54:08 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 4 15:54:33 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3ee92ff |
7 |
|
8 |
app-admin/logstash-bin: bump to 6.6.1 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/678954 |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
12 |
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com> |
13 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
14 |
|
15 |
app-admin/logstash-bin/Manifest | 2 + |
16 |
app-admin/logstash-bin/logstash-bin-6.6.1.ebuild | 77 ++++++++++++++++++++++++ |
17 |
2 files changed, 79 insertions(+) |
18 |
|
19 |
diff --git a/app-admin/logstash-bin/Manifest b/app-admin/logstash-bin/Manifest |
20 |
index 438a2a75a88..65a612cea44 100644 |
21 |
--- a/app-admin/logstash-bin/Manifest |
22 |
+++ b/app-admin/logstash-bin/Manifest |
23 |
@@ -3,6 +3,8 @@ DIST logstash-5.6.15.tar.gz 110086992 BLAKE2B 3047259c4bc5d71b072fa004c44953f848 |
24 |
DIST logstash-6.3.2.tar.gz 144211416 BLAKE2B 8471fd0a920b4ef06cd775ceaafde33e16e5d1898c89339f4a039262a7a6472d6cb8dd2017db8811d6a827395a5b1e7040d9759c8734de2ccd1fc7e615345813 SHA512 11507b9177aa6cd4172eb825e395571de71bae8b0e39d7f700fe27c7219b22bc2b9a493e39016eead2d54407dc5e5cc20a0c6e4453140d628cadea076453308f |
25 |
DIST logstash-6.4.3.tar.gz 153936585 BLAKE2B efdcc4664587a3ab18e2e78136c92bc643e99989fa5ac1cd1daaeb48ca1f6fa57f122a5686ddcaab59d920a0ef0e59dc70f59c05a520b731347f37d8faa78c38 SHA512 39bab1b9b0c9f0006c2ad7aa152b3863179030352202ec0c4c4a887bdeb98d4c34127699655cfc7c5b9f44119b45de9629bfacc670d520dcf266b3298fdf2484 |
26 |
DIST logstash-6.5.4.tar.gz 160286824 BLAKE2B 6f76edee968566539670b0ffc5462a0a417d39dc8f7d3fab35704ace23c27503f7051a064fca2820d52b100a19818621841356f8e1df20a80c95902f4c1c7f95 SHA512 8dff51b3944219b462002d0ced4ae7050d8ab8f9335de1132be11ab8e7277731f319c5794601881ee94350152725c599093316c5ef55ddc95279697ec794cc57 |
27 |
+DIST logstash-6.6.1.tar.gz 169642354 BLAKE2B 335fa036e9f120de5d6588ed18e927ddfb3a94dfcfbc9605fbda3e3eb4da3ba88561d466eb171c85a2deebb3328312ba903616704844e253a7599f75597efbae SHA512 a66f196f160af29492b64efb61b7e3253a4ef45764c5e6226f73c2a216151ff43f6d344c2e3340a1a9ddb8b00e61f14c65d5dd0c14d69421f4efa3542445fe4f |
28 |
DIST logstash-oss-6.3.2.tar.gz 144128583 BLAKE2B 99de9d375a06d132844ce63fa5d0e092bb05aedb93ff5e4a278ea75ca2fe68701afa3028af4f9c3e5b3b469e46faf4d6dc62d006e9dac3a9e9528ff94aa2dd47 SHA512 7fa97f0ca070677aaddc73ff900397ce4a45f4b02467917219acb3c414cf0cbf396b481f624d2ebc3f370b2e41120b3b103f6d080a9fafdce98b119eb8d27f5d |
29 |
DIST logstash-oss-6.4.3.tar.gz 153809786 BLAKE2B 774e67b7f3b89747299fda520456164186e843dedbea4b6727fa325dc8148ea1b25fcb2105e76b84330729a55390e597fac93cf2e2f258e83f2b6cc1c1091372 SHA512 c84e4fcdbf8e96e5d3005186bdf45f20939bb065f02370128b4e15273c4c0fe5609bab606fc7a6a2b71fcee90beb3f435ff42c9126efaed436bf5af1d784c56a |
30 |
DIST logstash-oss-6.5.4.tar.gz 160157672 BLAKE2B 47a6de33697ccc04ba08cb15086cb17ead20a38c9348619ddcd383e61c20265864451939f5be10ec9ebd0ba9b0667264af389130f87181734b942efa49c7e705 SHA512 0b8384e48bc584236fa7369339843c9aa1d08fb09a80e209beabf8e029f2fb5a4a5a1a5ef8b91f069cb35472d3b8147752749a4f6a84c6fc5a2cc801ac8d3c91 |
31 |
+DIST logstash-oss-6.6.1.tar.gz 169512439 BLAKE2B 54a18deda80079c9bf2de39936737689d696a4ddc6f8a7ae375d48817ea127f1eb83f1ef50a18b573709446fc3deb858f53a5aff6411329b52ef0316859a7f03 SHA512 7fbe960e615c3c6b6715bd63debd3db869abe29bfdc94d4947290b822fe1d858e289548dbda266c8ad6d25745e63a788de0c83566121faa0d3027642b0f3d108 |
32 |
|
33 |
diff --git a/app-admin/logstash-bin/logstash-bin-6.6.1.ebuild b/app-admin/logstash-bin/logstash-bin-6.6.1.ebuild |
34 |
new file mode 100644 |
35 |
index 00000000000..97dc32bb2de |
36 |
--- /dev/null |
37 |
+++ b/app-admin/logstash-bin/logstash-bin-6.6.1.ebuild |
38 |
@@ -0,0 +1,77 @@ |
39 |
+# Copyright 1999-2019 Gentoo Authors |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+ |
42 |
+EAPI=6 |
43 |
+ |
44 |
+inherit java-pkg-2 user |
45 |
+ |
46 |
+MY_PN="${PN%-bin}" |
47 |
+MY_P="${MY_PN}-${PV}" |
48 |
+ |
49 |
+DESCRIPTION="Tool for managing events and logs" |
50 |
+HOMEPAGE="https://www.elastic.co/products/logstash" |
51 |
+SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}.tar.gz ) |
52 |
+ !x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}.tar.gz )" |
53 |
+ |
54 |
+# source: LICENSE.txt and NOTICE.txt |
55 |
+LICENSE="Apache-2.0 MIT x-pack? ( Elastic )" |
56 |
+SLOT="0" |
57 |
+KEYWORDS="~amd64" |
58 |
+IUSE="x-pack" |
59 |
+ |
60 |
+RESTRICT="strip" |
61 |
+QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so" |
62 |
+ |
63 |
+RDEPEND="virtual/jre:1.8" |
64 |
+ |
65 |
+S="${WORKDIR}/${MY_P}" |
66 |
+ |
67 |
+pkg_setup() { |
68 |
+ enewgroup ${MY_PN} |
69 |
+ enewuser ${MY_PN} -1 -1 /var/lib/${MY_PN} ${MY_PN} |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins} |
74 |
+ keepdir "/var/lib/${MY_PN}" |
75 |
+ keepdir "/var/log/${MY_PN}" |
76 |
+ |
77 |
+ insinto "/usr/share/${MY_PN}" |
78 |
+ newins "${FILESDIR}/agent.conf.sample" agent.conf |
79 |
+ |
80 |
+ rm -v config/{pipelines.yml,startup.options} || die |
81 |
+ insinto /etc/${MY_PN} |
82 |
+ doins -r config/. |
83 |
+ doins "${FILESDIR}/pipelines.yml" |
84 |
+ rm -rv config data || die |
85 |
+ |
86 |
+ insinto "/opt/${MY_PN}" |
87 |
+ doins -r . |
88 |
+ fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin" |
89 |
+ |
90 |
+ newconfd "${FILESDIR}/${MY_PN}.confd-r2" "${MY_PN}" |
91 |
+ newinitd "${FILESDIR}/${MY_PN}.initd-r2" "${MY_PN}" |
92 |
+ |
93 |
+ insinto /usr/share/eselect/modules |
94 |
+ doins "${FILESDIR}"/logstash-plugin.eselect |
95 |
+} |
96 |
+ |
97 |
+pkg_postinst() { |
98 |
+ ewarn "Self installed plugins are removed during Logstash upgrades (Bug #622602)" |
99 |
+ ewarn "Install the plugins via eselect module that will automatically re-install" |
100 |
+ ewarn "all self installed plugins after Logstash upgrades." |
101 |
+ elog |
102 |
+ elog "Installing plugins:" |
103 |
+ elog "eselect logstash-plugin install logstash-output-gelf" |
104 |
+ elog |
105 |
+ |
106 |
+ elog "Reinstalling self installed plugins (installed via eselect module):" |
107 |
+ eselect logstash-plugin reinstall |
108 |
+ |
109 |
+ elog |
110 |
+ elog "Sample configuration:" |
111 |
+ elog "${EROOT%/}/usr/share/${MY_PN}" |
112 |
+ elog |
113 |
+ elog "The default pipeline configuration expects the configuration(s) to be found in:" |
114 |
+ elog "${EROOT%/}/etc/logstash/conf.d/*.conf" |
115 |
+} |