aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2025-02-03 18:36:40 +0000
committerGleb Popov <arrowd@FreeBSD.org>2025-02-03 18:37:04 +0000
commitffcbd253b3b12640d2e502be33613293bdd8ce02 (patch)
tree8cd5662c56f59db8690902f07358541b741eec71
parentaf1aff8f87166d72ddefcbbcbc8c464573d7a291 (diff)
security/plasma6-kwallet-pam: Install the PAM module into a correct location
-rw-r--r--security/plasma6-kwallet-pam/Makefile1
-rw-r--r--security/plasma6-kwallet-pam/files/patch-CMakeLists.txt11
-rw-r--r--security/plasma6-kwallet-pam/pkg-plist2
3 files changed, 13 insertions, 1 deletions
diff --git a/security/plasma6-kwallet-pam/Makefile b/security/plasma6-kwallet-pam/Makefile
index fc57101bf941..03fd4cd5b336 100644
--- a/security/plasma6-kwallet-pam/Makefile
+++ b/security/plasma6-kwallet-pam/Makefile
@@ -1,5 +1,6 @@
PORTNAME= kwallet-pam
DISTVERSION= ${KDE_PLASMA_VERSION}
+PORTREVISION= 1
CATEGORIES= security kde kde-plasma
MAINTAINER= kde@FreeBSD.org
diff --git a/security/plasma6-kwallet-pam/files/patch-CMakeLists.txt b/security/plasma6-kwallet-pam/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..2744da38a1d2
--- /dev/null
+++ b/security/plasma6-kwallet-pam/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2024-12-30 18:57:04 UTC
++++ CMakeLists.txt
+@@ -93,7 +93,7 @@ kde_configure_git_pre_commit_hook(CHECKS CLANG_FORMAT)
+
+ kde_configure_git_pre_commit_hook(CHECKS CLANG_FORMAT)
+
+-install(TARGETS ${library_name} DESTINATION ${KDE_INSTALL_LIBDIR}/security)
++install(TARGETS ${library_name} DESTINATION ${KDE_INSTALL_LIBDIR})
+
+ configure_file(pam_kwallet_init.desktop.cmake ${CMAKE_BINARY_DIR}/pam_kwallet_init.desktop)
+
diff --git a/security/plasma6-kwallet-pam/pkg-plist b/security/plasma6-kwallet-pam/pkg-plist
index 4c386481824f..af61cc239edf 100644
--- a/security/plasma6-kwallet-pam/pkg-plist
+++ b/security/plasma6-kwallet-pam/pkg-plist
@@ -1,4 +1,4 @@
etc/xdg/autostart/pam_kwallet_init.desktop
lib/libexec/pam_kwallet_init
-lib/security/pam_kwallet5.so
+lib/pam_kwallet5.so
@comment lib/systemd/user/plasma-kwallet-pam.service