Date: Wednesday, February 1, 2017 @ 11:10:51 Author: mtorromeo Revision: 209634
archrelease: copy trunk to community-any Added: elasticsearch/repos/community-any/PKGBUILD (from rev 209633, elasticsearch/trunk/PKGBUILD) elasticsearch/repos/community-any/elasticsearch-sysctl.conf (from rev 209633, elasticsearch/trunk/elasticsearch-sysctl.conf) elasticsearch/repos/community-any/elasticsearch-tmpfile.conf (from rev 209633, elasticsearch/trunk/elasticsearch-tmpfile.conf) elasticsearch/repos/community-any/elasticsearch-user.conf (from rev 209633, elasticsearch/trunk/elasticsearch-user.conf) elasticsearch/repos/community-any/elasticsearch.default (from rev 209633, elasticsearch/trunk/elasticsearch.default) elasticsearch/repos/community-any/elasticsearch.service (from rev 209633, elasticsearch/trunk/elasticsearch.service) elasticsearch/repos/community-any/elasticsearch@.service (from rev 209633, elasticsearch/trunk/elasticsearch@.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.service elasticsearch/repos/community-any/elasticsearch@.service ----------------------------+ PKGBUILD | 160 +++++++++++++++++++++---------------------- elasticsearch-sysctl.conf | 2 elasticsearch-tmpfile.conf | 12 +-- elasticsearch-user.conf | 2 elasticsearch.default | 26 +++--- elasticsearch.service | 78 ++++++++++---------- elasticsearch@.service | 78 ++++++++++---------- 7 files changed, 179 insertions(+), 179 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-02-01 11:10:30 UTC (rev 209633) +++ PKGBUILD 2017-02-01 11:10:51 UTC (rev 209634) @@ -1,80 +0,0 @@ -# $Id$ -# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> -# Contributor: Marcello "mererghost" Rocha <https://github.com/mereghost> -# Refactored by Blaž "Speed" Hrastnik <https://github.com/archSeer> - -pkgname=elasticsearch -pkgver=5.1.2 -pkgrel=1 -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=8' 'systemd') -source=( - "https://artifacts.elastic.co/downloads/$pkgname/$pkgname-$pkgver.tar.gz" - elasticsearch.service - elasticsearch@.service - elasticsearch-sysctl.conf - elasticsearch-user.conf - elasticsearch-tmpfile.conf - elasticsearch.default -) -sha256sums=('74d752f9a8b46898d306ad169b72f328e17215c0909149e156a576089ef11c42' - '51154ac04d90c6b534a3d86bb41c8654726a2a7b3a5a767411dfce30e7bb21fe' - '22ec53ed1ac5231b501b2311aad4953a8210d9e72b4204c9c2facab100003f8e' - 'b3feb1e9c7e7ce6b33cea6c727728ed700332aae942ca475c3bcc1d56b9f113c' - '815f6a39db6f54bb40750c382ffbdc298d2c4c187ee8ea7e2f855923e2ff354b' - '3173e3efa429507e6329f518699a072dfd442d9b5da7c62452a55f82334dd2b5' - 'bb74e5fb8bc28f2125e015395ab05bea117b72bfc6dadbca827694b362ee0bf8') - -backup=('etc/elasticsearch/elasticsearch.yml' - 'etc/elasticsearch/log4j2.properties' - 'etc/elasticsearch/jvm.options' - 'etc/default/elasticsearch') - -prepare() { - cd "$srcdir"/$pkgname-$pkgver - - for script in elasticsearch{,-plugin,-translog}; 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() { - cd "$pkgdir" - install -dm750 etc/elasticsearch/scripts - install -dm755 usr/share/elasticsearch/plugins - install -dm755 var/lib/elasticsearch - install -dm755 var/log/elasticsearch - - install -Dm644 "$srcdir"/elasticsearch.service usr/lib/systemd/system/elasticsearch.service - install -Dm644 "$srcdir"/elasticsearch@.service usr/lib/systemd/system/elasticsearch@.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 - - cd "$srcdir"/$pkgname-$pkgver - cp -R lib modules "$pkgdir"/usr/share/elasticsearch/ - - cd config - for conf in *; do - install -Dm644 "$conf" "$pkgdir/etc/elasticsearch/$conf" - done - cd .. - - for script in elasticsearch{,-plugin,-translog}; do - install -Dm755 bin/$script "$pkgdir"/usr/bin/$script - done - install -Dm644 bin/elasticsearch.in.sh "$pkgdir"/usr/share/elasticsearch/bin/elasticsearch.in.sh -} Copied: elasticsearch/repos/community-any/PKGBUILD (from rev 209633, elasticsearch/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-02-01 11:10:51 UTC (rev 209634) @@ -0,0 +1,80 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> +# Contributor: Marcello "mererghost" Rocha <https://github.com/mereghost> +# Refactored by Blaž "Speed" Hrastnik <https://github.com/archSeer> + +pkgname=elasticsearch +pkgver=5.2.0 +pkgrel=1 +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=8' 'systemd') +source=( + "https://artifacts.elastic.co/downloads/$pkgname/$pkgname-$pkgver.tar.gz" + elasticsearch.service + elasticsearch@.service + elasticsearch-sysctl.conf + elasticsearch-user.conf + elasticsearch-tmpfile.conf + elasticsearch.default +) +sha256sums=('6beec13bc64291020df8532d991b673b94119c5c365e3ddbc154ee35c6032953' + '51154ac04d90c6b534a3d86bb41c8654726a2a7b3a5a767411dfce30e7bb21fe' + '22ec53ed1ac5231b501b2311aad4953a8210d9e72b4204c9c2facab100003f8e' + 'b3feb1e9c7e7ce6b33cea6c727728ed700332aae942ca475c3bcc1d56b9f113c' + '815f6a39db6f54bb40750c382ffbdc298d2c4c187ee8ea7e2f855923e2ff354b' + '3173e3efa429507e6329f518699a072dfd442d9b5da7c62452a55f82334dd2b5' + 'bb74e5fb8bc28f2125e015395ab05bea117b72bfc6dadbca827694b362ee0bf8') + +backup=('etc/elasticsearch/elasticsearch.yml' + 'etc/elasticsearch/log4j2.properties' + 'etc/elasticsearch/jvm.options' + 'etc/default/elasticsearch') + +prepare() { + cd "$srcdir"/$pkgname-$pkgver + + for script in elasticsearch{,-plugin,-translog}; 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() { + cd "$pkgdir" + install -dm750 etc/elasticsearch/scripts + install -dm755 usr/share/elasticsearch/plugins + install -dm755 var/lib/elasticsearch + install -dm755 var/log/elasticsearch + + install -Dm644 "$srcdir"/elasticsearch.service usr/lib/systemd/system/elasticsearch.service + install -Dm644 "$srcdir"/elasticsearch@.service usr/lib/systemd/system/elasticsearch@.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 + + cd "$srcdir"/$pkgname-$pkgver + cp -R lib modules "$pkgdir"/usr/share/elasticsearch/ + + cd config + for conf in *; do + install -Dm644 "$conf" "$pkgdir/etc/elasticsearch/$conf" + done + cd .. + + for script in elasticsearch{,-plugin,-translog}; do + install -Dm755 bin/$script "$pkgdir"/usr/bin/$script + done + install -Dm644 bin/elasticsearch.in.sh "$pkgdir"/usr/share/elasticsearch/bin/elasticsearch.in.sh +} Deleted: elasticsearch-sysctl.conf =================================================================== --- elasticsearch-sysctl.conf 2017-02-01 11:10:30 UTC (rev 209633) +++ elasticsearch-sysctl.conf 2017-02-01 11:10:51 UTC (rev 209634) @@ -1 +0,0 @@ -vm.max_map_count=262144 \ No newline at end of file Copied: elasticsearch/repos/community-any/elasticsearch-sysctl.conf (from rev 209633, elasticsearch/trunk/elasticsearch-sysctl.conf) =================================================================== --- elasticsearch-sysctl.conf (rev 0) +++ elasticsearch-sysctl.conf 2017-02-01 11:10:51 UTC (rev 209634) @@ -0,0 +1 @@ +vm.max_map_count=262144 \ No newline at end of file Deleted: elasticsearch-tmpfile.conf =================================================================== --- elasticsearch-tmpfile.conf 2017-02-01 11:10:30 UTC (rev 209633) +++ elasticsearch-tmpfile.conf 2017-02-01 11:10:51 UTC (rev 209634) @@ -1,6 +0,0 @@ -d /var/log/elasticsearch 0755 elasticsearch elasticsearch - -d /var/lib/elasticsearch 0755 elasticsearch elasticsearch - -d /usr/share/elasticsearch/plugins 0755 elasticsearch elasticsearch - - -d /etc/elasticsearch 0750 - elasticsearch - -d /etc/elasticsearch/scripts 0750 - elasticsearch - Copied: elasticsearch/repos/community-any/elasticsearch-tmpfile.conf (from rev 209633, elasticsearch/trunk/elasticsearch-tmpfile.conf) =================================================================== --- elasticsearch-tmpfile.conf (rev 0) +++ elasticsearch-tmpfile.conf 2017-02-01 11:10:51 UTC (rev 209634) @@ -0,0 +1,6 @@ +d /var/log/elasticsearch 0755 elasticsearch elasticsearch - +d /var/lib/elasticsearch 0755 elasticsearch elasticsearch - +d /usr/share/elasticsearch/plugins 0755 elasticsearch elasticsearch - + +d /etc/elasticsearch 0750 - elasticsearch - +d /etc/elasticsearch/scripts 0750 - elasticsearch - Deleted: elasticsearch-user.conf =================================================================== --- elasticsearch-user.conf 2017-02-01 11:10:30 UTC (rev 209633) +++ elasticsearch-user.conf 2017-02-01 11:10:51 UTC (rev 209634) @@ -1 +0,0 @@ -u elasticsearch - "Elasticsearch user" Copied: elasticsearch/repos/community-any/elasticsearch-user.conf (from rev 209633, elasticsearch/trunk/elasticsearch-user.conf) =================================================================== --- elasticsearch-user.conf (rev 0) +++ elasticsearch-user.conf 2017-02-01 11:10:51 UTC (rev 209634) @@ -0,0 +1 @@ +u elasticsearch - "Elasticsearch user" Deleted: elasticsearch.default =================================================================== --- elasticsearch.default 2017-02-01 11:10:30 UTC (rev 209633) +++ elasticsearch.default 2017-02-01 11:10:51 UTC (rev 209634) @@ -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 209633, elasticsearch/trunk/elasticsearch.default) =================================================================== --- elasticsearch.default (rev 0) +++ elasticsearch.default 2017-02-01 11:10:51 UTC (rev 209634) @@ -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.service =================================================================== --- elasticsearch.service 2017-02-01 11:10:30 UTC (rev 209633) +++ elasticsearch.service 2017-02-01 11:10:51 UTC (rev 209634) @@ -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 \ - -E default.path.home=${ES_HOME} \ - -E default.path.logs=${LOG_DIR} \ - -E default.path.data=${DATA_DIR} \ - -E default.path.conf=${CONF_DIR} - -SuccessExitStatus=143 - -LimitNOFILE=65536 -LimitMEMLOCK=infinity -TimeoutStopSec=120 -Restart=on-failure - -[Install] -WantedBy=multi-user.target Copied: elasticsearch/repos/community-any/elasticsearch.service (from rev 209633, elasticsearch/trunk/elasticsearch.service) =================================================================== --- elasticsearch.service (rev 0) +++ elasticsearch.service 2017-02-01 11:10:51 UTC (rev 209634) @@ -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 \ + -E default.path.home=${ES_HOME} \ + -E default.path.logs=${LOG_DIR} \ + -E default.path.data=${DATA_DIR} \ + -E default.path.conf=${CONF_DIR} + +SuccessExitStatus=143 + +LimitNOFILE=65536 +LimitMEMLOCK=infinity +TimeoutStopSec=120 +Restart=on-failure + +[Install] +WantedBy=multi-user.target Deleted: elasticsearch@.service =================================================================== --- elasticsearch@.service 2017-02-01 11:10:30 UTC (rev 209633) +++ elasticsearch@.service 2017-02-01 11:10:51 UTC (rev 209634) @@ -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 \ - -E default.path.home=${ES_HOME} \ - -E default.path.logs=${LOG_DIR} \ - -E default.path.data=${DATA_DIR} \ - -E default.path.conf=${CONF_DIR} - -SuccessExitStatus=143 - -LimitNOFILE=65536 -LimitMEMLOCK=infinity -TimeoutStopSec=120 -Restart=on-failure - -[Install] -WantedBy=multi-user.target Copied: elasticsearch/repos/community-any/elasticsearch@.service (from rev 209633, elasticsearch/trunk/elasticsearch@.service) =================================================================== --- elasticsearch@.service (rev 0) +++ elasticsearch@.service 2017-02-01 11:10:51 UTC (rev 209634) @@ -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 \ + -E default.path.home=${ES_HOME} \ + -E default.path.logs=${LOG_DIR} \ + -E default.path.data=${DATA_DIR} \ + -E default.path.conf=${CONF_DIR} + +SuccessExitStatus=143 + +LimitNOFILE=65536 +LimitMEMLOCK=infinity +TimeoutStopSec=120 +Restart=on-failure + +[Install] +WantedBy=multi-user.target