[arch-commits] Commit in docker/repos/community-x86_64 (4 files)

Sébastien Luttringer seblu at archlinux.org
Thu Apr 2 00:21:34 UTC 2020


    Date: Thursday, April 2, 2020 @ 00:21:33
  Author: seblu
Revision: 609346

archrelease: copy trunk to community-x86_64

Added:
  docker/repos/community-x86_64/PKGBUILD
    (from rev 609345, docker/trunk/PKGBUILD)
  docker/repos/community-x86_64/docker.sysusers
    (from rev 609345, docker/trunk/docker.sysusers)
Deleted:
  docker/repos/community-x86_64/PKGBUILD
  docker/repos/community-x86_64/docker.sysusers

-----------------+
 PKGBUILD        |  330 ++++++++++++++++++++++++++++--------------------------
 docker.sysusers |    4 
 2 files changed, 178 insertions(+), 156 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-02 00:21:24 UTC (rev 609345)
+++ PKGBUILD	2020-04-02 00:21:33 UTC (rev 609346)
@@ -1,154 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-
-pkgname=docker
-pkgver=19.03.8
-pkgrel=1
-epoch=1
-pkgdesc='Pack, ship and run any application as a lightweight container'
-arch=('x86_64')
-url='https://www.docker.com/'
-license=('Apache')
-depends=('glibc' 'bridge-utils' 'iproute2' 'device-mapper' 'sqlite' 'systemd-libs'
-         'libseccomp' 'libtool' 'runc' 'containerd')
-makedepends=('git' 'go' 'btrfs-progs' 'cmake' 'systemd' 'go-md2man' 'sed')
-optdepends=('btrfs-progs: btrfs backend support'
-            'pigz: parallel gzip compressor support')
-# don't strip binaries! A sha1 is used to check binary consistency.
-options=('!strip' '!buildflags')
-# Use exact commit version from Dockerfile, see them in:
-# https://github.com/docker/docker-ce/blob/master/components/engine/hack/dockerfile/install/
-_TINI_COMMIT=fec3683b971d9c3ef73f284f176672c44b448662
-_LIBNETWORK_COMMIT=9fd385be8302dbe1071a3ce124891893ff27f90f
-source=("git+https://github.com/docker/docker-ce.git#tag=v$pkgver"
-        "git+https://github.com/docker/libnetwork.git#commit=$_LIBNETWORK_COMMIT"
-        "git+https://github.com/krallin/tini.git#commit=$_TINI_COMMIT"
-        "git+https://github.com/spf13/cobra.git"
-        "$pkgname.sysusers")
-sha224sums=('SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            '4c19a66617d73adf1c0b4b0a63e22cba296fd5af32b9b32a9787ff8d')
-
-prepare() {
-  sed -i 's,/var/run,/run,' docker-ce/components/engine/contrib/init/systemd/docker.socket
-}
-
-# create a fake go path directory and pushd into it
-# $1 real directory
-# $2 gopath directory
-_fake_gopath_pushd() {
-  mkdir -p "$GOPATH/src/${2%/*}"
-  rm -f "$GOPATH/src/$2"
-  ln -rsT "$1" "$GOPATH/src/$2"
-  pushd  "$GOPATH/src/$2" >/dev/null
-}
-
-_fake_gopath_popd() {
-  popd >/dev/null
-}
-
-build() {
-  ### check my mistakes on commit version
-  echo 'Checking commit mismatch'
-  (
-  local _cfile
-  for _cfile in tini proxy; do
-    . "$srcdir/docker-ce/components/engine/hack/dockerfile/install/$_cfile.installer"
-  done
-  local _commit _pkgbuild _dockerfile
-  err=0
-  for _commit in LIBNETWORK TINI; do
-    _pkgbuild=_${_commit}_COMMIT
-    _dockerfile=${_commit}_COMMIT
-    if [[ ${!_pkgbuild} != ${!_dockerfile} ]]; then
-      echo "Invalid $_commit commit, should be ${!_dockerfile}" >&2
-      err=$(($err + 1))
-    fi
-  done
-  return $err
-  )
-
-  ### globals
-  export GOPATH="$srcdir"
-  export PATH="$GOPATH/bin:$PATH"
-
-  ### cli
-  echo 'Building cli'
-  _fake_gopath_pushd docker-ce/components/cli github.com/docker/cli
-  DISABLE_WARN_OUTSIDE_CONTAINER=1 make VERSION=$pkgver-ce dynbinary
-  _fake_gopath_popd
-
-  ### daemon
-  echo 'Building daemon'
-  _fake_gopath_pushd docker-ce/components/engine github.com/docker/docker
-  DOCKER_GITCOMMIT=$(cd "$srcdir"/docker-ce && git rev-parse --short HEAD) \
-    DOCKER_BUILDTAGS='seccomp journald apparmor' \
-    VERSION=$pkgver-ce \
-    hack/make.sh dynbinary
-  _fake_gopath_popd
-
-  ### docker man pages
-  echo 'Building man pages'
-  mkdir -p src/github.com/spf13
-  ln -rsfT cobra src/github.com/spf13/cobra
-  # use docker-ce cli version because they mess up with man dir
-  _fake_gopath_pushd docker-ce/components/cli github.com/docker/cli
-  make manpages 2>/dev/null
-  _fake_gopath_popd
-
-  ### docker proxy
-  echo 'Building docker-proxy'
-  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
-  go build -ldflags='-linkmode=external' github.com/docker/libnetwork/cmd/proxy
-  _fake_gopath_popd
-
-  ### docker-init
-  echo 'Building docker-init'
-  _fake_gopath_pushd tini github.com/krallin/tini
-  cmake .
-  # we must use the static binary because it's started in a foreign os
-  make tini-static
-  _fake_gopath_popd
-}
-
-package() {
-  ### proxy
-  install -Dm755 libnetwork/proxy "$pkgdir/usr/bin/docker-proxy"
-  ### init
-  install -Dm755 tini/tini-static "$pkgdir/usr/bin/docker-init"
-  ### engine
-  cd "$srcdir"/docker-ce/components/engine
-  # binary
-  install -Dm755 {bundles/dynbinary-daemon,"$pkgdir"/usr/bin}/dockerd
-  # systemd
-  install -Dm644 'contrib/init/systemd/docker.service' \
-    "$pkgdir/usr/lib/systemd/system/docker.service"
-  install -Dm644 'contrib/init/systemd/docker.socket' \
-    "$pkgdir/usr/lib/systemd/system/docker.socket"
-  install -Dm644 'contrib/udev/80-docker.rules' \
-    "$pkgdir/usr/lib/udev/rules.d/80-docker.rules"
-  install -Dm644 "$srcdir/$pkgname.sysusers" \
-    "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
-  # vim syntax
-  install -Dm644 'contrib/syntax/vim/syntax/dockerfile.vim' \
-    "$pkgdir/usr/share/vim/vimfiles/syntax/dockerfile.vim"
-  install -Dm644 'contrib/syntax/vim/ftdetect/dockerfile.vim' \
-    "$pkgdir/usr/share/vim/vimfiles/ftdetect/dockerfile.vim"
-  ### cli
-  cd "$srcdir"/docker-ce/components/cli
-  # binary
-  install -Dm755 {build,"$pkgdir"/usr/bin}/docker
-  # completion
-  install -Dm644 'contrib/completion/bash/docker' \
-    "$pkgdir/usr/share/bash-completion/completions/docker"
-  install -Dm644 'contrib/completion/zsh/_docker' \
-    "$pkgdir/usr/share/zsh/site-functions/_docker"
-  install -Dm644 'contrib/completion/fish/docker.fish' \
-    "$pkgdir/usr/share/fish/vendor_completions.d/docker.fish"
-  # man
-  install -dm755 "$pkgdir/usr/share/man"
-  cp -r man/man* "$pkgdir/usr/share/man"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: docker/repos/community-x86_64/PKGBUILD (from rev 609345, docker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-02 00:21:33 UTC (rev 609346)
@@ -0,0 +1,176 @@
+# Maintainer: Sébastien "Seblu" Luttringer
+
+pkgname=docker
+pkgver=19.03.8
+pkgrel=2
+epoch=1
+pkgdesc='Pack, ship and run any application as a lightweight container'
+arch=('x86_64')
+url='https://www.docker.com/'
+license=('Apache')
+depends=('glibc' 'bridge-utils' 'iproute2' 'device-mapper' 'sqlite' 'systemd-libs'
+         'libseccomp' 'libtool' 'runc' 'containerd')
+makedepends=('git' 'go' 'btrfs-progs' 'cmake' 'systemd' 'go-md2man' 'sed')
+optdepends=('btrfs-progs: btrfs backend support'
+            'pigz: parallel gzip compressor support')
+# don't strip binaries! A sha1 is used to check binary consistency.
+options=('!strip' '!buildflags')
+# Use exact commit version from Dockerfile, see them in:
+# https://github.com/docker/docker-ce/blob/master/components/engine/hack/dockerfile/install/
+_TINI_COMMIT=fec3683b971d9c3ef73f284f176672c44b448662
+_LIBNETWORK_COMMIT=9fd385be8302dbe1071a3ce124891893ff27f90f
+_APP_TAG='v0.9.0-beta1'
+source=("git+https://github.com/docker/docker-ce.git#tag=v$pkgver"
+        "git+https://github.com/docker/libnetwork.git#commit=$_LIBNETWORK_COMMIT"
+        "git+https://github.com/krallin/tini.git#commit=$_TINI_COMMIT"
+        "git+https://github.com/spf13/cobra.git"
+        "git+https://github.com/docker/buildx.git"
+        "git+https://github.com/docker/app.git#tag=$_APP_TAG"
+        "$pkgname.sysusers")
+sha256sums=('SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'a7a4b52000ed38ead62665eec9ed2366a4f763d61977ebd5414b041ff1c3d415')
+
+prepare() {
+  sed -i 's,/var/run,/run,' docker-ce/components/engine/contrib/init/systemd/docker.socket
+}
+
+# create a fake go path directory and pushd into it
+# $1 real directory
+# $2 gopath directory
+_fake_gopath_pushd() {
+  mkdir -p "$GOPATH/src/${2%/*}"
+  rm -f "$GOPATH/src/$2"
+  ln -rsT "$1" "$GOPATH/src/$2"
+  pushd  "$GOPATH/src/$2" >/dev/null
+}
+
+_fake_gopath_popd() {
+  popd >/dev/null
+}
+
+build() {
+  ### check my mistakes on commit version
+  echo 'Checking commit mismatch'
+  (
+  local _cfile
+  for _cfile in tini proxy; do
+    . "$srcdir/docker-ce/components/engine/hack/dockerfile/install/$_cfile.installer"
+  done
+  local _commit _pkgbuild _dockerfile
+  err=0
+  for _commit in LIBNETWORK TINI; do
+    _pkgbuild=_${_commit}_COMMIT
+    _dockerfile=${_commit}_COMMIT
+    if [[ ${!_pkgbuild} != ${!_dockerfile} ]]; then
+      echo "Invalid $_commit commit, should be ${!_dockerfile}" >&2
+      err=$(($err + 1))
+    fi
+  done
+  return $err
+  )
+
+  ### globals
+  export GOPATH="$srcdir"
+  export PATH="$GOPATH/bin:$PATH"
+
+  ### cli
+  echo 'Building cli'
+  _fake_gopath_pushd docker-ce/components/cli github.com/docker/cli
+  DISABLE_WARN_OUTSIDE_CONTAINER=1 make VERSION=$pkgver-ce dynbinary
+  _fake_gopath_popd
+
+  ### app cli plugin
+  echo 'Building app cli plugin'
+  _fake_gopath_pushd app github.com/docker/app
+  make dynamic
+  _fake_gopath_popd
+
+  ### buildx cli plugin
+  echo 'Building buildx cli plugin'
+  _fake_gopath_pushd buildx github.com/docker/buildx
+  go build -o bin/docker-buildx -ldflags "-X github.com/docker/buildx/version.Version=$(git describe --match 'v[0-9]*' --always --tags)-tp-docker -X github.com/docker/buildx/version.Revision=$(git rev-parse HEAD) -X github.com/docker/buildx/version.Package=github.com/docker/buildx -X main.experimental=1" ./cmd/buildx
+  go clean -modcache
+  _fake_gopath_popd
+
+  ### daemon
+  echo 'Building daemon'
+  _fake_gopath_pushd docker-ce/components/engine github.com/docker/docker
+  DOCKER_GITCOMMIT=$(cd "$srcdir"/docker-ce && git rev-parse --short HEAD) \
+    DOCKER_BUILDTAGS='seccomp journald apparmor' \
+    VERSION=$pkgver-ce \
+    hack/make.sh dynbinary
+  _fake_gopath_popd
+
+  ### docker man pages
+  echo 'Building man pages'
+  mkdir -p src/github.com/spf13
+  ln -rsfT cobra src/github.com/spf13/cobra
+  # use docker-ce cli version because they mess up with man dir
+  _fake_gopath_pushd docker-ce/components/cli github.com/docker/cli
+  make manpages 2>/dev/null
+  _fake_gopath_popd
+
+  ### docker proxy
+  echo 'Building docker-proxy'
+  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
+  go build -ldflags='-linkmode=external' github.com/docker/libnetwork/cmd/proxy
+  _fake_gopath_popd
+
+  ### docker-init
+  echo 'Building docker-init'
+  _fake_gopath_pushd tini github.com/krallin/tini
+  cmake .
+  # we must use the static binary because it's started in a foreign os
+  make tini-static
+  _fake_gopath_popd
+}
+
+package() {
+  ### proxy
+  install -Dm755 libnetwork/proxy "$pkgdir/usr/bin/docker-proxy"
+  ### init
+  install -Dm755 tini/tini-static "$pkgdir/usr/bin/docker-init"
+  ### engine
+  cd "$srcdir"/docker-ce/components/engine
+  # binary
+  install -Dm755 {bundles/dynbinary-daemon,"$pkgdir"/usr/bin}/dockerd
+  # systemd
+  install -Dm644 'contrib/init/systemd/docker.service' \
+    "$pkgdir/usr/lib/systemd/system/docker.service"
+  install -Dm644 'contrib/init/systemd/docker.socket' \
+    "$pkgdir/usr/lib/systemd/system/docker.socket"
+  install -Dm644 'contrib/udev/80-docker.rules' \
+    "$pkgdir/usr/lib/udev/rules.d/80-docker.rules"
+  install -Dm644 "$srcdir/$pkgname.sysusers" \
+    "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+  # vim syntax
+  install -Dm644 'contrib/syntax/vim/syntax/dockerfile.vim' \
+    "$pkgdir/usr/share/vim/vimfiles/syntax/dockerfile.vim"
+  install -Dm644 'contrib/syntax/vim/ftdetect/dockerfile.vim' \
+    "$pkgdir/usr/share/vim/vimfiles/ftdetect/dockerfile.vim"
+  ### cli
+  cd "$srcdir"/docker-ce/components/cli
+  # binary
+  install -Dm755 {build,"$pkgdir"/usr/bin}/docker
+  # completion
+  install -Dm644 'contrib/completion/bash/docker' \
+    "$pkgdir/usr/share/bash-completion/completions/docker"
+  install -Dm644 'contrib/completion/zsh/_docker' \
+    "$pkgdir/usr/share/zsh/site-functions/_docker"
+  install -Dm644 'contrib/completion/fish/docker.fish' \
+    "$pkgdir/usr/share/fish/vendor_completions.d/docker.fish"
+  # man
+  install -dm755 "$pkgdir/usr/share/man"
+  cp -r man/man* "$pkgdir/usr/share/man"
+  # cli-plugins
+  cd "$srcdir"/src/github.com/docker
+  install -Dm755 app/bin/docker-app "$pkgdir/usr/lib/docker/cli-plugins/docker-app"
+  install -Dm755 buildx/bin/docker-buildx "$pkgdir/usr/lib/docker/cli-plugins/docker-buildx"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: docker.sysusers
===================================================================
--- docker.sysusers	2020-04-02 00:21:24 UTC (rev 609345)
+++ docker.sysusers	2020-04-02 00:21:33 UTC (rev 609346)
@@ -1,2 +0,0 @@
-# create docker group (FS#38029)
-g docker - -

Copied: docker/repos/community-x86_64/docker.sysusers (from rev 609345, docker/trunk/docker.sysusers)
===================================================================
--- docker.sysusers	                        (rev 0)
+++ docker.sysusers	2020-04-02 00:21:33 UTC (rev 609346)
@@ -0,0 +1,2 @@
+# create docker group (FS#38029)
+g docker - -



More information about the arch-commits mailing list