FreeBSD Bugzilla – Attachment 175013 Details for
Bug 212864
databases/riak: fix riak-admin subcommands
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
This patch is fixing riak-admin subcommands handling
args-fix.txt (text/plain), 2.06 KB, created by
Ruslan Makhmatkhanov
on 2016-09-20 18:35:01 UTC
(
hide
)
Description:
This patch is fixing riak-admin subcommands handling
Filename:
MIME Type:
Creator:
Ruslan Makhmatkhanov
Created:
2016-09-20 18:35:01 UTC
Size:
2.06 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 422408) >+++ Makefile (working copy) >@@ -2,13 +2,13 @@ > > PORTNAME= riak > PORTVERSION= 1.4.12 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= databases > MASTER_SITES= http://s3.amazonaws.com/downloads.basho.com/riak/${PORTVERSION:R}/${PORTVERSION}/ \ > http://downloads.basho.com.s3.amazonaws.com/riak/${PORTVERSION:R}/${PORTVERSION}/ > > MAINTAINER= robak@FreeBSD.org >-COMMENT= Riak is an open source, distributed, noSQL database >+COMMENT= Open source, distributed, noSQL database > > LICENSE= APACHE20 > >Index: files/patch-deps-node_package-priv-base-env.sh >=================================================================== >--- files/patch-deps-node_package-priv-base-env.sh (revision 422408) >+++ files/patch-deps-node_package-priv-base-env.sh (working copy) >@@ -1,6 +1,6 @@ >---- deps/node_package/priv/base/env.sh.orig 2013-09-13 10:22:32.000000000 +0200 >-+++ deps/node_package/priv/base/env.sh 2013-09-13 10:27:16.000000000 +0200 >-@@ -100,7 +100,7 @@ >+--- 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 >@@ -9,7 +9,7 @@ > if ([ "$RUNNER_USER" ] && [ "x$WHOAMI" != "x$RUNNER_USER" ]); then > if [ -w $RUN_DIR ]; then > mkdir -p $PID_DIR >-@@ -161,12 +161,12 @@ >+@@ -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 >@@ -21,7 +21,8 @@ > exit 1 > fi > - exec sudo -H -u $RUNNER_USER -i $RUNNER_SCRIPT_DIR/$RUNNER_SCRIPT $@ >-+ exec su - $RUNNER_USER -c "$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 > } >- >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 212864
: 175013