Gentoo Archives: gentoo-commits

From: Amy Liffey <amynka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/elasticsearch/
Date: Thu, 16 Nov 2017 16:05:43
Message-Id: 1510848201.a3a7afac17ba1586b1ecb2788ce79061b69c096a.amynka@gentoo
1 commit: a3a7afac17ba1586b1ecb2788ce79061b69c096a
2 Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Thu Nov 16 13:52:14 2017 +0000
4 Commit: Amy Liffey <amynka <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 16 16:03:21 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3a7afac
7
8 app-misc/elasticsearch: drop old
9
10 Closes:#6201
11
12 Package-Manager: Portage-2.3.14, Repoman-2.3.6
13
14 app-misc/elasticsearch/Manifest | 1 -
15 .../elasticsearch/elasticsearch-5.6.3-r1.ebuild | 69 ----------------------
16 app-misc/elasticsearch/elasticsearch-5.6.3.ebuild | 67 ---------------------
17 3 files changed, 137 deletions(-)
18
19 diff --git a/app-misc/elasticsearch/Manifest b/app-misc/elasticsearch/Manifest
20 index 908d117f335..ff083bca088 100644
21 --- a/app-misc/elasticsearch/Manifest
22 +++ b/app-misc/elasticsearch/Manifest
23 @@ -1,3 +1,2 @@
24 DIST elasticsearch-5.5.2.tar.gz 33485703 SHA256 0870e2c0c72e6eda976effa07aa1cdd06a9500302320b5c22ed292ce21665bf1 SHA512 62048f15b43e38a61e3a19a1599c25cd0d9009cc1172db5b450b04dec349ecd313b1f20e3d1c7ed1c101ae3e6f6c6d2cdf004a9713ad803576277f93e3adbdb9 WHIRLPOOL 3a71cef2858b76b11e1693907e745912a83f23e26c35a3456c6324fc19c317c53d4404e20134b034e41e162c1ea8d58c38bbd4afe0394d886ab32f6b698172ec
25 -DIST elasticsearch-5.6.3.tar.gz 33774486 SHA256 492b7e59d5204b3dc7eb13b611c33b3db36b392bdd6a4c004ba99c6543fc28f9 SHA512 ee57d010e196eb25e5296fe95ab2de5e503d4d66f7eec8c8f6ac2ff9ddbc1a8dc1514202d705e291ee49d3e04650b597a9afc5f92f179b8faa5e2fe3c662f33e WHIRLPOOL bda081e6b91d1076a39e0af75b44d7f877f28178281de1f22c5177abf804c9395dacabb3c93ec93aff65223df42353bc955bbf60e74fb07f99320096dd97173a
26 DIST elasticsearch-5.6.4.tar.gz 33776770 SHA256 1098fc776fae8c74e65f8e17cf2ea244c1d07c4e6711340c9bb9f6df56aa45b0 SHA512 37730f39cf1711b6a20861370ef7aff4b48e7f90ad82cb1c8c92643179194c4dcdf0180691d8065304bf61e7f5a2fb1ed5c84c384e0b2ff7ad0dc58ac7352f47 WHIRLPOOL 37f1a615a7916738bb8f4809213edced96aaecf3d93df8cad0bc175c71191a6f1d3d616fc40b71e647b65e4c2e03f4f6ab9a4ff333b55d3728ca100b2181edbc
27
28 diff --git a/app-misc/elasticsearch/elasticsearch-5.6.3-r1.ebuild b/app-misc/elasticsearch/elasticsearch-5.6.3-r1.ebuild
29 deleted file mode 100644
30 index cd91e97f307..00000000000
31 --- a/app-misc/elasticsearch/elasticsearch-5.6.3-r1.ebuild
32 +++ /dev/null
33 @@ -1,69 +0,0 @@
34 -# Copyright 1999-2017 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -inherit systemd user
40 -
41 -DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
42 -HOMEPAGE="https://www.elastic.co/products/elasticsearch"
43 -SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz"
44 -LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain"
45 -SLOT="0"
46 -KEYWORDS="~amd64"
47 -
48 -RDEPEND="virtual/jre:1.8"
49 -
50 -pkg_setup() {
51 - enewgroup ${PN}
52 - enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN}
53 -}
54 -
55 -src_prepare() {
56 - rm -v bin/*.{bat,exe} LICENSE.txt || die
57 -
58 - default
59 -}
60 -
61 -src_install() {
62 - keepdir /etc/${PN}
63 - keepdir /etc/${PN}/scripts
64 -
65 - insinto /etc/${PN}
66 - doins config/*
67 - rm -rv config || die
68 -
69 - insinto /usr/share/${PN}
70 - doins -r ./*
71 -
72 - exeinto /usr/share/${PN}/bin
73 - doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
74 -
75 - chmod +x "${ED}"/usr/share/${PN}/bin/* || die
76 -
77 - keepdir /var/{lib,log}/${PN}
78 - fowners ${PN}:${PN} /var/{lib,log}/${PN}
79 - fperms 0750 /var/{lib,log}/${PN}
80 - dodir /usr/share/${PN}/plugins
81 -
82 - insinto /etc/sysctl.d
83 - newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
84 -
85 - newconfd "${FILESDIR}/${PN}.conf.2" ${PN}
86 - newinitd "${FILESDIR}/${PN}.init.2" ${PN}
87 -
88 - systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" ${PN}.conf
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.3.ebuild b/app-misc/elasticsearch/elasticsearch-5.6.3.ebuild
105 deleted file mode 100644
106 index b2ac22fbd6c..00000000000
107 --- a/app-misc/elasticsearch/elasticsearch-5.6.3.ebuild
108 +++ /dev/null
109 @@ -1,67 +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 - dodir /usr/share/${PN}/plugins
155 -
156 - systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" "${PN}.conf"
157 -
158 - insinto /etc/sysctl.d
159 - newins "${FILESDIR}/${PN}.sysctl.d" "${PN}.conf"
160 -
161 - newinitd "${FILESDIR}/${PN}.init" "${PN}"
162 - newconfd "${FILESDIR}/${PN}.conf" "${PN}"
163 - systemd_newunit "${FILESDIR}"/${PN}.service "${PN}.service"
164 -}
165 -
166 -pkg_postinst() {
167 - elog
168 - elog "You may create multiple instances of ${PN} by"
169 - elog "symlinking the init script:"
170 - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
171 - elog
172 - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
173 - elog "from /etc/elasticsearch into the configuration directory of the instance:"
174 - elog "/etc/${PN}/instance"
175 - elog
176 -}