summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-10-01 22:08:30 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-10-01 22:09:26 +0200
commit63c7bb62c436f5c606190526bbabbfb55d42da92 (patch)
treea14456985c216f37ef068996f51084145f6fccf8 /gnu
parented756b4709b285ffea9225181786d8717464cd73 (diff)
downloadguix-63c7bb62c436f5c606190526bbabbfb55d42da92.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/openldap.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/openldap.scm b/gnu/packages/openldap.scm
index 99c5415008..da4eccbcd3 100644
--- a/gnu/packages/openldap.scm
+++ b/gnu/packages/openldap.scm
@@ -256,9 +256,14 @@ servers from Python programs.")
            (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 @@ servers from Python programs.")
        ("gnutls" ,gnutls)
        ("httpd" ,httpd)
        ("icu4c" ,icu4c)
+       ("iproute" ,iproute)
        ("libevent" ,libevent)
        ("libselinux" ,libselinux)
        ("linux-pam" ,linux-pam)