Update to 2.4.4.

Changes: https://www.elastic.co/guide/en/elasticsearch/reference/2.4/release-notes-2.4.4.html

Fix multi-instance pidfile writing.

PR:		217503, 215966
Reported by:	knolan@sourcefire.com, olgeni
This commit is contained in:
Tom Judge 2017-03-13 20:49:36 +00:00
parent 77797c30bc
commit 7663c307b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=436109
3 changed files with 5 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= elasticsearch
PORTVERSION= 2.4.2
PORTVERSION= 2.4.4
CATEGORIES= textproc java devel
MASTER_SITES= http://download.elasticsearch.org/${PORTNAME}/${PORTNAME}/ \
http://mirrors.rit.edu/zi/

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1480690899
SHA256 (elasticsearch-2.4.2.tar.gz) = 7741a2e78f5f155c5005ba891f9b6e57a4e45178cb540beed101d30517cbe22f
SIZE (elasticsearch-2.4.2.tar.gz) = 27335824
TIMESTAMP = 1489437100
SHA256 (elasticsearch-2.4.4.tar.gz) = 981092e6ca65ba5560b8b97a74e5ed0eb2236e9128efdb85bb652cec340158e2
SIZE (elasticsearch-2.4.4.tar.gz) = 27343272

View File

@ -113,6 +113,7 @@ if [ -n "$2" ]; then
profile="$2"
if [ "x${elasticsearch_profiles}" != "x" ]; then
pidfile="${_pidprefix}.${profile}.pid"
command_args="-d --pidfile=${pidfile}"
eval elasticsearch_config="\${elasticsearch_${profile}_config:-}"
if [ "x${elasticsearch_config}" = "x" ]; then
echo "You must define a configuration (elasticsearch_${profile}_config)"