diff --git a/packages/sysutils/systemd/package.mk b/packages/sysutils/systemd/package.mk index 128f06363e..9a57c826c5 100644 --- a/packages/sysutils/systemd/package.mk +++ b/packages/sysutils/systemd/package.mk @@ -17,7 +17,7 @@ ################################################################################ PKG_NAME="systemd" -PKG_VERSION="228" +PKG_VERSION="229" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="GPL" diff --git a/packages/sysutils/systemd/patches/systemd-08_systemctl-disable-dangerous-options.patch b/packages/sysutils/systemd/patches/systemd-08_systemctl-disable-dangerous-options.patch index bbd42ef163..8dfc477739 100644 --- a/packages/sysutils/systemd/patches/systemd-08_systemctl-disable-dangerous-options.patch +++ b/packages/sysutils/systemd/patches/systemd-08_systemctl-disable-dangerous-options.patch @@ -23,35 +23,35 @@ index 420a246..06bca92 100644 static void systemctl_help(void) { pager_open_if_enabled(); -@@ -7450,21 +7455,21 @@ static int systemctl_main(int argc, char *argv[]) { - { "enable", 2, VERB_ANY, 0, enable_unit }, - { "disable", 2, VERB_ANY, 0, enable_unit }, - { "is-enabled", 2, VERB_ANY, 0, unit_is_enabled }, -- { "reenable", 2, VERB_ANY, 0, enable_unit }, -- { "preset", 2, VERB_ANY, 0, enable_unit }, -- { "preset-all", VERB_ANY, 1, 0, preset_all }, -- { "mask", 2, VERB_ANY, 0, enable_unit }, -- { "unmask", 2, VERB_ANY, 0, enable_unit }, -- { "link", 2, VERB_ANY, 0, enable_unit }, -+ { "reenable", 2, VERB_ANY, 0, nope }, -+ { "preset", 2, VERB_ANY, 0, nope }, -+ { "preset-all", VERB_ANY, 1, 0, nope }, -+ { "mask", 2, VERB_ANY, 0, nope }, -+ { "unmask", 2, VERB_ANY, 0, nope }, -+ { "link", 2, VERB_ANY, 0, nope }, - { "switch-root", 2, VERB_ANY, 0, switch_root }, - { "list-dependencies", VERB_ANY, 2, 0, list_dependencies }, -- { "set-default", 2, 2, 0, set_default }, -+ { "set-default", 2, 2, 0, nope }, - { "get-default", VERB_ANY, 1, 0, get_default, }, - { "set-property", 3, VERB_ANY, 0, set_property }, - { "is-system-running", VERB_ANY, 1, 0, is_system_running }, -- { "add-wants", 3, VERB_ANY, 0, add_dependency }, -- { "add-requires", 3, VERB_ANY, 0, add_dependency }, -- { "edit", 2, VERB_ANY, 0, edit }, -+ { "add-wants", 3, VERB_ANY, 0, nope }, -+ { "add-requires", 3, VERB_ANY, 0, nope }, -+ { "edit", 2, VERB_ANY, 0, nope }, +@@ -7370,21 +7370,21 @@ + { "enable", 2, VERB_ANY, 0, enable_unit }, + { "disable", 2, VERB_ANY, 0, enable_unit }, + { "is-enabled", 2, VERB_ANY, 0, unit_is_enabled }, +- { "reenable", 2, VERB_ANY, 0, enable_unit }, +- { "preset", 2, VERB_ANY, 0, enable_unit }, +- { "preset-all", VERB_ANY, 1, 0, preset_all }, +- { "mask", 2, VERB_ANY, 0, enable_unit }, +- { "unmask", 2, VERB_ANY, 0, enable_unit }, +- { "link", 2, VERB_ANY, 0, enable_unit }, ++ { "reenable", 2, VERB_ANY, 0, nope }, ++ { "preset", 2, VERB_ANY, 0, nope }, ++ { "preset-all", VERB_ANY, 1, 0, nope }, ++ { "mask", 2, VERB_ANY, 0, nope }, ++ { "unmask", 2, VERB_ANY, 0, nope }, ++ { "link", 2, VERB_ANY, 0, nope }, + { "switch-root", 2, VERB_ANY, VERB_NOCHROOT, switch_root }, + { "list-dependencies", VERB_ANY, 2, VERB_NOCHROOT, list_dependencies }, +- { "set-default", 2, 2, 0, set_default }, ++ { "set-default", 2, 2, 0, nope }, + { "get-default", VERB_ANY, 1, 0, get_default, }, + { "set-property", 3, VERB_ANY, VERB_NOCHROOT, set_property }, + { "is-system-running", VERB_ANY, 1, 0, is_system_running }, +- { "add-wants", 3, VERB_ANY, 0, add_dependency }, +- { "add-requires", 3, VERB_ANY, 0, add_dependency }, +- { "edit", 2, VERB_ANY, VERB_NOCHROOT, edit }, ++ { "add-wants", 3, VERB_ANY, 0, nope }, ++ { "add-requires", 3, VERB_ANY, 0, nope }, ++ { "edit", 2, VERB_ANY, 0, nope }, {} };