From 53e80970f69f2e15be8d320a8e1995ffd0bd8cb0 Mon Sep 17 00:00:00 2001 From: Jesse Dowell Date: Sat, 19 Sep 2020 12:08:27 -0400 Subject: [PATCH 1/4] gnu: docker: Synchronize docker dependencies with the current version of docker. --- gnu/packages/docker.scm | 17 ++++++++++------- gnu/packages/networking.scm | 8 +++++--- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm index bc7e02ec46..69905e59bb 100644 --- a/gnu/packages/docker.scm +++ b/gnu/packages/docker.scm @@ -48,6 +48,8 @@ #:use-module (gnu packages version-control) #:use-module (gnu packages virtualization)) +;; Note - when changing Docker versions it is important to update the versions +;; of several associated packages (docker-libnetwork and go-sctp). (define %docker-version "19.03.12") (define-public python-docker @@ -246,9 +248,10 @@ network attachments.") (define docker-libnetwork ;; There are no recent release for libnetwork, so choose the last commit of ;; the branch that Docker uses, as can be seen in the Docker source file - ;; 'hack/dockerfile/install/proxy.installer'. - (let ((commit "4725f2163fb214a6312f3beae5991f838ec36326") - (version "18.09") + ;; 'hack/dockerfile/install/proxy.installer'. NOTE - It is important that + ;; this version is kept in sync with the version of Docker being used. + (let ((commit "026aabaa659832804b01754aaadd2c0f420c68b6") + (version "19.03") (revision "1")) (package (name "docker-libnetwork") @@ -256,12 +259,12 @@ network attachments.") (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/docker/libnetwork") + (url "https://github.com/moby/libnetwork") (commit commit))) (file-name (git-file-name name version)) (sha256 (base32 - "1zpnxki8qfzha6ljahpwd3vkzmjhsvkmf73w6crm4ilxxw5vnpfb")) + "0bli21vn5v7bssw3ydym4jfdjsldhb47fld88kng7d138wl70lkw")) ;; Delete bundled ("vendored") free software source code. (modules '((guix build utils))) (snippet '(begin @@ -269,8 +272,8 @@ network attachments.") #t)))) (build-system go-build-system) (arguments - `(#:import-path "github.com/docker/libnetwork/")) - (home-page "https://github.com/docker/libnetwork/") + `(#:import-path "github.com/moby/libnetwork/")) + (home-page "https://github.com/moby/libnetwork/") (synopsis "Networking for containers") (description "Libnetwork provides a native Go implementation for connecting containers. The goal of @code{libnetwork} is to deliver a robust diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 1c2e7cf979..964701af1a 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -1435,8 +1435,10 @@ handling network namespaces in Go.") (license license:asl2.0)))) (define-public go-sctp - ;; docker-libnetwork-cmd-proxy requires this exact commit. - (let ((commit "07191f837fedd2f13d1ec7b5f885f0f3ec54b1cb") + ;; docker-libnetwork-cmd-proxy requires this exact commit. NOTE - It is + ;; important that this version is kept in sync with the current version of + ;; Docker and its associated dependencies. + (let ((commit "6e2cb1366111dcf547c13531e3a263a067715847") (revision "1")) (package (name "go-sctp") @@ -1449,7 +1451,7 @@ handling network namespaces in Go.") (file-name (git-file-name name version)) (sha256 (base32 - "1mk9ncm10gwi5pn5wcw4skbyf4qg7n5qdf1mim4gf3mrckvi6g6h")))) + "1ba90fmpdwxa1ba4hrsjhi3gfy3pwmz7x8amw1p5dc9p5a7nnqrb")))) (build-system go-build-system) (arguments `(#:import-path "github.com/ishidawataru/sctp")) -- 2.28.0