diff options
author | Marius Bakke <marius@gnu.org> | 2022-08-12 00:08:41 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-08-12 00:22:29 +0200 |
commit | 749d0d96a8c4c06939b95a9b381e1440d6207326 (patch) | |
tree | 4b45008bc6e84862b98d6a9171adccd3a887604d | |
parent | 22b6eb874012df48fcf8c682e02fdfdabc6e45e5 (diff) | |
download | guix-749d0d96a8c4c06939b95a9b381e1440d6207326.tar.gz |
gnu: unzip: Incorporate grafted changes.
* gnu/packages/compression.scm (unzip)[replacement]: Remove. [source](patches): Add unzip-CVE-2022-0529+CVE-2022-0530.patch. (unzip/fixed): Remove variable.
-rw-r--r-- | gnu/packages/compression.scm | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 26c151002c..9e0a132cfc 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -1749,7 +1749,6 @@ Compression ratios of 2:1 to 3:1 are common for text files.") (package (inherit zip) (name "unzip") (version "6.0") - (replacement unzip/fixed) (source (origin (method url-fetch) @@ -1795,7 +1794,9 @@ Compression ratios of 2:1 to 3:1 are common for text files.") "unzip-zipbomb-part3.patch" ;; https://github.com/madler/unzip/issues/2 - "unzip-32bit-zipbomb-fix.patch")))) + "unzip-32bit-zipbomb-fix.patch" + + "unzip-CVE-2022-0529+CVE-2022-0530.patch")))) (build-system gnu-build-system) ;; no inputs; bzip2 is not supported, since not compiled with BZ_NO_STDIO (arguments @@ -1840,15 +1841,6 @@ recreates the stored directory structure by default.") (license (license:non-copyleft "file://LICENSE" "See LICENSE in the distribution.")))) -(define unzip/fixed - (package (inherit unzip) - (source - (origin - (inherit (package-source unzip)) - (patches (append - (origin-patches (package-source unzip)) - (search-patches "unzip-CVE-2022-0529+CVE-2022-0530.patch"))))))) - (define-public ziptime (let ((commit "2a5bc9dfbf7c6a80e5f7cb4dd05b4036741478bc") (revision "0")) |