gnu: 389-ds-base: Fix tool references.
* gnu/packages/openldap.scm (389-ds-base)[arguments]: Rename phase "fix-includes" to "fix-references" and fix references to certutil and c_rehash. [inputs]: Add nss:bin.
This commit is contained in:
parent
35f9c6628f
commit
19a0a060d2
1 changed files with 7 additions and 1 deletions
|
@ -230,10 +230,15 @@ (define-public 389-ds-base
|
||||||
"--disable-perl")
|
"--disable-perl")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'fix-includes
|
(add-after 'unpack 'fix-references
|
||||||
(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/nss_ssl.py"
|
||||||
|
(("'/usr/bin/certutil'")
|
||||||
|
(string-append "'" (which "certutil") "'"))
|
||||||
|
(("'/usr/bin/c_rehash'")
|
||||||
|
(string-append "'" (which "perl") "', '" (which "c_rehash") "'")))
|
||||||
#t))
|
#t))
|
||||||
(add-after 'unpack 'fix-install-location-of-python-tools
|
(add-after 'unpack 'fix-install-location-of-python-tools
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
@ -305,6 +310,7 @@ (define-public 389-ds-base
|
||||||
("net-snmp" ,net-snmp)
|
("net-snmp" ,net-snmp)
|
||||||
("nspr" ,nspr)
|
("nspr" ,nspr)
|
||||||
("nss" ,nss)
|
("nss" ,nss)
|
||||||
|
("nss:bin" ,nss "bin") ; for certutil
|
||||||
("openldap" ,openldap)
|
("openldap" ,openldap)
|
||||||
("openssl" ,openssl) ; #included by net-snmp
|
("openssl" ,openssl) ; #included by net-snmp
|
||||||
("pcre" ,pcre)
|
("pcre" ,pcre)
|
||||||
|
|
Loading…
Reference in a new issue