gnu: ldb: Downgrade to 1.3.3.
LDB 1.4 and above does not support Samba < 4.9; see <https://bugzilla.samba.org/show_bug.cgi?id=13519>. * gnu/packages/samba.scm (ldb): Downgrade to 1.3.3. [inputs]: Remove LMDB. [arguments]: Remove #:tests.
This commit is contained in:
parent
b7a2d2d9a9
commit
041f84edf3
|
@ -341,14 +341,14 @@ many event types, including timers, signals, and the classic file descriptor eve
|
||||||
(define-public ldb
|
(define-public ldb
|
||||||
(package
|
(package
|
||||||
(name "ldb")
|
(name "ldb")
|
||||||
(version "1.4.0")
|
(version "1.3.3")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://www.samba.org/ftp/ldb/ldb-"
|
(uri (string-append "https://www.samba.org/ftp/ldb/ldb-"
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1d591ny4j4s409s2afjv4fn7inqlclr0zlyclw3619rkbaixlzm8"))
|
"14gsrm7dvyjpbpnc60z75j6fz2p187abm2h353lq95kx2bv70c1b"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
|
@ -361,10 +361,7 @@ many event types, including timers, signals, and the classic file descriptor eve
|
||||||
#t))))
|
#t))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(;; LMDB is only supported on 64-bit systems, yet the test suite
|
'(#:phases
|
||||||
;; requires it.
|
|
||||||
#:tests? (assoc-ref %build-inputs "lmdb")
|
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
;; ldb use a custom configuration script that runs waf.
|
;; ldb use a custom configuration script that runs waf.
|
||||||
|
@ -384,10 +381,7 @@ many event types, including timers, signals, and the classic file descriptor eve
|
||||||
`(("talloc" ,talloc)
|
`(("talloc" ,talloc)
|
||||||
("tdb" ,tdb)))
|
("tdb" ,tdb)))
|
||||||
(inputs
|
(inputs
|
||||||
`(,@(if (target-64bit?)
|
`(("popt" ,popt)
|
||||||
`(("lmdb" ,lmdb))
|
|
||||||
'())
|
|
||||||
("popt" ,popt)
|
|
||||||
("tevent" ,tevent)))
|
("tevent" ,tevent)))
|
||||||
(synopsis "LDAP-like embedded database")
|
(synopsis "LDAP-like embedded database")
|
||||||
(home-page "https://ldb.samba.org/")
|
(home-page "https://ldb.samba.org/")
|
||||||
|
|
Loading…
Reference in New Issue