From: wurt--- via Guix-patches via <guix-patches@gnu.org>
To: 63955@debbugs.gnu.org
Cc: "Carlos Durán Domínguez" <wurt@wurtshell.com>
Subject: [bug#63955] [PATCH 2/5] system: pam: Add pam-gnupg-module?.
Date: Thu, 8 Jun 2023 17:14:36 +0200 [thread overview]
Message-ID: <20230608151438.1280-2-wurt@wurtshell.com> (raw)
In-Reply-To: <20230608151438.1280-1-wurt@wurtshell.com>
From: Carlos Durán Domínguez <wurt@wurtshell.com>
---
gnu/system/pam.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/system/pam.scm b/gnu/system/pam.scm
index a035a92e25..7198815ad6 100644
--- a/gnu/system/pam.scm
+++ b/gnu/system/pam.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013-2017, 2019-2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2023 Josselin Poiret <dev@jpoiret.xyz>
+;;; Copyright © 2023 Carlos Durán Domínguez <wurt@wurtshell.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -64,7 +65,9 @@ (define-module (gnu system pam)
pam-extension-shepherd-requirements
pam-root-service-type
- pam-root-service))
+ pam-root-service
+
+ pam-gnupg-module?))
;;; Commentary:
;;;
@@ -454,4 +457,9 @@ (define* (pam-root-service base #:key (transformers '()) (shepherd-requirements
(transformers transformers)
(shepherd-requirements shepherd-requirements))))
+(define (pam-gnupg-module? name)
+ "Return `#t' if NAME is the path to the pam-gnupg module, `#f' otherwise."
+ (equal? (pam-entry-module name)
+ (file-append pam-gnupg "/lib/security/pam_gnupg.so")))
+
--
2.40.1
next prev parent reply other threads:[~2023-06-08 15:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-07 17:13 [bug#63955] [PATCH 0/5] Add pam-gnupg support for Greetd wurt--- via Guix-patches via
2023-06-08 15:14 ` [bug#63955] [PATCH 1/5] utils: Add insert-before wurt--- via Guix-patches via
2023-06-08 15:14 ` wurt--- via Guix-patches via [this message]
2023-06-08 15:14 ` [bug#63955] [PATCH 3/5] services: pam-mount: Fix pam-gnupg incompatibility wurt--- via Guix-patches via
2023-06-08 15:14 ` [bug#63955] [PATCH 4/5] services: greetd: Add pam-gnupg support wurt--- via Guix-patches via
2023-06-08 15:14 ` [bug#63955] [PATCH 5/5] system: pam: Fix unix pam module order wurt--- via Guix-patches via
2023-08-31 7:43 ` bug#63955: (no subject) guix-patches--- via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230608151438.1280-2-wurt@wurtshell.com \
--to=guix-patches@gnu.org \
--cc=63955@debbugs.gnu.org \
--cc=wurt@wurtshell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).