summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/conmon/package.py
diff options
context:
space:
mode:
authorBernhard Kaindl <43588962+bernhardkaindl@users.noreply.github.com>2021-11-29 15:39:19 +0100
committerGitHub <noreply@github.com>2021-11-29 15:39:19 +0100
commit48d98b4c9e03d9363e648c09e6cdaf1e6e7a53f5 (patch)
treec504de909649a7ce0bd17f08ee9fb7fa26e7cfb5 /var/spack/repos/builtin/packages/conmon/package.py
parent64c4fbd220508f86a1998a3677994578cfece2b3 (diff)
downloadspack-48d98b4c9e03d9363e648c09e6cdaf1e6e7a53f5.tar.gz
spack-48d98b4c9e03d9363e648c09e6cdaf1e6e7a53f5.tar.bz2
spack-48d98b4c9e03d9363e648c09e6cdaf1e6e7a53f5.tar.xz
spack-48d98b4c9e03d9363e648c09e6cdaf1e6e7a53f5.zip
podman: new package (with dependencies) (#27603)
When the uidmap tools are installed on a system, this allows to run containers as unprivileged user (rootless and daemonless) slimilar to singularity, but using a familiar CLI: "alias docker=podman" This is helpful to run e.g. spack builds in containers to reproduce build failures from CI without requiring a installation of docker. The required dependencies of podman are added as well.
Diffstat (limited to 'var/spack/repos/builtin/packages/conmon/package.py')
-rw-r--r--var/spack/repos/builtin/packages/conmon/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/conmon/package.py b/var/spack/repos/builtin/packages/conmon/package.py
new file mode 100644
index 0000000000..73589b3914
--- /dev/null
+++ b/var/spack/repos/builtin/packages/conmon/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2021 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 import *
+
+
+class Conmon(MakefilePackage):
+ """An OCI container runtime monitor"""
+
+ homepage = 'https://github.com/containers/conmon'
+ url = 'https://github.com/containers/conmon/archive/v2.0.30.tar.gz'
+ maintainers = ['bernhardkaindl']
+
+ version('2.0.30', sha256='4b0a98fbe8a63c42f60edac25c19aa6606caa7b1e4fe7846fc7f7de0b566ba25')
+
+ depends_on('go', type='build')
+ depends_on('go-md2man', type='build')
+ depends_on('pkgconfig', type='build')
+ depends_on('libseccomp')
+ depends_on('glib')
+
+ def install(self, spec, prefix):
+ make('install', 'PREFIX=' + prefix)