summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorbernhardkaindl <43588962+bernhardkaindl@users.noreply.github.com>2021-09-29 13:24:08 +0200
committerGitHub <noreply@github.com>2021-09-29 11:24:08 +0000
commit80c8978691a0733b1bc74abb8edb17ba00877d73 (patch)
tree3f336085ac12b6fd031e61687d60c47e2cbe41f8 /var
parentab6b531e10b7443587676f9c2d7a37104194adca (diff)
downloadspack-80c8978691a0733b1bc74abb8edb17ba00877d73.tar.gz
spack-80c8978691a0733b1bc74abb8edb17ba00877d73.tar.bz2
spack-80c8978691a0733b1bc74abb8edb17ba00877d73.tar.xz
spack-80c8978691a0733b1bc74abb8edb17ba00877d73.zip
krb5: bump version and limit depends_on('openssl') to @1 (#26332)
krb5 uses an openssl RSA API which is deprecated in OpenSSL@3.0.0 with an const/non-const mismatch.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/krb5/package.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/krb5/package.py b/var/spack/repos/builtin/packages/krb5/package.py
index a082c8b728..3554f6f04d 100644
--- a/var/spack/repos/builtin/packages/krb5/package.py
+++ b/var/spack/repos/builtin/packages/krb5/package.py
@@ -14,6 +14,7 @@ class Krb5(AutotoolsPackage):
list_url = "https://kerberos.org/dist/krb5/"
list_depth = 1
+ version('1.19.2', sha256='10453fee4e3a8f8ce6129059e5c050b8a65dab1c257df68b99b3112eaa0cdf6a')
version('1.18.2', sha256='c6e4c9ec1a98141c3f5d66ddf1a135549050c9fab4e9a4620ee9b22085873ae0')
version('1.18.1', sha256='02a4e700f10936f937cd1a4c303cab8687a11abecc6107bd4b706b9329cd5400')
version('1.18', sha256='73913934d711dcf9d5f5605803578edb44b9a11786df3c1b2711f4e1752f2c88')
@@ -24,13 +25,14 @@ class Krb5(AutotoolsPackage):
version('1.16.1', sha256='214ffe394e3ad0c730564074ec44f1da119159d94281bbec541dc29168d21117')
depends_on('bison', type='build')
- depends_on('openssl')
+ depends_on('openssl@:1')
variant(
'shared', default=True,
description='install shared libraries if True, static if false'
)
- patch('mit-krb5-1.17-static-libs.patch', level=0)
+ # This patch is applied in newer upstream releases
+ patch('mit-krb5-1.17-static-libs.patch', level=0, when='@:1.18.9')
configure_directory = 'src'
build_directory = 'src'