From d3f62c0b14c170f94bc49fd1b557dddd26ea5033 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] gnu: linux-pam: Update to 1.5.2.
* gnu/packages/linux.scm (linux-pam): Update to 1.5.2.
---
gnu/packages/linux.scm | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
@@ -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,11 @@ (define-public linux-pam
#:configure-flags (list (string-append "--includedir="
(assoc-ref %outputs "out")
"/include/security")
+ ;; Work around
+ ;; <https://github.com/linux-pam/linux-pam/issues/466>
+ (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: 3d69f2dae8c5d451e03d3569c8b153fd573054b8
--
2.36.1