summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWouter Deconinck <wdconinc@gmail.com>2024-10-18 12:09:29 -0500
committerGitHub <noreply@github.com>2024-10-18 19:09:29 +0200
commit1d25275bd1cc04aba54c79da60e5787b1a26cd99 (patch)
tree346e15c3b19242569f49dbf2e9649027c025997d
parent7678635d362a319a4bfc5ce6b378895896059954 (diff)
downloadspack-1d25275bd1cc04aba54c79da60e5787b1a26cd99.tar.gz
spack-1d25275bd1cc04aba54c79da60e5787b1a26cd99.tar.bz2
spack-1d25275bd1cc04aba54c79da60e5787b1a26cd99.tar.xz
spack-1d25275bd1cc04aba54c79da60e5787b1a26cd99.zip
cassandra: add v5.0.1 (fix CVEs) (#47058)
* cassandra: add v5.0.1 * [@spackbot] updating style on behalf of wdconinc --------- Co-authored-by: wdconinc <wdconinc@users.noreply.github.com>
-rw-r--r--var/spack/repos/builtin/packages/cassandra/package.py39
1 files changed, 22 insertions, 17 deletions
diff --git a/var/spack/repos/builtin/packages/cassandra/package.py b/var/spack/repos/builtin/packages/cassandra/package.py
index 36f89c148d..7464bef4bd 100644
--- a/var/spack/repos/builtin/packages/cassandra/package.py
+++ b/var/spack/repos/builtin/packages/cassandra/package.py
@@ -12,25 +12,30 @@ class Cassandra(Package):
organized into tables with a required primary key.
"""
- homepage = "https://github.com/apache/cassandra"
+ homepage = "https://cassandra.apache.org/"
url = "https://archive.apache.org/dist/cassandra/4.0.1/apache-cassandra-4.0.1-bin.tar.gz"
- license("Apache-2.0")
-
- version("4.0.1", sha256="ed7022e30d9b77d9ce1072f8de95ab01ef7c5c6ed30f304e413dd5a3f92a52f8")
- version("3.11.11", sha256="a5639af781005410995a96f512d505c1def7b70cf5bbbec52e7cd5ff31b6cea3")
- version(
- "3.11.6",
- sha256="ce34edebd1b6bb35216ae97bd06d3efc338c05b273b78267556a99f85d30e45b",
- deprecated=True,
- )
- version(
- "3.11.5",
- sha256="a765adcaa42a6c881f5e79d030854d082900992cc11da40eee413bb235970a6a",
- deprecated=True,
- )
- version("2.2.19", sha256="5496c0254a66b6d50bde7999d1bab9129b0406b71ad3318558f4d7dbfbed0ab9")
-
+ license("Apache-2.0", checked_by="wdconinc")
+
+ version("5.0.1", sha256="73f4c807b0aa4036500d5dc54e30ef82bcf549ab1917eff2bbc7189b0337ea84")
+ with default_args(deprecated=True):
+ # https://nvd.nist.gov/vuln/detail/CVE-2021-44521
+ version("4.0.1", sha256="ed7022e30d9b77d9ce1072f8de95ab01ef7c5c6ed30f304e413dd5a3f92a52f8")
+ version(
+ "3.11.11", sha256="a5639af781005410995a96f512d505c1def7b70cf5bbbec52e7cd5ff31b6cea3"
+ )
+ version(
+ "3.11.6", sha256="ce34edebd1b6bb35216ae97bd06d3efc338c05b273b78267556a99f85d30e45b"
+ )
+ version(
+ "3.11.5", sha256="a765adcaa42a6c881f5e79d030854d082900992cc11da40eee413bb235970a6a"
+ )
+ # https://nvd.nist.gov/vuln/detail/CVE-2020-17516
+ version(
+ "2.2.19", sha256="5496c0254a66b6d50bde7999d1bab9129b0406b71ad3318558f4d7dbfbed0ab9"
+ )
+
+ depends_on("java@11:", type=("build", "run"), when="@5:")
depends_on("java@9:", type=("build", "run"), when="@4.0.0:")
depends_on("java@:8", type=("build", "run"), when="@:3.11.11")