diff mbox series

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

Message ID CAFHYt54B2iHS5tMRRBG01zo+eRhxSSH6R9oJg6FectW_BzFBTQ@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 Oct. 7, 2022, 12:36 a.m. UTC
Hi,

Upstream accepted my merge request [1] so I added a code comment with
the version reference. Here is the updated patch. Thanks!

Kind regards
Felix Lechner

[1] https://github.com/linux-pam/linux-pam/pull/493

Comments

Ludovic Courtès Oct. 20, 2022, 8:48 p.m. UTC | #1
Hi,

Felix Lechner <felix.lechner@lease-up.com> skribis:

> From 0854ffe7bd25ce883fbe63f4862929239e7a1907 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.

Applied, thanks!  :-)

Ludo’.
diff mbox series

Patch

From 0854ffe7bd25ce883fbe63f4862929239e7a1907 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..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: <rpc/rpc.h> is missing from glibc when
                                ;; cross-compiling, so we have to disable NIS

base-commit: 511d584906c6304a3dc6ffcf7096bb14c6bee222
-- 
2.37.3