gnu: talloc: Update to 2.1.5.

* gnu/packages/samba.scm (talloc): Update to 2.1.5.
[arguments]: Modify wscript to skip the 'magic_differs' test.
This commit is contained in:
宋文武 2015-12-18 10:08:33 +08:00
parent 960ae0cde4
commit 095da02342
1 changed files with 7 additions and 2 deletions

View File

@ -169,20 +169,25 @@ Desktops into Active Directory environments using the winbind daemon.")
(define-public talloc (define-public talloc
(package (package
(name "talloc") (name "talloc")
(version "2.1.2") (version "2.1.5")
(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
"13c365f7y8idjf2v1jxdjpkc3lxdmsxxfxjx1ymianm7zjiph393")))) "1pfx3kmj973hpacfw46fzfnjd7ms1j03ifkc30wk930brx8ffcrq"))))
(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
;; place where wscript expected.
;; Skip the test.
(substitute* "wscript"
(("magic_ret = .*") "magic_ret = 0\n"))
;; talloc uses a custom configuration script that runs a ;; talloc uses a custom configuration script that runs a
;; python script called 'waf'. ;; python script called 'waf'.
(setenv "CONFIG_SHELL" (which "sh")) (setenv "CONFIG_SHELL" (which "sh"))