elasticsearch: update to 1.6.0

* Also include 'plugin' binary in /usr/lib/elasticsearch/bin
This commit is contained in:
bougyman 2015-07-16 09:28:38 -05:00
parent 31fbdc333f
commit 28cd9190b8

View file

@ -1,6 +1,6 @@
# Template file for 'elasticsearch'
pkgname=elasticsearch
version=1.5.1
version=1.6.0
revision=1
only_for_archs="i686 x86_64"
depends="virtual?java-runtime"
@ -9,7 +9,7 @@ maintainer="bougyman <bougyman@rubyists.com>"
license="apache2"
homepage="http://www.elastic.co"
distfiles="https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${version}.tar.gz"
checksum=6f047b21395fba80a84235d417c77ff3f0a8b41d09189ef17bedca83b17c445e
checksum=dc336c83394b2f2f72f362e0f959a4cfdec2109aa3de15668401afeab0b02d2e
system_accounts="elastic"
system_groups="elastic"
conf_files="/etc/elasticsearch/elasticsearch.yml /etc/elasticsearch/logging.yml"
@ -21,6 +21,7 @@ do_install() {
install -d -m0750 "${DESTDIR}"/etc/elasticsearch
vcopy bin/elasticsearch usr/lib/elasticsearch/bin
vcopy bin/elasticsearch.in.sh usr/lib/elasticsearch/bin
vcopy bin/plugin usr/lib/elasticsearch/bin
vcopy lib/*.jar usr/lib/elasticsearch/lib
vcopy lib/sigar/*.jar usr/lib/elasticsearch/lib/sigar
if [ "$XBPS_TARGET_MACHINE" = "i686" ];then