aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-02-16 02:01:26 +0100
committerRasmus Thomsen <oss@cogitri.dev>2020-02-16 11:35:20 +0100
commit5e18d947a7f7e8c8f913e3199e8f6bb2e66647d6 (patch)
treee43b272b77a92196882638aafa7b449cf5a39160
parent85f1190f45d00437aa321f736ffcf4c512e6b637 (diff)
downloadaports-5e18d947a7f7e8c8f913e3199e8f6bb2e66647d6.tar.bz2
aports-5e18d947a7f7e8c8f913e3199e8f6bb2e66647d6.tar.xz
community/lightdm: unlock KWallet and GNOME Keyring on login
fixes #11227
-rw-r--r--community/lightdm/APKBUILD4
-rw-r--r--community/lightdm/auto-unlock-keyring.patch36
2 files changed, 39 insertions, 1 deletions
diff --git a/community/lightdm/APKBUILD b/community/lightdm/APKBUILD
index fc557ca502..ae3ddc990b 100644
--- a/community/lightdm/APKBUILD
+++ b/community/lightdm/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lightdm
pkgver=1.30.0
-pkgrel=0
+pkgrel=1
pkgdesc="A cross-desktop display manager"
url="https://www.freedesktop.org/wiki/Software/LightDM"
arch="all !s390x" # gnome-themes-standard missing due to librsvg
@@ -22,6 +22,7 @@ source="https://github.com/CanonicalLtd/lightdm/releases/download/$pkgver/lightd
musl-updwtmpx.patch
disallow-guest.patch
allow-null-passwd.patch
+ auto-unlock-keyring.patch
lightdm.initd"
build() {
@@ -67,4 +68,5 @@ aa33888f61b61f6c8082c77dc0b539fa14fb395c17e70b825ba88af7bb6adaad8f99583342a77442
876088f21e502630c7d13343b03785d3327727c25657690c8e1cff5428a36944eb75d538f24ab4f5b11f931d8fad51241f25046da370eb5868aa8d2860be4eb2 musl-updwtmpx.patch
c5bf8cfc0b4c4f95d9c9a3fa517b6c8ec90e02d84fb4498176b4745ed6089576fab536e9a3595200443811f05f2d47ac5e7c0205c878d9c23eff4dda7093ad6c disallow-guest.patch
7d31a5d7034e665a86a7067654c8865fa5db98b58c32afab6077d589c0cd1351bfbfb4625e5e1b2ccf8c98bc08e7c97412c528311c3c32da0b8e45916f8de767 allow-null-passwd.patch
+24771daeb48af67d5f922cce3d5b784fdccbda3aed26f3b788f7ba5539e6681ab7d74863e103067029f0ec3f1313fd8bd1fd5a8c860208958561cbf3956c87d8 auto-unlock-keyring.patch
9f75dacbb3ec1d99b2f27f7717f47b62a9146764e86986a77d0935da813ebe5cdebe82b25d960bcd3fd44bb73b7a6465dd2ea5e0710b2febbe99190d5fbb8812 lightdm.initd"
diff --git a/community/lightdm/auto-unlock-keyring.patch b/community/lightdm/auto-unlock-keyring.patch
new file mode 100644
index 0000000000..cac955bee0
--- /dev/null
+++ b/community/lightdm/auto-unlock-keyring.patch
@@ -0,0 +1,36 @@
+diff --git a/data/pam/lightdm b/data/pam/lightdm
+index fed8a9b..96f39e9 100644
+--- a/data/pam/lightdm
++++ b/data/pam/lightdm
+@@ -18,3 +18,13 @@ password required pam_unix.so
+ # Setup session
+ session required pam_unix.so
+ session optional pam_systemd.so
++
++# Unlock GNOME Keyring if available
++-auth optional pam_gnome_keyring.so
++-session optional pam_gnome_keyring.so auto_start
++
++# Unlock KWallet if available
++-auth optional pam_kwallet.so
++-auth optional pam_kwallet5.so
++-session optional pam_kwallet.so auto_start
++-session optional pam_kwallet5.so auto_start
+diff --git a/data/pam/lightdm-autologin b/data/pam/lightdm-autologin
+index ba7a68c..013ad52 100644
+--- a/data/pam/lightdm-autologin
++++ b/data/pam/lightdm-autologin
+@@ -18,3 +18,13 @@ password required pam_deny.so
+ # Setup session
+ session required pam_unix.so
+ session optional pam_systemd.so
++
++# Unlock GNOME Keyring if available
++-auth optional pam_gnome_keyring.so
++-session optional pam_gnome_keyring.so auto_start
++
++# Unlock KWallet if available
++-auth optional pam_kwallet.so
++-auth optional pam_kwallet5.so
++-session optional pam_kwallet.so auto_start
++-session optional pam_kwallet5.so auto_start