Created attachment 894884 [details] app-admin/needrestart-3.6 -> app-admin/needrestart-3.6-r1 On my server I was unhappy with the following (unavoidable via USE flags) dependency tree, as it was suddenly pulling in pillow. app-admin/needrestart-3.6 sys-apps/init-system-helpers-1.60 dev-python/docutils-0.21.2 dev-python/pillow-10.3.0 It turns out that on systemd systems, needrestart works well without init-system-helpers present. So it shouldn't be a hard dependency. The hard dependency was questioned back in 2017 when it was added ( #639004 ). The attached patch (which creates app-admin/needrestart-3.6-r1) makes the dependency on init-system-helpers optional; to be specific, it'll be pulled in when the "systemd" USE flag is deactivated.
Thank you!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2c99eaf625e0013ce4523cdc35a32fdc51aaa49 commit e2c99eaf625e0013ce4523cdc35a32fdc51aaa49 Author: Craig Andrews <candrews@gentoo.org> AuthorDate: 2024-06-02 15:01:43 +0000 Commit: Craig Andrews <candrews@gentoo.org> CommitDate: 2024-06-02 15:03:21 +0000 app-admin/needrestart: make sys-apps/init-system-helpers optional Closes: https://bugs.gentoo.org/933375 Signed-off-by: Craig Andrews <candrews@gentoo.org> app-admin/needrestart/needrestart-3.6-r1.ebuild | 42 +++++++++++++++++++++++++ app-admin/needrestart/needrestart-9999.ebuild | 6 ++-- 2 files changed, 45 insertions(+), 3 deletions(-)