gnu: nss-pam-ldapd: Update to 0.9.13.

* gnu/packages/openldap.scm (nss-pam-ldapd): Update to 0.9.13.
[arguments]: Use G-expressions.

Change-Id: Ib1cd8ebe847bae0f44a96599dc1d3faf1a84b0b6
This commit is contained in:
Ricardo Wurmus 2025-02-09 21:36:15 +01:00
parent 5f6fdadb4a
commit 02d1d6907e
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -2,7 +2,7 @@
;;; Copyright © 2013, 2014, 2015, 2019, 2020 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2013, 2014, 2015, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2023 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2013, 2023 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2016, 2021 Leo Famulari <leo@famulari.name> ;;; Copyright © 2016, 2021 Leo Famulari <leo@famulari.name>
;;; Copyright © 2017, 2018, 2019, 2021, 2022, 2023 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2017, 2018, 2019, 2021, 2022, 2023, 2025 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com> ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org> ;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org>
@ -136,35 +136,34 @@
(define-public nss-pam-ldapd (define-public nss-pam-ldapd
(package (package
(name "nss-pam-ldapd") (name "nss-pam-ldapd")
(version "0.9.12") (version "0.9.13")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://arthurdejong.org/nss-pam-ldapd/" (uri (string-append "https://arthurdejong.org/nss-pam-ldapd/"
"nss-pam-ldapd-" version ".tar.gz")) "nss-pam-ldapd-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"050fzcmxmf6y15dlcffc4gxr3wkk7fliqqwhlwqzbjwk8vkn3mn6")))) "0vbi3h9v8ai3j1ppmpy2qd2k89l5ww2y4086pmkbncxmgkhq85z0"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:configure-flags (list
(list (string-append "--with-pam-seclib-dir=" #:configure-flags
(assoc-ref %outputs "out") "/lib/security/") #~(list (string-append "--with-pam-seclib-dir=" #$output "/lib/security/")
;; nslcd cannot be convinced to look at run-time for its ;; nslcd cannot be convinced to look at run-time for its
;; configuration file at a location that differs from the ;; configuration file at a location that differs from the
;; configured location. ;; configured location.
"--with-ldap-conf-file=/etc/nslcd.conf") "--with-ldap-conf-file=/etc/nslcd.conf")
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
;; This is necessary because we tell nslcd with configure flags that ;; This is necessary because we tell nslcd with configure flags that
;; it should look for its configuration file at /etc/nslcd.conf. The ;; it should look for its configuration file at /etc/nslcd.conf. The
;; build system tries to install a default configuration to that very ;; build system tries to install a default configuration to that very
;; location. ;; location.
(add-after 'unpack 'override-nslcd.conf-install-path (add-after 'unpack 'override-nslcd.conf-install-path
(lambda* (#:key outputs #:allow-other-keys) (lambda _
(substitute* "Makefile.in" (substitute* "Makefile.in"
(("\\$\\(DESTDIR\\)\\$\\(NSLCD_CONF_PATH\\)") (("\\$\\(DESTDIR\\)\\$\\(NSLCD_CONF_PATH\\)")
(string-append (assoc-ref outputs "out") (string-append #$output "/etc/nslcd.conf.example"))))))))
"/etc/nslcd.conf.example"))))))))
(inputs (inputs
(list linux-pam openldap mit-krb5 python)) (list linux-pam openldap mit-krb5 python))
(home-page "https://arthurdejong.org/nss-pam-ldapd") (home-page "https://arthurdejong.org/nss-pam-ldapd")