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).master
parent
d2cd4134c1
commit
008ad64890
|
@ -1569,26 +1569,26 @@ recreates the stored directory structure by default.")
|
||||||
(define-public zziplib
|
(define-public zziplib
|
||||||
(package
|
(package
|
||||||
(name "zziplib")
|
(name "zziplib")
|
||||||
(version "0.13.69")
|
(version "0.13.71")
|
||||||
(home-page "https://github.com/gdraheim/zziplib")
|
(home-page "https://github.com/gdraheim/zziplib")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference (url home-page)
|
(uri (git-reference (url home-page)
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name 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
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0fbk9k7ryas2wh2ykwkvm1pbi40i88rfvc3dydh9xyd7w2jcki92"))))
|
"109vznm9cxkqbj5r83qdgcdfk0j4kbg96dqr0q085nhwpgkw7viz"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases (modify-phases %standard-phases
|
`(#:phases
|
||||||
(add-before 'check 'make-files-writable
|
(modify-phases %standard-phases
|
||||||
(lambda _
|
(add-after 'unpack 'make-files-writable
|
||||||
(for-each make-file-writable
|
(lambda _
|
||||||
(find-files "test" #:directories? #t))
|
(for-each make-file-writable
|
||||||
#t)))
|
(find-files "." #:directories? #t))
|
||||||
|
#t)))
|
||||||
;; XXX: The default test target attempts to download external resources and
|
;; XXX: The default test target attempts to download external resources and
|
||||||
;; fails without error: <https://github.com/gdraheim/zziplib/issues/53>.
|
;; fails without error: <https://github.com/gdraheim/zziplib/issues/53>.
|
||||||
;; To prevent confusing log messages, just run a simple zip test that works.
|
;; 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)))
|
`(("zlib" ,zlib)))
|
||||||
(native-inputs `(("perl" ,perl) ; for the documentation
|
(native-inputs `(("perl" ,perl) ; for the documentation
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
;; for the documentation; Python 3 not supported,
|
("python" ,python)
|
||||||
;; http://forums.gentoo.org/viewtopic-t-863161-start-0.html
|
|
||||||
("python" ,python-2)
|
|
||||||
("zip" ,zip))) ; to create test files
|
("zip" ,zip))) ; to create test files
|
||||||
(synopsis "Library for accessing zip files")
|
(synopsis "Library for accessing zip files")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue