me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 6 additions and 0 deletions

View File

@ -256,9 +256,14 @@ servers from Python programs.")
(lambda _ (lambda _
(substitute* "include/ldaputil/certmap.h" (substitute* "include/ldaputil/certmap.h"
(("nss3/cert.h") "nss/cert.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" (substitute* "src/lib389/lib389/nss_ssl.py"
(("'/usr/bin/certutil'") (("'/usr/bin/certutil'")
(string-append "'" (which "certutil") "'")) (string-append "'" (which "certutil") "'"))
(("'/usr/bin/openssl'")
(string-append "'" (which "openssl") "'"))
(("'/usr/bin/c_rehash'") (("'/usr/bin/c_rehash'")
(string-append "'" (which "perl") "', '" (string-append "'" (which "perl") "', '"
(which "c_rehash") "'"))))) (which "c_rehash") "'")))))
@ -330,6 +335,7 @@ servers from Python programs.")
("gnutls" ,gnutls) ("gnutls" ,gnutls)
("httpd" ,httpd) ("httpd" ,httpd)
("icu4c" ,icu4c) ("icu4c" ,icu4c)
("iproute" ,iproute)
("libevent" ,libevent) ("libevent" ,libevent)
("libselinux" ,libselinux) ("libselinux" ,libselinux)
("linux-pam" ,linux-pam) ("linux-pam" ,linux-pam)