Merge branch 'master' into staging

This commit is contained in:
Marius Bakke 2017-09-20 18:49:26 +02:00
commit 58366883f2
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA
156 changed files with 7450 additions and 2645 deletions

View file

@ -1542,22 +1542,24 @@ manipulate, read, and write Zip archive files.")
(define-public libzip
(package
(name "libzip")
(version "1.2.0")
(version "1.3.0")
(source (origin
(method url-fetch)
(uri (string-append
"https://nih.at/libzip/libzip-" version ".tar.gz"))
(patches (search-patches "libzip-CVE-2017-12858.patch"))
"https://nih.at/libzip/libzip-" version ".tar.xz"))
(sha256
(base32
"17vxj2ffsxwh8lkc6801ppmwj15jp8q58rin76znxfbx88789ybc"))))
"0wykw0q9dwdzx0gssi2dpgckx9ggr2spzc1amjnff6wi6kz6x4xa"))))
(arguments
`(#:phases
'(#:phases
(modify-phases %standard-phases
(add-before 'configure 'patch-perl
(add-after 'build 'remove-failing-tests
;; These tests are known to fail on 32-bit architectures.
;; see thread: https://nih.at/listarchive/libzip-discuss/msg00713.html
(lambda _
(substitute* "regress/runtest.in"
(("/usr/bin/env perl") (which "perl"))))))))
(substitute* "regress/Makefile"
(("encryption-nonrandom") "#encryption-nonrandom"))
#t)))))
(native-inputs
`(("perl" ,perl)))
(inputs