Files
RedBear-OS/local
vasilito a7ada11442 polkit: vendor upstream client libraries (libpolkit-gobject-1 + agent-1)
kf6-kauth deliberately uses the real polkit backend (KAUTH_BACKEND_NAME=
POLKITQT6-1), and PolkitQt6-1 links the upstream polkit CLIENT libraries, which
nothing provided (redbear-polkit is only the org.freedesktop.PolicyKit1 daemon).
This makes the KDE authorization mechanism actually work, not just compile.

- New recipe local/recipes/libs/polkit (vendored polkit 124, full-fork path=source)
  built with -Dlibs-only=true so polkitd + the JS rules engine are skipped
  (redbear-polkit is the authority daemon). glib/gio/expat deps already exist.
- src/meson.build: build src/polkitagent even under libs-only — libpolkit-agent-1
  + its PAM auth helper are client-side, needed by PolkitQt6-1, and depend only on
  libpolkit-gobject-1 + glib + PAM (pam-redbear, the same PAM SDDM uses). Only the
  daemon/backend/programs stay gated off.
- pam-redbear: add the standard PAM_MAX_MSG_SIZE/PAM_MAX_RESP_SIZE constants its
  header was missing (polkit-agent-helper-1 needs them).
- polkit-qt6: depend on polkit; it now finds polkit-gobject-1 + polkit-agent-1
  (v124) and builds. Auth prompts verify passwords via pam-redbear; authorization
  decisions come from the redbear-polkit daemon over D-Bus.
2026-08-01 16:23:40 +03:00
..