From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +KWfK84lpGZzAwAAqHPOHw:P1 (envelope-from ) for ; Fri, 26 Jul 2024 22:40:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id +KWfK84lpGZzAwAAqHPOHw (envelope-from ) for ; Sat, 27 Jul 2024 00:40:14 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=Ei8Leigo; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722033614; h=from:from:sender:sender:reply-to: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=sUgRgXNFILx8o6javYh42JweiPUTSycyrAFhUfDdHhw=; b=gAGS5Pq0R+EMSBQoho+Pf43yh4AalDEWcUZcT80k2L+ekwd2vlmB3LQFRa4UKdFmlFkgaE Gs6j2UgnRvvvMSaWdR7D1eSTuFOexPpYUKb9QZb/mMR6oI59t955QgZyLfPuRTjjatfxoM lA41OdkcnyrvCHV8W4By3T+8+ZmEPIzVLMvj/JxcZIfY1du+WGllgE5oszjJNKcclpPgFg gL7vWneqCeTMHzNMBjj7N4DSOonzgkMGvfBLpwoD1W2VBiRJzkFPLZZF2pmZGI0KJ73CDV 1pDh9mY8r1XeaeDOSvvOwjvDAf2801OdfA+cayGNnpJj7GwQ56O+a9HsZN/WAQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=Ei8Leigo; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722033614; a=rsa-sha256; cv=none; b=b9A/XBnOfUHrw/oqUsWJlQwjgt1IoEqkez40IcMvn9U+IrhX0zr1rJ7c3ZPb6QZX8eRZ/d zYvMDYa9DuEAJo49vOREUGfthVprj4FcEDUY5TY5VtE2R4e2NYPJlGuLCKjzL7SLaVmjV8 Ht8eHkEnMmXyXdASZ2Ct+UxlFTSf723P6jSLYWBMKf0FkEzrIza7aOHk3sd/0RcXlEz4Hu NQa95/aPqyE+iZJBpHEkJDr8FpWZwrJC8uIPWWvnu0uy9QMYUqSxakcTbEVbHATGNGuCRA 5GezGm2MFh5I26mkw5h9DMpYGVuMwPL5XfX5/FdeJ8Or2t3JL2ZA7vHe73eNcQ== 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 847C5FB78 for ; Sat, 27 Jul 2024 00:40:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sXTbR-0002sI-08; Fri, 26 Jul 2024 18:39:57 -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 1sXTbO-0002hS-8M for guix-patches@gnu.org; Fri, 26 Jul 2024 18:39:54 -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 1sXTbO-0002Sf-07 for guix-patches@gnu.org; Fri, 26 Jul 2024 18:39:54 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sXTbV-0002wR-RN; Fri, 26 Jul 2024 18:40:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72316] [PATCH 1/3] Add guile-pam. Resent-From: Felix Lechner Original-Sender: "Debbugs-submit" Resent-CC: leo@famulari.name, w@wmeyer.eu, guix-patches@gnu.org Resent-Date: Fri, 26 Jul 2024 22:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72316 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72316@debbugs.gnu.org Cc: Felix Lechner , Leo Famulari , Wilko Meyer X-Debbugs-Original-Xcc: Leo Famulari , Wilko Meyer Received: via spool by 72316-submit@debbugs.gnu.org id=B72316.172203358411252 (code B ref 72316); Fri, 26 Jul 2024 22:40:01 +0000 Received: (at 72316) by debbugs.gnu.org; 26 Jul 2024 22:39:44 +0000 Received: from localhost ([127.0.0.1]:40236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXTbD-0002vQ-Kx for submit@debbugs.gnu.org; Fri, 26 Jul 2024 18:39:44 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]:53130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXTb9-0002vE-8A for 72316@debbugs.gnu.org; Fri, 26 Jul 2024 18:39:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=Lv8r28u8q2zDtC/ utp2cjqMNGu/juSaOHSWDInHSLzc=; h=references:in-reply-to:date:subject: cc:to:from; d=lease-up.com; b=Ei8LeigoWw5pnZ3Ci7+2UX/f5iXA32e8zJRxB/kJ VjaCmI3RzCfOFfKj0pm+2+i0006Mat9yE3Y80NfCWgdkg4PWh942aCs0lScX941jrRxtBP lFGUHeQcjx9aPXoVZqnFGxkd5XKwA2OYsxoppwtP/6ymqX0OYUpa3nDge3+Qg= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 8dc24db0 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Fri, 26 Jul 2024 22:39:27 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 5ec8305d; Fri, 26 Jul 2024 22:39:27 +0000 (UTC) Date: Fri, 26 Jul 2024 15:39:11 -0700 Message-ID: <65131a4e1fc7760ce1e31975ec7c5ba06bd920b6.1722032727.git.felix.lechner@lease-up.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: 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: , Reply-to: Felix Lechner X-ACL-Warn: , Felix Lechner via Guix-patches From: Felix Lechner via Guix-patches via 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 X-Spam-Score: -6.42 X-Migadu-Queue-Id: 847C5FB78 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.42 X-TUID: yhhZu+FZGsXU Change-Id: I991ca32c8696de0e6751b0f4225bf24151ba22f2 --- gnu/packages/linux.scm | 56 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index f36d0fc9ee..7b5f549584 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -112,6 +112,7 @@ (define-module (gnu packages linux) #:use-module (gnu packages bash) #:use-module (gnu packages bison) #:use-module (gnu packages boost) + #:use-module (gnu packages build-tools) #:use-module (gnu packages calendar) #:use-module (gnu packages check) #:use-module (gnu packages cpio) @@ -145,6 +146,7 @@ (define-module (gnu packages linux) #:use-module (gnu packages graphviz) #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) + #:use-module (gnu packages guile) #:use-module (gnu packages haskell-apps) #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages image) @@ -157,6 +159,7 @@ (define-module (gnu packages linux) #:use-module (gnu packages m4) #:use-module (gnu packages man) #:use-module (gnu packages maths) + #:use-module (gnu packages mes) #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) #:use-module (gnu packages netpbm) @@ -1917,6 +1920,59 @@ (define-public vendor-reset-linux-module ;;; Pluggable authentication modules (PAM). ;;; +(define-public guile-pam + (let ((commit "7eba489fbc56b72de5e4bd77d7c99816434b5178") + (revision "0")) + (package + (name "guile-pam") + (version (git-version "0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://codeberg.org/lechner/guile-pam") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "149cmgif05wcp4zgkkr2gp93djr44qiv71ih2b2d633vnj1mbayb")))) + (native-inputs (list + autoconf + automake + gnulib + guile-3.0 + libtool + linux-pam + nyacc + pkg-config + texinfo)) + (inputs (list + guile-3.0 + linux-pam)) + (propagated-inputs (list + nyacc)) + (build-system gnu-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'install-gnulib + ;; per https://lists.gnu.org/archive/html/guile-devel/2012-08/msg00042.html + (lambda* (#:key inputs #:allow-other-keys) + (let ((build-aux (dirname (search-input-file inputs "/src/gnulib/build-aux/config.rpath")))) + (mkdir-p "build-aux") + (copy-recursively build-aux "build-aux")) + (let ((m4 (dirname (search-input-file inputs "/src/gnulib/m4/lib-link.m4")))) + (mkdir-p "m4") + (copy-recursively m4 "m4"))))))) + (home-page "https://codeberg.org/lechner/guile-pam") + (synopsis "Write your Linux-PAM authentication logic in Guile Scheme") + (description + "Guile-PAM provides a way to rewrite your authentication logic in the +Linux PAM (pluggable authentication modules) in Guile Scheme. It should make +those modules more transparent to the administrator and more intuitive to +use.") + (license license:gpl3+)))) + (define-public linux-pam (package (name "linux-pam") -- 2.45.2