gnu: 389-ds-base: Substitute more tool references.

* gnu/packages/openldap.scm (389-ds-base)[arguments]: Substitute references to
"ip" and "openssl".
[inputs]: Add iproute.
This commit is contained in:
Ricardo Wurmus 2021-10-01 22:08:30 +02:00
parent ed756b4709
commit 63c7bb62c4
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -256,9 +256,14 @@ (define-public 389-ds-base
(lambda _
(substitute* "include/ldaputil/certmap.h"
(("nss3/cert.h") "nss/cert.h"))
(substitute* "src/lib389/lib389/utils.py"
(("'/sbin/ip'")
(string-append "'" (which "ip") "'")))
(substitute* "src/lib389/lib389/nss_ssl.py"
(("'/usr/bin/certutil'")
(string-append "'" (which "certutil") "'"))
(("'/usr/bin/openssl'")
(string-append "'" (which "openssl") "'"))
(("'/usr/bin/c_rehash'")
(string-append "'" (which "perl") "', '"
(which "c_rehash") "'")))))
@ -330,6 +335,7 @@ (define-public 389-ds-base
("gnutls" ,gnutls)
("httpd" ,httpd)
("icu4c" ,icu4c)
("iproute" ,iproute)
("libevent" ,libevent)
("libselinux" ,libselinux)
("linux-pam" ,linux-pam)