From d655d2e0a636535372e93ac9e0031d93424178c2 Mon Sep 17 00:00:00 2001 From: Marc Ferland Date: Mon, 9 Sep 2024 11:32:21 -0400 Subject: [PATCH] kwallet-pam: initial commit kwallet-pam makes it possible to unlock your kwallet as soon as you open your session. It basically get's rid of the annoying popup that asks you to unlock your wallet. Signed-off-by: Marc Ferland --- recipes-plasma/kwallet-pam.inc | 27 +++++++++++++++++++++++++++ recipes-plasma/kwallet-pam_6.1.4.bb | 6 ++++++ 2 files changed, 33 insertions(+) create mode 100644 recipes-plasma/kwallet-pam.inc create mode 100644 recipes-plasma/kwallet-pam_6.1.4.bb diff --git a/recipes-plasma/kwallet-pam.inc b/recipes-plasma/kwallet-pam.inc new file mode 100644 index 0000000..5a0707b --- /dev/null +++ b/recipes-plasma/kwallet-pam.inc @@ -0,0 +1,27 @@ +# SPDX-FileCopyrightText: 2024 Marc Ferland +# +# SPDX-License-Identifier: MIT + +SUMMARY = "KWallet PAM Integration" +HOMEPAGE = "https://invent.kde.org/plasma/kwallet-pam" +LICENSE = "BSD-3-Clause & LGPL-2.1-or-later" +LIC_FILES_CHKSUM = " \ + file://LICENSES/LGPL-2.1-or-later.txt;md5=147a320ed8b16b036829a0c71d424153 \ + file://LICENSES/BSD-3-Clause.txt;md5=954f4d71a37096249f837652a7f586c0 \ +" +PR = "r0" + +DEPENDS = " \ + libpam \ + libgcrypt \ + kwallet \ +" + +RDEPENDS:${PN} += "socat" + +inherit cmake_plasma systemd + +FILES:${PN} += "${libdir}/security/pam_kwallet5.so" + +SYSTEMD_SERVICE:${PN} = "plasma-kwallet-pam.service" +SYSTEMD_AUTO_ENABLE:${PN} = "disable" diff --git a/recipes-plasma/kwallet-pam_6.1.4.bb b/recipes-plasma/kwallet-pam_6.1.4.bb new file mode 100644 index 0000000..60a359a --- /dev/null +++ b/recipes-plasma/kwallet-pam_6.1.4.bb @@ -0,0 +1,6 @@ +# SPDX-FileCopyrightText: none +# SPDX-License-Identifier: CC0-1.0 + +require ${PN}.inc +SRC_URI += "https://download.kde.org/stable/plasma/6.1.4/kwallet-pam-6.1.4.tar.xz" +SRC_URI[sha256sum] = "7324b13e0327cfb73fdb4ade8948cad17b854e02241dfa9c17cbab858f2f2e36"