diff options
author | Erik Schnetter <schnetter@gmail.com> | 2022-11-04 13:05:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-04 18:05:23 +0100 |
commit | 7d4373f526b772874412defa5576950a7d2ab9a6 (patch) | |
tree | 646062ea4077378f232bfe83e35e4819cb853387 | |
parent | 2caec6bd270a748bd0a06b3c6e605c8c4991c145 (diff) | |
download | spack-7d4373f526b772874412defa5576950a7d2ab9a6.tar.gz spack-7d4373f526b772874412defa5576950a7d2ab9a6.tar.bz2 spack-7d4373f526b772874412defa5576950a7d2ab9a6.tar.xz spack-7d4373f526b772874412defa5576950a7d2ab9a6.zip |
libressl: New package (#33709)
-rw-r--r-- | var/spack/repos/builtin/packages/libressl/package.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libressl/package.py b/var/spack/repos/builtin/packages/libressl/package.py new file mode 100644 index 0000000000..0455070034 --- /dev/null +++ b/var/spack/repos/builtin/packages/libressl/package.py @@ -0,0 +1,29 @@ +# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack.package import * + + +class Libressl(AutotoolsPackage): + """LibreSSL is a version of the TLS/crypto stack forked from OpenSSL + in 2014, with goals of modernizing the codebase, improving + security, and applying best practice development processes.""" + + homepage = "https://www.libressl.org" + url = "https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.6.1.tar.gz" + + maintainers = ["eschnett"] + + version("3.6.1", sha256="acfac61316e93b919c28d62d53037ca734de85c46b4d703f19fd8395cf006774") + + variant("shared", default=True, description="Build shared libraries") + variant("static", default=False, description="Build static libraries") + + def configure_args(self): + args = [ + "--enable-shared" if "+shared" in spec else "--disable-shared", + "--enable-static" if "+static" in spec else "--disable-static", + ] + return args |