Hello community, here is the log from the commit of package cfengine for openSUSE:Factory checked in at 2018-07-27 10:57:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cfengine (Old) and /work/SRC/openSUSE:Factory/.cfengine.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cfengine" Fri Jul 27 10:57:35 2018 rev:73 rq:625447 version:3.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/cfengine/cfengine.changes 2018-07-18 22:53:18.207087539 +0200 +++ /work/SRC/openSUSE:Factory/.cfengine.new/cfengine.changes 2018-07-27 10:58:17.581882053 +0200 @@ -1,0 +2,5 @@ +Wed Jul 25 07:29:51 UTC 2018 - [email protected] + +- Fix path to executables for sys variables (BOO #1099946) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ 0001-Set-sys.bindir-to-usr-sbin-expect-cf-components-ther.patch ++++++ --- /var/tmp/diff_new_pack.xJFZzK/_old 2018-07-27 10:58:18.709884211 +0200 +++ /var/tmp/diff_new_pack.xJFZzK/_new 2018-07-27 10:58:18.713884219 +0200 @@ -22,7 +22,7 @@ - snprintf(workbuf, CF_BUFSIZE, "%s%cbin", workdir, FILE_SEPARATOR); - EvalContextVariablePutSpecial(ctx, SPECIAL_SCOPE_SYS, "bindir", workbuf, CF_DATA_TYPE_STRING, "source=agent"); -+ EvalContextVariablePutSpecial(ctx, SPECIAL_SCOPE_SYS, "bindir", "/usr/sbin", CF_DATA_TYPE_STRING, "source=agent"); ++ EvalContextVariablePutSpecial(ctx, SPECIAL_SCOPE_SYS, "bindir", "/usr/bin", CF_DATA_TYPE_STRING, "source=agent"); snprintf(workbuf, CF_BUFSIZE, "%s%cfailsafe.cf", GetInputDir(), FILE_SEPARATOR); EvalContextVariablePutSpecial(ctx, SPECIAL_SCOPE_SYS, "failsafe_policy_path", workbuf, CF_DATA_TYPE_STRING, "source=agent"); @@ -31,7 +31,7 @@ } #else - snprintf(name, CF_MAXVARSIZE - 1, "%s%cbin%c%s", workdir, FILE_SEPARATOR, FILE_SEPARATOR, components[i]); -+ snprintf(name, CF_MAXVARSIZE - 1, "/usr/sbin/%s", components[i]); ++ snprintf(name, CF_MAXVARSIZE - 1, "/usr/bin/%s", components[i]); #endif have_component[i] = false; @@ -40,7 +40,7 @@ components[1]); #else - snprintf(name, CF_MAXVARSIZE - 1, "%s%cbin%c%s", workdir, FILE_SEPARATOR, FILE_SEPARATOR, components[1]); -+ snprintf(name, CF_MAXVARSIZE - 1, "/usr/sbin/%s", components[1]); ++ snprintf(name, CF_MAXVARSIZE - 1, "/usr/bin/%s", components[1]); #endif if (stat(name, &sb) != -1)
