summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWouter Deconinck <wdconinc@gmail.com>2024-11-04 02:57:40 -0600
committerGitHub <noreply@github.com>2024-11-04 09:57:40 +0100
commit8296aaf175bc9a6401d9eb9546c8c4e0471d82c2 (patch)
tree2b52847535e45a360db327cfde9813b9906694e8
parent86ebcabd46210f2db297e05645843dfbd5405ea0 (diff)
downloadspack-8296aaf175bc9a6401d9eb9546c8c4e0471d82c2.tar.gz
spack-8296aaf175bc9a6401d9eb9546c8c4e0471d82c2.tar.bz2
spack-8296aaf175bc9a6401d9eb9546c8c4e0471d82c2.tar.xz
spack-8296aaf175bc9a6401d9eb9546c8c4e0471d82c2.zip
minizip: add v1.3.1 (#47379)
-rw-r--r--var/spack/repos/builtin/packages/minizip/package.py15
1 files changed, 10 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/minizip/package.py b/var/spack/repos/builtin/packages/minizip/package.py
index 55aa8c2cea..af3ac94d21 100644
--- a/var/spack/repos/builtin/packages/minizip/package.py
+++ b/var/spack/repos/builtin/packages/minizip/package.py
@@ -14,10 +14,14 @@ class Minizip(AutotoolsPackage):
license("Zlib")
- version("1.2.11", sha256="c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1")
+ version("1.3.1", sha256="9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23")
+ with default_args(deprecated=True):
+ # https://nvd.nist.gov/vuln/detail/CVE-2022-37434
+ version(
+ "1.2.11", sha256="c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1"
+ )
- depends_on("c", type="build") # generated
- depends_on("cxx", type="build") # generated
+ depends_on("c", type="build")
configure_directory = "contrib/minizip"
@@ -28,8 +32,9 @@ class Minizip(AutotoolsPackage):
depends_on("zlib-api")
# error: implicit declaration of function 'mkdir' is invalid in C99
- patch("implicit.patch", when="%apple-clang@12:")
- patch("implicit.patch", when="%gcc@7.3.0:")
+ with when("@:1.2.11"):
+ patch("implicit.patch", when="%apple-clang@12:")
+ patch("implicit.patch", when="%gcc@7.3.0:")
# statically link to libz.a
# https://github.com/Homebrew/homebrew-core/blob/master/Formula/minizip.rb