aboutsummaryrefslogtreecommitdiff
path: root/net/pacemaker1/files/patch-tools_cibsecret.in
diff options
context:
space:
mode:
Diffstat (limited to 'net/pacemaker1/files/patch-tools_cibsecret.in')
-rw-r--r--net/pacemaker1/files/patch-tools_cibsecret.in29
1 files changed, 0 insertions, 29 deletions
diff --git a/net/pacemaker1/files/patch-tools_cibsecret.in b/net/pacemaker1/files/patch-tools_cibsecret.in
deleted file mode 100644
index c301a16a3df5..000000000000
--- a/net/pacemaker1/files/patch-tools_cibsecret.in
+++ /dev/null
@@ -1,29 +0,0 @@
---- tools/cibsecret.in.orig 2020-02-07 13:13:01 UTC
-+++ tools/cibsecret.in
-@@ -100,7 +100,7 @@ info() {
- }
-
- check_env() {
-- which md5sum >/dev/null 2>&1 ||
-+ which md5 >/dev/null 2>&1 ||
- fatal "please install md5sum to run $PROG"
- if which pssh >/dev/null 2>&1; then
- rsh=pssh_fun
-@@ -251,7 +251,7 @@ localfiles() {
- ;;
- "set")
- local md5sum
-- md5sum=`printf $value | md5sum` ||
-+ md5sum=`printf $value | md5` ||
- fatal "md5sum failed to produce hash for resource $rsc parameter $param"
- md5sum=`echo $md5sum | awk '{print $1}'`
- mkdir -p `dirname $local_file` &&
-@@ -307,7 +307,7 @@ cibsecret_check() {
- local_md5sum=`localfiles getsum $rsc $param`
- [ "$local_md5sum" ] ||
- fatal "no MD5 hash for resource $rsc parameter $param"
-- md5sum=`printf "$current_local" | md5sum | awk '{print $1}'`
-+ md5sum=`printf "$current_local" | md5 | awk '{print $1}'`
- [ "$md5sum" = "$local_md5sum" ] ||
- fatal "MD5 hash mismatch for resource $rsc parameter $param"
- }