summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2015-12-16 17:48:07 +0800
committerIan Delaney <idella4@gentoo.org>2015-12-16 18:55:37 +0800
commitf279fce9617b2e3ddbf3ef99df8f65629617e959 (patch)
tree8cc0e73141474c21f7c0fd655569ea51ac8919d5 /app-misc
parentapp-misc/elasticsearch: Drop set maintainer, add proxy-maintainers herd (diff)
downloadgentoo-f279fce9617b2e3ddbf3ef99df8f65629617e959.tar.gz
gentoo-f279fce9617b2e3ddbf3ef99df8f65629617e959.tar.bz2
gentoo-f279fce9617b2e3ddbf3ef99df8f65629617e959.zip
app-misc/elasticsearch: bump to version 2.1.0
ebuild written by the proxy maintainer, submitted via the gentoo bug Also informed has been runtested by 'Patrick' Gentoo bug: #564604 Package-Manager: portage-2.2.24
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/elasticsearch/Manifest1
-rw-r--r--app-misc/elasticsearch/elasticsearch-2.1.0.ebuild62
-rw-r--r--app-misc/elasticsearch/metadata.xml4
3 files changed, 63 insertions, 4 deletions
diff --git a/app-misc/elasticsearch/Manifest b/app-misc/elasticsearch/Manifest
index b425a777f9cf..6423ee471662 100644
--- a/app-misc/elasticsearch/Manifest
+++ b/app-misc/elasticsearch/Manifest
@@ -1,3 +1,4 @@
DIST elasticsearch-1.6.2.tar.gz 28491082 SHA256 b7ef3aae0a263c2312bd1a25b191c3c108c92d5413c3527d776587e582c518d0 SHA512 fb97a373a36fbef1b55fc263f6234b41daa33068150f5badea04ee9ba65166696416db941a41e46f66b588c15f6b86b090aa8004d949ed25fb9409b67e062820 WHIRLPOOL 39aafc41bd950bb71758ece90cf0e901599b55291ac1cecb7fea893c00b12643af40b4ebf647c4e67b1467b84c2438a82e574bcbb796dd736e2d1a8621082023
DIST elasticsearch-1.7.1.tar.gz 28500556 SHA256 86a0c20eea6ef55b14345bff5adf896e6332437b19180c4582a346394abde019 SHA512 88786d277cb3228a5e477068fc5ff723e0b5aa47411cea5c55d15ae769f2fb123d274e29c592a9e0f655deedb9db62f296af5aff4e8b56539928025a3375daaa WHIRLPOOL 2218ec3603314a60b38e903b3f00681512306efe1892350ced71c060a24924391d66cb9273d6db5ebb781d60808a2f3ab4c77c57baa03714db143c3718602bf5
DIST elasticsearch-1.7.3.tar.gz 28510917 SHA256 af517611493374cfb2daa8897ae17e63e2efea4d0377d316baa351c1776a2bca SHA512 0cb6b2ebd77c3d1467f6a22f845bfbf9f4a7c9c9ddedae17aeb6bd2d2bc576171fc80e3a4963e7b890af574e9fd0b0faa152e7f2671a74254826e14fe2554c9f WHIRLPOOL c86de3076389a9b95cf4d424673edb3c3b1dae0b4470b18b15a5f2e9bde6669a61b8ffd5cc3f7fc3b52f99441915a84b0396a5673ebbc12fec0d83eb41a03c74
+DIST elasticsearch-2.1.0.tar.gz 28994631 SHA256 8a4e85bcb506daa369651506af1cbc55c09fd7ff387d111142ae14d0a85d4d14 SHA512 207f35c94c65dcc57e75479e0dbb9127598ea3d9fcc04c1181bf82ebf1022a4431239a0f49803ab53b7bed5152b719e99f8e0395c9b80168567148ae13281ad3 WHIRLPOOL 006a763bbfd8d1600d152a4f80fb05aa92cdf3c223cc59a6368d69ab85bc6e60ffaa84a1d888eff76270834ff407f5d5f71bdf43fb286f8cbe056170e1573272
diff --git a/app-misc/elasticsearch/elasticsearch-2.1.0.ebuild b/app-misc/elasticsearch/elasticsearch-2.1.0.ebuild
new file mode 100644
index 000000000000..a70e231e3e64
--- /dev/null
+++ b/app-misc/elasticsearch/elasticsearch-2.1.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils systemd user
+
+MY_PN="${PN%-bin}"
+DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
+HOMEPAGE="https://www.elastic.co/products/elasticsearch"
+SRC_URI="https://download.elasticsearch.org/${MY_PN}/release/org/${MY_PN}/distribution/tar/${MY_PN}/${PV}/${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="strip"
+
+RDEPEND="|| ( virtual/jre:1.8 virtual/jre:1.7 )"
+
+pkg_setup() {
+ enewgroup ${MY_PN}
+ enewuser ${MY_PN} -1 /bin/bash /var/lib/${MY_PN} ${MY_PN}
+}
+
+src_prepare() {
+ rm -rf bin/*.{bat,exe}
+ rm LICENSE.txt
+}
+
+src_install() {
+ dodir /etc/${MY_PN}
+ dodir /etc/${MY_PN}/scripts
+
+ insinto /usr/share/doc/${P}/examples
+ doins config/*
+ rm -rf config
+
+ insinto /usr/share/${MY_PN}
+ doins -r ./*
+ chmod +x "${D}"/usr/share/${MY_PN}/bin/*
+
+ keepdir /var/{lib,log}/${MY_PN}
+ keepdir /usr/share/${MY_PN}/plugins
+
+ newinitd "${FILESDIR}/elasticsearch.init5" "${MY_PN}"
+ newconfd "${FILESDIR}/${MY_PN}.conf" "${MY_PN}"
+ systemd_newunit "${FILESDIR}"/${PN}.service4 "${PN}.service"
+}
+
+pkg_postinst() {
+ elog
+ elog "You may create multiple instances of ${MY_PN} by"
+ elog "symlinking the init script:"
+ elog "ln -sf /etc/init.d/${MY_PN} /etc/init.d/${MY_PN}.instance"
+ elog
+ elog "Each of the example files in /usr/share/doc/${P}/examples"
+ elog "should be extracted to the proper configuration directory:"
+ elog "/etc/${MY_PN} (for standard init)"
+ elog "/etc/${MY_PN}/instance (for symlinked init)"
+ elog
+}
diff --git a/app-misc/elasticsearch/metadata.xml b/app-misc/elasticsearch/metadata.xml
index ad3306776347..896195d6d5ca 100644
--- a/app-misc/elasticsearch/metadata.xml
+++ b/app-misc/elasticsearch/metadata.xml
@@ -7,8 +7,4 @@
<name>Ferenc Erki</name>
<description>Proxied maintainer; set to assignee in all bugs</description>
</maintainer>
- <maintainer>
- <email>chainsaw@gentoo.org</email>
- <name>Tony Vroon</name>
- </maintainer>
</pkgmetadata>