aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2023-12-03 18:33:12 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2023-12-03 18:33:12 +0000
commiteea23431754a639bc6ef39e5805a3bcb0aed5ae2 (patch)
tree0e21da0c80792935922cb27508b49463d8ced95e
parent5658e91ab64f887628f218c4d3070cde44c899a9 (diff)
downloadports-eea23431754a639bc6ef39e5805a3bcb0aed5ae2.tar.gz
ports-eea23431754a639bc6ef39e5805a3bcb0aed5ae2.zip
security/plasma6-kscreenlocker: fix detection of consolekit
-rw-r--r--security/plasma6-kscreenlocker/Makefile1
-rw-r--r--security/plasma6-kscreenlocker/files/patch-cmake_FindConsoleKit.cmake11
-rw-r--r--security/plasma6-kscreenlocker/pkg-plist1
3 files changed, 13 insertions, 0 deletions
diff --git a/security/plasma6-kscreenlocker/Makefile b/security/plasma6-kscreenlocker/Makefile
index 7d761cec17d5..ab550f186da3 100644
--- a/security/plasma6-kscreenlocker/Makefile
+++ b/security/plasma6-kscreenlocker/Makefile
@@ -1,5 +1,6 @@
PORTNAME= kscreenlocker
DISTVERSION= ${KDE_PLASMA_VERSION}
+PORTREVISION= 1
CATEGORIES= security kde kde-plasma
MAINTAINER= kde@FreeBSD.org
diff --git a/security/plasma6-kscreenlocker/files/patch-cmake_FindConsoleKit.cmake b/security/plasma6-kscreenlocker/files/patch-cmake_FindConsoleKit.cmake
new file mode 100644
index 000000000000..0e1d77056140
--- /dev/null
+++ b/security/plasma6-kscreenlocker/files/patch-cmake_FindConsoleKit.cmake
@@ -0,0 +1,11 @@
+--- cmake/FindConsoleKit.cmake.orig 2023-11-29 10:41:23 UTC
++++ cmake/FindConsoleKit.cmake
+@@ -4,7 +4,7 @@ find_program(cklistsessions_EXECUTABLE NAMES ck-list-s
+ # SPDX-License-Identifier: BSD-3-Clause
+ #=============================================================================
+ find_program(cklistsessions_EXECUTABLE NAMES ck-list-sessions)
+-find_program(qdbus_EXECUTABLE NAMES qdbus)
++find_program(qdbus_EXECUTABLE NAMES qdbus6 qdbus)
+ find_package_handle_standard_args(ConsoleKit
+ FOUND_VAR
+ ConsoleKit_FOUND
diff --git a/security/plasma6-kscreenlocker/pkg-plist b/security/plasma6-kscreenlocker/pkg-plist
index 499f83710ce2..09dbdf3a3fae 100644
--- a/security/plasma6-kscreenlocker/pkg-plist
+++ b/security/plasma6-kscreenlocker/pkg-plist
@@ -1,3 +1,4 @@
+bin/ck-unlock-session
etc/pam.d/kde
include/KScreenLocker/KScreenLocker/KsldApp
include/KScreenLocker/KScreenLocker/kscreenlocker_export.h