1 |
commit: aed41b89dfe408f3030f89db1a6998b9f76ade0d |
2 |
Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Sep 28 06:29:37 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 30 08:04:42 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aed41b89 |
7 |
|
8 |
app-misc/elasticsearch: drop old. |
9 |
|
10 |
Package-Manager: Portage-2.3.10, Repoman-2.3.3 |
11 |
|
12 |
app-misc/elasticsearch/Manifest | 1 - |
13 |
app-misc/elasticsearch/elasticsearch-5.6.1.ebuild | 67 ----------------------- |
14 |
2 files changed, 68 deletions(-) |
15 |
|
16 |
diff --git a/app-misc/elasticsearch/Manifest b/app-misc/elasticsearch/Manifest |
17 |
index d2e9237d2b4..7f225424f1e 100644 |
18 |
--- a/app-misc/elasticsearch/Manifest |
19 |
+++ b/app-misc/elasticsearch/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
DIST elasticsearch-5.5.2.tar.gz 33485703 SHA256 0870e2c0c72e6eda976effa07aa1cdd06a9500302320b5c22ed292ce21665bf1 SHA512 62048f15b43e38a61e3a19a1599c25cd0d9009cc1172db5b450b04dec349ecd313b1f20e3d1c7ed1c101ae3e6f6c6d2cdf004a9713ad803576277f93e3adbdb9 WHIRLPOOL 3a71cef2858b76b11e1693907e745912a83f23e26c35a3456c6324fc19c317c53d4404e20134b034e41e162c1ea8d58c38bbd4afe0394d886ab32f6b698172ec |
22 |
-DIST elasticsearch-5.6.1.tar.gz 33747853 SHA256 006f9cb3886877df845e3c3dea8a688777fb739a862d3afe1a113c16a732715f SHA512 be4ec7b16628bcf217ccf2035399a0729f4a46a2243fdb070535b1e36169fe31f36f1f78d7aa54e44c411b2f33bf76eb5833b2531339c2f040407774990986aa WHIRLPOOL ef12806fd3f00738f8544893ff895174a8af5891c730c1dd308e5537bee23ead429f14448ba0cbfe13766393b88593eb07cd1a7144485b105877cf8d7e84ccd5 |
23 |
DIST elasticsearch-5.6.2.tar.gz 33766495 SHA256 ef505373fdd85c762dedef0b067ce7b089e177568a57b31e5b4126d8acd47653 SHA512 a20cd6607cc9fd94b37c8592b2aaaede4136349d66175581ccba999bc5a64038387680f471fca600afc2b538e4aecbb9d3ee1f82aa327853d072feff2f950319 WHIRLPOOL 322999b483f7cd84716efb329542ea59228e93cc0a1ef86d5612230a0637ecff44063e488f48e673ffadda0cbcba026374bb2251de6cc8f6a8ce2699399864a2 |
24 |
|
25 |
diff --git a/app-misc/elasticsearch/elasticsearch-5.6.1.ebuild b/app-misc/elasticsearch/elasticsearch-5.6.1.ebuild |
26 |
deleted file mode 100644 |
27 |
index b2ac22fbd6c..00000000000 |
28 |
--- a/app-misc/elasticsearch/elasticsearch-5.6.1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,67 +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 systemd user |
37 |
- |
38 |
-DESCRIPTION="Open Source, Distributed, RESTful, Search Engine" |
39 |
-HOMEPAGE="https://www.elastic.co/products/elasticsearch" |
40 |
-SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz" |
41 |
-LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain" |
42 |
-SLOT="0" |
43 |
-KEYWORDS="~amd64" |
44 |
- |
45 |
-RDEPEND="virtual/jre:1.8" |
46 |
- |
47 |
-pkg_setup() { |
48 |
- enewgroup ${PN} |
49 |
- enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN} |
50 |
-} |
51 |
- |
52 |
-src_prepare() { |
53 |
- rm -v bin/*.{bat,exe} LICENSE.txt || die |
54 |
- |
55 |
- default |
56 |
-} |
57 |
- |
58 |
-src_install() { |
59 |
- keepdir /etc/${PN} |
60 |
- keepdir /etc/${PN}/scripts |
61 |
- |
62 |
- insinto /etc/${PN} |
63 |
- doins config/* |
64 |
- rm -rv config || die |
65 |
- |
66 |
- insinto /usr/share/${PN} |
67 |
- doins -r ./* |
68 |
- |
69 |
- exeinto /usr/share/${PN}/bin |
70 |
- doexe "${FILESDIR}/elasticsearch-systemd-pre-exec" |
71 |
- |
72 |
- chmod +x "${ED}"/usr/share/${PN}/bin/* || die |
73 |
- |
74 |
- keepdir /var/{lib,log}/${PN} |
75 |
- dodir /usr/share/${PN}/plugins |
76 |
- |
77 |
- systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" "${PN}.conf" |
78 |
- |
79 |
- insinto /etc/sysctl.d |
80 |
- newins "${FILESDIR}/${PN}.sysctl.d" "${PN}.conf" |
81 |
- |
82 |
- newinitd "${FILESDIR}/${PN}.init" "${PN}" |
83 |
- newconfd "${FILESDIR}/${PN}.conf" "${PN}" |
84 |
- systemd_newunit "${FILESDIR}"/${PN}.service "${PN}.service" |
85 |
-} |
86 |
- |
87 |
-pkg_postinst() { |
88 |
- elog |
89 |
- elog "You may create multiple instances of ${PN} by" |
90 |
- elog "symlinking the init script:" |
91 |
- elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance" |
92 |
- elog |
93 |
- elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts" |
94 |
- elog "from /etc/elasticsearch into the configuration directory of the instance:" |
95 |
- elog "/etc/${PN}/instance" |
96 |
- elog |
97 |
-} |