mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-04-30 14:18:38 +02:00
updating openldap
This commit is contained in:
parent
c2d2a94640
commit
9d92e99d6b
1 changed files with 45 additions and 2 deletions
|
@ -129,9 +129,52 @@
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
(define-public nss-pam-ldapd
|
(define-public nss-pam-ldapd
|
||||||
(package
|
(package
|
||||||
(inherit gnu:nss-pam-ldapd)
|
(name "nss-pam-ldapd")
|
||||||
|
(version "0.9.12")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "https://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-" version ".tar.gz"))
|
||||||
|
(sha256 (base32 "050fzcmxmf6y15dlcffc4gxr3wkk7fliqqwhlwqzbjwk8vkn3mn6"))
|
||||||
|
))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
`(
|
||||||
|
#:configure-flags
|
||||||
|
(list (string-append
|
||||||
|
"--with-pam-seclib-dir=" (assoc-ref %outputs "out") "/lib/security/")
|
||||||
|
"--with-ldap-conf-file=/etc/nslcd.conf"
|
||||||
|
)
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(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")
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(inputs `(
|
||||||
|
("linux-pam" ,linux-pam)
|
||||||
|
("openldap" ,openldap)
|
||||||
|
("mit-krb5" ,mit-krb5)
|
||||||
|
("python" ,python)
|
||||||
|
))
|
||||||
|
(home-page "https://arthurdejong.org/nss-pam-ldapd")
|
||||||
|
(synopsis "NSS and PAM modules for LDAP")
|
||||||
|
(description "nss-pam-ldapd provides a @dfn{Name Service Switch} (NSS)
|
||||||
|
module that allows your LDAP server to provide user account, group, host name,
|
||||||
|
alias, netgroup, and basically any other information that you would normally
|
||||||
|
get from @file{/etc} flat files or NIS. It also provides a @dfn{Pluggable
|
||||||
|
Authentication Module} (PAM) to do identity and authentication management with
|
||||||
|
an LDAP server.")
|
||||||
|
(license lgpl2.1+)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue