me
/
guix
Archived
1
0
Fork 0
Commit Graph

50 Commits (17b69f51138fe9e8c90d118d3d60bb49a0435013)

Author SHA1 Message Date
Tomas Volf 17b69f5113
gnu: conmon: Update to 2.1.12.
* gnu/packages/containers.scm (conmon): Update to 2.1.12.

Change-Id: Ie5f5590b82467ef5a3cd981f1ba410c5bf8d9ff5
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-05-31 17:48:28 +08:00
Tomas Volf 6f72ad465c
gnu: buildah: Update to 1.36.0.
* gnu/packages/containers.scm (buildah): Update to 1.36.0.

Change-Id: Ic0ae640f34b1768fedb0b4859dbc2e48c9ccf407
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-05-29 12:24:55 +08:00
Tomas Volf 2d49d727b3
gnu: podman: Update to 5.0.3 [security fixes].
This fixes CVE-2024-3727.

* gnu/packages/containers.scm (podman): Update to 5.0.3.

Change-Id: Iefe98746c993830ef12c49733b8407b10305d065
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-05-23 13:18:31 +08:00
Tomas Volf 792155da11
gnu: buildah: Update to 1.35.4 [security fixes].
This fixes CVE-2024-3727 and CVE-2024-28180.

* gnu/packages/containers.scm (buildah): Update to 1.35.4.

Change-Id: I5ee2b4591b39ee85d7236aedda7a2508df8e0e48
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-05-23 13:09:18 +08:00
Tomas Volf 940fbce604
gnu: passt: Update to 2024_05_10.7288448.
* gnu/packages/containers.scm (passt): Update to 2024_05_10.7288448.

Change-Id: Ic7b1e3423ad18c0ce0f06ce111f3dfdab04e860f
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-05-23 11:45:53 +08:00
Tomas Volf 413ef75f89
gnu: buildah: Switch to gnu-build-system.
Buildah is fundamentally similar to podman and provides its own Makefile.
This commit switches from go-build-system to gnu-build-system so that the
build can be done using `make' instead of reinvention some parts (like
documentation) in the guile.  The package pretty much follows how podman
package looks like.

* gnu/packages/containers.scm (buildah)[source]: Reformat.
[build-system]: Use gnu-build-system.
[arguments]<#:import-path, #:unpack-path, #:go, #:install-source?>: Delete.
<#:make-flags>: Set make flags.
<#:test-target>: Set, even though the tests are disabled.
<#:imported-modules>: Also import (guix build go-build-system) for the
remove-go-references phase.
<#:phases>{'prepare-install-docs, 'build-docs, 'install-docs}: Delete.
{'configure}: Delete.
{'set-env, 'check, 'symlink-helpers, 'wrap-buildah, 'remove-go-references}
{'install-completions}: New phases.
[inputs]: Remove no longer used cni-plugins, conmon, runc.  Add bash-minimal.
[native-inputs]: Remove gnu-make, add go-1.21 and bats.

Change-Id: I0ddd5febb0116a71a857e2a98a9951dbe8bd40d9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-21 22:46:59 +01:00
Tomas Volf b55997d9df
gnu: podman: Revamp the package.
Substantial rework of the podman package.  The source is no longer patched (at
all) and all necessary modifications were moved into wrap-program and phases.

Not everything is supported out of the box, but description mentions what
packages to install to get additional functionality working.

* gnu/packages/containers.scm (podman)[source]: Remove snippet and patches.
[arguments]<#:make-flags>: Add HELPER_BINARIES_DIR.  Add GOMD2MAN to actually
use go-github-com-go-md2man package instead of the bundled version.
<#:imported-modules>: Add (guix build go-build-system).
<#:phases>{'set-env}: Set `CC' as an environment variable due to bug in make
before 4.4.
{'fix-hardcoded-paths}: Remove everything except patching `libexec' and `lib'
locations.
{'symlink-helpers}: New phase symlinking tools not discoverable via $PATH into
one directory (`HELPER_BINARIES_DIR').
{'wrap-podman}: New phase wrapping `podman' to set correct $PATH.
{'remove-go-references}: New phase stripping references to the golang
toolchain from the binaries.
[inputs]: Remove no longer needed cni-plugins, slirp4netns.  Remove referenced
in 'wrap-podman conmon, crun, iptables, passt.  Move go-github-com-go-md2man
into native-inputs.  Add bash-minimal.
[native-inputs]: Add custom grep with supported -P.  Use newer go.  Add
mandoc.
[description]: Explain how to get `podman compose' and `podman machine'
working.
* gnu/packages/patches/podman-program-lookup.patch: Delete file.

Change-Id: Ifc28971a68751831d781517b041eec951a617087
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-21 22:46:59 +01:00
Tomas Volf 4f02e0b7f8
gnu: buildah: Update to 1.35.3.
* gnu/packages/containers.scm (buildah): Update to 1.35.3.

Change-Id: I0a00d6a73079ddaa38a454856781adfc2d7f158f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-21 22:46:59 +01:00
Tomas Volf 19c1c385c7
gnu: gvisor-tap-vsock: Remove references to go.
This is handled automatically by go-build-system, but (obviously) not by the
gnu-build-system, so add the phase manually.

* gnu/packages/containers.scm (gvisor-tap-vsock)[arguments]<#:phases>: Add
'remove-go-references phase.

Change-Id: I5cef0bc03dfa7f219bdfec4226d0e7772401a5a5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-21 22:44:05 +01:00
Tomas Volf e89bfb919e
gnu: Add podman-compose.
* gnu/packages/containers.scm (podman-compose): New variable.

Change-Id: Ieb5ee4b6e82464599a17ec950be8a7dbb2efa842
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-21 22:44:05 +01:00
Wilke Schwiedop 2bfdc768d7
gnu: Add catatonit.
* gnu/packages/containers.scm (catatonit): New variable.

Change-Id: Ib6948bde8204426a8cb008982cb7cc9302f9e6d6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-21 22:33:57 +01:00
Tomas Volf 5bea6482e6
gnu: passt: Update to 2024_03_20.71dd405.
* gnu/packages/containers.scm (passt): Update to 2024_03_20.71dd405.

Change-Id: I089b7e9364058e59139bdb7cb942fad693254c1f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-21 22:16:36 +01:00
Tomas Volf d9e5c0f8d3
gnu: conmon: Update to 2.1.11.
* gnu/packages/containers.scm (conmon): Update to 2.1.11.

Change-Id: I2a46b2dcd344909da34199145fef4ad3fa4418de
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-21 22:16:36 +01:00
Tomas Volf 0d6815ae82
gnu: podman: Update to 5.0.2.
* gnu/packages/containers.scm (podman): Update to 5.0.2.

Change-Id: Id12c017e68f30db4ea99547beca54dbd01e3b029
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-21 22:16:36 +01:00
Tomas Volf abc62671e0
gnu: podman: Drop obsolete comment.
cgroup2 is now the default type.

* gnu/packages/containers.scm (podman): Drop the comment.

Change-Id: I197ed7e4901b26ad820295ed7adcaffd7bf533f5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-21 22:16:35 +01:00
Tomas Volf 5c5e2a7491
gnu: crun: Update to 1.15.
* gnu/packages/containers.scm (crun): Update to 1.15.

Change-Id: I769c15663bf668a967cf32243dd8139b6c949953
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-05-21 22:16:35 +01:00
Tomas Volf d86b6233d5
gnu: slirp4netns: Update to 1.3.0.
* gnu/packages/containers.scm (slirp4netns): Update to 1.3.0.

Change-Id: I1f9c75a6e3dab996465879cf6734799a8b9e9d53
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-05-13 09:11:06 +01:00
Jean-Pierre De Jesus DIAZ f094e43510
gnu: distrobox: Fix dependency usage.
* gnu/packages/containers.scm (distrobox): Use WRAP-SCRIPT to patch the
scripts to use system wget and podman.

Change-Id: Ida9affcb212f64892e85dfa8bc4dd4d59f832f4f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-03-22 11:40:33 +01:00
Jean-Pierre De Jesus DIAZ af1759bb9c
gnu: distrobox: Update to 1.7.0.
* gnu/packages/containers.scm (distrobox): Update to 1.7.0.

Change-Id: Ie62683317f6c984e5a64ce5436a17c8f2b7fbcf9
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-03-22 11:40:33 +01:00
Tomas Volf 93af6aecd9
gnu: Add gvisor-tap-vsock.
* gnu/packages/containers.scm (gvisor-tap-vsock): New variable.

Change-Id: I50c51613509e84998f17b4be593ce80c16002778
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-03-22 11:40:33 +01:00
Tomas Volf ca66f63600
gnu: cni-plugins: Update to 1.4.1.
* gnu/packages/containers.scm (cni-plugins): Update to 1.4.1.

Change-Id: I770504d4f3cf2c74cb14ce8ea37055742529db94
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-03-13 12:59:42 +00:00
Tomas Volf 6f5ea7ac1a
gnu: podman: Update to 4.9.3.
* gnu/packages/containers.scm (podman): Update to 4.9.3.
* gnu/packages/patches/podman-program-lookup.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: If764e8456a697d16b76cd4ba1243cc5f633a6049
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-03-02 17:23:26 +01:00
Tomas Volf 61694dc1cd
gnu: Add passt.
* gnu/packages/containers.scm (passt): New variable.

Change-Id: I2ebdd9d4255a89a86fb196568215b74bb61cb3a6
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-03-02 17:18:17 +01:00
Sharlatan Hellseher b24c1bab47
gnu: crun: Adjust package ideation.
The release package provides the configured version, so there is no need
to use git commit to adjust version detection.

* gnu/packages/containers.scm (crun): Remove let and indent the package.
[arguments] <#:phases>: Remove 'do-no-depend-on-git phase as the package
includes release version.

Change-Id: Ie50fe1f5f8ed69a77e353033679bfd98db6e56f4
2024-02-14 15:27:12 +00:00
Tomas Volf 6002e9e771
gnu: crun: Update to 1.14.1.
Since upstream does provide properly packaged source archives, the fetch
method was switched from git to url.

* gnu/packages/containers.scm (crun): Update to 1.14.1.

Change-Id: I566d8742b1a3db75aefaa51032e09130a8307a61
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-02-14 15:27:12 +00:00
Tomas Volf b9868463f6
gnu: slirp4netns: Update to 1.2.3.
* gnu/packages/containers.scm (slirp4netns): Update to 1.2.3.

Change-Id: I103b697069e631653e9063ee42456d0d0e898900
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-02-14 13:19:02 +00:00
Ricardo Wurmus dcfd4d9c48
gnu: distrobox: Update to 1.5.0.2.
* gnu/packages/containers.scm (distrobox): Update to 1.5.0.2.
[arguments]: Do not patch files with extensions, such as a .pdf.
2023-10-13 17:45:56 +02:00
Hartmut Goebel 1d471bbe44
gnu: podman: Fix path to helper binaries.
'quadlet' and 'rootlessport' coming with podman reside in
"#$output/libexex/podman", not in "#$output/bin".  Thus search this
first.

* gnu/packages/containers.scm (podman)[phases]<fix-hardcoded-paths>:
  Change subsitution for "/usr/local/libexec/podman", add substitution
  for "/usr/local/lib/podman".
2023-07-02 20:27:22 +02:00
Zongyuan Li 0c76e5f71a
gnu: Add Buildah.
* gnu/packages/containers.scm (buildah): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2023-06-08 23:28:57 +02:00
Hilton Chain 5ed49cc42b
gnu: podman: Update to 4.4.1.
* gnu/packages/containers.scm (podman): Update to 4.4.1.
[native-inputs]: Replace go to go-1.19.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-02-27 15:54:10 +01:00
Michael Rohleder d292a63cdb
gnu: distrobox: Skip substitution in man pages.
* gnu/packages/containers.scm (distrobox)[arguments]: Change refer-to-inputs
phase to not substitute in man pages.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-02-18 12:36:11 +01:00
Adam Faiz c3e50c731d
gnu: Add distrobox.
* gnu/packages/containers.scm (distrobox): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-02-04 00:14:05 +01:00
Hilton Chain ae52644c7f
gnu: podman: Enable Btrfs support.
* gnu/packages/containers.scm (podman): Enable Btrfs support.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-31 23:29:50 +01:00
Simon Josefsson bac6689d3f
gnu: podman: Update to 4.3.1.
* gnu/packages/containers.scm (podman): Update to 4.3.1.
[native-inputs]: Add python, for hack/markdown-preprocess.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2022-12-29 09:43:23 +08:00
Tobias Geerinckx-Rice 8fe6d3e844
gnu: yajl: Drop custom ‘lib-’ prefix.
* gnu/packages/web.scm (yajl): New variable, renamed from…
(libyajl): …this one, which is now a DEPRECATED-PACKAGE alias of yajl.
Adjust all users.
2022-12-11 01:00:00 +01:00
Hilton Chain 351498ee45
gnu: podman: Update to 4.2.1.
* gnu/packages/containers.scm (podman): Update to 4.2.1.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-27 11:04:30 +02:00
Michael Rohleder 4723d7a452
gnu: podman: Install shell completions.
* gnu/packages/containers.scm (podman)[arguments]: Add 'install-completions
phase to install shell completions.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-14 23:36:32 +02:00
Marius Bakke 2487a75d77
gnu: slirp4netns: Update to 1.2.0.
* gnu/packages/containers.scm (slirp4netns): Update to 1.2.0.
2022-09-11 19:43:15 +02:00
Marius Bakke b7c10a198b
gnu: libslirp: Update to 4.7.0.
* gnu/packages/containers.scm (libslirp): Update to 4.7.0.
[inputs]: Move GLIB ...
[propagated-inputs]: ... here.
2022-09-11 19:43:15 +02:00
Zhu Zihao 3808667573
gnu: podman: Update to 4.2.0.
* gnu/packages/containers.scm (podman): Update to 4.2.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-08 16:22:22 +02:00
Zhu Zihao 14a450ae21
gnu: podman: Use G-expressions.
* gnu/packages/containers.scm (podman)[arguments]: Use G-expressions.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-08 16:22:22 +02:00
Tobias Geerinckx-Rice a07bdc7335
gnu: crun: Update to 1.4.5.
* gnu/packages/containers.scm (crun): Update to 1.4.5.
2022-05-29 02:00:10 +02:00
Tobias Geerinckx-Rice 64c0bc0252
gnu: conmon: Use G-expressions.
* gnu/packages/containers.scm (conmon)[arguments]:
Rewrite as G-expressions.
2022-01-11 20:17:50 +00:00
Tobias Geerinckx-Rice 1516e1d884
gnu: conmon: Update to 2.0.31.
* gnu/packages/containers.scm (conmon): Update to 2.0.31.
2022-01-11 20:17:50 +00:00
Timmy Douglas 637dec9d45
gnu: Add podman.
* gnu/packages/containers.scm (podman): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-01 19:06:58 +01:00
Timmy Douglas 444b42f86b
gnu: Add cni-plugins.
* gnu/packages/containers.scm (cni-plugins): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-01-01 19:06:58 +01:00
Timmy Douglas a45e05a80f
gnu: Add slirp4netns.
* gnu/packages/containers.scm (slirp4netns): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-01 19:06:58 +01:00
Timmy Douglas f4ee4523eb
gnu: Add libslirp.
* gnu/packages/containers.scm (libslirp): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-01 19:06:57 +01:00
Timmy Douglas 2981d8d744
gnu: Add conmon.
* gnu/packages/containers.scm (conmon): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-01-01 19:06:57 +01:00
Timmy Douglas bff99f6b63
gnu: Add crun.
* gnu/packages/containers.scm (crun): New variable.
* gnu/local.mk: add containers.scm

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-01 19:06:53 +01:00