[arch-commits] Commit in elasticsearch/repos/community-any (16 files)
Massimiliano Torromeo
mtorromeo at archlinux.org
Wed Feb 24 15:08:19 UTC 2016
Date: Wednesday, February 24, 2016 @ 16:08:18
Author: mtorromeo
Revision: 163313
archrelease: copy trunk to community-any
Added:
elasticsearch/repos/community-any/PKGBUILD
(from rev 163312, elasticsearch/trunk/PKGBUILD)
elasticsearch/repos/community-any/elasticsearch-sysctl.conf
(from rev 163312, elasticsearch/trunk/elasticsearch-sysctl.conf)
elasticsearch/repos/community-any/elasticsearch-tmpfile.conf
(from rev 163312, elasticsearch/trunk/elasticsearch-tmpfile.conf)
elasticsearch/repos/community-any/elasticsearch-user.conf
(from rev 163312, elasticsearch/trunk/elasticsearch-user.conf)
elasticsearch/repos/community-any/elasticsearch.default
(from rev 163312, elasticsearch/trunk/elasticsearch.default)
elasticsearch/repos/community-any/elasticsearch.install
(from rev 163312, elasticsearch/trunk/elasticsearch.install)
elasticsearch/repos/community-any/elasticsearch.service
(from rev 163312, elasticsearch/trunk/elasticsearch.service)
elasticsearch/repos/community-any/elasticsearch at .service
(from rev 163312, elasticsearch/trunk/elasticsearch at .service)
Deleted:
elasticsearch/repos/community-any/PKGBUILD
elasticsearch/repos/community-any/elasticsearch-sysctl.conf
elasticsearch/repos/community-any/elasticsearch-tmpfile.conf
elasticsearch/repos/community-any/elasticsearch-user.conf
elasticsearch/repos/community-any/elasticsearch.default
elasticsearch/repos/community-any/elasticsearch.install
elasticsearch/repos/community-any/elasticsearch.service
elasticsearch/repos/community-any/elasticsearch at .service
----------------------------+
PKGBUILD | 156 +++++++++++++++++++++----------------------
elasticsearch-sysctl.conf | 2
elasticsearch-tmpfile.conf | 4 -
elasticsearch-user.conf | 2
elasticsearch.default | 26 +++----
elasticsearch.install | 28 +++----
elasticsearch.service | 78 ++++++++++-----------
elasticsearch at .service | 78 ++++++++++-----------
8 files changed, 187 insertions(+), 187 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-24 15:05:24 UTC (rev 163312)
+++ PKGBUILD 2016-02-24 15:08:18 UTC (rev 163313)
@@ -1,78 +0,0 @@
-# $Id$
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Contributor: Marcello "mererghost" Rocha <https://github.com/mereghost>
-# Refactored by Blaž "Speed" Hrastnik <https://github.com/archSeer>
-
-pkgname=elasticsearch
-pkgver=2.2.0
-pkgrel=3
-pkgdesc="Distributed RESTful search engine built on top of Lucene"
-arch=('any')
-url="https://www.elastic.co/products/elasticsearch"
-license=('APACHE')
-depends=('java-runtime-headless' 'systemd')
-install='elasticsearch.install'
-source=(
- "http://download.elasticsearch.org/$pkgname/release/org/$pkgname/distribution/tar/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz"
- elasticsearch.service
- elasticsearch at .service
- elasticsearch-sysctl.conf
- elasticsearch-user.conf
- elasticsearch-tmpfile.conf
- elasticsearch.default
-)
-sha256sums=('ed70cc81e1f55cd5f0032beea2907227b6ad8e7457dcb75ddc97a2cc6e054d30'
- '339a16452c89d55dba3c693e5979fd331981e79decc5eceb2e9be25670d946d9'
- '5705be6546922d5c0c7aded3b839af25b369ace2af7024ea11e2bce9426ae2f6'
- 'b3feb1e9c7e7ce6b33cea6c727728ed700332aae942ca475c3bcc1d56b9f113c'
- 'a76c03afe30dc3434bf55b5b50f0867c3670dcaebcc8b522f42277ff523b7277'
- '39ab5801b45c0f49af43c4d1826a655a981bfa07e4b3791d7a0719f8c191d8d9'
- 'bb74e5fb8bc28f2125e015395ab05bea117b72bfc6dadbca827694b362ee0bf8')
-
-backup=('etc/elasticsearch/elasticsearch.yml'
- 'etc/elasticsearch/logging.yml'
- 'etc/default/elasticsearch')
-
-prepare() {
- cd "$srcdir"/$pkgname-$pkgver
-
- for script in plugin elasticsearch; do
- sed -e 's|^ES_HOME=.*dirname.*|ES_HOME=/usr/share/elasticsearch|' \
- -e '/^ES_HOME=.*pwd/d' \
- -e 's|$ES_HOME/config|/etc/elasticsearch|' \
- -i bin/$script
- done
-
- sed -re 's;#\s*(path\.conf:).*$;\1 /etc/elasticsearch;' \
- -e '0,/#\s*(path\.data:).*$/s;;\1 /var/lib/elasticsearch;' \
- -e 's;#\s*(path\.work:).*$;\1 /tmp/elasticsearch;' \
- -e 's;#\s*(path\.logs:).*$;\1 /var/log/elasticsearch;' \
- -i config/elasticsearch.yml
-}
-
-package() {
- install -dm755 "$pkgdir"/etc
- install -dm750 -g 114 "$pkgdir"/etc/elasticsearch/scripts
-
- cd "$srcdir"/$pkgname-$pkgver
- install -dm755 "$pkgdir"/usr/share/elasticsearch
- cp -R lib "$pkgdir"/usr/share/elasticsearch/lib
- cp config/* "$pkgdir"/etc/elasticsearch/
-
- install -Dm755 bin/elasticsearch "$pkgdir"/usr/bin/elasticsearch
- install -Dm755 bin/plugin "$pkgdir"/usr/bin/elasticsearch-plugin
- install -Dm644 bin/elasticsearch.in.sh "$pkgdir"/usr/share/elasticsearch/bin/elasticsearch.in.sh
-
- cd "$pkgdir"
- install -dm750 -g 114 etc/elasticsearch/scripts
- install -Dm644 "$srcdir"/elasticsearch.service usr/lib/systemd/system/elasticsearch.service
- install -Dm644 "$srcdir"/elasticsearch at .service usr/lib/systemd/system/elasticsearch at .service
- install -Dm644 "$srcdir"/elasticsearch-user.conf usr/lib/sysusers.d/elasticsearch.conf
- install -Dm644 "$srcdir"/elasticsearch-tmpfile.conf usr/lib/tmpfiles.d/elasticsearch.conf
- install -Dm644 "$srcdir"/elasticsearch-sysctl.conf usr/lib/sysctl.d/elasticsearch.conf
- install -Dm644 "$srcdir"/elasticsearch.default etc/default/elasticsearch
-
- chgrp -R 114 etc/elasticsearch
- ln -s ../../../etc/elasticsearch usr/share/elasticsearch/config
- install -o 114 -g 114 -dm755 usr/share/elasticsearch/{plugins,modules}
-}
Copied: elasticsearch/repos/community-any/PKGBUILD (from rev 163312, elasticsearch/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-02-24 15:08:18 UTC (rev 163313)
@@ -0,0 +1,78 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Marcello "mererghost" Rocha <https://github.com/mereghost>
+# Refactored by Blaž "Speed" Hrastnik <https://github.com/archSeer>
+
+pkgname=elasticsearch
+pkgver=2.2.0
+pkgrel=4
+pkgdesc="Distributed RESTful search engine built on top of Lucene"
+arch=('any')
+url="https://www.elastic.co/products/elasticsearch"
+license=('APACHE')
+depends=('java-runtime-headless' 'systemd')
+install='elasticsearch.install'
+source=(
+ "http://download.elasticsearch.org/$pkgname/release/org/$pkgname/distribution/tar/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz"
+ elasticsearch.service
+ elasticsearch at .service
+ elasticsearch-sysctl.conf
+ elasticsearch-user.conf
+ elasticsearch-tmpfile.conf
+ elasticsearch.default
+)
+sha256sums=('ed70cc81e1f55cd5f0032beea2907227b6ad8e7457dcb75ddc97a2cc6e054d30'
+ '339a16452c89d55dba3c693e5979fd331981e79decc5eceb2e9be25670d946d9'
+ '5705be6546922d5c0c7aded3b839af25b369ace2af7024ea11e2bce9426ae2f6'
+ 'b3feb1e9c7e7ce6b33cea6c727728ed700332aae942ca475c3bcc1d56b9f113c'
+ 'a76c03afe30dc3434bf55b5b50f0867c3670dcaebcc8b522f42277ff523b7277'
+ '39ab5801b45c0f49af43c4d1826a655a981bfa07e4b3791d7a0719f8c191d8d9'
+ 'bb74e5fb8bc28f2125e015395ab05bea117b72bfc6dadbca827694b362ee0bf8')
+
+backup=('etc/elasticsearch/elasticsearch.yml'
+ 'etc/elasticsearch/logging.yml'
+ 'etc/default/elasticsearch')
+
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ for script in plugin elasticsearch; do
+ sed -e 's|^ES_HOME=.*dirname.*|ES_HOME=/usr/share/elasticsearch|' \
+ -e '/^ES_HOME=.*pwd/d' \
+ -e 's|$ES_HOME/config|/etc/elasticsearch|' \
+ -i bin/$script
+ done
+
+ sed -re 's;#\s*(path\.conf:).*$;\1 /etc/elasticsearch;' \
+ -e '0,/#\s*(path\.data:).*$/s;;\1 /var/lib/elasticsearch;' \
+ -e 's;#\s*(path\.work:).*$;\1 /tmp/elasticsearch;' \
+ -e 's;#\s*(path\.logs:).*$;\1 /var/log/elasticsearch;' \
+ -i config/elasticsearch.yml
+}
+
+package() {
+ install -dm755 "$pkgdir"/etc
+ install -dm750 -g 114 "$pkgdir"/etc/elasticsearch/scripts
+
+ cd "$srcdir"/$pkgname-$pkgver
+ install -dm755 "$pkgdir"/usr/share/elasticsearch
+ cp -R lib modules "$pkgdir"/usr/share/elasticsearch/
+ cp config/* "$pkgdir"/etc/elasticsearch/
+
+ install -Dm755 bin/elasticsearch "$pkgdir"/usr/bin/elasticsearch
+ install -Dm755 bin/plugin "$pkgdir"/usr/bin/elasticsearch-plugin
+ install -Dm644 bin/elasticsearch.in.sh "$pkgdir"/usr/share/elasticsearch/bin/elasticsearch.in.sh
+
+ cd "$pkgdir"
+ install -dm750 -g 114 etc/elasticsearch/scripts
+ install -Dm644 "$srcdir"/elasticsearch.service usr/lib/systemd/system/elasticsearch.service
+ install -Dm644 "$srcdir"/elasticsearch at .service usr/lib/systemd/system/elasticsearch at .service
+ install -Dm644 "$srcdir"/elasticsearch-user.conf usr/lib/sysusers.d/elasticsearch.conf
+ install -Dm644 "$srcdir"/elasticsearch-tmpfile.conf usr/lib/tmpfiles.d/elasticsearch.conf
+ install -Dm644 "$srcdir"/elasticsearch-sysctl.conf usr/lib/sysctl.d/elasticsearch.conf
+ install -Dm644 "$srcdir"/elasticsearch.default etc/default/elasticsearch
+
+ chgrp -R 114 etc/elasticsearch
+ ln -s ../../../etc/elasticsearch usr/share/elasticsearch/config
+ install -o 114 -g 114 -dm755 usr/share/elasticsearch/plugins
+}
Deleted: elasticsearch-sysctl.conf
===================================================================
--- elasticsearch-sysctl.conf 2016-02-24 15:05:24 UTC (rev 163312)
+++ elasticsearch-sysctl.conf 2016-02-24 15:08:18 UTC (rev 163313)
@@ -1 +0,0 @@
-vm.max_map_count=262144
\ No newline at end of file
Copied: elasticsearch/repos/community-any/elasticsearch-sysctl.conf (from rev 163312, elasticsearch/trunk/elasticsearch-sysctl.conf)
===================================================================
--- elasticsearch-sysctl.conf (rev 0)
+++ elasticsearch-sysctl.conf 2016-02-24 15:08:18 UTC (rev 163313)
@@ -0,0 +1 @@
+vm.max_map_count=262144
\ No newline at end of file
Deleted: elasticsearch-tmpfile.conf
===================================================================
--- elasticsearch-tmpfile.conf 2016-02-24 15:05:24 UTC (rev 163312)
+++ elasticsearch-tmpfile.conf 2016-02-24 15:08:18 UTC (rev 163313)
@@ -1,2 +0,0 @@
-d /var/log/elasticsearch 0755 elasticsearch elasticsearch -
-d /var/lib/elasticsearch 0755 elasticsearch elasticsearch -
Copied: elasticsearch/repos/community-any/elasticsearch-tmpfile.conf (from rev 163312, elasticsearch/trunk/elasticsearch-tmpfile.conf)
===================================================================
--- elasticsearch-tmpfile.conf (rev 0)
+++ elasticsearch-tmpfile.conf 2016-02-24 15:08:18 UTC (rev 163313)
@@ -0,0 +1,2 @@
+d /var/log/elasticsearch 0755 elasticsearch elasticsearch -
+d /var/lib/elasticsearch 0755 elasticsearch elasticsearch -
Deleted: elasticsearch-user.conf
===================================================================
--- elasticsearch-user.conf 2016-02-24 15:05:24 UTC (rev 163312)
+++ elasticsearch-user.conf 2016-02-24 15:08:18 UTC (rev 163313)
@@ -1 +0,0 @@
-u elasticsearch 114 "Elasticsearch user"
Copied: elasticsearch/repos/community-any/elasticsearch-user.conf (from rev 163312, elasticsearch/trunk/elasticsearch-user.conf)
===================================================================
--- elasticsearch-user.conf (rev 0)
+++ elasticsearch-user.conf 2016-02-24 15:08:18 UTC (rev 163313)
@@ -0,0 +1 @@
+u elasticsearch 114 "Elasticsearch user"
Deleted: elasticsearch.default
===================================================================
--- elasticsearch.default 2016-02-24 15:05:24 UTC (rev 163312)
+++ elasticsearch.default 2016-02-24 15:08:18 UTC (rev 163313)
@@ -1,13 +0,0 @@
-JAVA_HOME=/usr/lib/jvm/default-runtime
-
-# Heap Size (defaults to 256m min, 1g max)
-#ES_HEAP_SIZE=1g
-
-# Heap new generation
-#ES_HEAP_NEWSIZE=
-
-# max direct memory
-#ES_DIRECT_SIZE=
-
-# Additional Java OPTS
-#ES_JAVA_OPTS=
Copied: elasticsearch/repos/community-any/elasticsearch.default (from rev 163312, elasticsearch/trunk/elasticsearch.default)
===================================================================
--- elasticsearch.default (rev 0)
+++ elasticsearch.default 2016-02-24 15:08:18 UTC (rev 163313)
@@ -0,0 +1,13 @@
+JAVA_HOME=/usr/lib/jvm/default-runtime
+
+# Heap Size (defaults to 256m min, 1g max)
+#ES_HEAP_SIZE=1g
+
+# Heap new generation
+#ES_HEAP_NEWSIZE=
+
+# max direct memory
+#ES_DIRECT_SIZE=
+
+# Additional Java OPTS
+#ES_JAVA_OPTS=
Deleted: elasticsearch.install
===================================================================
--- elasticsearch.install 2016-02-24 15:05:24 UTC (rev 163312)
+++ elasticsearch.install 2016-02-24 15:08:18 UTC (rev 163313)
@@ -1,14 +0,0 @@
-post_install() {
- systemd-sysusers elasticsearch.conf
- systemd-tmpfiles --create elasticsearch.conf
-}
-
-post_upgrade(){
- systemd-tmpfiles --create elasticsearch.conf
-
- if [ "$(vercmp $2 2.0.0)" -lt 0 ]; then
- echo " >> "
- echo " >> Major version update. PLease take a look at breaking changes https://www.elastic.co/guide/en/elasticsearch/reference/2.0/breaking-changes-2.0.html and remove incompatible plugins from /usr/share/elasticsearch/plugins"
- echo " >> "
- fi
-}
Copied: elasticsearch/repos/community-any/elasticsearch.install (from rev 163312, elasticsearch/trunk/elasticsearch.install)
===================================================================
--- elasticsearch.install (rev 0)
+++ elasticsearch.install 2016-02-24 15:08:18 UTC (rev 163313)
@@ -0,0 +1,14 @@
+post_install() {
+ systemd-sysusers elasticsearch.conf
+ systemd-tmpfiles --create elasticsearch.conf
+}
+
+post_upgrade(){
+ systemd-tmpfiles --create elasticsearch.conf
+
+ if [ "$(vercmp $2 2.0.0)" -lt 0 ]; then
+ echo " >> "
+ echo " >> Major version update. PLease take a look at breaking changes https://www.elastic.co/guide/en/elasticsearch/reference/2.0/breaking-changes-2.0.html and remove incompatible plugins from /usr/share/elasticsearch/plugins"
+ echo " >> "
+ fi
+}
Deleted: elasticsearch.service
===================================================================
--- elasticsearch.service 2016-02-24 15:05:24 UTC (rev 163312)
+++ elasticsearch.service 2016-02-24 15:08:18 UTC (rev 163313)
@@ -1,39 +0,0 @@
-[Unit]
-Description=Elasticsearch
-Documentation=http://www.elastic.co
-Wants=network.target
-After=network.target
-
-[Service]
-Type=forking
-RuntimeDirectory=elasticsearch
-PIDFile=/run/elasticsearch/elasticsearch.pid
-
-Environment=JAVA_HOME=/usr/lib/jvm/default-runtime
-Environment=ES_HOME=/usr/share/elasticsearch
-Environment=CONF_DIR=/etc/elasticsearch
-Environment=DATA_DIR=/var/lib/elasticsearch
-Environment=LOG_DIR=/var/log/elasticsearch
-EnvironmentFile=-/etc/default/elasticsearch
-
-WorkingDirectory=/usr/share/elasticsearch
-
-User=elasticsearch
-Group=elasticsearch
-
-ExecStart=/usr/bin/elasticsearch -d \
- -p /run/elasticsearch/elasticsearch.pid \
- -Des.default.path.home=${ES_HOME} \
- -Des.default.path.logs=${LOG_DIR} \
- -Des.default.path.data=${DATA_DIR} \
- -Des.default.path.conf=${CONF_DIR}
-
-SuccessExitStatus=143
-
-LimitNOFILE=65535
-LimitMEMLOCK=infinity
-TimeoutStopSec=120
-Restart=on-failure
-
-[Install]
-WantedBy=multi-user.target
Copied: elasticsearch/repos/community-any/elasticsearch.service (from rev 163312, elasticsearch/trunk/elasticsearch.service)
===================================================================
--- elasticsearch.service (rev 0)
+++ elasticsearch.service 2016-02-24 15:08:18 UTC (rev 163313)
@@ -0,0 +1,39 @@
+[Unit]
+Description=Elasticsearch
+Documentation=http://www.elastic.co
+Wants=network.target
+After=network.target
+
+[Service]
+Type=forking
+RuntimeDirectory=elasticsearch
+PIDFile=/run/elasticsearch/elasticsearch.pid
+
+Environment=JAVA_HOME=/usr/lib/jvm/default-runtime
+Environment=ES_HOME=/usr/share/elasticsearch
+Environment=CONF_DIR=/etc/elasticsearch
+Environment=DATA_DIR=/var/lib/elasticsearch
+Environment=LOG_DIR=/var/log/elasticsearch
+EnvironmentFile=-/etc/default/elasticsearch
+
+WorkingDirectory=/usr/share/elasticsearch
+
+User=elasticsearch
+Group=elasticsearch
+
+ExecStart=/usr/bin/elasticsearch -d \
+ -p /run/elasticsearch/elasticsearch.pid \
+ -Des.default.path.home=${ES_HOME} \
+ -Des.default.path.logs=${LOG_DIR} \
+ -Des.default.path.data=${DATA_DIR} \
+ -Des.default.path.conf=${CONF_DIR}
+
+SuccessExitStatus=143
+
+LimitNOFILE=65535
+LimitMEMLOCK=infinity
+TimeoutStopSec=120
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target
Deleted: elasticsearch at .service
===================================================================
--- elasticsearch at .service 2016-02-24 15:05:24 UTC (rev 163312)
+++ elasticsearch at .service 2016-02-24 15:08:18 UTC (rev 163313)
@@ -1,39 +0,0 @@
-[Unit]
-Description=Elasticsearch
-Documentation=http://www.elastic.co
-Wants=network.target
-After=network.target
-
-[Service]
-Type=forking
-RuntimeDirectory=elasticsearch
-PIDFile=/run/elasticsearch/%I.pid
-
-Environment=JAVA_HOME=/usr/lib/jvm/default-runtime
-Environment=ES_HOME=/usr/share/elasticsearch
-Environment=CONF_DIR=/etc/elasticsearch/%I
-Environment=DATA_DIR=/var/lib/elasticsearch/%I
-Environment=LOG_DIR=/var/log/elasticsearch
-EnvironmentFile=-/etc/default/elasticsearch
-
-WorkingDirectory=/usr/share/elasticsearch
-
-User=elasticsearch
-Group=elasticsearch
-
-ExecStart=/usr/bin/elasticsearch -d \
- -p /run/elasticsearch/%I.pid \
- -Des.default.path.home=${ES_HOME} \
- -Des.default.path.logs=${LOG_DIR} \
- -Des.default.path.data=${DATA_DIR} \
- -Des.default.path.conf=${CONF_DIR}
-
-SuccessExitStatus=143
-
-LimitNOFILE=65535
-LimitMEMLOCK=infinity
-TimeoutStopSec=120
-Restart=on-failure
-
-[Install]
-WantedBy=multi-user.target
Copied: elasticsearch/repos/community-any/elasticsearch at .service (from rev 163312, elasticsearch/trunk/elasticsearch at .service)
===================================================================
--- elasticsearch at .service (rev 0)
+++ elasticsearch at .service 2016-02-24 15:08:18 UTC (rev 163313)
@@ -0,0 +1,39 @@
+[Unit]
+Description=Elasticsearch
+Documentation=http://www.elastic.co
+Wants=network.target
+After=network.target
+
+[Service]
+Type=forking
+RuntimeDirectory=elasticsearch
+PIDFile=/run/elasticsearch/%I.pid
+
+Environment=JAVA_HOME=/usr/lib/jvm/default-runtime
+Environment=ES_HOME=/usr/share/elasticsearch
+Environment=CONF_DIR=/etc/elasticsearch/%I
+Environment=DATA_DIR=/var/lib/elasticsearch/%I
+Environment=LOG_DIR=/var/log/elasticsearch
+EnvironmentFile=-/etc/default/elasticsearch
+
+WorkingDirectory=/usr/share/elasticsearch
+
+User=elasticsearch
+Group=elasticsearch
+
+ExecStart=/usr/bin/elasticsearch -d \
+ -p /run/elasticsearch/%I.pid \
+ -Des.default.path.home=${ES_HOME} \
+ -Des.default.path.logs=${LOG_DIR} \
+ -Des.default.path.data=${DATA_DIR} \
+ -Des.default.path.conf=${CONF_DIR}
+
+SuccessExitStatus=143
+
+LimitNOFILE=65535
+LimitMEMLOCK=infinity
+TimeoutStopSec=120
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list