From 0854ffe7bd25ce883fbe63f4862929239e7a1907 Mon Sep 17 00:00:00 2001 From: Felix Lechner Date: Thu, 29 Sep 2022 13:34:21 -0700 Subject: [PATCH] gnu: linux-pam: Update to 1.5.2. * gnu/packages/linux.scm (linux-pam): Update to 1.5.2. Add explicit libdir for pkgconfig files. --- gnu/packages/linux.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index a97b84d657..a81b8c7641 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1566,7 +1566,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) @@ -1575,7 +1575,7 @@ (define-public linux-pam version "/Linux-PAM-" version ".tar.xz")) (sha256 (base32 - "1z4jayf69qyyxln1gl6ch4qxfd66ib1g42garnrv2d8i1drl0790")) + "0kgrsj2scv5mx6w925h9hxf11jnqqs9z8s22aw94b90xm4qp3v74")) (patches (search-patches "linux-pam-unix_chkpwd.patch" "linux-pam-no-setfsuid.patch")))) @@ -1592,6 +1592,12 @@ (define-public linux-pam #: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 base-commit: 511d584906c6304a3dc6ffcf7096bb14c6bee222 -- 2.37.3