From: Felix Lechner <felix.lechner@gmail.com>
To: 55762@debbugs.gnu.org
Subject: [bug#55762] [PATCH] Upgrade linux-pam to 1.5.2
Date: Thu, 2 Jun 2022 05:09:07 -0700 [thread overview]
Message-ID: <CAFHYt54vnWZRi59GkkUuqebNdS6NYs9gu=0q6EsFUvMXWP1-bQ@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 868 bytes --]
Control: tags -1 + patch
Hi,
For my work in making PAM configurable in Guile, I rely on the foreign
function interface (FFI). The automatic generation of that interface
requires Pkgconfig files. Those files are not available in Guix.
Linux-PAM started shipping them in the release after the one we have.
The attached patch upgrades linux-pam to version 1.5.2.
The changes are further documented in the commit message.
I am new to Guix and already use the new version of linux-pam locally
(via Guix System) but I was unable to test the patch according to the
requirements and recommendations listed for this submission. [1]
This email was sent to -devel in lieu of -mentors, which does not
exist. Any guidance is much appreciated. Thanks for taking a look!
KInd regards
Felix Lechner
[1] https://guix.gnu.org/en/manual/devel/en/html_node/Submitting-Patches.html
[-- Attachment #2: 0001-Update-linux-pam-to-1.5.2.patch --]
[-- Type: text/x-patch, Size: 2085 bytes --]
From 592d8156014090fefe8b9b1da8cada6aa2fa120a Mon Sep 17 00:00:00 2001
From: Felix Lechner <felix.lechner@lease-up.com>
Date: Tue, 31 May 2022 11:40:04 -0700
Subject: [PATCH] Update linux-pam to 1.5.2.
This version ships three Pkgconfig files for Linux-PAM that make it
possible to generate automatic FFI bindings via 'nyacc compile-ffi'.
The current PAM version in Guix offers no Pkgconfig files at all.
Upstream started shipping them in version 1.5.2.
The extra argument to ./configure is needed to sidestep an issue
upstream. [1]
[1] https://github.com/linux-pam/linux-pam/issues/466
---
gnu/packages/linux.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 2af32fc88f..8a08a56bb4 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1579,7 +1579,7 @@ (define-public xpadneo
(define-public linux-pam
(package
(name "linux-pam")
- (version "1.5.1")
+ (version "1.5.2")
(source
(origin
(method url-fetch)
@@ -1588,7 +1588,7 @@ (define-public linux-pam
version "/Linux-PAM-" version ".tar.xz"))
(sha256
(base32
- "1z4jayf69qyyxln1gl6ch4qxfd66ib1g42garnrv2d8i1drl0790"))
+ "0kgrsj2scv5mx6w925h9hxf11jnqqs9z8s22aw94b90xm4qp3v74"))
(patches (search-patches "linux-pam-no-setfsuid.patch"))))
(build-system gnu-build-system)
@@ -1604,6 +1604,9 @@ (define-public linux-pam
#:configure-flags (list (string-append "--includedir="
(assoc-ref %outputs "out")
"/include/security")
+ (string-append "--libdir="
+ (assoc-ref %outputs "out")
+ "/lib")
;; XXX: <rpc/rpc.h> is missing from glibc when
;; cross-compiling, so we have to disable NIS
base-commit: 20432b839b6bc9e30c156d412597b734a726940d
--
2.36.1
next reply other threads:[~2022-06-02 13:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-02 12:09 Felix Lechner [this message]
2022-06-02 18:16 ` [bug#55762] [PATCH] Upgrade linux-pam to 1.5.2 Tobias Geerinckx-Rice via Guix-patches via
2022-06-03 16:25 ` Felix Lechner
2022-09-30 15:37 ` [bug#55762] [PATCH core-updates] " Felix Lechner
2022-10-07 0:36 ` Felix Lechner via Guix-patches via
2022-10-20 20:48 ` bug#55762: [PATCH core-updates] linux-pam: Update " Ludovic Courtès
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFHYt54vnWZRi59GkkUuqebNdS6NYs9gu=0q6EsFUvMXWP1-bQ@mail.gmail.com' \
--to=felix.lechner@gmail.com \
--cc=55762@debbugs.gnu.org \
/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 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.