diff options
author | Rene Ladan <rene@FreeBSD.org> | 2020-01-01 14:20:43 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2020-01-01 14:20:43 +0000 |
commit | 758edde62973c24d29b0c082f9cab9329b405194 (patch) | |
tree | 814d3f82f4830b66ab0ffc2cdbfd041d23929b49 /databases/riak/files/patch-deps-node_package-priv-base-env.sh | |
parent | Fix GitLab with newer gems (diff) |
Remove expired ports:
2020-01-01 databases/couchdb: No longer supported upstream, move to databases/couchdb2
2020-01-01 databases/riak: No longer supported upstream, see riak 2.9.0 and newer
2020-01-01 lang/erlang-runtime15: No longer supported upstream, use lang/erlang >= 21
2020-01-01 lang/erlang-runtime16: No longer supported upstream, use lang/erlang >=21
2020-01-01 lang/erlang-runtime17: No longer supported upstream, use lang/erlang >=21
2020-01-01 lang/erlang-runtime18: No longer supported upstream, use lang/erlang >=21
2020-01-01 lang/erlang-runtime19: No longer supported upstream, use lang/erlang >=21
Diffstat (limited to 'databases/riak/files/patch-deps-node_package-priv-base-env.sh')
-rw-r--r-- | databases/riak/files/patch-deps-node_package-priv-base-env.sh | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/databases/riak/files/patch-deps-node_package-priv-base-env.sh b/databases/riak/files/patch-deps-node_package-priv-base-env.sh deleted file mode 100644 index 75c35f00088e..000000000000 --- a/databases/riak/files/patch-deps-node_package-priv-base-env.sh +++ /dev/null @@ -1,28 +0,0 @@ ---- deps/node_package/priv/base/env.sh.orig 2013-11-08 18:56:54 UTC -+++ deps/node_package/priv/base/env.sh -@@ -100,7 +100,7 @@ ping_node() { - # read/write/delete .pid files during startup/shutdown - create_pid_dir() { - # Validate RUNNER_USER is set and they have permissions to write to /var/run -- # Don't continue if we've already sudo'd to RUNNER_USER -+ # Don't continue if we've already su'd to RUNNER_USER - if ([ "$RUNNER_USER" ] && [ "x$WHOAMI" != "x$RUNNER_USER" ]); then - if [ -w $RUN_DIR ]; then - mkdir -p $PID_DIR -@@ -161,12 +161,13 @@ check_user() { - # Validate that the user running the script is the owner of the - # RUN_DIR. - if ([ "$RUNNER_USER" ] && [ "x$WHOAMI" != "x$RUNNER_USER" ]); then -- type sudo > /dev/null 2>&1 -+ type su > /dev/null 2>&1 - if [ "$?" -ne 0 ]; then -- echoerr "sudo doesn't appear to be installed and your EUID isn't $RUNNER_USER" 1>&2 -+ echoerr "su doesn't appear to be installed and your EUID isn't $RUNNER_USER" 1>&2 - exit 1 - fi -- exec sudo -H -u $RUNNER_USER -i $RUNNER_SCRIPT_DIR/$RUNNER_SCRIPT $@ -+ ESCAPED_ARGS=`echo "$@" | sed -e 's/\([{}"]\)/\\\\\1/g'` -+ exec su - $RUNNER_USER -c "$RUNNER_SCRIPT_DIR/$RUNNER_SCRIPT $ESCAPED_ARGS" - fi - } - |