From patchwork Fri Sep 20 02:43:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nikita Domnitskii X-Patchwork-Id: 69678 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5887B27BBE2; Thu, 31 Oct 2024 06:24:39 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8DBDA27BBE9 for ; Thu, 31 Oct 2024 06:24:37 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6ObG-0004T7-76; Thu, 31 Oct 2024 02:24:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t6ObD-0004SX-1m for guix-patches@gnu.org; Thu, 31 Oct 2024 02:24:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t6ObC-00036Z-Ot for guix-patches@gnu.org; Thu, 31 Oct 2024 02:24:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:In-Reply-To:From:To:References:Subject; bh=wfNdIvJcp5wzoIJSjP1tZMuw5fkgl2lPvFu8R5QA55o=; b=aLyK8X2+oldgxiEUaPyQFeWJ8TvzH1aA42uNhejxYW2NP019uaA6aWGRW68ugiNojIxlz86b3JLm9DSihAmnwGOwpTqwxXVdf7kKW/6PbbsiIghZAuhhYXrIl7cLM+T/2etltRT/RpRKssumodrqZNg9XJjfmwmDpgkUkmyzesEtzK2cCsp6MRAODPnP3/MuDtPW37jY9AyheGZYGQP64YLr2dsG8ou/0fLXAuUuG8PWt3KIq8b3HLBGP/jMBGdtNx6bCsuKhVnECv0vTPMvra1ljclzaJ1aKp80XeCfwsLnVwyoblygI6S+D4lhWON8EzpCM27L6yl9V9BKfEapWQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t6ObC-00035P-EO for guix-patches@gnu.org; Thu, 31 Oct 2024 02:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73374] [PATCH v2 1/3] gnu: pam-mount: Fix libcryptsetup detection. References: <538b17f2-ba69-4f54-9f6d-b431c1a7f137@nborghese.com> Resent-From: Nikita Domnitskii Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 31 Oct 2024 06:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73374 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73374@debbugs.gnu.org Received: via spool by 73374-submit@debbugs.gnu.org id=B73374.173035581211843 (code B ref 73374); Thu, 31 Oct 2024 06:24:02 +0000 Received: (at 73374) by debbugs.gnu.org; 31 Oct 2024 06:23:32 +0000 Received: from localhost ([127.0.0.1]:40173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6Oah-00034x-Tr for submit@debbugs.gnu.org; Thu, 31 Oct 2024 02:23:32 -0400 Received: from out-186.mta0.migadu.com ([91.218.175.186]:64149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6Oaf-00034k-Bv for 73374@debbugs.gnu.org; Thu, 31 Oct 2024 02:23:30 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=domnitskii.me; s=key1; t=1730355801; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to; bh=wfNdIvJcp5wzoIJSjP1tZMuw5fkgl2lPvFu8R5QA55o=; b=f0evwx0YFqbKA5dLkJPR3SheOggN29DS0ZjEi7VdkYQY3Jy0U4iUh5yF3CtUbQo4o8AY3T iMOTaykiWlC7wuMTowIP9NRqerahsRGoVNMz/XZq/IAbBc9nvz+A+d/ITO7EFJha4DS+A9 Py5ju4nb2N/A1qZK9D+v+7oXd66zwa0= In-Reply-To: Date: Fri, 20 Sep 2024 02:43:04 +0000 Message-Id: <9922ab1de543b2eda5057ea1c2605aae8984c450.1730355663.git.nikita@domnitskii.me> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nikita Domnitskii X-ACL-Warn: , Nikita Domnitskii via Guix-patches X-Patchwork-Original-From: Nikita Domnitskii via Guix-patches via From: Nikita Domnitskii Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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 | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 86f35d49ad..74b2054e60 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -68,6 +68,8 @@ ;;; Copyright © 2024 gemmaro ;;; Copyright © 2024 Richard Sent ;;; Copyright © 2024 Vinicius Monego +;;; Copyright © 2024 nathan +;;; Copyright © 2024 Nikita Domnitskii ;;; ;;; This file is part of GNU Guix. ;;; @@ -4916,7 +4918,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 @@ -4945,15 +4948,17 @@ (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 (libcryptsetup-propagated-inputs)) + (list libhx + libxml2 + linux-pam + lvm2 + openssl + pcre2 + `(,util-linux "lib") + util-linux + eudev))) (home-page "https://inai.de/projects/pam_mount/") (synopsis "PAM module to mount volumes for a user session") (description