[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49969] [PATCH v8 3/7] gnu: admin: Add greetd-pam-mount.
From: |
muradm |
Subject: |
[bug#49969] [PATCH v8 3/7] gnu: admin: Add greetd-pam-mount. |
Date: |
Thu, 16 Sep 2021 22:47:24 +0300 |
* gnu/packages/admin.scm (greetd-pam-mount): New variable
---
gnu/packages/admin.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index bef0ca3745..e46d21844b 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -4892,3 +4892,35 @@ If you can run it from your shell in a TTY, greetd can
start it.
If it can be taught to speak a simple JSON-based IPC protocol,
then it can be a greeter.")
(license license:gpl3+)))
+
+(define-public greetd-pam-mount
+ (package
+ (inherit pam-mount)
+ (name "greetd-pam-mount")
+ (arguments
+ (substitute-keyword-arguments (package-arguments pam-mount)
+ ((#:configure-flags flags ''())
+ `(cons* "--with-rundir=/run/greetd" ,flags))
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-after 'unpack 'patch-config-file-name
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "src/pam_mount.c"
+ ((".*define CONFIGFILE .*$")
+ "#define CONFIGFILE
\"/etc/security/greetd_pam_mount.conf.xml\"\n")
+ (("pam_mount_config") "greetd_pam_mount_config")
+ (("pam_mount_system_authtok")
"greetd_pam_mount_system_authtok"))))))))
+ (synopsis "pam-mount specifically compiled for use with greetd")
+ (description
+ "Pam-mount is a PAM module that can mount volumes when a user logs in.
+It supports mounting local filesystems of any kind the normal mount utility
+supports. It can also mount encrypted LUKS volumes using the password
+supplied by the user when logging in.
+
+This package inherits pam-mount in the way that it is compiled specifically
+for use with greetd daemon. It uses different configuration location and
+name space for storing data in PAM.
+
+greetd-pam-mount is used in configuration of greetd to provide
+auto-(mounting/unmounting) of XDG_RUNTIME_DIR in the way that it will not
+interfere with default pam-mount configuration.")))
--
2.33.0
- [bug#49969] [PATCH v7 5/7] gnu: admin: Add libseat 0.6.1 and move seatd., (continued)
- [bug#49969] [PATCH v7 5/7] gnu: admin: Add libseat 0.6.1 and move seatd., muradm, 2021/09/15
- [bug#49969] [PATCH v7 7/7] gnu: tests: Add seatd/greetd based minimal desktop system tests., muradm, 2021/09/15
- [bug#49969] [PATCH v7 6/7] gnu: desktop: Add seatd-service-type., muradm, 2021/09/15
- [bug#49969] [PATCH v7 2/7] gnu: admin: Add greetd 0.8.0., muradm, 2021/09/15
- [bug#49969] [PATCH v8 0/7] Update libseat and seatd to 0.6.2., muradm, 2021/09/16
- [bug#49969] [PATCH v8 1/7] gnu: crates-io: Add rust-enquote 1.0.3 and rust-pam-sys 0.5.6., muradm, 2021/09/16
- [bug#49969] [PATCH v8 4/7] gnu: base: Add greetd-service-type., muradm, 2021/09/16
- [bug#49969] [PATCH v8 2/7] gnu: admin: Add greetd 0.8.0., muradm, 2021/09/16
- [bug#49969] [PATCH v8 7/7] gnu: tests: Add seatd/greetd based minimal desktop system tests., muradm, 2021/09/16
- [bug#49969] [PATCH v8 6/7] gnu: desktop: Add seatd-service-type., muradm, 2021/09/16
- [bug#49969] [PATCH v8 3/7] gnu: admin: Add greetd-pam-mount.,
muradm <=
- [bug#49969] [PATCH v8 5/7] gnu: admin: Add libseat 0.6.2 and move seatd., muradm, 2021/09/16
- [bug#49969] [PATCH v8 5/7] gnu: admin: Add libseat 0.6.2 and move seatd., Leo Famulari, 2021/09/24
- [bug#49969] [PATCH v8 5/7] gnu: admin: Add libseat 0.6.2 and move seatd., muradm, 2021/09/25