summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2016-02-05 12:50:10 +0100
committerPatrick Lauer <patrick@gentoo.org>2016-02-05 12:50:10 +0100
commit85dcb0e7004af664f16238f79447c9c2f091ae39 (patch)
treeac6c0f4e452bda7b692809dc4ea7fc44aefafbf8 /app-misc/elasticsearch
parentsys-apps/grep: Bump to version 2.23 (diff)
downloadgentoo-85dcb0e7004af664f16238f79447c9c2f091ae39.tar.gz
gentoo-85dcb0e7004af664f16238f79447c9c2f091ae39.tar.bz2
gentoo-85dcb0e7004af664f16238f79447c9c2f091ae39.zip
app-misc/elasticsearch: Bump #573896
Package-Manager: portage-2.2.27
Diffstat (limited to 'app-misc/elasticsearch')
-rw-r--r--app-misc/elasticsearch/Manifest3
-rw-r--r--app-misc/elasticsearch/elasticsearch-1.7.5.ebuild71
-rw-r--r--app-misc/elasticsearch/elasticsearch-2.1.2.ebuild62
-rw-r--r--app-misc/elasticsearch/elasticsearch-2.2.0.ebuild62
4 files changed, 198 insertions, 0 deletions
diff --git a/app-misc/elasticsearch/Manifest b/app-misc/elasticsearch/Manifest
index 257966ce733..258efd3f19e 100644
--- a/app-misc/elasticsearch/Manifest
+++ b/app-misc/elasticsearch/Manifest
@@ -1,4 +1,7 @@
DIST elasticsearch-1.7.3.tar.gz 28510917 SHA256 af517611493374cfb2daa8897ae17e63e2efea4d0377d316baa351c1776a2bca SHA512 0cb6b2ebd77c3d1467f6a22f845bfbf9f4a7c9c9ddedae17aeb6bd2d2bc576171fc80e3a4963e7b890af574e9fd0b0faa152e7f2671a74254826e14fe2554c9f WHIRLPOOL c86de3076389a9b95cf4d424673edb3c3b1dae0b4470b18b15a5f2e9bde6669a61b8ffd5cc3f7fc3b52f99441915a84b0396a5673ebbc12fec0d83eb41a03c74
DIST elasticsearch-1.7.4.tar.gz 28510433 SHA256 395f3417c26a6b36125f6a062c1129b454a961efea09151c692adc63562e5a94 SHA512 7a31c274a833d0f27dbfd54ce6c8d8f6d01562289e1c4c9258a7c338f3e4ecc9d842d2a5c0c804f333f9cdf9dcfec437640fb4a4e5cfdda3fa958bdb7a402022 WHIRLPOOL 0acff3f5b8047c2647b716d57255e7f884f06ea57e468c784e1a84742b47973570d175a723a4341c54a027b9a442c89e9bed2f66bb29c292d6c59ca40ffb3855
+DIST elasticsearch-1.7.5.tar.gz 28487351 SHA256 0aa58947d66b487488e86059352deb7c6cab5da4accdff043cce9fed7c3d2fa7 SHA512 372e9edf5bd9f68c476e15276fc90cf2ecddbafde17fe803e6a50261c2d3a80616a9440d86494d8cfa411703f87cf053d31c62f4cdee260d64cdc0c07b5741ba WHIRLPOOL e4b02117d868dd1998639aa6fa513928d2af6f9226da1d61e84c674941130b7b960aea44bc51f09f0dc852946ad41ad38ca209c4b50351afc451f329ad51f715
DIST elasticsearch-2.1.0.tar.gz 28994631 SHA256 8a4e85bcb506daa369651506af1cbc55c09fd7ff387d111142ae14d0a85d4d14 SHA512 207f35c94c65dcc57e75479e0dbb9127598ea3d9fcc04c1181bf82ebf1022a4431239a0f49803ab53b7bed5152b719e99f8e0395c9b80168567148ae13281ad3 WHIRLPOOL 006a763bbfd8d1600d152a4f80fb05aa92cdf3c223cc59a6368d69ab85bc6e60ffaa84a1d888eff76270834ff407f5d5f71bdf43fb286f8cbe056170e1573272
DIST elasticsearch-2.1.1.tar.gz 29007342 SHA256 ebd69c0483f20ba7e51caa9606d4e3ce5fe2667e1216c799f0cdbb815c317ce6 SHA512 eff12cd7342dc0036dc88f03ced9c7cc90d284222efeca86adfd9e4cf254cb8f96105c58673b239cfc9eb9764a2a669d2cd171ca73eb43b1ec1470a13c5e1776 WHIRLPOOL 2b0e069d162ee07eddc90d879d4ce5dd2cef9e4a804a9aaeb3d99e5d532f583589e2c6a36b5e856bf19a610f220eea6aaa75d28e7b6687b60eab7bf83b2def51
+DIST elasticsearch-2.1.2.tar.gz 29008904 SHA256 069cf3ab88a36d01f86e54b46169891b0adef6eda126ea35e540249d904022e1 SHA512 25757972839e644719f0c129d862bb342bb3d76df19328b9a7e59ca65c62c695e61d8bb21a2a5bd20841b8fd5ba981cd35e83dc2c78a958a344b798b9e71c714 WHIRLPOOL aab6c78edf24101d72ca619d01617661c8701c29c9b49222262c1573912a2ab7eceeca21a367fdc7d600a38c4b381abd9ec4bf5ea59ee9f59e5fe97a76750453
+DIST elasticsearch-2.2.0.tar.gz 29419005 SHA256 ed70cc81e1f55cd5f0032beea2907227b6ad8e7457dcb75ddc97a2cc6e054d30 SHA512 b1c9d10ba6c778fe1a440c058b4968bae1cfb81cff9e00508e406ce02ec5eb889b6d7caf8fb69ef132a2e681b127fbe3b71c6298ee0c9f047aeaeec29cdc1cc6 WHIRLPOOL 1e57b2cca97d90756d592ca96ceb4e1fc026e1c9deaeceb3df3a59937a9cd8710222d6c74ece2883dd425aeb1bfde034413d2f04ea0f4a4c276c0d7de3671cee
diff --git a/app-misc/elasticsearch/elasticsearch-1.7.5.ebuild b/app-misc/elasticsearch/elasticsearch-1.7.5.ebuild
new file mode 100644
index 00000000000..1ad3bf36d3d
--- /dev/null
+++ b/app-misc/elasticsearch/elasticsearch-1.7.5.ebuild
@@ -0,0 +1,71 @@
+# 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.elastic.co/${MY_PN}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="strip"
+QA_PREBUILT="usr/share/elasticsearch/lib/sigar/libsigar-*.so"
+
+RDEPEND="|| ( virtual/jre:1.7 virtual/jre:1.8 )"
+
+pkg_setup() {
+ enewgroup ${MY_PN}
+ enewuser ${MY_PN} -1 /bin/bash /var/lib/${MY_PN} ${MY_PN}
+}
+
+src_prepare() {
+ rm -rf lib/sigar/*{solaris,winnt,freebsd,macosx}*
+ rm -rf bin/*.{bat,exe}
+ rm lib/sigar/libsigar-ia64-linux.so
+ rm LICENSE.txt
+
+ use amd64 && {
+ rm lib/sigar/libsigar-x86-linux.so
+ }
+
+ use x86 && {
+ rm lib/sigar/libsigar-amd64-linux.so
+ }
+}
+
+src_install() {
+ dodir /etc/${MY_PN}
+
+ 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}
+
+ newinitd "${FILESDIR}/elasticsearch.init4" "${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/elasticsearch-2.1.2.ebuild b/app-misc/elasticsearch/elasticsearch-2.1.2.ebuild
new file mode 100644
index 00000000000..a70e231e3e6
--- /dev/null
+++ b/app-misc/elasticsearch/elasticsearch-2.1.2.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/elasticsearch-2.2.0.ebuild b/app-misc/elasticsearch/elasticsearch-2.2.0.ebuild
new file mode 100644
index 00000000000..a70e231e3e6
--- /dev/null
+++ b/app-misc/elasticsearch/elasticsearch-2.2.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
+}