From 02d1d6907ee6fcda816b287bddc4dc64878523b4 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 9 Feb 2025 21:36:15 +0100 Subject: [PATCH] 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 --- gnu/packages/openldap.scm | 41 +++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/gnu/packages/openldap.scm b/gnu/packages/openldap.scm index efc4a9cc06c..8d3c94e8ae9 100644 --- a/gnu/packages/openldap.scm +++ b/gnu/packages/openldap.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2013, 2014, 2015, 2019, 2020 Ludovic Courtès ;;; Copyright © 2013, 2023 Andreas Enge ;;; Copyright © 2016, 2021 Leo Famulari -;;; Copyright © 2017, 2018, 2019, 2021, 2022, 2023 Ricardo Wurmus +;;; Copyright © 2017, 2018, 2019, 2021, 2022, 2023, 2025 Ricardo Wurmus ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2019 Mathieu Othacehe ;;; Copyright © 2020 Lars-Dominik Braun @@ -136,35 +136,34 @@ (define-public nss-pam-ldapd (package (name "nss-pam-ldapd") - (version "0.9.12") + (version "0.9.13") (source (origin (method url-fetch) (uri (string-append "https://arthurdejong.org/nss-pam-ldapd/" "nss-pam-ldapd-" version ".tar.gz")) (sha256 (base32 - "050fzcmxmf6y15dlcffc4gxr3wkk7fliqqwhlwqzbjwk8vkn3mn6")))) + "0vbi3h9v8ai3j1ppmpy2qd2k89l5ww2y4086pmkbncxmgkhq85z0")))) (build-system gnu-build-system) (arguments - `(#:configure-flags - (list (string-append "--with-pam-seclib-dir=" - (assoc-ref %outputs "out") "/lib/security/") - ;; nslcd cannot be convinced to look at run-time for its - ;; configuration file at a location that differs from the - ;; configured location. - "--with-ldap-conf-file=/etc/nslcd.conf") + (list + #:configure-flags + #~(list (string-append "--with-pam-seclib-dir=" #$output "/lib/security/") + ;; nslcd cannot be convinced to look at run-time for its + ;; configuration file at a location that differs from the + ;; configured location. + "--with-ldap-conf-file=/etc/nslcd.conf") #:phases - (modify-phases %standard-phases - ;; This is necessary because we tell nslcd with configure flags that - ;; it should look for its configuration file at /etc/nslcd.conf. The - ;; build system tries to install a default configuration to that very - ;; location. - (add-after 'unpack 'override-nslcd.conf-install-path - (lambda* (#:key outputs #:allow-other-keys) - (substitute* "Makefile.in" - (("\\$\\(DESTDIR\\)\\$\\(NSLCD_CONF_PATH\\)") - (string-append (assoc-ref outputs "out") - "/etc/nslcd.conf.example")))))))) + #~(modify-phases %standard-phases + ;; This is necessary because we tell nslcd with configure flags that + ;; it should look for its configuration file at /etc/nslcd.conf. The + ;; build system tries to install a default configuration to that very + ;; location. + (add-after 'unpack 'override-nslcd.conf-install-path + (lambda _ + (substitute* "Makefile.in" + (("\\$\\(DESTDIR\\)\\$\\(NSLCD_CONF_PATH\\)") + (string-append #$output "/etc/nslcd.conf.example")))))))) (inputs (list linux-pam openldap mit-krb5 python)) (home-page "https://arthurdejong.org/nss-pam-ldapd")