diff mbox series

[bug#55762,core-updates] Upgrade linux-pam to 1.5.2

Message ID CAFHYt548La47aLZcR4qv7PF=BJJ3wvTjC4UdThnvRrbF1o4n3w@mail.gmail.com
State Accepted
Headers show
Series [bug#55762,core-updates] Upgrade linux-pam to 1.5.2 | expand

Checks

Context Check Description
cbaines/applying patch fail View Laminar job
cbaines/issue success View issue

Commit Message

Felix Lechner Sept. 30, 2022, 3:37 p.m. UTC
Hi,

This rebased patch applies cleanly after commit f172118ca43. Thanks!

Kind regards
Felix Lechner
diff mbox series

Patch

From c6e7f8b9f6dd8c39008f1840af0d3323b6b48fa2 Mon Sep 17 00:00:00 2001
From: Felix Lechner <felix.lechner@lease-up.com>
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..e1b75bd588 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 when
+                               ;; https://github.com/linux-pam/linux-pam/issues/466
+                               ;; was resolved
+                               (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: 8f870574b62dbd063f687b7b21d54a6dbd125e2d
-- 
2.37.3