diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-05-16 21:26:58 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-05-16 21:27:12 +0200 |
commit | 008ad648902ecf6aca7811da795c2279b09474a3 (patch) | |
tree | 13190a006183c540cce81fd1299570a321121fbd | |
parent | d2cd4134c1960c76aa70f44d7356bc74494471c7 (diff) | |
download | guix-patches-008ad648902ecf6aca7811da795c2279b09474a3.tar guix-patches-008ad648902ecf6aca7811da795c2279b09474a3.tar.gz |
gnu: zziplib: Update to 0.13.71.
* gnu/packages/compression.scm (zziplib): Update to 0.13.71.
[arguments]: Make all source files writable after unpacking.
[native-inputs]: Use default Python (3).
-rw-r--r-- | gnu/packages/compression.scm | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index d21d79962a..e5488ee13c 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -1569,26 +1569,26 @@ recreates the stored directory structure by default.") (define-public zziplib (package (name "zziplib") - (version "0.13.69") + (version "0.13.71") (home-page "https://github.com/gdraheim/zziplib") (source (origin (method git-fetch) (uri (git-reference (url home-page) (commit (string-append "v" version)))) (file-name (git-file-name name version)) - (patches (search-patches "zziplib-CVE-2018-16548.patch")) +; (patches (search-patches "zziplib-CVE-2018-16548.patch")) (sha256 (base32 - "0fbk9k7ryas2wh2ykwkvm1pbi40i88rfvc3dydh9xyd7w2jcki92")))) + "109vznm9cxkqbj5r83qdgcdfk0j4kbg96dqr0q085nhwpgkw7viz")))) (build-system gnu-build-system) (arguments - `(#:phases (modify-phases %standard-phases - (add-before 'check 'make-files-writable - (lambda _ - (for-each make-file-writable - (find-files "test" #:directories? #t)) - #t))) - + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'make-files-writable + (lambda _ + (for-each make-file-writable + (find-files "." #:directories? #t)) + #t))) ;; XXX: The default test target attempts to download external resources and ;; fails without error: <https://github.com/gdraheim/zziplib/issues/53>. ;; To prevent confusing log messages, just run a simple zip test that works. @@ -1597,9 +1597,7 @@ recreates the stored directory structure by default.") `(("zlib" ,zlib))) (native-inputs `(("perl" ,perl) ; for the documentation ("pkg-config" ,pkg-config) - ;; for the documentation; Python 3 not supported, - ;; http://forums.gentoo.org/viewtopic-t-863161-start-0.html - ("python" ,python-2) + ("python" ,python) ("zip" ,zip))) ; to create test files (synopsis "Library for accessing zip files") (description |