aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/elasticsearch2-plugin-migration/Makefile27
-rw-r--r--textproc/elasticsearch2-plugin-migration/distinfo3
-rw-r--r--textproc/elasticsearch2-plugin-migration/pkg-descr5
-rw-r--r--textproc/elasticsearch2-plugin-migration/pkg-plist17
5 files changed, 53 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index f06a9a025238..cf6bfecf0daf 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -159,6 +159,7 @@
SUBDIR += elasticsearch2
SUBDIR += elasticsearch2-plugin-hq
SUBDIR += elasticsearch2-plugin-marvel
+ SUBDIR += elasticsearch2-plugin-migration
SUBDIR += elasticsearch2-plugin-sql
SUBDIR += elixir-earmark
SUBDIR += elixir-ex_doc
diff --git a/textproc/elasticsearch2-plugin-migration/Makefile b/textproc/elasticsearch2-plugin-migration/Makefile
new file mode 100644
index 000000000000..db45a8165e37
--- /dev/null
+++ b/textproc/elasticsearch2-plugin-migration/Makefile
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= migration
+PORTVERSION= 2.0.0
+DISTVERSIONPREFIX= v
+CATEGORIES= textproc
+PKGNAMEPREFIX= elasticsearch-plugin-
+
+MAINTAINER= olgeni@FreeBSD.org
+COMMENT= ElasticSearch Migration Plugin
+
+LICENSE= APACHE20
+
+RUN_DEPENDS= elasticsearch2>=2.3.0:textproc/elasticsearch2
+
+USE_GITHUB= yes
+GH_ACCOUNT= elastic
+GH_PROJECT= elasticsearch-migration
+
+NO_BUILD= yes
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/plugins/migration
+ cd ${WRKSRC} && ${COPYTREE_SHARE} _site ${STAGEDIR}${PREFIX}/lib/elasticsearch/plugins/migration
+ ${INSTALL_DATA} ${WRKSRC}/*.properties ${STAGEDIR}${PREFIX}/lib/elasticsearch/plugins/migration
+
+.include <bsd.port.mk>
diff --git a/textproc/elasticsearch2-plugin-migration/distinfo b/textproc/elasticsearch2-plugin-migration/distinfo
new file mode 100644
index 000000000000..67eda49bc9b1
--- /dev/null
+++ b/textproc/elasticsearch2-plugin-migration/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1477134294
+SHA256 (elastic-elasticsearch-migration-v2.0.0_GH0.tar.gz) = c7a571c03057d3da4f9c17f3bb3068aa0b679573d1eae4909ccda0faad2fdd8e
+SIZE (elastic-elasticsearch-migration-v2.0.0_GH0.tar.gz) = 287506
diff --git a/textproc/elasticsearch2-plugin-migration/pkg-descr b/textproc/elasticsearch2-plugin-migration/pkg-descr
new file mode 100644
index 000000000000..29723da3b3d5
--- /dev/null
+++ b/textproc/elasticsearch2-plugin-migration/pkg-descr
@@ -0,0 +1,5 @@
+This plugin will help you to check whether you can upgrade directly to
+Elasticsearch version 5.x, or whether you need to make changes to your data
+before doing so. It will run on Elasticsearch version 2.3.x.
+
+WWW: https://github.com/elastic/elasticsearch-migration
diff --git a/textproc/elasticsearch2-plugin-migration/pkg-plist b/textproc/elasticsearch2-plugin-migration/pkg-plist
new file mode 100644
index 000000000000..b20738e0a476
--- /dev/null
+++ b/textproc/elasticsearch2-plugin-migration/pkg-plist
@@ -0,0 +1,17 @@
+lib/elasticsearch/plugins/migration/_site/images/body_bg.png
+lib/elasticsearch/plugins/migration/_site/images/elastic.jpeg
+lib/elasticsearch/plugins/migration/_site/images/go.png
+lib/elasticsearch/plugins/migration/_site/index.html
+lib/elasticsearch/plugins/migration/_site/js/bluebird/bluebird.min.js
+lib/elasticsearch/plugins/migration/_site/js/jquery/jquery-1.12.3.min.js
+lib/elasticsearch/plugins/migration/_site/js/lodash/lodash.core.js
+lib/elasticsearch/plugins/migration/_site/js/lodash/lodash.core.min.js
+lib/elasticsearch/plugins/migration/_site/js/lodash/lodash.fp.js
+lib/elasticsearch/plugins/migration/_site/js/lodash/lodash.fp.min.js
+lib/elasticsearch/plugins/migration/_site/js/lodash/lodash.js
+lib/elasticsearch/plugins/migration/_site/js/lodash/lodash.min.js
+lib/elasticsearch/plugins/migration/_site/js/lodash/mapping.fp.js
+lib/elasticsearch/plugins/migration/_site/js/main.js
+lib/elasticsearch/plugins/migration/_site/js/tablesorter/tablesorter.min.js
+lib/elasticsearch/plugins/migration/_site/styles.css
+lib/elasticsearch/plugins/migration/plugin-descriptor.properties