summaryrefslogtreecommitdiff
path: root/security/plasma5-kscreenlocker
diff options
context:
space:
mode:
Diffstat (limited to 'security/plasma5-kscreenlocker')
-rw-r--r--security/plasma5-kscreenlocker/Makefile10
-rw-r--r--security/plasma5-kscreenlocker/distinfo6
-rw-r--r--security/plasma5-kscreenlocker/files/kde.pam.in3
-rw-r--r--security/plasma5-kscreenlocker/pkg-plist14
4 files changed, 24 insertions, 9 deletions
diff --git a/security/plasma5-kscreenlocker/Makefile b/security/plasma5-kscreenlocker/Makefile
index a19dc794624e..d0c3b596f33d 100644
--- a/security/plasma5-kscreenlocker/Makefile
+++ b/security/plasma5-kscreenlocker/Makefile
@@ -1,5 +1,6 @@
PORTNAME= kscreenlocker
DISTVERSION= ${KDE_PLASMA_VERSION}
+PORTREVISION= 1
CATEGORIES= security kde kde-plasma
MAINTAINER= kde@FreeBSD.org
@@ -10,7 +11,8 @@ BUILD_DEPENDS= ck-list-sessions:sysutils/consolekit2
LIB_DEPENDS= libwayland-client.so:graphics/wayland \
libxcb-keysyms.so:x11/xcb-util-keysyms
RUN_DEPENDS= ck-list-sessions:sysutils/consolekit2\
- dbus-send:devel/dbus
+ dbus-send:devel/dbus \
+ unix-selfauth-helper>=1.0:security/unix-selfauth-helper
USES= cmake compiler:c++11-lib cpe gettext kde:5 pkgconfig qt:5 \
shebangfix tar:xz xorg
@@ -24,8 +26,14 @@ USE_QT= core dbus declarative gui network qdbus widgets x11extras xml \
buildtools:build qmake:build testlib:build
USE_XORG= ice sm x11 xcb xcursor xext xi
+SUB_FILES= kde.pam
+
CPE_VENDOR= kde
SHEBANG_FILES= updaters/ksreenlocker_5_3_separate_autologin.pl
+post-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/pam.d
+ ${INSTALL_DATA} ${WRKDIR}/kde.pam ${STAGEDIR}${PREFIX}/etc/pam.d/kde
+
.include <bsd.port.mk>
diff --git a/security/plasma5-kscreenlocker/distinfo b/security/plasma5-kscreenlocker/distinfo
index e461eaccd2b9..e504db7ced75 100644
--- a/security/plasma5-kscreenlocker/distinfo
+++ b/security/plasma5-kscreenlocker/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1670610134
-SHA256 (KDE/plasma/5.24.7/kscreenlocker-5.24.7.tar.xz) = ef4d44d5b51b61a079999b1f671169c14b21553db0155689cfe22a7649c4feac
-SIZE (KDE/plasma/5.24.7/kscreenlocker-5.24.7.tar.xz) = 120928
+TIMESTAMP = 1673334432
+SHA256 (KDE/plasma/5.26.5/kscreenlocker-5.26.5.tar.xz) = 4f70a3647fbc68240ac104ee1f596eca2558ba98d38e4a4e42a784b9561f9653
+SIZE (KDE/plasma/5.26.5/kscreenlocker-5.26.5.tar.xz) = 116164
diff --git a/security/plasma5-kscreenlocker/files/kde.pam.in b/security/plasma5-kscreenlocker/files/kde.pam.in
new file mode 100644
index 000000000000..e68b9a842582
--- /dev/null
+++ b/security/plasma5-kscreenlocker/files/kde.pam.in
@@ -0,0 +1,3 @@
+auth sufficient pam_exec.so return_prog_exit_status expose_authtok %%PREFIX%%/libexec/unix-selfauth-helper
+auth include system
+account include system
diff --git a/security/plasma5-kscreenlocker/pkg-plist b/security/plasma5-kscreenlocker/pkg-plist
index 5d5fc420a6f7..a76fa5254982 100644
--- a/security/plasma5-kscreenlocker/pkg-plist
+++ b/security/plasma5-kscreenlocker/pkg-plist
@@ -1,5 +1,5 @@
-@(,,4555) lib/libexec/kcheckpass
bin/ck-unlock-session
+etc/pam.d/kde
include/KScreenLocker/KScreenLocker/KsldApp
include/KScreenLocker/KScreenLocker/kscreenlocker_export.h
include/KScreenLocker/KScreenLocker/ksldapp.h
@@ -12,7 +12,8 @@ lib/libKScreenLocker.so
lib/libKScreenLocker.so.5
lib/libKScreenLocker.so.%%KDE_PLASMA_VERSION%%
lib/libexec/kscreenlocker_greet
-%%QT_PLUGINDIR%%/kcms/kcm_screenlocker.so
+%%QT_PLUGINDIR%%/plasma/kcms/systemsettings/kcm_screenlocker.so
+share/applications/kcm_screenlocker.desktop
share/dbus-1/interfaces/kf5_org.freedesktop.ScreenSaver.xml
share/dbus-1/interfaces/org.kde.screensaver.xml
share/kconf_update/kscreenlocker.upd
@@ -22,14 +23,12 @@ share/kpackage/kcms/kcm_screenlocker/contents/ui/Appearance.qml
share/kpackage/kcms/kcm_screenlocker/contents/ui/LnfConfig.qml
share/kpackage/kcms/kcm_screenlocker/contents/ui/WallpaperConfig.qml
share/kpackage/kcms/kcm_screenlocker/contents/ui/main.qml
-share/kpackage/kcms/kcm_screenlocker/metadata.desktop
-share/kpackage/kcms/kcm_screenlocker/metadata.json
-share/kservices5/screenlocker.desktop
share/ksmserver/screenlocker/org.kde.passworddialog/metadata.desktop
share/locale/ar/LC_MESSAGES/kcm_screenlocker.mo
share/locale/ar/LC_MESSAGES/kscreenlocker.mo
share/locale/ar/LC_MESSAGES/kscreenlocker_greet.mo
share/locale/ast/LC_MESSAGES/kcm_screenlocker.mo
+share/locale/az/LC_MESSAGES/kscreenlocker.mo
share/locale/bg/LC_MESSAGES/kcm_screenlocker.mo
share/locale/bg/LC_MESSAGES/kscreenlocker.mo
share/locale/bg/LC_MESSAGES/kscreenlocker_greet.mo
@@ -96,6 +95,9 @@ share/locale/it/LC_MESSAGES/kscreenlocker_greet.mo
share/locale/ja/LC_MESSAGES/kcm_screenlocker.mo
share/locale/ja/LC_MESSAGES/kscreenlocker.mo
share/locale/ja/LC_MESSAGES/kscreenlocker_greet.mo
+share/locale/ka/LC_MESSAGES/kcm_screenlocker.mo
+share/locale/ka/LC_MESSAGES/kscreenlocker.mo
+share/locale/ka/LC_MESSAGES/kscreenlocker_greet.mo
share/locale/kk/LC_MESSAGES/kscreenlocker.mo
share/locale/kk/LC_MESSAGES/kscreenlocker_greet.mo
share/locale/ko/LC_MESSAGES/kcm_screenlocker.mo
@@ -160,6 +162,8 @@ share/locale/sv/LC_MESSAGES/kcm_screenlocker.mo
share/locale/sv/LC_MESSAGES/kscreenlocker.mo
share/locale/sv/LC_MESSAGES/kscreenlocker_greet.mo
share/locale/ta/LC_MESSAGES/kcm_screenlocker.mo
+share/locale/ta/LC_MESSAGES/kscreenlocker.mo
+share/locale/ta/LC_MESSAGES/kscreenlocker_greet.mo
share/locale/tg/LC_MESSAGES/kcm_screenlocker.mo
share/locale/tg/LC_MESSAGES/kscreenlocker.mo
share/locale/tr/LC_MESSAGES/kcm_screenlocker.mo