all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#73374] [PATCH] gnu: pam-mount: fix libcryptsetup detection
@ 2024-09-20  2:43 nathan via Guix-patches via
  2024-10-31  6:21 ` [bug#73374] [PATCH v2 0/3] Fix and update pam-mount Nikita Domnitskii via Guix-patches via
  2024-10-31 15:17 ` [bug#73374] [PATCH v3 0/2] Nikita Domnitskii via Guix-patches via
  0 siblings, 2 replies; 8+ messages in thread
From: nathan via Guix-patches via @ 2024-09-20  2:43 UTC (permalink / raw)
  To: 73374

[-- Attachment #1: Type: text/plain, Size: 79 bytes --]

easy way to test:
look at the configure log and observe that it's detected now.

[-- Attachment #2: 0001-gnu-pam-mount-fix-libcryptsetup-detection.patch --]
[-- Type: text/x-patch, Size: 2048 bytes --]

From b3d6cc85ddcbfb162f679a6f59086b7825b1a712 Mon Sep 17 00:00:00 2001
Message-ID: <b3d6cc85ddcbfb162f679a6f59086b7825b1a712.1726799784.git.nathan_mail@nborghese.com>
From: nathan <nathan_mail@nborghese.com>
Date: Thu, 19 Sep 2024 22:27:53 -0400
Subject: [PATCH] gnu: pam-mount: fix libcryptsetup detection

* gnu/packages/admin.scm (pam-mount): Fix libcryptsetup detection
[inputs]: Add extra inputs required for libcryptsetup
[arguments]<#:configure-flags>: Explicitly enable cryptsetup in order to
detect breakage in the future

Change-Id: Icf588945279c8785081a8049d401eaf7e6a22e3c
---
 gnu/packages/admin.scm | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 4910327d99..f8552c69ce 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -4936,7 +4936,8 @@ (define-public pam-mount
      (list
       #:configure-flags
       #~(list (string-append "--with-slibdir=" #$output "/lib")
-              (string-append "--with-ssbindir=" #$output "/sbin"))
+              (string-append "--with-ssbindir=" #$output "/sbin")
+              "--with-cryptsetup")
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'patch-file-names
@@ -4965,15 +4966,16 @@ (define-public pam-mount
     (native-inputs
      (list perl pkg-config))
     (inputs
-     (list cryptsetup
-           libhx
-           libxml2
-           linux-pam
-           lvm2
-           openssl
-           pcre2
-           `(,util-linux "lib")
-           util-linux))
+     (append
+      (cons* cryptsetup eudev (libcryptsetup-propagated-inputs))
+      (list libhx
+            libxml2
+            linux-pam
+            lvm2
+            openssl
+            pcre2
+            `(,util-linux "lib")
+            util-linux)))
     (home-page "https://inai.de/projects/pam_mount/")
     (synopsis "PAM module to mount volumes for a user session")
     (description

base-commit: 6ea75bb9bcc52521f0bb3f121799745fdc17f1c9
-- 
2.46.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-10-31 15:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-20  2:43 [bug#73374] [PATCH] gnu: pam-mount: fix libcryptsetup detection nathan via Guix-patches via
2024-10-31  6:21 ` [bug#73374] [PATCH v2 0/3] Fix and update pam-mount Nikita Domnitskii via Guix-patches via
2024-09-20  2:43   ` [bug#73374] [PATCH v2 1/3] gnu: pam-mount: Fix libcryptsetup detection Nikita Domnitskii via Guix-patches via
2024-10-31  5:47   ` [bug#73374] [PATCH v2 3/3] gnu: pam-mount: Update to 2.20 Nikita Domnitskii via Guix-patches via
2024-10-31  5:59   ` [bug#73374] [PATCH v2 2/3] gnu: pam-mount: Remove lvm2 from inputs Nikita Domnitskii via Guix-patches via
2024-10-31 15:17 ` [bug#73374] [PATCH v3 0/2] Nikita Domnitskii via Guix-patches via
2024-09-20  2:43   ` [bug#73374] [PATCH v3 1/2] gnu: pam-mount: Fix libcryptsetup detection Nikita Domnitskii via Guix-patches via
2024-10-31  5:47   ` [bug#73374] [PATCH v3 2/2] gnu: pam-mount: Update to 2.20 Nikita Domnitskii via Guix-patches via

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.