summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJonathon Anderson <jonathon.anderson@colorado.edu>2020-04-02 02:55:20 -0600
committerGitHub <noreply@github.com>2020-04-02 10:55:20 +0200
commit7d44a0090dc04ddaa81cb2653f2211e8928996e9 (patch)
tree108af7713a1b21a5a026be1ead00345211ad2a75 /var
parent60f29a9f80ea11a4a0a11c7265e336191f847b9d (diff)
downloadspack-7d44a0090dc04ddaa81cb2653f2211e8928996e9.tar.gz
spack-7d44a0090dc04ddaa81cb2653f2211e8928996e9.tar.bz2
spack-7d44a0090dc04ddaa81cb2653f2211e8928996e9.tar.xz
spack-7d44a0090dc04ddaa81cb2653f2211e8928996e9.zip
cryptsetup: added v2.2.2, v2.2.3 and v2.3.1 (#15823)
Also confined the included patch to the earlier versions, as indicated.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cryptsetup/package.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/cryptsetup/package.py b/var/spack/repos/builtin/packages/cryptsetup/package.py
index ccde594c84..99c14de004 100644
--- a/var/spack/repos/builtin/packages/cryptsetup/package.py
+++ b/var/spack/repos/builtin/packages/cryptsetup/package.py
@@ -16,6 +16,9 @@ class Cryptsetup(AutotoolsPackage):
# If you're adding newer versions, check whether the patch below
# still needs to be applied.
+ version('2.3.1', sha256='92aba4d559a2cf7043faed92e0f22c5addea36bd63f8c039ba5a8f3a159fe7d2')
+ version('2.2.3', sha256='2af0ec9551ab9c870074cae9d3f68d82cab004f4095fa89db0e4413713424a46')
+ version('2.2.2', sha256='2af0ec9551ab9c870074cae9d3f68d82cab004f4095fa89db0e4413713424a46')
version('2.2.1', sha256='94e79a31ed38bdb0acd9af7ccca1605a2ac62ca850ed640202876b1ee11c1c61')
depends_on('libuuid', type=('build', 'link'))
@@ -36,7 +39,7 @@ class Cryptsetup(AutotoolsPackage):
# the LDFLAGS. See https://gitlab.com/cryptsetup/cryptsetup/issues/479
# This *should* be unnecessary starting with release 2.2.2, see
# https://gitlab.com/cryptsetup/cryptsetup/issues/479#note_227617031
- patch('autotools-libintl.patch')
+ patch('autotools-libintl.patch', when='@:2.2.1')
def url_for_version(self, version):
url = "https://www.kernel.org/pub/linux/utils/cryptsetup/v{0}/cryptsetup-{1}.tar.xz"