Bug#1108596: libkf6su6: Relax dependency on sudo
control: tags -1 wontfix Le mardi 1 juillet 2025, 08:58:04 heure normale d’Europe centrale Tobias Gruetzmacher a écrit : > Dear maintainer, Dear Tobias, > as far as I can see > (https://invent.kde.org/frameworks/kdesu/-/blob/master/CMakeLists.txt?ref_type=heads#L39) > kdesu supports 3 different backends: > > - sudo > - doas > - su > > It would be nice if kdesu didn't force the user to install one of them > if they prefer one of the other ones. Maybe just add opendoas as an > alternative dependency? unfortunately this is a compile time selection if you look at the CMakeLists.txt 2 lines below and at [1]. So with the current code it’s not possible opt into one or the other at runtime like I understand you would like to do. [1] https://invent.kde.org/frameworks/kdesu/-/blob/master/src/suprocess.cpp?ref_type=heads#L28 If that issue is important enough to you you could : - work upstream to make it something configurable at runtime (checking first with upstream if they’re interested in the feature at all), - try doing a dual build of the kf6-kdesu source package, producing both the current binaries and their -doas equivalent or something. I’m not going to work on either and I’m not 100% sure how my second option could work so I’ll be closing that bug for now. Feel free to give feedback here if you make progress on any of these options or others. Happy hacking, -- Aruélien
Bug#1108596: libkf6su6: Relax dependency on sudo
Package: libkf6su6 Version: 6.13.0-1 Severity: wishlist Dear maintainer, as far as I can see (https://invent.kde.org/frameworks/kdesu/-/blob/master/CMakeLists.txt?ref_type=heads#L39) kdesu supports 3 different backends: - sudo - doas - su It would be nice if kdesu didn't force the user to install one of them if they prefer one of the other ones. Maybe just add opendoas as an alternative dependency? Slightly related: #895260 (but I don't want to change the default, just want to be able to easily remove sudo if I prefer doas) Regards, Tobias -- System Information: Debian Release: 13.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.12.33+deb13-amd64 (SMP w/12 CPU threads; PREEMPT) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=de:en_GB:en_US Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libkf6su6 depends on: ii libc6 2.41-9 ii libkf6configcore6 6.13.0-2 ii libkf6coreaddons6 6.13.0-1 ii libkf6pty6 6.13.0-1 ii libkf6su-data 6.13.0-1 ii libqt6core6t64 6.8.2+dfsg-8 ii libstdc++6 14.2.0-19 ii sudo 1.9.16p2-2 Versions of packages libkf6su6 recommends: ii libkf6su-bin 6.13.0-1 libkf6su6 suggests no packages. -- no debconf information

