View | Details | Raw Unified | Return to bug 211197 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-6 / +5 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	elasticsearch
4
PORTNAME=	elasticsearch
5
PORTVERSION=	2.3.0
5
PORTVERSION=	2.3.5
6
PORTREVISION=	1
7
CATEGORIES=	textproc java devel
6
CATEGORIES=	textproc java devel
8
MASTER_SITES=	http://download.elasticsearch.org/${PORTNAME}/${PORTNAME}/ \
7
MASTER_SITES=	http://download.elasticsearch.org/${PORTNAME}/${PORTNAME}/ \
9
		http://mirrors.rit.edu/zi/
8
		http://mirrors.rit.edu/zi/
Lines 70-82 Link Here
70
	${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${STAGEDIR}${PREFIX}/lib/elasticsearch/bin
69
	${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${STAGEDIR}${PREFIX}/lib/elasticsearch/bin
71
.endfor
70
.endfor
72
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/lib
71
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/lib
73
	(cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/elasticsearch/lib/ "-name *\.jar")
72
	cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/elasticsearch/lib/ "-name *\.jar"
73
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/modules
74
	cd ${WRKSRC}/modules && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/elasticsearch/modules
74
75
75
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/modules
76
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/plugins
76
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/plugins
77
	@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/elasticsearch
77
	@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/elasticsearch
78
	@${MKDIR} ${STAGEDIR}${ELASTIC_DBDIR} ${STAGEDIR}${ELASTIC_LOGDIR}
78
	@${MKDIR} ${STAGEDIR}${ELASTIC_DBDIR} ${STAGEDIR}${ELASTIC_LOGDIR}
79
	cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s ${PREFIX}/lib/elasticsearch/bin/plugin elasticsearch-plugin
79
	cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s ../lib/elasticsearch/bin/plugin elasticsearch-plugin
80
80
81
do-install-DOCS-on:
81
do-install-DOCS-on:
82
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
82
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
Lines 84-88 Link Here
84
	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
84
	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
85
.endfor
85
.endfor
86
86
87
88
.include <bsd.port.mk>
87
.include <bsd.port.mk>
(-)distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (elasticsearch-2.3.0.tar.gz) = d68482c7633f2986263bc5f11f93b8a58c54c6cf5e337b615446d0a7c6fdcd8b
1
TIMESTAMP = 1470332707
2
SIZE (elasticsearch-2.3.0.tar.gz) = 27556947
2
SHA256 (elasticsearch-2.3.5.tar.gz) = 1119a8c18620b98c4b85261318663a1f26dea92a26f34dfeb7f813fb7cbb468a
3
SIZE (elasticsearch-2.3.5.tar.gz) = 27547995
(-)files/patch-bin-elasticsearch.in.sh (-2 / +2 lines)
Lines 1-5 Link Here
1
--- bin/elasticsearch.in.sh.orig	2015-10-21 04:41:12.000000000 -0400
1
--- bin/elasticsearch.in.sh.orig	2016-01-27 12:53:39 UTC
2
+++ bin/elasticsearch.in.sh	2015-12-15 12:00:37.323441838 -0500
2
+++ bin/elasticsearch.in.sh
3
@@ -1,5 +1,20 @@
3
@@ -1,5 +1,20 @@
4
 #!/bin/sh
4
 #!/bin/sh
5
 
5
 
(-)files/patch-config-elasticsearch.yml (-2 / +2 lines)
Lines 1-5 Link Here
1
--- config/elasticsearch.yml.orig	2015-10-21 04:41:12.000000000 -0400
1
--- config/elasticsearch.yml.orig	2016-01-27 13:29:25 UTC
2
+++ config/elasticsearch.yml	2015-11-19 12:34:39.766910803 -0500
2
+++ config/elasticsearch.yml
3
@@ -31,10 +31,12 @@
3
@@ -31,10 +31,12 @@
4
 # Path to directory where to store the data (separate multiple locations by comma):
4
 # Path to directory where to store the data (separate multiple locations by comma):
5
 #
5
 #
(-)pkg-plist (-12 / +23 lines)
Lines 1-8 Link Here
1
@sample(%%SEARCHUSER%%,%%SEARCHGROUP%%,440) %%ETCDIR%%/elasticsearch.yml.sample
1
@sample(%%SEARCHUSER%%,%%SEARCHGROUP%%,440) %%ETCDIR%%/elasticsearch.yml.sample
2
@sample(%%SEARCHUSER%%,%%SEARCHGROUP%%,440) %%ETCDIR%%/logging.yml.sample
2
@sample(%%SEARCHUSER%%,%%SEARCHGROUP%%,440) %%ETCDIR%%/logging.yml.sample
3
@unexec if [ -d %%ELASTIC_LOGDIR%% ]; then echo "You should remove %%ELASTIC_LOGDIR%% if you don't need it any more."; fi
4
@unexec if [ -d %%ELASTIC_DBDIR%% ]; then echo "You should remove %%ELASTIC_DBDIR%% if you don't need it any more."; fi
5
bin/elasticsearch-plugin
3
bin/elasticsearch-plugin
4
lib/elasticsearch/bin/elasticsearch
5
lib/elasticsearch/bin/elasticsearch.in.sh
6
lib/elasticsearch/bin/plugin
6
lib/elasticsearch/lib/HdrHistogram-2.1.6.jar
7
lib/elasticsearch/lib/HdrHistogram-2.1.6.jar
7
lib/elasticsearch/lib/apache-log4j-extras-1.2.17.jar
8
lib/elasticsearch/lib/apache-log4j-extras-1.2.17.jar
8
lib/elasticsearch/lib/commons-cli-1.3.1.jar
9
lib/elasticsearch/lib/commons-cli-1.3.1.jar
Lines 11-23 Link Here
11
lib/elasticsearch/lib/elasticsearch-%%PORTVERSION%%.jar
12
lib/elasticsearch/lib/elasticsearch-%%PORTVERSION%%.jar
12
lib/elasticsearch/lib/guava-18.0.jar
13
lib/elasticsearch/lib/guava-18.0.jar
13
lib/elasticsearch/lib/hppc-0.7.1.jar
14
lib/elasticsearch/lib/hppc-0.7.1.jar
14
lib/elasticsearch/lib/jackson-core-2.6.2.jar
15
lib/elasticsearch/lib/jackson-core-2.6.6.jar
15
lib/elasticsearch/lib/jackson-dataformat-cbor-2.6.2.jar
16
lib/elasticsearch/lib/jackson-dataformat-cbor-2.6.6.jar
16
lib/elasticsearch/lib/jackson-dataformat-smile-2.6.2.jar
17
lib/elasticsearch/lib/jackson-dataformat-smile-2.6.6.jar
17
lib/elasticsearch/lib/jackson-dataformat-yaml-2.6.2.jar
18
lib/elasticsearch/lib/jackson-dataformat-yaml-2.6.6.jar
18
lib/elasticsearch/lib/jna-4.1.0.jar
19
lib/elasticsearch/lib/jna-4.1.0.jar
19
lib/elasticsearch/lib/joda-convert-1.2.jar
20
lib/elasticsearch/lib/joda-convert-1.2.jar
20
lib/elasticsearch/lib/joda-time-2.8.2.jar
21
lib/elasticsearch/lib/joda-time-2.9.4.jar
21
lib/elasticsearch/lib/jsr166e-1.1.0.jar
22
lib/elasticsearch/lib/jsr166e-1.1.0.jar
22
lib/elasticsearch/lib/jts-1.13.jar
23
lib/elasticsearch/lib/jts-1.13.jar
23
lib/elasticsearch/lib/log4j-1.2.17.jar
24
lib/elasticsearch/lib/log4j-1.2.17.jar
Lines 40-55 Link Here
40
lib/elasticsearch/lib/snakeyaml-1.15.jar
41
lib/elasticsearch/lib/snakeyaml-1.15.jar
41
lib/elasticsearch/lib/spatial4j-0.5.jar
42
lib/elasticsearch/lib/spatial4j-0.5.jar
42
lib/elasticsearch/lib/t-digest-3.0.jar
43
lib/elasticsearch/lib/t-digest-3.0.jar
43
lib/elasticsearch/bin/elasticsearch.in.sh
44
lib/elasticsearch/modules/lang-expression/antlr4-runtime-4.5.1-1.jar
44
lib/elasticsearch/bin/elasticsearch
45
lib/elasticsearch/modules/lang-expression/asm-5.0.4.jar
45
lib/elasticsearch/bin/plugin
46
lib/elasticsearch/modules/lang-expression/asm-commons-5.0.4.jar
47
lib/elasticsearch/modules/lang-expression/lang-expression-%%PORTVERSION%%.jar
48
lib/elasticsearch/modules/lang-expression/lucene-expressions-%%LUCENEVER%%.jar
49
lib/elasticsearch/modules/lang-expression/plugin-descriptor.properties
50
lib/elasticsearch/modules/lang-expression/plugin-security.policy
51
lib/elasticsearch/modules/lang-groovy/groovy-2.4.6-indy.jar
52
lib/elasticsearch/modules/lang-groovy/lang-groovy-%%PORTVERSION%%.jar
53
lib/elasticsearch/modules/lang-groovy/plugin-descriptor.properties
54
lib/elasticsearch/modules/lang-groovy/plugin-security.policy
55
lib/elasticsearch/modules/reindex/plugin-descriptor.properties
56
lib/elasticsearch/modules/reindex/reindex-%%PORTVERSION%%.jar
46
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
57
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
47
%%PORTDOCS%%%%DOCSDIR%%/NOTICE.txt
58
%%PORTDOCS%%%%DOCSDIR%%/NOTICE.txt
48
%%PORTDOCS%%%%DOCSDIR%%/README.textile
59
%%PORTDOCS%%%%DOCSDIR%%/README.textile
60
@dir lib/elasticsearch/plugins
61
@dir lib/elasticsearch/modules
49
@dir lib/elasticsearch/lib
62
@dir lib/elasticsearch/lib
50
@dir lib/elasticsearch/bin
63
@dir lib/elasticsearch/bin
51
@dir lib/elasticsearch/modules
52
@dir lib/elasticsearch/plugins
53
@dir lib/elasticsearch
64
@dir lib/elasticsearch
54
@dir libexec/elasticsearch
65
@dir libexec/elasticsearch
55
@dir(%%SEARCHUSER%%,%%SEARCHGROUP%%,750) %%ELASTIC_LOGDIR%%
66
@dir(%%SEARCHUSER%%,%%SEARCHGROUP%%,750) %%ELASTIC_LOGDIR%%

Return to bug 211197