diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-03 17:17:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-03 17:17:15 +0100 |
commit | ef4b930bd93d8badc6115d167318af2211c3b90f (patch) | |
tree | bde3cec71ff6db9a662a937f67bb3109536e2a96 /sys-auth/elogind/files | |
parent | b37385361286b4381ed6649ba8679588a3ce5bc1 (diff) |
sys-auth/elogind : version bump
Diffstat (limited to 'sys-auth/elogind/files')
-rw-r--r-- | sys-auth/elogind/files/elogind-246.10-revert-polkit-automagic.patch | 38 | ||||
-rw-r--r-- | sys-auth/elogind/files/elogind.init-r1 (renamed from sys-auth/elogind/files/elogind.init) | 2 |
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-auth/elogind/files/elogind-246.10-revert-polkit-automagic.patch b/sys-auth/elogind/files/elogind-246.10-revert-polkit-automagic.patch new file mode 100644 index 00000000..5237b7ab --- /dev/null +++ b/sys-auth/elogind/files/elogind-246.10-revert-polkit-automagic.patch @@ -0,0 +1,38 @@ +From 715ce0a6459e418f92e74c7ce52df3244c18f383 Mon Sep 17 00:00:00 2001 +From: Sven Eden <sven.eden@prydeworx.com> +Date: Mon, 8 Mar 2021 08:40:08 +0100 +Subject: [PATCH] Revert "Disable polkit support if libpolkit is not installed" + +This reverts commit 1194dec4f8f2d1b8bd14e1625f34418ecfce817e. + +Removing polkit support with -Dpolkit=auto when libpolkit is not +installed, removes the whole interface. This makes it impossible to +add polkit support as a runtime dependency. + +Bug: #167 +Closes: #206 +Signed-off-by: Sven Eden <sven.eden@prydeworx.com> +--- + meson.build | 9 --------- + 1 file changed, 9 deletions(-) + +diff --git a/meson.build b/meson.build +index 2dd05db3c..f38551f55 100644 +--- a/meson.build ++++ b/meson.build +@@ -1157,15 +1157,6 @@ if want_polkit != 'false' and not skip_deps + message('Old polkit detected, will install pkla files') + install_polkit_pkla = true + endif +-#if 1 /// Disable polkit completely if libpolkit is not there. See elogind issue #167 +- if not libpolkit.found() +- if want_polkit != 'auto' +- error('Polkit requested but libpolkit was not found.') +- endif +- install_polkit = false +- want_polkit = false +- endif +-#endif // 1 + endif + conf.set10('ENABLE_POLKIT', install_polkit) + diff --git a/sys-auth/elogind/files/elogind.init b/sys-auth/elogind/files/elogind.init-r1 index 019c3afb..1cb5071c 100644 --- a/sys-auth/elogind/files/elogind.init +++ b/sys-auth/elogind/files/elogind.init-r1 @@ -7,6 +7,8 @@ depend() { # Make sure elogind is up before xdm starts any dm before xdm + + use logger } start() { |