pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/elasticsearch
Module Name: pkgsrc
Committed By: fhajny
Date: Thu Nov 30 17:50:30 UTC 2017
Modified Files:
pkgsrc/databases/elasticsearch: distinfo
Added Files:
pkgsrc/databases/elasticsearch/patches: patch-bin_elasticsearch-env
Removed Files:
pkgsrc/databases/elasticsearch/patches: patch-bin_elasticsearch
patch-bin_elasticsearch-plugin
Log Message:
databases/elasticsearch: Commit forgotten updates to patches.
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/databases/elasticsearch/distinfo
cvs rdiff -u -r1.1 -r0 \
pkgsrc/databases/elasticsearch/patches/patch-bin_elasticsearch \
pkgsrc/databases/elasticsearch/patches/patch-bin_elasticsearch-plugin
cvs rdiff -u -r0 -r1.1 \
pkgsrc/databases/elasticsearch/patches/patch-bin_elasticsearch-env
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/databases/elasticsearch/distinfo
diff -u pkgsrc/databases/elasticsearch/distinfo:1.36 pkgsrc/databases/elasticsearch/distinfo:1.37
--- pkgsrc/databases/elasticsearch/distinfo:1.36 Mon Nov 20 15:36:47 2017
+++ pkgsrc/databases/elasticsearch/distinfo Thu Nov 30 17:50:30 2017
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.36 2017/11/20 15:36:47 fhajny Exp $
+$NetBSD: distinfo,v 1.37 2017/11/30 17:50:30 fhajny Exp $
SHA1 (elasticsearch-6.0.0.tar.gz) = 8aa6c56edf30cebae13846ce5d774bfec06fed81
RMD160 (elasticsearch-6.0.0.tar.gz) = 961ee8740e40601d56b01133f8e1c995b64fee32
SHA512 (elasticsearch-6.0.0.tar.gz) = 25bb622d2fc557d8b8eded634a9b333766f7b58e701359e1bcfafee390776eb323cb7ea7a5e02e8803e25d8b1d3aabec0ec1b0cf492d0bab5689686fe440181c
Size (elasticsearch-6.0.0.tar.gz) = 28017602 bytes
-SHA1 (patch-bin_elasticsearch-env) = 1389988ca16bd11a7975d9d4c65408b54c657598
+SHA1 (patch-bin_elasticsearch-env) = 7d8f71c6c1a99168cc4a7322e054ddc8fe94b68e
SHA1 (patch-config_elasticsearch.yml) = f66dad65dec48a45a4d52b685d6e3ab29de62cf2
Added files:
Index: pkgsrc/databases/elasticsearch/patches/patch-bin_elasticsearch-env
diff -u /dev/null pkgsrc/databases/elasticsearch/patches/patch-bin_elasticsearch-env:1.1
--- /dev/null Thu Nov 30 17:50:30 2017
+++ pkgsrc/databases/elasticsearch/patches/patch-bin_elasticsearch-env Thu Nov 30 17:50:30 2017
@@ -0,0 +1,45 @@
+$NetBSD: patch-bin_elasticsearch-env,v 1.1 2017/11/30 17:50:30 fhajny Exp $
+
+Fix default paths.
+
+--- bin/elasticsearch-env.orig 2017-11-10 18:40:01.000000000 +0000
++++ bin/elasticsearch-env
+@@ -19,22 +19,17 @@ while [ -h "$SCRIPT" ] ; do
+ fi
+ done
+
+-# determine Elasticsearch home; to do this, we strip from the path until we find
+-# bin, and then strip bin (there is an assumption here that there is no nested
+-# directory under bin also named bin)
+-ES_HOME=`dirname "$SCRIPT"`
+-
+-# now make ES_HOME absolute
+-ES_HOME=`cd "$ES_HOME"; pwd`
+-
+-while [ "`basename "$ES_HOME"`" != "bin" ]; do
+- ES_HOME=`dirname "$ES_HOME"`
+-done
+-ES_HOME=`dirname "$ES_HOME"`
++# hardcode home dir, because we can
++ES_HOME="@ES_BASEDIR@"
+
+ # now set the classpath
+ ES_CLASSPATH="$ES_HOME/lib/*"
+
++#set default JAVA_HOME
++if [ -z "$JAVA_HOME" ]; then
++ JAVA_HOME="@PKG_JAVA_HOME@"
++fi
++
+ # now set the path to java
+ if [ -x "$JAVA_HOME/bin/java" ]; then
+ JAVA="$JAVA_HOME/bin/java"
+@@ -67,7 +62,7 @@ fi
+
+ export HOSTNAME=$HOSTNAME
+
+-if [ -z "$ES_PATH_CONF" ]; then ES_PATH_CONF="$ES_HOME"/config; fi
++if [ -z "$ES_PATH_CONF" ]; then ES_PATH_CONF="@PKG_SYSCONFDIR@"; fi
+
+ if [ -z "$ES_PATH_CONF" ]; then
+ echo "ES_PATH_CONF must be set to the configuration path"
Home |
Main Index |
Thread Index |
Old Index