From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QK9SGBv6ImSXJwAASxT56A (envelope-from ) for ; Tue, 28 Mar 2023 16:30:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CFECGBv6ImQEWAEAauVa8A (envelope-from ) for ; Tue, 28 Mar 2023 16:30:51 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 21FCE37B0 for ; Tue, 28 Mar 2023 16:30:51 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phAKz-0004jQ-22; Tue, 28 Mar 2023 10:30:13 -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 1phAKx-0004hF-8u for guix-patches@gnu.org; Tue, 28 Mar 2023 10:30:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1phAKx-0006t0-03 for guix-patches@gnu.org; Tue, 28 Mar 2023 10:30:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1phAKw-0002c5-SH for guix-patches@gnu.org; Tue, 28 Mar 2023 10:30:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62307] [PATCH core-updates v2 15/20] gnu: linux-pam: Switch to gexps. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Mar 2023 14:30:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62307 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62307@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 62307-submit@debbugs.gnu.org id=B62307.16800137879844 (code B ref 62307); Tue, 28 Mar 2023 14:30:10 +0000 Received: (at 62307) by debbugs.gnu.org; 28 Mar 2023 14:29:47 +0000 Received: from localhost ([127.0.0.1]:50432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phAKZ-0002Yc-3N for submit@debbugs.gnu.org; Tue, 28 Mar 2023 10:29:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phAKG-0002Vl-LQ for 62307@debbugs.gnu.org; Tue, 28 Mar 2023 10:29:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phAKB-0006SZ-EO; Tue, 28 Mar 2023 10:29:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=qVQbh8FeMe+Vp5AA3oG/39z+I/+4QuuVwPSkGxJj/Os=; b=gHQrwbfCxWI3Akr1n7vL PW6dgLv4wHzYnl8DgxBG/2UpN0qWWgcw+OPz8cS6FsrAgNA7dWKxXylYRnDDaxyDzIgcgR7pYYfPq DF7OxtO5BYiRDmMLxMkSJ8URmgvlkWKlisQSxb2F/NjVhxXKGAQbfEE7sOYd08+xybCM+J0ZjHsD7 hyOTDO6g0+GfH7h7NiMPppy9gjmRIh/fa+9pLfBR8dqlO7je/71dkwO55yuPQAxECKZEm3WZQi35F UHxusR3f6rhEMiyfXyjo6dIGXACqieb5O793cV852k6fHu2eSI7lLg8ExN+itJEWRr0VQpWJQ6O2C XfIBeDAPN5gF4Q==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1phAKA-00026Y-O1; Tue, 28 Mar 2023 10:29:22 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Tue, 28 Mar 2023 16:28:47 +0200 Message-Id: <20230328142852.26635-16-ludo@gnu.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230328142852.26635-1-ludo@gnu.org> References: <87pm90bzva.fsf_-_@gnu.org> <20230328142852.26635-1-ludo@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680013851; a=rsa-sha256; cv=none; b=jOHvHGq2lTJ/A10kz+ky5XmFbdsxr+VgdPCSETVhLqXG/tLLjmWXWTQJjjnweSuusJpe6S wtYF2auDaY5gqlGTwCLwcMlC0JZ8wVzVZsLeuHh/vR6u7W5OqWQ7c8TMQ9yh1KQpdjonYV I1rKpvOFDohBthlPcrKxgM6+aWzVSe9uJb9cdzXoDnEqXdCrjZ/LeyqQ2BILiesXAHJNzq w13GP3EVNDSYJf+pezs9YMO0AnGlIfhpmNrsr0QbmKuookrXks2Fj6mgsC4Z6uX0TH6GjC Aozl1oN8lk/+jZ8KymUP0WqLutWRDQSkZyAkSsOsQmJCYK7ONZIPFPK/2BzI0A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=gHQrwbfC; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680013851; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=qVQbh8FeMe+Vp5AA3oG/39z+I/+4QuuVwPSkGxJj/Os=; b=WdMUk2/Ft/5+KfbaXeao+Il08NNKN3YKE+YpUg79bL6TJt9scAkyo81qBBs3YGqQ3wjF2q yWUAHQaF42R9CaYFJ3QvIlj+RwhUiXEq8fuRPbC3cGMum1TxfumGRBUfxzS+9hyGXpN8t1 jWYPnub+KdEK+0DXR4UTwq2OtAFIMaogsAeAcyZKKAPVeHTqnGqFws8/NbfW74vVqmROmI osIIvk0QWpJ3tIo+Fdd1dJ1nGuVNqjIfhwJBMZ7Xf52elF7onsswU5C7sKW6C6WswRKbfF 6/eCliQs334zMqooRBz2Vm5OHiSpU1ViPWJqYDi+3zwD6DtEL4hgiDbozrK+3Q== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=gHQrwbfC; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -1.13 X-Spam-Score: -1.13 X-Migadu-Queue-Id: 21FCE37B0 X-TUID: e5CliE9BiocJ * gnu/packages/linux.scm (linux-pam)[arguments]: Switch to gexps. --- gnu/packages/linux.scm | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index b39b0637c5..1c770bf9ba 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1804,28 +1804,29 @@ (define-public linux-pam ;; ("cracklib" ,cracklib) )) (arguments - `(;; Most users, such as `shadow', expect the headers to be under - ;; `security'. - #:configure-flags (list (string-append "--includedir=" - (assoc-ref %outputs "out") - "/include/security") - ;; explicit libdir for pkgconfig files - ;; drop with 1.5.3, which fixes - ;; https://github.com/linux-pam/linux-pam/issues/466 - (string-append "--libdir=" - (assoc-ref %outputs "out") - "/lib") + (list + ;; Most users, such as `shadow', expect the headers to be under + ;; `security'. + #:configure-flags #~(list (string-append "--includedir=" + (assoc-ref %outputs "out") + "/include/security") + ;; explicit libdir for pkgconfig files + ;; drop with 1.5.3, which fixes + ;; https://github.com/linux-pam/linux-pam/issues/466 + (string-append "--libdir=" + (assoc-ref %outputs "out") + "/lib") - ;; XXX: is missing from glibc when - ;; cross-compiling, so we have to disable NIS - ;; support altogether. - ,@(if (%current-target-system) - '("--disable-nis") - '())) + ;; XXX: is missing from glibc when + ;; cross-compiling, so we have to disable NIS + ;; support altogether. + #$@(if (%current-target-system) + #~("--disable-nis") + #~())) - ;; XXX: Tests won't run in chroot, presumably because /etc/pam.d - ;; isn't available. - #:tests? #f)) + ;; XXX: Tests won't run in chroot, presumably because /etc/pam.d + ;; isn't available. + #:tests? #f)) (home-page "http://www.linux-pam.org/") (synopsis "Pluggable authentication modules for Linux") (description -- 2.39.2