2022-01-13 03:21:41 +08:00
|
|
|
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
|
2020-02-24 12:07:39 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2022-05-29 00:55:44 +08:00
|
|
|
from spack.package import *
|
2020-02-24 12:07:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
class Bubblewrap(AutotoolsPackage):
|
|
|
|
"""Unprivileged sandboxing tool"""
|
|
|
|
|
|
|
|
homepage = "https://github.com/containers/bubblewrap"
|
2022-04-19 16:09:26 +08:00
|
|
|
url = "https://github.com/containers/bubblewrap/releases/download/v0.3.0/bubblewrap-0.3.0.tar.xz"
|
|
|
|
maintainers = ['haampie']
|
2020-02-24 12:07:39 +08:00
|
|
|
|
2022-04-19 16:09:26 +08:00
|
|
|
version('0.6.1', sha256='9609c7dc162bc68abc29abfab566934fdca37520a15ed01b675adcf3a4303282')
|
|
|
|
version('0.6.0', sha256='11393cf2058f22e6a6c6e9cca3c85ff4c4239806cb28fee657c62a544df35693')
|
|
|
|
version('0.5.0', sha256='16fdaf33799d63104e347e0133f909196fe90d0c50515d010bcb422eb5a00818')
|
|
|
|
version('0.4.1', sha256='b9c69b9b1c61a608f34325c8e1a495229bacf6e4a07cbb0c80cf7a814d7ccc03')
|
|
|
|
version('0.4.0', sha256='e5fe7d2f74bd7029b5306b0b70587cec31f74357739295e5276b4a3718712023')
|
|
|
|
version('0.3.3', sha256='c6a45f51794a908b76833b132471397a7413f07620af08e76c273d9f7b364dff')
|
|
|
|
version('0.3.1', sha256='deca6b608c54df4be0669b8bb6d254858924588e9f86e116eb04656a3b6d4bf8')
|
2020-02-24 12:07:39 +08:00
|
|
|
|
2022-04-19 16:09:26 +08:00
|
|
|
def configure_args(self):
|
|
|
|
return [
|
|
|
|
'--disable-sudo',
|
|
|
|
'--disable-man',
|
|
|
|
'--without-bash-completion-dir',
|
|
|
|
]
|
2020-02-24 12:07:39 +08:00
|
|
|
|
2022-04-19 16:09:26 +08:00
|
|
|
depends_on('pkgconfig', type='build')
|
|
|
|
depends_on('libcap')
|