gnu: strace: Update to 4.16.

* gnu/packages/linux.scm (strace): Update to 4.16.
[arguments]: Add phase to patch /bin/sh reference. New field.
[home-page]: Update to redirected URL.
This commit is contained in:
Marius Bakke 2017-02-22 10:09:03 +01:00
parent c762d09e89
commit 6983b8a826
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 11 additions and 3 deletions

View File

@ -811,17 +811,25 @@ images more compressible.")
(define-public strace (define-public strace
(package (package
(name "strace") (name "strace")
(version "4.7") (version "4.16")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://sourceforge/strace/strace/" version (uri (string-append "mirror://sourceforge/strace/strace/" version
"/strace-" version ".tar.xz")) "/strace-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"158iwk0pl2mfw93m1843xb7a2zb8p6lh0qim07rca6f1ff4dk764")))) "1vzhmpcy989i4k12q4cc438yal2ghhm6x7ychscjbhcf2yspqj4q"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-/bin/sh
(lambda _
(substitute* "strace.c"
(("/bin/sh") (which "sh")))
#t)))))
(native-inputs `(("perl" ,perl))) (native-inputs `(("perl" ,perl)))
(home-page "http://strace.sourceforge.net/") (home-page "https://strace.io/")
(synopsis "System call tracer for Linux") (synopsis "System call tracer for Linux")
(description (description
"strace is a system call tracer, i.e. a debugging tool which prints out a "strace is a system call tracer, i.e. a debugging tool which prints out a