Gentoo Archives: gentoo-commits

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