diff options
Diffstat (limited to 'www-misc')
-rw-r--r-- | www-misc/elasticsearch/Manifest | 4 | ||||
-rw-r--r-- | www-misc/elasticsearch/elasticsearch-1.5.0.ebuild | 43 | ||||
-rw-r--r-- | www-misc/elasticsearch/files/elasticsearch.initd | 9 | ||||
-rw-r--r-- | www-misc/elasticsearch/metadata.xml | 8 |
4 files changed, 64 insertions, 0 deletions
diff --git a/www-misc/elasticsearch/Manifest b/www-misc/elasticsearch/Manifest new file mode 100644 index 0000000..327d6c3 --- /dev/null +++ b/www-misc/elasticsearch/Manifest @@ -0,0 +1,4 @@ +AUX elasticsearch.initd 141 SHA256 e6c986c769146eeec7c26e9606af6c0c5f79681b9eda89efe7ac396742855078 SHA512 c569b7eb1ae01689a648fdeee47db4a58f4dfd9ad4ab67dfde351171aeaafa40c84a9e176474ed694ba05af39b28090ffa5213a42424e04844cfad519ad13322 WHIRLPOOL 85f50fce672127a3023b8c0afcf298ac277cf45514a6bf931d59a8cd8bdcd925202208c3c5c55673bfa89876846b42573148379d66a2b826853d3b29886c69fa +DIST elasticsearch-1.5.0.tar.gz 28182213 SHA256 acf572c606552bc446cceef3f8e93814a363ba0d215b323a2864682b3abfbe45 SHA512 c0529b0bbf6c610c1a9ee2eef0b0ce5f60b2ebc70abc4576089da0f82284059aa5e404da25a83e40c2975ef3ea63bacc3949ead67ead2f74694a6257328f3b3c WHIRLPOOL 99a3f2e6176993d3d965c01149873a3b4ab18eae7977e37dfb90f178f5d9cbba109569de2b45c44627cbe06f4b55e47849df0fe83c761be4b7374aa9acb19411 +EBUILD elasticsearch-1.5.0.ebuild 1087 SHA256 f30fe5c064bd31988ec133f8ed2b144ba677252301ecb728e483257bdd24153e SHA512 ab7f4ed30803a8172b83621a34237ab96f1a2f9e5cf7b4c23f4d899161baa46ede022ee4ee65a1846bc71719c5ded09f01e9b519b824efa8794fdf4bb38fb84a WHIRLPOOL 2371488f4990905aa9fb93beeeca6054d7344c1ca65705ebf58a11099c139bd2d55f81277afe1e4cdac68ae885a4f7837fb3048358c5d8dd3c9a17e2f6968b60 +MISC metadata.xml 238 SHA256 f13e6e7b65d20beb9ae945d520160ef0dba80c1965754958945904d7e3c0a75f SHA512 3c3d75f1cb90ffcfb98df47481fbde6d451254a29fa87577acd25bc27cbcc3e5dbc0c1efce5974be905428f0b7caf912c8b051417aff92763847fa377493a153 WHIRLPOOL 6ec3d597b87aff99014404b8b732e6f600aafc3c3eeebfab135c9c19cde2e43161cfa23f841bd72826cc3393b724e1dac115c15dcce2b74ace6f1d6ec209dbf3 diff --git a/www-misc/elasticsearch/elasticsearch-1.5.0.ebuild b/www-misc/elasticsearch/elasticsearch-1.5.0.ebuild new file mode 100644 index 0000000..67397a8 --- /dev/null +++ b/www-misc/elasticsearch/elasticsearch-1.5.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +DESCRIPTION="A distributed, open source search and analytics engine." +HOMEPAGE="https://www.elastic.co/products/elasticsearch" +SRC_URI="https://download.elasticsearch.org/elasticsearch/elasticsearch/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~x86" +IUSE="" + +# We can't use virtual/jdk-1.7.0 because not all java implementations are supported +DEPEND="" +RDEPEND=" + || ( + =dev-java/icedtea-bin-7* + =dev-java/icedtea-7* + =dev-java/oracle-jdk-bin-1.7.0* + )" + +src_install() { + dodoc README.textile + rm -f LICENSE.txt NOTICE.txt README.textile + + # Remove non-linux files + rm -f bin/*{bat,exe} + rm -f lib/sigar/*{freebsd,macosx,solaris,sparc,winnt}* + use amd64 || rm lib/sigar/*amd64* + use ia64 || rm lib/sigar/*ia64* + use x86 || rm lib/sigar/*x86* + + mkdir -p "${D}"/opt + mv "${WORKDIR}/${P}" "${D}"/opt + + dosym /opt/"${P}"/bin/"${PN}" /usr/bin/"${PN}" + dosym /opt/"${P}"/config /etc/"${PN}" + + newinitd "${FILESDIR}"/"${PN}".initd ${PN} +} diff --git a/www-misc/elasticsearch/files/elasticsearch.initd b/www-misc/elasticsearch/files/elasticsearch.initd new file mode 100644 index 0000000..9c0c7ec --- /dev/null +++ b/www-misc/elasticsearch/files/elasticsearch.initd @@ -0,0 +1,9 @@ +#!/sbin/runscript + +command="/usr/bin/elasticsearch" +pidfile="/run/elasticsearch.pid" +command_args="-d -p ${PIDFILE}" + +depend() { + need net +} diff --git a/www-misc/elasticsearch/metadata.xml b/www-misc/elasticsearch/metadata.xml new file mode 100644 index 0000000..1e75873 --- /dev/null +++ b/www-misc/elasticsearch/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>blueness@gentoo.org</email> + <name>Anthony G. Basile</name> + </maintainer> +</pkgmetadata> |