summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/guacamole-client/package.py15
-rw-r--r--var/spack/repos/builtin/packages/guacamole-server/package.py9
2 files changed, 20 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/guacamole-client/package.py b/var/spack/repos/builtin/packages/guacamole-client/package.py
index 7b1cb8d11c..1aed681f84 100644
--- a/var/spack/repos/builtin/packages/guacamole-client/package.py
+++ b/var/spack/repos/builtin/packages/guacamole-client/package.py
@@ -15,6 +15,19 @@ class GuacamoleClient(MavenPackage):
license("Apache-2.0")
+ version("1.5.5", sha256="ebbd3c0b73ddafbf6656d11324163f5b8d410f94b472791e6fa75fca13a5d30b")
version("1.2.0", sha256="2327368a32e61cf82032311be79ded4e5eefbc59ac9fb6e0a054b4f49168843e")
- depends_on("java@8", type=("build", "run"))
+ # remove usage of deprecated AccessController class, deprecated in java 17
+ patch(
+ "https://github.com/apache/guacamole-client/commit/b315e6aac84550948763a2bc99f12ceb2a28dca1.patch?full_index=1",
+ sha256="3529eb8bfd3d025682463cbce3f5a58bdbcacfa58c915c5471e00913c89f7474",
+ when="@1.5:1.5.5",
+ )
+
+ depends_on("java@8:", type=("build", "run"))
+ depends_on("java@:16", type=("build", "run"), when="@:1.4")
+
+ def build_args(self):
+ # The file .spack_patched is flagged as an unapproved license
+ return ["-Drat.numUnapprovedLicenses=1"]
diff --git a/var/spack/repos/builtin/packages/guacamole-server/package.py b/var/spack/repos/builtin/packages/guacamole-server/package.py
index 42ac61c925..0b0805dcc1 100644
--- a/var/spack/repos/builtin/packages/guacamole-server/package.py
+++ b/var/spack/repos/builtin/packages/guacamole-server/package.py
@@ -16,15 +16,18 @@ class GuacamoleServer(AutotoolsPackage):
license("GPL-3.0-or-later")
- version("1.1.0", sha256="d0f0c66ebfa7a4fd6689ae5240f21797b5177945a042388b691b15b8bd5c81a8")
+ version("1.5.5", sha256="50430c0f0f3b92f2cd3e60436fab0cedee8c1a9f762696a666016347039c731e")
+ with default_args(deprecated=True):
+ # https://nvd.nist.gov/vuln/detail/CVE-2023-43826
+ version("1.1.0", sha256="d0f0c66ebfa7a4fd6689ae5240f21797b5177945a042388b691b15b8bd5c81a8")
- depends_on("c", type="build") # generated
+ depends_on("c", type="build")
depends_on("autoconf", type="build")
depends_on("automake", type="build")
depends_on("libtool", type="build")
depends_on("m4", type="build")
- depends_on("cairo")
+ depends_on("cairo +pdf +png") # pdf enables zlib support required for CairoScript
depends_on("libjpeg")
depends_on("libpng")
depends_on("uuid")