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

2022-09-10 Thread Morten Linderud via arch-commits
Date: Saturday, September 10, 2022 @ 11:44:15
  Author: foxboron
Revision: 1298814

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  295 +-
 docker.sysusers |2 
 2 files changed, 140 insertions(+), 157 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-10 11:44:07 UTC (rev 1298813)
+++ PKGBUILD2022-09-10 11:44:15 UTC (rev 1298814)
@@ -1,156 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-# Maintainer: Morten Linderud 
-
-pkgname=docker
-pkgver=20.10.17
-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'
-'docker-scan: vulnerability scanner')
-# https://github.com/moby/moby/tree/v20.10.0/hack/dockerfile/install
-_TINI_COMMIT=de40ad007797e0dcd8b7126f27bb87401d224240
-_LIBNETWORK_COMMIT=f6b1c082a432c2a5814aaedaca56af33d9ea
-# TODO: Split into `docker-buildx` and make it a dependency
-_BUILDX_COMMIT=6224def4dd2c3d347eee19db595348c50d7cb491
-source=("git+https://github.com/docker/cli.git#tag=v$pkgver;
-"git+https://github.com/moby/moby.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/docker/buildx.git#commit=$_BUILDX_COMMIT;
-"$pkgname.sysusers")
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'541826011a9836d05a2f42293d5f1beadf2ca8d89fb604487d61a013505678eb')
-
-# 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
-. "moby/hack/dockerfile/install/$_cfile.installer"
-  done
-  local _commit _pkgbuild _dockerfile
-  err=0
-  # FIXME: Do not check TINI anymore, use tag instead of commit
-  for _commit in LIBNETWORK; 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"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export LDFLAGS=''
-  export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external'
-  export GO111MODULE=off
-  export DISABLE_WARN_OUTSIDE_CONTAINER=1
-
-  ### cli
-  echo 'Building cli'
-  _fake_gopath_pushd cli github.com/docker/cli
-  make VERSION=$pkgver dynbinary
-  make manpages
-  _fake_gopath_popd
-
-  ### daemon
-  echo 'Building daemon'
-  _fake_gopath_pushd moby github.com/docker/docker
-  DOCKER_GITCOMMIT=$(cd "$srcdir"/moby && git rev-parse --short HEAD) \
-DOCKER_BUILDTAGS='seccomp journald apparmor' \
-VERSION=$pkgver \
-hack/make.sh dynbinary
-  _fake_gopath_popd
-
-  ### docker proxy
-  echo 'Building docker-proxy'
-  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
-  go build 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
-
-  ### buildx cli plugin
-  echo 'Building buildx cli plugin'
-  _buildx_r=github.com/docker/buildx
-  _fake_gopath_pushd buildx $_buildx_r
-  GO111MODULE=on go build -mod=vendor -o docker-buildx -ldflags 
"-linkmode=external \
--X $_buildx_r/version.Version=$(git describe --match 'v[0-9]*' --always 
--tags)-docker \
--X $_buildx_r/version.Revision=$(git rev-parse HEAD) \
--X $_buildx_r/version.Package=$_buildx_r" \
-./cmd/buildx
-  _fake_gopath_popd
-}
-
-package() 

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

2022-06-11 Thread Sébastien Luttringer via arch-commits
Date: Saturday, June 11, 2022 @ 23:36:24
  Author: seblu
Revision: 1235692

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  312 +++---
 docker.sysusers |2 
 2 files changed, 157 insertions(+), 157 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-06-11 23:36:17 UTC (rev 1235691)
+++ PKGBUILD2022-06-11 23:36:24 UTC (rev 1235692)
@@ -1,156 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-# Maintainer: Morten Linderud 
-
-pkgname=docker
-pkgver=20.10.16
-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'
-'docker-scan: vulnerability scanner')
-# https://github.com/moby/moby/tree/v20.10.0/hack/dockerfile/install
-_TINI_COMMIT=de40ad007797e0dcd8b7126f27bb87401d224240
-_LIBNETWORK_COMMIT=339b972b464ee3d401b5788b2af9e31d09d6b7da
-# TODO: Split into `docker-buildx` and make it a dependency
-_BUILDX_COMMIT=6224def4dd2c3d347eee19db595348c50d7cb491
-source=("git+https://github.com/docker/cli.git#tag=v$pkgver;
-"git+https://github.com/moby/moby.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/docker/buildx.git#commit=$_BUILDX_COMMIT;
-"$pkgname.sysusers")
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'541826011a9836d05a2f42293d5f1beadf2ca8d89fb604487d61a013505678eb')
-
-# 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
-. "moby/hack/dockerfile/install/$_cfile.installer"
-  done
-  local _commit _pkgbuild _dockerfile
-  err=0
-  # FIXME: Do not check TINI anymore, use tag instead of commit
-  for _commit in LIBNETWORK; 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"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export LDFLAGS=''
-  export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external'
-  export GO111MODULE=off
-  export DISABLE_WARN_OUTSIDE_CONTAINER=1
-
-  ### cli
-  echo 'Building cli'
-  _fake_gopath_pushd cli github.com/docker/cli
-  make VERSION=$pkgver dynbinary
-  make manpages
-  _fake_gopath_popd
-
-  ### daemon
-  echo 'Building daemon'
-  _fake_gopath_pushd moby github.com/docker/docker
-  DOCKER_GITCOMMIT=$(cd "$srcdir"/moby && git rev-parse --short HEAD) \
-DOCKER_BUILDTAGS='seccomp journald apparmor' \
-VERSION=$pkgver \
-hack/make.sh dynbinary
-  _fake_gopath_popd
-
-  ### docker proxy
-  echo 'Building docker-proxy'
-  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
-  go build 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
-
-  ### buildx cli plugin
-  echo 'Building buildx cli plugin'
-  _buildx_r=github.com/docker/buildx
-  _fake_gopath_pushd buildx $_buildx_r
-  GO111MODULE=on go build -mod=vendor -o docker-buildx -ldflags 
"-linkmode=external \
--X $_buildx_r/version.Version=$(git describe --match 'v[0-9]*' --always 
--tags)-docker \
--X $_buildx_r/version.Revision=$(git rev-parse HEAD) \
--X $_buildx_r/version.Package=$_buildx_r" \
-./cmd/buildx
-  _fake_gopath_popd
-}
-
-package() {
-  

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

2022-05-14 Thread Morten Linderud via arch-commits
Date: Saturday, May 14, 2022 @ 13:01:31
  Author: foxboron
Revision: 1204374

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  312 +++---
 docker.sysusers |2 
 2 files changed, 157 insertions(+), 157 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-14 13:01:23 UTC (rev 1204373)
+++ PKGBUILD2022-05-14 13:01:31 UTC (rev 1204374)
@@ -1,156 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-# Maintainer: Morten Linderud 
-
-pkgname=docker
-pkgver=20.10.15
-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'
-'docker-scan: vulnerability scanner')
-# https://github.com/moby/moby/tree/v20.10.0/hack/dockerfile/install
-_TINI_COMMIT=de40ad007797e0dcd8b7126f27bb87401d224240
-_LIBNETWORK_COMMIT=339b972b464ee3d401b5788b2af9e31d09d6b7da
-# TODO: Split into `docker-buildx` and make it a dependency
-_BUILDX_COMMIT=5fac64c2c49dae1320f2b51f1a899ca451935554
-source=("git+https://github.com/docker/cli.git#tag=v$pkgver;
-"git+https://github.com/moby/moby.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/docker/buildx.git#commit=$_BUILDX_COMMIT;
-"$pkgname.sysusers")
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'541826011a9836d05a2f42293d5f1beadf2ca8d89fb604487d61a013505678eb')
-
-# 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
-. "moby/hack/dockerfile/install/$_cfile.installer"
-  done
-  local _commit _pkgbuild _dockerfile
-  err=0
-  # FIXME: Do not check TINI anymore, use tag instead of commit
-  for _commit in LIBNETWORK; 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"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export LDFLAGS=''
-  export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external'
-  export GO111MODULE=off
-  export DISABLE_WARN_OUTSIDE_CONTAINER=1
-
-  ### cli
-  echo 'Building cli'
-  _fake_gopath_pushd cli github.com/docker/cli
-  make VERSION=$pkgver dynbinary
-  make manpages
-  _fake_gopath_popd
-
-  ### daemon
-  echo 'Building daemon'
-  _fake_gopath_pushd moby github.com/docker/docker
-  DOCKER_GITCOMMIT=$(cd "$srcdir"/moby && git rev-parse --short HEAD) \
-DOCKER_BUILDTAGS='seccomp journald apparmor' \
-VERSION=$pkgver \
-hack/make.sh dynbinary
-  _fake_gopath_popd
-
-  ### docker proxy
-  echo 'Building docker-proxy'
-  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
-  go build 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
-
-  ### buildx cli plugin
-  echo 'Building buildx cli plugin'
-  _buildx_r=github.com/docker/buildx
-  _fake_gopath_pushd buildx $_buildx_r
-  GO111MODULE=on go build -mod=vendor -o docker-buildx -ldflags 
"-linkmode=external \
--X $_buildx_r/version.Version=$(git describe --match 'v[0-9]*' --always 
--tags)-docker \
--X $_buildx_r/version.Revision=$(git rev-parse HEAD) \
--X $_buildx_r/version.Package=$_buildx_r" \
-./cmd/buildx
-  _fake_gopath_popd
-}
-
-package() {
-  

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

2022-05-05 Thread Sébastien Luttringer via arch-commits
Date: Thursday, May 5, 2022 @ 23:26:12
  Author: seblu
Revision: 1195583

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  312 +++---
 docker.sysusers |2 
 2 files changed, 157 insertions(+), 157 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-05 23:26:06 UTC (rev 1195582)
+++ PKGBUILD2022-05-05 23:26:12 UTC (rev 1195583)
@@ -1,156 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-# Maintainer: Morten Linderud 
-
-pkgname=docker
-pkgver=20.10.14
-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'
-'docker-scan: vulnerability scanner')
-# https://github.com/moby/moby/tree/v20.10.0/hack/dockerfile/install
-_TINI_COMMIT=de40ad007797e0dcd8b7126f27bb87401d224240
-_LIBNETWORK_COMMIT=64b7a4574d1426139437d20e81c0b6d391130ec8
-# TODO: Split into `docker-buildx` and make it a dependency
-_BUILDX_COMMIT=5fac64c2c49dae1320f2b51f1a899ca451935554
-source=("git+https://github.com/docker/cli.git#tag=v$pkgver;
-"git+https://github.com/moby/moby.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/docker/buildx.git#commit=$_BUILDX_COMMIT;
-"$pkgname.sysusers")
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'541826011a9836d05a2f42293d5f1beadf2ca8d89fb604487d61a013505678eb')
-
-# 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
-. "moby/hack/dockerfile/install/$_cfile.installer"
-  done
-  local _commit _pkgbuild _dockerfile
-  err=0
-  # FIXME: Do not check TINI anymore, use tag instead of commit
-  for _commit in LIBNETWORK; 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"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export LDFLAGS=''
-  export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external'
-  export GO111MODULE=off
-  export DISABLE_WARN_OUTSIDE_CONTAINER=1
-
-  ### cli
-  echo 'Building cli'
-  _fake_gopath_pushd cli github.com/docker/cli
-  make VERSION=$pkgver dynbinary
-  make manpages
-  _fake_gopath_popd
-
-  ### daemon
-  echo 'Building daemon'
-  _fake_gopath_pushd moby github.com/docker/docker
-  DOCKER_GITCOMMIT=$(cd "$srcdir"/moby && git rev-parse --short HEAD) \
-DOCKER_BUILDTAGS='seccomp journald apparmor' \
-VERSION=$pkgver \
-hack/make.sh dynbinary
-  _fake_gopath_popd
-
-  ### docker proxy
-  echo 'Building docker-proxy'
-  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
-  go build 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
-
-  ### buildx cli plugin
-  echo 'Building buildx cli plugin'
-  _buildx_r=github.com/docker/buildx
-  _fake_gopath_pushd buildx $_buildx_r
-  GO111MODULE=on go build -mod=vendor -o docker-buildx -ldflags 
"-linkmode=external \
--X $_buildx_r/version.Version=$(git describe --match 'v[0-9]*' --always 
--tags)-docker \
--X $_buildx_r/version.Revision=$(git rev-parse HEAD) \
--X $_buildx_r/version.Package=$_buildx_r" \
-./cmd/buildx
-  _fake_gopath_popd
-}
-
-package() {
-  ### 

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

2022-03-24 Thread Sébastien Luttringer via arch-commits
Date: Thursday, March 24, 2022 @ 09:03:08
  Author: seblu
Revision: 1173895

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  312 +++---
 docker.sysusers |2 
 2 files changed, 157 insertions(+), 157 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-24 09:03:03 UTC (rev 1173894)
+++ PKGBUILD2022-03-24 09:03:08 UTC (rev 1173895)
@@ -1,156 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-# Maintainer: Morten Linderud 
-
-pkgname=docker
-pkgver=20.10.13
-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'
-'docker-scan: vulnerability scanner')
-# https://github.com/moby/moby/tree/v20.10.0/hack/dockerfile/install
-_TINI_COMMIT=de40ad007797e0dcd8b7126f27bb87401d224240
-_LIBNETWORK_COMMIT=64b7a4574d1426139437d20e81c0b6d391130ec8
-# TODO: Split into `docker-buildx` and make it a dependency
-_BUILDX_COMMIT=c8f7c1e93ffa9cfcf926cd3e6450af957f235b07
-source=("git+https://github.com/docker/cli.git#tag=v$pkgver;
-"git+https://github.com/moby/moby.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/docker/buildx.git#commit=$_BUILDX_COMMIT;
-"$pkgname.sysusers")
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'541826011a9836d05a2f42293d5f1beadf2ca8d89fb604487d61a013505678eb')
-
-# 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
-. "moby/hack/dockerfile/install/$_cfile.installer"
-  done
-  local _commit _pkgbuild _dockerfile
-  err=0
-  for _commit in LIBNETWORK TINI; do
-_pkgbuild=_${_commit}_COMMIT
-_dockerfile=${_commit}_COMMIT
-# TODO: We need to patch upstream to not use tags
-#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"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export LDFLAGS=''
-  export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external'
-  export GO111MODULE=off
-  export DISABLE_WARN_OUTSIDE_CONTAINER=1
-
-  ### cli
-  echo 'Building cli'
-  _fake_gopath_pushd cli github.com/docker/cli
-  make VERSION=$pkgver dynbinary
-  make manpages
-  _fake_gopath_popd
-
-  ### daemon
-  echo 'Building daemon'
-  _fake_gopath_pushd moby github.com/docker/docker
-  DOCKER_GITCOMMIT=$(cd "$srcdir"/moby && git rev-parse --short HEAD) \
-DOCKER_BUILDTAGS='seccomp journald apparmor' \
-VERSION=$pkgver \
-hack/make.sh dynbinary
-  _fake_gopath_popd
-
-  ### docker proxy
-  echo 'Building docker-proxy'
-  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
-  go build 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
-
-  ### buildx cli plugin
-  echo 'Building buildx cli plugin'
-  _buildx_r=github.com/docker/buildx
-  _fake_gopath_pushd buildx $_buildx_r
-  GO111MODULE=on go build -mod=vendor -o docker-buildx -ldflags 
"-linkmode=external \
--X $_buildx_r/version.Version=$(git describe --match 'v[0-9]*' --always 
--tags)-docker \
--X $_buildx_r/version.Revision=$(git rev-parse HEAD) \
--X $_buildx_r/version.Package=$_buildx_r" \
-./cmd/buildx
-  _fake_gopath_popd
-}
-
-package() {
-  

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

2022-03-12 Thread Morten Linderud via arch-commits
Date: Saturday, March 12, 2022 @ 14:17:04
  Author: foxboron
Revision: 1149947

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  311 +++---
 docker.sysusers |2 
 2 files changed, 157 insertions(+), 156 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-12 14:16:56 UTC (rev 1149946)
+++ PKGBUILD2022-03-12 14:17:04 UTC (rev 1149947)
@@ -1,155 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-# Maintainer: Morten Linderud 
-
-pkgname=docker
-pkgver=20.10.12
-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'
-'docker-scan: vulnerability scanner')
-# https://github.com/moby/moby/tree/v20.10.0/hack/dockerfile/install
-_TINI_COMMIT=de40ad007797e0dcd8b7126f27bb87401d224240
-_LIBNETWORK_COMMIT=64b7a4574d1426139437d20e81c0b6d391130ec8
-# TODO: Split into `docker-buildx` and make it a dependency
-_BUILDX_COMMIT=05846896d149da05f3d6fd1e7770da187b52a247
-source=("git+https://github.com/docker/cli.git#tag=v$pkgver;
-"git+https://github.com/moby/moby.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/docker/buildx.git#commit=$_BUILDX_COMMIT;
-"$pkgname.sysusers")
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'541826011a9836d05a2f42293d5f1beadf2ca8d89fb604487d61a013505678eb')
-
-# 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
-. "moby/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"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export LDFLAGS=''
-  export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external'
-  export GO111MODULE=off
-  export DISABLE_WARN_OUTSIDE_CONTAINER=1
-
-  ### cli
-  echo 'Building cli'
-  _fake_gopath_pushd cli github.com/docker/cli
-  make VERSION=$pkgver dynbinary
-  make manpages
-  _fake_gopath_popd
-
-  ### daemon
-  echo 'Building daemon'
-  _fake_gopath_pushd moby github.com/docker/docker
-  DOCKER_GITCOMMIT=$(cd "$srcdir"/moby && git rev-parse --short HEAD) \
-DOCKER_BUILDTAGS='seccomp journald apparmor' \
-VERSION=$pkgver \
-hack/make.sh dynbinary
-  _fake_gopath_popd
-
-  ### docker proxy
-  echo 'Building docker-proxy'
-  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
-  go build 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
-
-  ### buildx cli plugin
-  echo 'Building buildx cli plugin'
-  _buildx_r=github.com/docker/buildx
-  _fake_gopath_pushd buildx $_buildx_r
-  GO111MODULE=on go build -mod=vendor -o docker-buildx -ldflags 
"-linkmode=external \
--X $_buildx_r/version.Version=$(git describe --match 'v[0-9]*' --always 
--tags)-docker \
--X $_buildx_r/version.Revision=$(git rev-parse HEAD) \
--X $_buildx_r/version.Package=$_buildx_r" \
-./cmd/buildx
-  _fake_gopath_popd
-}
-
-package() {
-  ### proxy
-  install -Dm755 libnetwork/proxy 

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

2021-12-13 Thread Morten Linderud via arch-commits
Date: Monday, December 13, 2021 @ 22:35:59
  Author: foxboron
Revision: 1072566

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  309 +++---
 docker.sysusers |2 
 2 files changed, 156 insertions(+), 155 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-12-13 22:35:50 UTC (rev 1072565)
+++ PKGBUILD2021-12-13 22:35:59 UTC (rev 1072566)
@@ -1,154 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-# Maintainer: Morten Linderud 
-
-pkgname=docker
-pkgver=20.10.11
-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')
-# https://github.com/moby/moby/tree/v20.10.0/hack/dockerfile/install
-_TINI_COMMIT=de40ad007797e0dcd8b7126f27bb87401d224240
-_LIBNETWORK_COMMIT=64b7a4574d1426139437d20e81c0b6d391130ec8
-# https://github.com/docker/docker-ce-packaging/pull/562
-_BUILDX_COMMIT=260d07a9a19b03df969787496419a0808a27ac61
-source=("git+https://github.com/docker/cli.git#tag=v$pkgver;
-"git+https://github.com/moby/moby.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/docker/buildx.git#commit=$_BUILDX_COMMIT;
-"$pkgname.sysusers")
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'541826011a9836d05a2f42293d5f1beadf2ca8d89fb604487d61a013505678eb')
-
-# 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
-. "moby/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"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export LDFLAGS=''
-  export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external'
-  export GO111MODULE=off
-  export DISABLE_WARN_OUTSIDE_CONTAINER=1
-
-  ### cli
-  echo 'Building cli'
-  _fake_gopath_pushd cli github.com/docker/cli
-  make VERSION=$pkgver dynbinary
-  make manpages
-  _fake_gopath_popd
-
-  ### daemon
-  echo 'Building daemon'
-  _fake_gopath_pushd moby github.com/docker/docker
-  DOCKER_GITCOMMIT=$(cd "$srcdir"/moby && git rev-parse --short HEAD) \
-DOCKER_BUILDTAGS='seccomp journald apparmor' \
-VERSION=$pkgver \
-hack/make.sh dynbinary
-  _fake_gopath_popd
-
-  ### docker proxy
-  echo 'Building docker-proxy'
-  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
-  go build 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
-
-  ### buildx cli plugin
-  echo 'Building buildx cli plugin'
-  _buildx_r=github.com/docker/buildx
-  _fake_gopath_pushd buildx $_buildx_r
-  GO111MODULE=on go build -mod=vendor -o docker-buildx -ldflags 
"-linkmode=external \
--X $_buildx_r/version.Version=$(git describe --match 'v[0-9]*' --always 
--tags)-docker \
--X $_buildx_r/version.Revision=$(git rev-parse HEAD) \
--X $_buildx_r/version.Package=$_buildx_r" \
-./cmd/buildx
-  _fake_gopath_popd
-}
-
-package() {
-  ### proxy
-  install -Dm755 libnetwork/proxy "$pkgdir/usr/bin/docker-proxy"
-  ### init
-  install -Dm755 

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

2021-11-20 Thread Morten Linderud via arch-commits
Date: Saturday, November 20, 2021 @ 13:02:20
  Author: foxboron
Revision: 1052873

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  308 +++---
 docker.sysusers |2 
 2 files changed, 155 insertions(+), 155 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-11-20 13:02:13 UTC (rev 1052872)
+++ PKGBUILD2021-11-20 13:02:20 UTC (rev 1052873)
@@ -1,154 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-# Maintainer: Morten Linderud 
-
-pkgname=docker
-pkgver=20.10.10
-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')
-# https://github.com/moby/moby/tree/v20.10.0/hack/dockerfile/install
-_TINI_COMMIT=de40ad007797e0dcd8b7126f27bb87401d224240
-_LIBNETWORK_COMMIT=64b7a4574d1426139437d20e81c0b6d391130ec8
-# https://github.com/docker/docker-ce-packaging/pull/562
-_BUILDX_COMMIT=260d07a9a19b03df969787496419a0808a27ac61
-source=("git+https://github.com/docker/cli.git#tag=v$pkgver;
-"git+https://github.com/moby/moby.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/docker/buildx.git#commit=$_BUILDX_COMMIT;
-"$pkgname.sysusers")
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'541826011a9836d05a2f42293d5f1beadf2ca8d89fb604487d61a013505678eb')
-
-# 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
-. "moby/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"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export LDFLAGS=''
-  export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external'
-  export GO111MODULE=off
-  export DISABLE_WARN_OUTSIDE_CONTAINER=1
-
-  ### cli
-  echo 'Building cli'
-  _fake_gopath_pushd cli github.com/docker/cli
-  make VERSION=$pkgver dynbinary
-  make manpages
-  _fake_gopath_popd
-
-  ### daemon
-  echo 'Building daemon'
-  _fake_gopath_pushd moby github.com/docker/docker
-  DOCKER_GITCOMMIT=$(cd "$srcdir"/moby && git rev-parse --short HEAD) \
-DOCKER_BUILDTAGS='seccomp journald apparmor' \
-VERSION=$pkgver \
-hack/make.sh dynbinary
-  _fake_gopath_popd
-
-  ### docker proxy
-  echo 'Building docker-proxy'
-  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
-  go build 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
-
-  ### buildx cli plugin
-  echo 'Building buildx cli plugin'
-  _buildx_r=github.com/docker/buildx
-  _fake_gopath_pushd buildx $_buildx_r
-  GO111MODULE=on go build -mod=vendor -o docker-buildx -ldflags 
"-linkmode=external \
--X $_buildx_r/version.Version=$(git describe --match 'v[0-9]*' --always 
--tags)-docker \
--X $_buildx_r/version.Revision=$(git rev-parse HEAD) \
--X $_buildx_r/version.Package=$_buildx_r" \
-./cmd/buildx
-  _fake_gopath_popd
-}
-
-package() {
-  ### proxy
-  install -Dm755 libnetwork/proxy "$pkgdir/usr/bin/docker-proxy"
-  ### init
-  install -Dm755 

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

2021-10-25 Thread Sébastien Luttringer via arch-commits
Date: Tuesday, October 26, 2021 @ 03:47:44
  Author: seblu
Revision: 1033705

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  308 +++---
 docker.sysusers |2 
 2 files changed, 155 insertions(+), 155 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-10-26 03:47:39 UTC (rev 1033704)
+++ PKGBUILD2021-10-26 03:47:44 UTC (rev 1033705)
@@ -1,154 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-# Maintainer: Morten Linderud 
-
-pkgname=docker
-pkgver=20.10.9
-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')
-# https://github.com/moby/moby/tree/v20.10.0/hack/dockerfile/install
-_TINI_COMMIT=de40ad007797e0dcd8b7126f27bb87401d224240
-_LIBNETWORK_COMMIT=64b7a4574d1426139437d20e81c0b6d391130ec8
-# https://github.com/docker/docker-ce-packaging/pull/562
-_BUILDX_COMMIT=260d07a9a19b03df969787496419a0808a27ac61
-source=("git+https://github.com/docker/cli.git#tag=v$pkgver;
-"git+https://github.com/moby/moby.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/docker/buildx.git#commit=$_BUILDX_COMMIT;
-"$pkgname.sysusers")
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'541826011a9836d05a2f42293d5f1beadf2ca8d89fb604487d61a013505678eb')
-
-# 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
-. "moby/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"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export LDFLAGS=''
-  export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external'
-  export GO111MODULE=off
-  export DISABLE_WARN_OUTSIDE_CONTAINER=1
-
-  ### cli
-  echo 'Building cli'
-  _fake_gopath_pushd cli github.com/docker/cli
-  make VERSION=$pkgver dynbinary
-  make manpages
-  _fake_gopath_popd
-
-  ### daemon
-  echo 'Building daemon'
-  _fake_gopath_pushd moby github.com/docker/docker
-  DOCKER_GITCOMMIT=$(cd "$srcdir"/moby && git rev-parse --short HEAD) \
-DOCKER_BUILDTAGS='seccomp journald apparmor' \
-VERSION=$pkgver \
-hack/make.sh dynbinary
-  _fake_gopath_popd
-
-  ### docker proxy
-  echo 'Building docker-proxy'
-  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
-  go build 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
-
-  ### buildx cli plugin
-  echo 'Building buildx cli plugin'
-  _buildx_r=github.com/docker/buildx
-  _fake_gopath_pushd buildx $_buildx_r
-  GO111MODULE=on go build -mod=vendor -o docker-buildx -ldflags 
"-linkmode=external \
--X $_buildx_r/version.Version=$(git describe --match 'v[0-9]*' --always 
--tags)-docker \
--X $_buildx_r/version.Revision=$(git rev-parse HEAD) \
--X $_buildx_r/version.Package=$_buildx_r" \
-./cmd/buildx
-  _fake_gopath_popd
-}
-
-package() {
-  ### proxy
-  install -Dm755 libnetwork/proxy "$pkgdir/usr/bin/docker-proxy"
-  ### init
-  install -Dm755 

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

2021-10-04 Thread Morten Linderud via arch-commits
Date: Monday, October 4, 2021 @ 19:21:49
  Author: foxboron
Revision: 1027654

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  308 +++---
 docker.sysusers |2 
 2 files changed, 155 insertions(+), 155 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-10-04 19:21:40 UTC (rev 1027653)
+++ PKGBUILD2021-10-04 19:21:49 UTC (rev 1027654)
@@ -1,154 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-# Maintainer: Morten Linderud 
-
-pkgname=docker
-pkgver=20.10.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')
-# https://github.com/moby/moby/tree/v20.10.0/hack/dockerfile/install
-_TINI_COMMIT=de40ad007797e0dcd8b7126f27bb87401d224240
-_LIBNETWORK_COMMIT=64b7a4574d1426139437d20e81c0b6d391130ec8
-# https://github.com/docker/docker-ce-packaging/pull/562
-_BUILDX_COMMIT=260d07a9a19b03df969787496419a0808a27ac61
-source=("git+https://github.com/docker/cli.git#tag=v$pkgver;
-"git+https://github.com/moby/moby.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/docker/buildx.git#commit=$_BUILDX_COMMIT;
-"$pkgname.sysusers")
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'541826011a9836d05a2f42293d5f1beadf2ca8d89fb604487d61a013505678eb')
-
-# 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
-. "moby/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"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export LDFLAGS=''
-  export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external'
-  export GO111MODULE=off
-  export DISABLE_WARN_OUTSIDE_CONTAINER=1
-
-  ### cli
-  echo 'Building cli'
-  _fake_gopath_pushd cli github.com/docker/cli
-  make VERSION=$pkgver dynbinary
-  make manpages
-  _fake_gopath_popd
-
-  ### daemon
-  echo 'Building daemon'
-  _fake_gopath_pushd moby github.com/docker/docker
-  DOCKER_GITCOMMIT=$(cd "$srcdir"/moby && git rev-parse --short HEAD) \
-DOCKER_BUILDTAGS='seccomp journald apparmor' \
-VERSION=$pkgver \
-hack/make.sh dynbinary
-  _fake_gopath_popd
-
-  ### docker proxy
-  echo 'Building docker-proxy'
-  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
-  go build 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
-
-  ### buildx cli plugin
-  echo 'Building buildx cli plugin'
-  _buildx_r=github.com/docker/buildx
-  _fake_gopath_pushd buildx $_buildx_r
-  GO111MODULE=on go build -mod=vendor -o docker-buildx -ldflags 
"-linkmode=external \
--X $_buildx_r/version.Version=$(git describe --match 'v[0-9]*' --always 
--tags)-docker \
--X $_buildx_r/version.Revision=$(git rev-parse HEAD) \
--X $_buildx_r/version.Package=$_buildx_r" \
-./cmd/buildx
-  _fake_gopath_popd
-}
-
-package() {
-  ### proxy
-  install -Dm755 libnetwork/proxy "$pkgdir/usr/bin/docker-proxy"
-  ### init
-  install -Dm755 

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

2021-08-04 Thread Sébastien Luttringer via arch-commits
Date: Wednesday, August 4, 2021 @ 11:02:10
  Author: seblu
Revision: 993630

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  316 ++
 docker.sysusers |2 
 2 files changed, 155 insertions(+), 163 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-08-04 11:02:05 UTC (rev 993629)
+++ PKGBUILD2021-08-04 11:02:10 UTC (rev 993630)
@@ -1,162 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-# Maintainer: Morten Linderud 
-
-pkgname=docker
-pkgver=20.10.7
-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')
-# https://github.com/moby/moby/tree/v20.10.0/hack/dockerfile/install
-_TINI_COMMIT=de40ad007797e0dcd8b7126f27bb87401d224240
-_LIBNETWORK_COMMIT=64b7a4574d1426139437d20e81c0b6d391130ec8
-_BUILDX_COMMIT=11057da37336192bfc57d81e02359ba7ba848e4a
-_APP_COMMIT=9d2c67f87b7338eb1a0fa2f18eb81af3d2aac0e1
-source=("git+https://github.com/docker/cli.git#tag=v$pkgver;
-"git+https://github.com/moby/moby.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/docker/buildx.git#commit=$_BUILDX_COMMIT;
-"git+https://github.com/docker/app.git#commit=$_APP_COMMIT;
-"$pkgname.sysusers")
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'541826011a9836d05a2f42293d5f1beadf2ca8d89fb604487d61a013505678eb')
-
-# 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
-. "moby/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"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export LDFLAGS=''
-  export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external'
-  export GO111MODULE=off
-
-  ### cli
-  echo 'Building cli'
-  _fake_gopath_pushd cli github.com/docker/cli
-  DISABLE_WARN_OUTSIDE_CONTAINER=1 make VERSION=$pkgver dynbinary
-  make manpages
-  _fake_gopath_popd
-
-  ### daemon
-  echo 'Building daemon'
-  _fake_gopath_pushd moby github.com/docker/docker
-  DOCKER_GITCOMMIT=$(cd "$srcdir"/moby && git rev-parse --short HEAD) \
-DOCKER_BUILDTAGS='seccomp journald apparmor' \
-VERSION=$pkgver \
-hack/make.sh dynbinary
-  _fake_gopath_popd
-
-  ### docker proxy
-  echo 'Building docker-proxy'
-  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
-  go build 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
-
-  ### 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 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 

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

2021-06-04 Thread Sébastien Luttringer via arch-commits
Date: Friday, June 4, 2021 @ 09:19:00
  Author: seblu
Revision: 955910

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  324 +++---
 docker.sysusers |2 
 2 files changed, 163 insertions(+), 163 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-06-04 09:18:53 UTC (rev 955909)
+++ PKGBUILD2021-06-04 09:19:00 UTC (rev 955910)
@@ -1,162 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-# Maintainer: Morten Linderud 
-
-pkgname=docker
-pkgver=20.10.6
-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')
-# https://github.com/moby/moby/tree/v20.10.0/hack/dockerfile/install
-_TINI_COMMIT=de40ad007797e0dcd8b7126f27bb87401d224240
-_LIBNETWORK_COMMIT=b3507428be5b458cb0e2b4086b13531fb0706e46
-_BUILDX_COMMIT=11057da37336192bfc57d81e02359ba7ba848e4a
-_APP_COMMIT=9d2c67f87b7338eb1a0fa2f18eb81af3d2aac0e1
-source=("git+https://github.com/docker/cli.git#tag=v$pkgver;
-"git+https://github.com/moby/moby.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/docker/buildx.git#commit=$_BUILDX_COMMIT;
-"git+https://github.com/docker/app.git#commit=$_APP_COMMIT;
-"$pkgname.sysusers")
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'541826011a9836d05a2f42293d5f1beadf2ca8d89fb604487d61a013505678eb')
-
-# 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
-. "moby/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"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export LDFLAGS=''
-  export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external'
-  export GO111MODULE=off
-
-  ### cli
-  echo 'Building cli'
-  _fake_gopath_pushd cli github.com/docker/cli
-  DISABLE_WARN_OUTSIDE_CONTAINER=1 make VERSION=$pkgver dynbinary
-  make manpages
-  _fake_gopath_popd
-
-  ### daemon
-  echo 'Building daemon'
-  _fake_gopath_pushd moby github.com/docker/docker
-  DOCKER_GITCOMMIT=$(cd "$srcdir"/moby && git rev-parse --short HEAD) \
-DOCKER_BUILDTAGS='seccomp journald apparmor' \
-VERSION=$pkgver \
-hack/make.sh dynbinary
-  _fake_gopath_popd
-
-  ### docker proxy
-  echo 'Building docker-proxy'
-  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
-  go build 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
-
-  ### 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 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 

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

2021-04-12 Thread Sébastien Luttringer via arch-commits
Date: Monday, April 12, 2021 @ 16:03:36
  Author: seblu
Revision: 915897

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  324 +++---
 docker.sysusers |2 
 2 files changed, 163 insertions(+), 163 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-04-12 16:03:31 UTC (rev 915896)
+++ PKGBUILD2021-04-12 16:03:36 UTC (rev 915897)
@@ -1,162 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-# Maintainer: Morten Linderud 
-
-pkgname=docker
-pkgver=20.10.5
-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')
-# https://github.com/moby/moby/tree/v20.10.0/hack/dockerfile/install
-_TINI_COMMIT=de40ad007797e0dcd8b7126f27bb87401d224240
-_LIBNETWORK_COMMIT=fa125a3512ee0f6187721c88582bf8c4378bd4d7
-_BUILDX_COMMIT=11057da37336192bfc57d81e02359ba7ba848e4a
-_APP_COMMIT=9d2c67f87b7338eb1a0fa2f18eb81af3d2aac0e1
-source=("git+https://github.com/docker/cli.git#tag=v$pkgver;
-"git+https://github.com/moby/moby.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/docker/buildx.git#commit=$_BUILDX_COMMIT;
-"git+https://github.com/docker/app.git#commit=$_APP_COMMIT;
-"$pkgname.sysusers")
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'541826011a9836d05a2f42293d5f1beadf2ca8d89fb604487d61a013505678eb')
-
-# 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
-. "moby/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"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export LDFLAGS=''
-  export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external'
-  export GO111MODULE=off
-
-  ### cli
-  echo 'Building cli'
-  _fake_gopath_pushd cli github.com/docker/cli
-  DISABLE_WARN_OUTSIDE_CONTAINER=1 make VERSION=$pkgver dynbinary
-  make manpages
-  _fake_gopath_popd
-
-  ### daemon
-  echo 'Building daemon'
-  _fake_gopath_pushd moby github.com/docker/docker
-  DOCKER_GITCOMMIT=$(cd "$srcdir"/moby && git rev-parse --short HEAD) \
-DOCKER_BUILDTAGS='seccomp journald apparmor' \
-VERSION=$pkgver \
-hack/make.sh dynbinary
-  _fake_gopath_popd
-
-  ### docker proxy
-  echo 'Building docker-proxy'
-  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
-  go build 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
-
-  ### 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 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 

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

2021-03-03 Thread Morten Linderud via arch-commits
Date: Wednesday, March 3, 2021 @ 16:58:25
  Author: foxboron
Revision: 879313

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  324 +++---
 docker.sysusers |2 
 2 files changed, 163 insertions(+), 163 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-03 16:58:16 UTC (rev 879312)
+++ PKGBUILD2021-03-03 16:58:25 UTC (rev 879313)
@@ -1,162 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-# Maintainer: Morten Linderud 
-
-pkgname=docker
-pkgver=20.10.4
-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')
-# https://github.com/moby/moby/tree/v20.10.0/hack/dockerfile/install
-_TINI_COMMIT=de40ad007797e0dcd8b7126f27bb87401d224240
-_LIBNETWORK_COMMIT=fa125a3512ee0f6187721c88582bf8c4378bd4d7
-_BUILDX_COMMIT=11057da37336192bfc57d81e02359ba7ba848e4a
-_APP_COMMIT=9d2c67f87b7338eb1a0fa2f18eb81af3d2aac0e1
-source=("git+https://github.com/docker/cli.git#tag=v$pkgver;
-"git+https://github.com/moby/moby.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/docker/buildx.git#commit=$_BUILDX_COMMIT;
-"git+https://github.com/docker/app.git#commit=$_APP_COMMIT;
-"$pkgname.sysusers")
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'541826011a9836d05a2f42293d5f1beadf2ca8d89fb604487d61a013505678eb')
-
-# 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
-. "moby/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"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export LDFLAGS=''
-  export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external'
-  export GO111MODULE=off
-
-  ### cli
-  echo 'Building cli'
-  _fake_gopath_pushd cli github.com/docker/cli
-  DISABLE_WARN_OUTSIDE_CONTAINER=1 make VERSION=$pkgver dynbinary
-  make manpages
-  _fake_gopath_popd
-
-  ### daemon
-  echo 'Building daemon'
-  _fake_gopath_pushd moby github.com/docker/docker
-  DOCKER_GITCOMMIT=$(cd "$srcdir"/moby && git rev-parse --short HEAD) \
-DOCKER_BUILDTAGS='seccomp journald apparmor' \
-VERSION=$pkgver \
-hack/make.sh dynbinary
-  _fake_gopath_popd
-
-  ### docker proxy
-  echo 'Building docker-proxy'
-  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
-  go build 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
-
-  ### 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 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 

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

2021-02-27 Thread Morten Linderud via arch-commits
Date: Saturday, February 27, 2021 @ 13:02:56
  Author: foxboron
Revision: 874940

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  330 ++
 docker.sysusers |2 
 2 files changed, 163 insertions(+), 169 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-27 12:54:43 UTC (rev 874939)
+++ PKGBUILD2021-02-27 13:02:56 UTC (rev 874940)
@@ -1,168 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-# Maintainer: Morten Linderud 
-
-pkgname=docker
-pkgver=20.10.3
-pkgrel=3
-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')
-# https://github.com/moby/moby/tree/v20.10.0/hack/dockerfile/install
-_TINI_COMMIT=de40ad007797e0dcd8b7126f27bb87401d224240
-_LIBNETWORK_COMMIT=fa125a3512ee0f6187721c88582bf8c4378bd4d7
-_BUILDX_COMMIT=11057da37336192bfc57d81e02359ba7ba848e4a
-_APP_COMMIT=9d2c67f87b7338eb1a0fa2f18eb81af3d2aac0e1
-source=("git+https://github.com/docker/cli.git#tag=v$pkgver;
-"git+https://github.com/moby/moby.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/docker/buildx.git#commit=$_BUILDX_COMMIT;
-"git+https://github.com/docker/app.git#commit=$_APP_COMMIT;
-"$pkgname.sysusers")
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'541826011a9836d05a2f42293d5f1beadf2ca8d89fb604487d61a013505678eb')
-
-prepare(){
-  cd cli
-  sed -i 's/-v md2man/-v go-md2man/' scripts/docs/generate-man.sh
-  sed -i 's/md2man/go-md2man/' man/md2man-all.sh
-}
-
-# 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
-. "moby/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"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export LDFLAGS=''
-  export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external'
-  export GO111MODULE=off
-
-  ### cli
-  echo 'Building cli'
-  _fake_gopath_pushd cli github.com/docker/cli
-  DISABLE_WARN_OUTSIDE_CONTAINER=1 make VERSION=$pkgver dynbinary
-  make manpages
-  _fake_gopath_popd
-
-  ### daemon
-  echo 'Building daemon'
-  _fake_gopath_pushd moby github.com/docker/docker
-  DOCKER_GITCOMMIT=$(cd "$srcdir"/moby && git rev-parse --short HEAD) \
-DOCKER_BUILDTAGS='seccomp journald apparmor' \
-VERSION=$pkgver \
-hack/make.sh dynbinary
-  _fake_gopath_popd
-
-  ### docker proxy
-  echo 'Building docker-proxy'
-  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
-  go build 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
-
-  ### 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 docker-buildx -ldflags "\
--X github.com/docker/buildx/version.Version=$(git describe --match 
'v[0-9]*' 

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

2021-02-21 Thread Morten Linderud via arch-commits
Date: Sunday, February 21, 2021 @ 15:43:24
  Author: foxboron
Revision: 867722

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  336 +++---
 docker.sysusers |2 
 2 files changed, 169 insertions(+), 169 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-21 15:43:15 UTC (rev 867721)
+++ PKGBUILD2021-02-21 15:43:24 UTC (rev 867722)
@@ -1,168 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-# Maintainer: Morten Linderud 
-
-pkgname=docker
-pkgver=20.10.3
-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')
-# https://github.com/moby/moby/tree/v20.10.0/hack/dockerfile/install
-_TINI_COMMIT=de40ad007797e0dcd8b7126f27bb87401d224240
-_LIBNETWORK_COMMIT=fa125a3512ee0f6187721c88582bf8c4378bd4d7
-_BUILDX_COMMIT=11057da37336192bfc57d81e02359ba7ba848e4a
-_APP_COMMIT=9d2c67f87b7338eb1a0fa2f18eb81af3d2aac0e1
-source=("git+https://github.com/docker/cli.git#tag=v$pkgver;
-"git+https://github.com/moby/moby.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/docker/buildx.git#commit=$_BUILDX_COMMIT;
-"git+https://github.com/docker/app.git#commit=$_APP_COMMIT;
-"$pkgname.sysusers")
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'541826011a9836d05a2f42293d5f1beadf2ca8d89fb604487d61a013505678eb')
-
-prepare(){
-  cd cli
-  sed -i 's/-v md2man/-v go-md2man/' scripts/docs/generate-man.sh
-  sed -i 's/md2man/go-md2man/' man/md2man-all.sh
-}
-
-# 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
-. "moby/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"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export LDFLAGS=''
-  export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external'
-  export GO111MODULE=off
-
-  ### cli
-  echo 'Building cli'
-  _fake_gopath_pushd cli github.com/docker/cli
-  DISABLE_WARN_OUTSIDE_CONTAINER=1 make VERSION=$pkgver dynbinary
-  make manpages
-  _fake_gopath_popd
-
-  ### daemon
-  echo 'Building daemon'
-  _fake_gopath_pushd moby github.com/docker/docker
-  DOCKER_GITCOMMIT=$(cd "$srcdir"/moby && git rev-parse --short HEAD) \
-DOCKER_BUILDTAGS='seccomp journald apparmor' \
-VERSION=$pkgver \
-hack/make.sh dynbinary
-  _fake_gopath_popd
-
-  ### docker proxy
-  echo 'Building docker-proxy'
-  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
-  go build 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
-
-  ### 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 docker-buildx -ldflags "\
--X github.com/docker/buildx/version.Version=$(git describe --match 
'v[0-9]*' 

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

2021-01-19 Thread Sébastien Luttringer via arch-commits
Date: Tuesday, January 19, 2021 @ 17:27:15
  Author: seblu
Revision: 823773

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  339 ++
 docker.sysusers |2 
 2 files changed, 169 insertions(+), 172 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-01-19 17:27:10 UTC (rev 823772)
+++ PKGBUILD2021-01-19 17:27:15 UTC (rev 823773)
@@ -1,171 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-# Maintainer: Morten Linderud 
-
-pkgname=docker
-pkgver=20.10.2
-pkgrel=3
-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')
-# https://github.com/moby/moby/tree/v20.10.0/hack/dockerfile/install
-_TINI_COMMIT=de40ad007797e0dcd8b7126f27bb87401d224240
-_LIBNETWORK_COMMIT=fa125a3512ee0f6187721c88582bf8c4378bd4d7
-_BUILDX_COMMIT=11057da37336192bfc57d81e02359ba7ba848e4a
-_APP_COMMIT=9d2c67f87b7338eb1a0fa2f18eb81af3d2aac0e1
-source=("git+https://github.com/docker/cli.git#tag=v$pkgver;
-"git+https://github.com/moby/moby.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/docker/buildx.git#commit=$_BUILDX_COMMIT;
-"git+https://github.com/docker/app.git#commit=$_APP_COMMIT;
-
'https://github.com/moby/libnetwork/commit/c3fabc6892002c6cd556c37330eb95d1d84b2d9c.patch'
-"$pkgname.sysusers")
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'0c9e0065b8b67f771971b32bc1a8893f697e8f3c59c5dab5964da8528c8db174'
-'541826011a9836d05a2f42293d5f1beadf2ca8d89fb604487d61a013505678eb')
-
-prepare(){
-  # fix FS#69258
-  patch -d moby/vendor/github.com/docker/libnetwork -p 1 < 
c3fabc6892002c6cd556c37330eb95d1d84b2d9c.patch
-  cd cli
-  sed -i 's/-v md2man/-v go-md2man/' scripts/docs/generate-man.sh
-  sed -i 's/md2man/go-md2man/' man/md2man-all.sh
-}
-
-# 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
-. "moby/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"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export LDFLAGS=''
-  export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external'
-
-  ### cli
-  echo 'Building cli'
-  _fake_gopath_pushd cli github.com/docker/cli
-  DISABLE_WARN_OUTSIDE_CONTAINER=1 make VERSION=$pkgver dynbinary
-  make manpages
-  _fake_gopath_popd
-
-  ### daemon
-  echo 'Building daemon'
-  _fake_gopath_pushd moby github.com/docker/docker
-  DOCKER_GITCOMMIT=$(cd "$srcdir"/moby && git rev-parse --short HEAD) \
-DOCKER_BUILDTAGS='seccomp journald apparmor' \
-VERSION=$pkgver \
-hack/make.sh dynbinary
-  _fake_gopath_popd
-
-  ### docker proxy
-  echo 'Building docker-proxy'
-  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
-  go build 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
-
-  ### app cli plugin
-  echo 'Building app cli plugin'
-  _fake_gopath_pushd app github.com/docker/app
-  make 

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

2021-01-18 Thread Sébastien Luttringer via arch-commits
Date: Tuesday, January 19, 2021 @ 04:32:41
  Author: seblu
Revision: 823654

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  342 +++---
 docker.sysusers |2 
 2 files changed, 172 insertions(+), 172 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-01-19 04:10:57 UTC (rev 823653)
+++ PKGBUILD2021-01-19 04:32:41 UTC (rev 823654)
@@ -1,171 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-# Maintainer: Morten Linderud 
-
-pkgname=docker
-pkgver=20.10.2
-pkgrel=3
-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')
-# https://github.com/moby/moby/tree/v20.10.0/hack/dockerfile/install
-_TINI_COMMIT=de40ad007797e0dcd8b7126f27bb87401d224240
-_LIBNETWORK_COMMIT=fa125a3512ee0f6187721c88582bf8c4378bd4d7
-_BUILDX_COMMIT=11057da37336192bfc57d81e02359ba7ba848e4a
-_APP_COMMIT=9d2c67f87b7338eb1a0fa2f18eb81af3d2aac0e1
-source=("git+https://github.com/docker/cli.git#tag=v$pkgver;
-"git+https://github.com/moby/moby.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/docker/buildx.git#commit=$_BUILDX_COMMIT;
-"git+https://github.com/docker/app.git#commit=$_APP_COMMIT;
-
'https://github.com/moby/libnetwork/commit/c3fabc6892002c6cd556c37330eb95d1d84b2d9c.patch'
-"$pkgname.sysusers")
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'0c9e0065b8b67f771971b32bc1a8893f697e8f3c59c5dab5964da8528c8db174'
-'541826011a9836d05a2f42293d5f1beadf2ca8d89fb604487d61a013505678eb')
-
-prepare(){
-  # fix FS#69258
-  patch -d moby/vendor/github.com/docker/libnetwork -p 1 < 
c3fabc6892002c6cd556c37330eb95d1d84b2d9c.patch
-  cd cli
-  sed -i 's/-v md2man/-v go-md2man/' scripts/docs/generate-man.sh
-  sed -i 's/md2man/go-md2man/' man/md2man-all.sh
-}
-
-# 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
-. "moby/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"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export LDFLAGS=''
-  export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external'
-
-  ### cli
-  echo 'Building cli'
-  _fake_gopath_pushd cli github.com/docker/cli
-  DISABLE_WARN_OUTSIDE_CONTAINER=1 make VERSION=$pkgver dynbinary
-  make manpages
-  _fake_gopath_popd
-
-  ### daemon
-  echo 'Building daemon'
-  _fake_gopath_pushd moby github.com/docker/docker
-  DOCKER_GITCOMMIT=$(cd "$srcdir"/moby && git rev-parse --short HEAD) \
-DOCKER_BUILDTAGS='seccomp journald apparmor' \
-VERSION=$pkgver \
-hack/make.sh dynbinary
-  _fake_gopath_popd
-
-  ### docker proxy
-  echo 'Building docker-proxy'
-  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
-  go build 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
-
-  ### app cli plugin
-  echo 'Building app cli plugin'
-  _fake_gopath_pushd app github.com/docker/app
-  make 

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

2021-01-18 Thread Sébastien Luttringer via arch-commits
Date: Tuesday, January 19, 2021 @ 04:10:57
  Author: seblu
Revision: 823653

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  342 +++---
 docker.sysusers |2 
 2 files changed, 172 insertions(+), 172 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-01-19 04:10:52 UTC (rev 823652)
+++ PKGBUILD2021-01-19 04:10:57 UTC (rev 823653)
@@ -1,171 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-# Maintainer: Morten Linderud 
-
-pkgname=docker
-pkgver=20.10.2
-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')
-# https://github.com/moby/moby/tree/v20.10.0/hack/dockerfile/install
-_TINI_COMMIT=de40ad007797e0dcd8b7126f27bb87401d224240
-_LIBNETWORK_COMMIT=fa125a3512ee0f6187721c88582bf8c4378bd4d7
-_BUILDX_COMMIT=11057da37336192bfc57d81e02359ba7ba848e4a
-_APP_COMMIT=9d2c67f87b7338eb1a0fa2f18eb81af3d2aac0e1
-source=("git+https://github.com/docker/cli.git#tag=v$pkgver;
-"git+https://github.com/moby/moby.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/docker/buildx.git#commit=$_BUILDX_COMMIT;
-"git+https://github.com/docker/app.git#commit=$_APP_COMMIT;
-
'https://github.com/moby/libnetwork/commit/c9ca976ccbab6ba9159c521cfd9093cba490b1c3.patch'
-"$pkgname.sysusers")
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'8db14ae0af84bdd7a892b907a118875c3c08003ef7ccbb0c1a11bbe8e00260ae'
-'541826011a9836d05a2f42293d5f1beadf2ca8d89fb604487d61a013505678eb')
-
-prepare(){
-  # fix FS#69258
-  patch -d libnetwork -p 1 < c9ca976ccbab6ba9159c521cfd9093cba490b1c3.patch
-  cd cli
-  sed -i 's/-v md2man/-v go-md2man/' scripts/docs/generate-man.sh
-  sed -i 's/md2man/go-md2man/' man/md2man-all.sh
-}
-
-# 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
-. "moby/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"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export LDFLAGS=''
-  export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external'
-
-  ### cli
-  echo 'Building cli'
-  _fake_gopath_pushd cli github.com/docker/cli
-  DISABLE_WARN_OUTSIDE_CONTAINER=1 make VERSION=$pkgver dynbinary
-  make manpages
-  _fake_gopath_popd
-
-  ### daemon
-  echo 'Building daemon'
-  _fake_gopath_pushd moby github.com/docker/docker
-  DOCKER_GITCOMMIT=$(cd "$srcdir"/moby && git rev-parse --short HEAD) \
-DOCKER_BUILDTAGS='seccomp journald apparmor' \
-VERSION=$pkgver \
-hack/make.sh dynbinary
-  _fake_gopath_popd
-
-  ### docker proxy
-  echo 'Building docker-proxy'
-  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
-  go build 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
-
-  ### app cli plugin
-  echo 'Building app cli plugin'
-  _fake_gopath_pushd app github.com/docker/app
-  make dynamic
-  _fake_gopath_popd
-

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

2021-01-13 Thread Sébastien Luttringer via arch-commits
Date: Thursday, January 14, 2021 @ 00:20:52
  Author: seblu
Revision: 820750

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  317 +-
 docker.sysusers |2 
 2 files changed, 172 insertions(+), 147 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-01-14 00:20:47 UTC (rev 820749)
+++ PKGBUILD2021-01-14 00:20:52 UTC (rev 820750)
@@ -1,146 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-# Maintainer: Morten Linderud 
-
-pkgname=docker
-pkgver=20.10.2
-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')
-# https://github.com/moby/moby/tree/v20.10.0/hack/dockerfile/install
-_TINI_COMMIT=de40ad007797e0dcd8b7126f27bb87401d224240
-_LIBNETWORK_COMMIT=fa125a3512ee0f6187721c88582bf8c4378bd4d7
-_BUILDX_COMMIT=11057da37336192bfc57d81e02359ba7ba848e4a
-_APP_COMMIT=9d2c67f87b7338eb1a0fa2f18eb81af3d2aac0e1
-source=("git+https://github.com/docker/cli.git#tag=v$pkgver;
-"git+https://github.com/moby/moby.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/docker/buildx.git#commit=$_BUILDX_COMMIT;
-"git+https://github.com/docker/app.git#commit=$_APP_COMMIT;
-"$pkgname.sysusers")
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'541826011a9836d05a2f42293d5f1beadf2ca8d89fb604487d61a013505678eb')
-
-prepare(){
-  cd cli
-  sed -i 's/-v md2man/-v go-md2man/' scripts/docs/generate-man.sh
-  sed -i 's/md2man/go-md2man/' man/md2man-all.sh
-}
-
-# 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() {
-  ### globals
-  export GOPATH="$srcdir"
-  export PATH="$GOPATH/bin:$PATH"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export LDFLAGS=""
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external"
-
-  ### cli
-  echo 'Building cli'
-  _fake_gopath_pushd cli github.com/docker/cli
-  DISABLE_WARN_OUTSIDE_CONTAINER=1 make VERSION=$pkgver dynbinary
-  make manpages
-  _fake_gopath_popd
-
-  ### daemon
-  echo 'Building daemon'
-  _fake_gopath_pushd moby github.com/docker/docker
-  DOCKER_GITCOMMIT=$(cd "$srcdir"/moby && git rev-parse --short HEAD) \
-DOCKER_BUILDTAGS='seccomp journald apparmor' \
-VERSION=$pkgver \
-hack/make.sh dynbinary
-  _fake_gopath_popd
-
-  ### docker proxy
-  echo 'Building docker-proxy'
-  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
-  go build 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
-
-  ### 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 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 
-linkmode=external" ./cmd/buildx
-  _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"
-  ### dockerd
-  install -Dm755 

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

2021-01-05 Thread Morten Linderud via arch-commits
Date: Tuesday, January 5, 2021 @ 20:55:14
  Author: foxboron
Revision: 809813

archrelease: copy trunk to community-x86_64

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

-+
 PKGBUILD|  292 +++---
 docker.sysusers |2 
 2 files changed, 147 insertions(+), 147 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-01-05 20:55:05 UTC (rev 809812)
+++ PKGBUILD2021-01-05 20:55:14 UTC (rev 809813)
@@ -1,146 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer
-# Maintainer: Morten Linderud 
-
-pkgname=docker
-pkgver=20.10.1
-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')
-# https://github.com/moby/moby/tree/v20.10.0/hack/dockerfile/install
-_TINI_COMMIT=de40ad007797e0dcd8b7126f27bb87401d224240
-_LIBNETWORK_COMMIT=5c6a95bfb20c61571a00f913c6b91959ede84e8d
-_BUILDX_COMMIT=11057da37336192bfc57d81e02359ba7ba848e4a
-_APP_COMMIT=9d2c67f87b7338eb1a0fa2f18eb81af3d2aac0e1
-source=("git+https://github.com/docker/cli.git#tag=v$pkgver;
-"git+https://github.com/moby/moby.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/docker/buildx.git#commit=$_BUILDX_COMMIT;
-"git+https://github.com/docker/app.git#commit=$_APP_COMMIT;
-"$pkgname.sysusers")
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'SKIP'
-'541826011a9836d05a2f42293d5f1beadf2ca8d89fb604487d61a013505678eb')
-
-prepare(){
-  cd cli
-  sed -i 's/-v md2man/-v go-md2man/' scripts/docs/generate-man.sh
-  sed -i 's/md2man/go-md2man/' man/md2man-all.sh
-}
-
-# 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() {
-  ### globals
-  export GOPATH="$srcdir"
-  export PATH="$GOPATH/bin:$PATH"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export LDFLAGS=""
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external"
-
-  ### cli
-  echo 'Building cli'
-  _fake_gopath_pushd cli github.com/docker/cli
-  DISABLE_WARN_OUTSIDE_CONTAINER=1 make VERSION=$pkgver dynbinary
-  make manpages
-  _fake_gopath_popd
-
-  ### daemon
-  echo 'Building daemon'
-  _fake_gopath_pushd moby github.com/docker/docker
-  DOCKER_GITCOMMIT=$(cd "$srcdir"/moby && git rev-parse --short HEAD) \
-DOCKER_BUILDTAGS='seccomp journald apparmor' \
-VERSION=$pkgver \
-hack/make.sh dynbinary
-  _fake_gopath_popd
-
-  ### docker proxy
-  echo 'Building docker-proxy'
-  _fake_gopath_pushd libnetwork github.com/docker/libnetwork
-  go build 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
-
-  ### 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 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 
-linkmode=external" ./cmd/buildx
-  _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"
-  ### dockerd
-  install -Dm755