Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/elasticsearch/
Date: Wed, 31 Jan 2018 21:56:10
Message-Id: 1517435752.bcea9be7ccec4461bf04a24d0be3d2c6a1156b94.mgorny@gentoo
1 commit: bcea9be7ccec4461bf04a24d0be3d2c6a1156b94
2 Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Mon Jan 29 07:59:12 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 31 21:55:52 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcea9be7
7
8 app-misc/elasticsearch: drop old
9
10 Closes: https://github.com/gentoo/gentoo/pull/6599
11 Package-Manager: Portage-2.3.20, Repoman-2.3.6
12
13 app-misc/elasticsearch/Manifest | 2 -
14 app-misc/elasticsearch/elasticsearch-5.5.3.ebuild | 67 ----------------------
15 app-misc/elasticsearch/elasticsearch-5.6.5.ebuild | 69 -----------------------
16 3 files changed, 138 deletions(-)
17
18 diff --git a/app-misc/elasticsearch/Manifest b/app-misc/elasticsearch/Manifest
19 index e92ed48bab8..0c427d8c79b 100644
20 --- a/app-misc/elasticsearch/Manifest
21 +++ b/app-misc/elasticsearch/Manifest
22 @@ -1,6 +1,4 @@
23 DIST elasticsearch-1.7.6.tar.gz 28488767 BLAKE2B 0dc4fb10355e2139ee3a7e7e65366e8aa533b9714bf0f00d2bd8f4ef0669ba9f8f10dc5255c8c7a62abc0362e08ab5fda3c8b6b6f2bacfe5cce7255973293162 SHA512 2746f09b66919912e785c8d25c50ae74dbb38a41d99d9c926550786f9c2d7953d1ae1a54a32dae59a7269e5fbfa74dfbc91c3d412e415efd01c391ef7d329ba7
24 -DIST elasticsearch-5.5.3.tar.gz 33486646 BLAKE2B 4f28d843b2daa73af1160436f9eedd20b9d91ee8d4454a210ad59c736c0ac0bd91384d972583d4de7e7dbc228b3e37546343da68545312333379298042ad8214 SHA512 013e238a3ccdb795b9472a6111ae804b770435776dfb703b379c34498591d3804e45fb27a7c473348917b4d9e6fde367184474680f1f72bbca129bf9644fb527
25 -DIST elasticsearch-5.6.5.tar.gz 33780822 BLAKE2B 0541e27d7d9d18ec308495ab1cfb65c8f8e79960ef5d110ef5194a4033301b858a676c8c4d61f246e01ebc5679280c3eafe628e22ccfd84de9129f7a4606a041 SHA512 c3f31f561631c3f8df53cb49ac9a86dff3bcaa9e3ea2ac67dd959900ec1ddf676d307c9d8319ac51062072e506994934c61395049f6a6eac67e377d53517103f
26 DIST elasticsearch-5.6.6.tar.gz 33780290 BLAKE2B ce4014b8eb74098990d97d7d87a0bd88df06f6719772f310c97cc33e740f44e84ebf74750c1f81b77c713c661a0e2e9ca826b6ab91b3625023fb9a061005d8ef SHA512 582fc3c2d1dcd5c208c229307ce387015ef8b25d9974fcac9ad4b8b3bc1c983a27daa171f0f242d367cc0776c545a82c5a4c07f6340104e739d83831e0d2210c
27 DIST elasticsearch-6.0.1.tar.gz 28026460 BLAKE2B a70cd36affaccccf1ea552167e585a35cc748de1137cf4b23387798ae31b851104ccc19f8be83ecc645bcebfba344b5e55a397a9cbb0b380c4a118f1f0ffecf2 SHA512 b86a04acd194e7e96e3a32de6ab4983d6569ffb1714f2af9e2b49623004987e13e57c5db055153a188f5d2d7eea63d649fa87769f7625f3fc4923e0cd5b8f3ee
28 DIST elasticsearch-6.1.2.tar.gz 28455845 BLAKE2B 36215cf3131c8ac24e9b974d6c12892679e1896242119bf88182a229286a8391fc9575b068c6e692b9931022df299920fdc5dbf8f04651bd4bcfd544c1b65b2e SHA512 c72e69700b60faf3b1a542c2317b83189926738affb38033c4b8d7cc0a1b3c21c4f743f441fb10657d4684111746ebb18c9dba2f54845ea6e02e4fb8dc950e5a
29
30 diff --git a/app-misc/elasticsearch/elasticsearch-5.5.3.ebuild b/app-misc/elasticsearch/elasticsearch-5.5.3.ebuild
31 deleted file mode 100644
32 index b2ac22fbd6c..00000000000
33 --- a/app-misc/elasticsearch/elasticsearch-5.5.3.ebuild
34 +++ /dev/null
35 @@ -1,67 +0,0 @@
36 -# Copyright 1999-2017 Gentoo Foundation
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=6
40 -
41 -inherit systemd user
42 -
43 -DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
44 -HOMEPAGE="https://www.elastic.co/products/elasticsearch"
45 -SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz"
46 -LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain"
47 -SLOT="0"
48 -KEYWORDS="~amd64"
49 -
50 -RDEPEND="virtual/jre:1.8"
51 -
52 -pkg_setup() {
53 - enewgroup ${PN}
54 - enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN}
55 -}
56 -
57 -src_prepare() {
58 - rm -v bin/*.{bat,exe} LICENSE.txt || die
59 -
60 - default
61 -}
62 -
63 -src_install() {
64 - keepdir /etc/${PN}
65 - keepdir /etc/${PN}/scripts
66 -
67 - insinto /etc/${PN}
68 - doins config/*
69 - rm -rv config || die
70 -
71 - insinto /usr/share/${PN}
72 - doins -r ./*
73 -
74 - exeinto /usr/share/${PN}/bin
75 - doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
76 -
77 - chmod +x "${ED}"/usr/share/${PN}/bin/* || die
78 -
79 - keepdir /var/{lib,log}/${PN}
80 - dodir /usr/share/${PN}/plugins
81 -
82 - systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" "${PN}.conf"
83 -
84 - insinto /etc/sysctl.d
85 - newins "${FILESDIR}/${PN}.sysctl.d" "${PN}.conf"
86 -
87 - newinitd "${FILESDIR}/${PN}.init" "${PN}"
88 - newconfd "${FILESDIR}/${PN}.conf" "${PN}"
89 - systemd_newunit "${FILESDIR}"/${PN}.service "${PN}.service"
90 -}
91 -
92 -pkg_postinst() {
93 - elog
94 - elog "You may create multiple instances of ${PN} by"
95 - elog "symlinking the init script:"
96 - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
97 - elog
98 - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
99 - elog "from /etc/elasticsearch into the configuration directory of the instance:"
100 - elog "/etc/${PN}/instance"
101 - elog
102 -}
103
104 diff --git a/app-misc/elasticsearch/elasticsearch-5.6.5.ebuild b/app-misc/elasticsearch/elasticsearch-5.6.5.ebuild
105 deleted file mode 100644
106 index cd91e97f307..00000000000
107 --- a/app-misc/elasticsearch/elasticsearch-5.6.5.ebuild
108 +++ /dev/null
109 @@ -1,69 +0,0 @@
110 -# Copyright 1999-2017 Gentoo Foundation
111 -# Distributed under the terms of the GNU General Public License v2
112 -
113 -EAPI=6
114 -
115 -inherit systemd user
116 -
117 -DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
118 -HOMEPAGE="https://www.elastic.co/products/elasticsearch"
119 -SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz"
120 -LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain"
121 -SLOT="0"
122 -KEYWORDS="~amd64"
123 -
124 -RDEPEND="virtual/jre:1.8"
125 -
126 -pkg_setup() {
127 - enewgroup ${PN}
128 - enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN}
129 -}
130 -
131 -src_prepare() {
132 - rm -v bin/*.{bat,exe} LICENSE.txt || die
133 -
134 - default
135 -}
136 -
137 -src_install() {
138 - keepdir /etc/${PN}
139 - keepdir /etc/${PN}/scripts
140 -
141 - insinto /etc/${PN}
142 - doins config/*
143 - rm -rv config || die
144 -
145 - insinto /usr/share/${PN}
146 - doins -r ./*
147 -
148 - exeinto /usr/share/${PN}/bin
149 - doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
150 -
151 - chmod +x "${ED}"/usr/share/${PN}/bin/* || die
152 -
153 - keepdir /var/{lib,log}/${PN}
154 - fowners ${PN}:${PN} /var/{lib,log}/${PN}
155 - fperms 0750 /var/{lib,log}/${PN}
156 - dodir /usr/share/${PN}/plugins
157 -
158 - insinto /etc/sysctl.d
159 - newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
160 -
161 - newconfd "${FILESDIR}/${PN}.conf.2" ${PN}
162 - newinitd "${FILESDIR}/${PN}.init.2" ${PN}
163 -
164 - systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf
165 - systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
166 -}
167 -
168 -pkg_postinst() {
169 - elog
170 - elog "You may create multiple instances of ${PN} by"
171 - elog "symlinking the init script:"
172 - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
173 - elog
174 - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
175 - elog "from /etc/elasticsearch into the configuration directory of the instance:"
176 - elog "/etc/${PN}/instance"
177 - elog
178 -}