forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dbc-elk611' into 'dbc-17.09'
elk_dbc: 6.1.1 See merge request platform/nixpkgs!16
- Loading branch information
Showing
10 changed files
with
103 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff -Naur a/bin/elasticsearch-env b/bin/elasticsearch-env | ||
--- a/bin/elasticsearch-env 2017-12-12 13:31:51.000000000 +0100 | ||
+++ b/bin/elasticsearch-env 2017-12-18 19:51:12.282809695 +0100 | ||
@@ -19,18 +19,10 @@ | ||
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"` | ||
+if [ -z "$ES_HOME" ]; then | ||
+ echo "You must set the ES_HOME var" >&2 | ||
+ exit 1 | ||
+fi | ||
|
||
# now set the classpath | ||
ES_CLASSPATH="$ES_HOME/lib/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
diff -Naur a/plugin-security.policy b/plugin-security.policy | ||
--- a/plugin-security.policy 2018-01-10 15:15:10.000000000 +0100 | ||
+++ b/plugin-security.policy 2018-01-25 09:30:02.404714101 +0100 | ||
@@ -5,4 +5,5 @@ | ||
permission java.util.PropertyPermission "*", "read,write"; | ||
permission java.lang.RuntimePermission "getClassLoader"; | ||
permission java.net.SocketPermission "*", "accept, resolve, connect"; | ||
-}; | ||
\ No newline at end of file | ||
+ permission java.io.FilePermission "/nix/store/-", "read, readlink"; | ||
+}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters