gnu: talloc: Update to 2.1.11.

* gnu/packages/samba.scm (talloc): Update to 2.1.11.
[arguments]: Run all tests.  Use INVOKE.
This commit is contained in:
Tobias Geerinckx-Rice 2018-01-15 07:30:13 +01:00
parent a9691718e8
commit adbfc6b9f1
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 6 additions and 11 deletions

View File

@ -233,31 +233,26 @@ Desktops into Active Directory environments using the winbind daemon.")
(define-public talloc (define-public talloc
(package (package
(name "talloc") (name "talloc")
(version "2.1.10") (version "2.1.11")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://www.samba.org/ftp/talloc/talloc-" (uri (string-append "https://www.samba.org/ftp/talloc/talloc-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"06gn45if56g81vbj3841fzdjsahrrczwqpfrydm2zv6nxd5yk1f9")))) "1lzfxv2zjxap5snf9ydl1bqgjpz0kgkq7n644f8rkbx0arav77k3"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:phases '(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'configure (replace 'configure
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
;; test_magic_differs.sh has syntax error, and is not in the right ;; talloc uses a custom configuration script that runs a Python
;; place where wscript expected. ;; script called 'waf', and doesn't tolerate unknown options.
;; Skip the test.
(substitute* "wscript"
(("magic_ret = .*") "magic_ret = 0\n"))
;; talloc uses a custom configuration script that runs a
;; python script called 'waf'.
(setenv "CONFIG_SHELL" (which "sh")) (setenv "CONFIG_SHELL" (which "sh"))
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))
(zero? (system* "./configure" (invoke "./configure"
(string-append "--prefix=" out))))))))) (string-append "--prefix=" out))))))))
(inputs (inputs
`(("python" ,python-2))) `(("python" ,python-2)))
(home-page "https://talloc.samba.org") (home-page "https://talloc.samba.org")