summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2026-06-29 10:55:03 +0200
committerCayetano Santos <csantosb@inventati.org>2026-07-05 12:44:52 +0200
commit9e068cc03bfacbbcd199f3618fcf360df3f368e0 (patch)
tree9f5d58e70a8e0ed4fb21e71afc7f945891d99407 /gnu
parent57fd857c1e3ff11511ba451021d559e874b50e34 (diff)
gnu: podman: Update to 6.0.0.
* gnu/packages/containers.scm (podman): Update to 6.0.0. [properties]: Delete ’lint-hidden-cve. [arguments]: Simplify ’install-docker #:phase. Merges guix/guix!9609
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/containers.scm29
1 files changed, 11 insertions, 18 deletions
diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm
index 0925c7b7908..c73d621a744 100644
--- a/gnu/packages/containers.scm
+++ b/gnu/packages/containers.scm
@@ -1113,12 +1113,10 @@ Its main purpose is to support the key usage by @code{docker-init}:
1113(define-public podman 1113(define-public podman
1114 (package 1114 (package
1115 (name "podman") 1115 (name "podman")
1116 (version "5.8.4") 1116 (version "6.0.0")
1117 (outputs '("out" "docker")) 1117 (outputs '("out" "docker"))
1118 (properties 1118 (properties
1119 `((output-synopsis "docker" "docker alias for podman") 1119 `((output-synopsis "docker" "docker alias for podman")))
1120 ;; XXX: Addressed already.
1121 (lint-hidden-cve . ("CVE-2022-2989"))))
1122 (source 1120 (source
1123 (origin 1121 (origin
1124 (method git-fetch) 1122 (method git-fetch)
@@ -1126,7 +1124,7 @@ Its main purpose is to support the key usage by @code{docker-init}:
1126 (url "https://github.com/podman-container-tools/podman") 1124 (url "https://github.com/podman-container-tools/podman")
1127 (commit (string-append "v" version)))) 1125 (commit (string-append "v" version))))
1128 (sha256 1126 (sha256
1129 (base32 "1d7swfixvfl5y9ynm32yz2dfkhgj6c49f331xx5zv2jajlqjs4ff")) 1127 (base32 "1i15j9zhzh42nh834k0wi1g9ap3fd8dvm52jzdflycpwv29z9m3i"))
1130 (file-name (git-file-name name version)))) 1128 (file-name (git-file-name name version))))
1131 (build-system gnu-build-system) 1129 (build-system gnu-build-system)
1132 (arguments 1130 (arguments
@@ -1188,19 +1186,14 @@ Its main purpose is to support the key usage by @code{docker-init}:
1188 ,(string-append #$procps "/bin") ; ps 1186 ,(string-append #$procps "/bin") ; ps
1189 "/run/privileged/bin"))))) 1187 "/run/privileged/bin")))))
1190 (add-after 'install 'install-docker 1188 (add-after 'install 'install-docker
1191 (lambda* (#:key outputs #:allow-other-keys) 1189 (lambda _
1192 (let* ((docker (assoc-ref outputs "docker"))) 1190 ;; So it picks podman of the other output.
1193 ;; So it picks podman of the other output. 1191 (substitute* "docker/docker.in"
1194 (let ((bin-dir (string-append (assoc-ref outputs "out") 1192 (("[$][{]BINDIR[}]") (string-append #$output "/bin"))
1195 "/bin"))) 1193 (("[$][{]ETCDIR[}]") "/etc"))
1196 (substitute* "docker/docker.in" 1194 (invoke "make" "install.docker"
1197 (("[$][{]BINDIR[}]") bin-dir) 1195 (string-append "PREFIX=" #$output:docker)
1198 (("[$][{]ETCDIR[}]") "/etc"))) 1196 (string-append "ETCDIR=" #$output:docker "/etc"))))
1199 (invoke "make" "install.docker"
1200 (string-append "PREFIX=" (assoc-ref outputs "docker"))
1201 (string-append "ETCDIR="
1202 (string-append (assoc-ref outputs "docker")
1203 "/etc"))))))
1204 (add-after 'install 'install-completions 1197 (add-after 'install 'install-completions
1205 (lambda _ 1198 (lambda _
1206 (invoke "make" "install.completions" 1199 (invoke "make" "install.completions"