1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/textproc/elasticsearch/pkg-plist
Tom Judge 3e86de2c38 Upgrade to 0.90.0.
This upgade requires a full cluster restart.

Changes: http://www.elasticsearch.org/downloads/0-90-0/
2013-05-20 15:29:17 +00:00

39 lines
2.1 KiB
Plaintext

@unexec if cmp -s %D/etc/elasticsearch/elasticsearch.yml.sample %D/etc/elasticsearch/elasticsearch.yml; then rm -f %D/etc/elasticsearch/elasticsearch.yml; fi
etc/elasticsearch/elasticsearch.yml.sample
@exec if [ ! -f %D/etc/elasticsearch/elasticsearch.yml ] ; then cp -p %D/%F %B/elasticsearch.yml; fi
@unexec if cmp -s %D/etc/elasticsearch/logging.yml.sample %D/etc/elasticsearch/logging.yml; then rm -f %D/etc/elasticsearch/logging.yml; fi
etc/elasticsearch/logging.yml.sample
@exec if [ ! -f %D/etc/elasticsearch/logging.yml ] ; then cp -p %D/%F %B/logging.yml; fi
@exec install -d -o %%SEARCHUSER%% -g %%SEARCHGROUP%% %%ELASTIC_DBDIR%%
@dirrmtry %%ELASTIC_LOGDIR%%
@unexec if [ -d %%ELASTIC_LOGDIR%% ]; then echo "You should remove %%ELASTIC_LOGDIR%% if you don't need it any more."; fi
@exec install -d -o %%SEARCHUSER%% -g %%SEARCHGROUP%% %%ELASTIC_LOGDIR%%
@dirrmtry %%ELASTIC_DBDIR%%
@unexec if [ -d %%ELASTIC_DBDIR%% ]; then echo "You should remove %%ELASTIC_DBDIR%% if you don't need it any more."; fi
bin/elasticsearch-plugin
lib/elasticsearch/elasticsearch-%%PORTVERSION%%.jar
lib/elasticsearch/jna-3.3.0.jar
lib/elasticsearch/jts-1.12.jar
lib/elasticsearch/log4j-1.2.17.jar
lib/elasticsearch/lucene-analyzers-common-%%LUCENEVER%%.jar
lib/elasticsearch/lucene-codecs-%%LUCENEVER%%.jar
lib/elasticsearch/lucene-core-%%LUCENEVER%%.jar
lib/elasticsearch/lucene-grouping-%%LUCENEVER%%.jar
lib/elasticsearch/lucene-highlighter-%%LUCENEVER%%.jar
lib/elasticsearch/lucene-join-%%LUCENEVER%%.jar
lib/elasticsearch/lucene-memory-%%LUCENEVER%%.jar
lib/elasticsearch/lucene-queries-%%LUCENEVER%%.jar
lib/elasticsearch/lucene-queryparser-%%LUCENEVER%%.jar
lib/elasticsearch/lucene-sandbox-%%LUCENEVER%%.jar
lib/elasticsearch/lucene-spatial-%%LUCENEVER%%.jar
lib/elasticsearch/lucene-suggest-%%LUCENEVER%%.jar
lib/elasticsearch/sigar/sigar-1.6.4.jar
lib/elasticsearch/spatial4j-0.3.jar
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
%%PORTDOCS%%%%DOCSDIR%%/NOTICE.txt
%%PORTDOCS%%%%DOCSDIR%%/README.textile
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrmtry etc/elasticsearch
@dirrm lib/elasticsearch/sigar
@dirrm lib/elasticsearch