[arch-commits] Commit in docker/repos/community-x86_64 (6 files)
Sébastien Luttringer
seblu at archlinux.org
Thu Oct 27 17:47:23 UTC 2016
Date: Thursday, October 27, 2016 @ 17:47:23
Author: seblu
Revision: 193788
archrelease: copy trunk to community-x86_64
Added:
docker/repos/community-x86_64/PKGBUILD
(from rev 193787, docker/trunk/PKGBUILD)
docker/repos/community-x86_64/docker.install
(from rev 193787, docker/trunk/docker.install)
docker/repos/community-x86_64/docker.sysusers
(from rev 193787, docker/trunk/docker.sysusers)
Deleted:
docker/repos/community-x86_64/PKGBUILD
docker/repos/community-x86_64/docker.install
docker/repos/community-x86_64/docker.sysusers
-----------------+
PKGBUILD | 206 +++++++++++++++++++++++++++---------------------------
docker.install | 26 +++---
docker.sysusers | 2
3 files changed, 117 insertions(+), 117 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-27 17:46:57 UTC (rev 193787)
+++ PKGBUILD 2016-10-27 17:47:23 UTC (rev 193788)
@@ -1,103 +0,0 @@
-# $Id$
-# Maintainer: Sébastien "Seblu" Luttringer
-
-pkgname=docker
-pkgver=1.12.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=('bridge-utils' 'iproute2' 'device-mapper' 'sqlite' 'systemd' 'libseccomp')
-makedepends=('git' 'go' 'btrfs-progs' 'go-md2man')
-optdepends=('btrfs-progs: btrfs backend support'
- 'lxc: lxc backend support')
-# don't strip binaries! A sha1 is used to check binary consistency.
-options=('!strip')
-install=$pkgname.install
-# Use exact commit version from Dockerfile for runc and containerd until 1.0.0
-# https://github.com/docker/containerd/issues/299#issuecomment-240745119
-source=("git+https://github.com/docker/docker.git#tag=v$pkgver"
- 'git+https://github.com/opencontainers/runc.git#commit=cc29e3dded8e27ba8f65738f40d251c885030a28'
- 'git+https://github.com/docker/containerd.git#commit=0ac3cd1be170d180b2baed755e8f0da547ceb267'
- "$pkgname.sysusers")
-md5sums=('SKIP'
- 'SKIP'
- 'SKIP'
- '8cf9900ebada61f352a03465a088da34')
-
-prepare() {
- cd docker
- # apply patch from the source array (should be a pacman feature)
- local filename
- for filename in "${source[@]}"; do
- if [[ "$filename" =~ \.patch$ ]]; then
- msg2 "Applying patch $filename"
- patch -p1 -N -i "$srcdir/$filename"
- fi
- done
- :
-}
-
-build() {
- export GOPATH="$srcdir"
-
- # runc
- msg2 'Building runc'
- mkdir -p src/github.com/opencontainers
- ln -rsf "$srcdir/runc" src/github.com/opencontainers/runc
- cd src/github.com/opencontainers/runc
- make BUILDTAGS='seccomp'
-
- # containerd
- msg2 'Building containerd'
- cd "$srcdir"
- mkdir -p src/github.com/docker
- ln -rsf containerd src/github.com/docker
- cd src/github.com/docker/containerd
- LDFLAGS= make
-
- # docker
- msg2 'Building docker'
- cd "$srcdir"/docker
- export AUTO_GOPATH=1 DOCKER_BUILDTAGS='seccomp'
- hack/make.sh dynbinary
- # man pages
- man/md2man-all.sh 2>/dev/null
-}
-
-#check() {
-# cd docker
-# ./hack/make.sh dyntest
-#}
-
-package() {
- # runc & containerd
- install -Dm755 containerd/bin/containerd "$pkgdir/usr/bin/docker-containerd"
- install -Dm755 containerd/bin/containerd-shim "$pkgdir/usr/bin/docker-containerd-shim"
- install -Dm755 containerd/bin/ctr "$pkgdir/usr/bin/docker-containerd-ctr"
- install -Dm755 runc/runc "$pkgdir/usr/bin/docker-runc"
- # docker binary
- cd docker
- install -Dm755 "bundles/$pkgver/dynbinary-client/docker-$pkgver" "$pkgdir/usr/bin/docker"
- install -Dm755 "bundles/$pkgver/dynbinary-daemon/docker-proxy-$pkgver" "$pkgdir/usr/bin/docker-proxy"
- install -Dm755 "bundles/$pkgver/dynbinary-daemon/dockerd-$pkgver" "$pkgdir/usr/bin/dockerd"
- # completion
- install -Dm644 'contrib/completion/bash/docker' "$pkgdir/usr/share/bash-completion/completions/docker"
- install -Dm644 'contrib/completion/zsh/_docker' "$pkgdir/usr/share/zsh/site-functions/_docker"
- install -Dm644 'contrib/completion/fish/docker.fish' "$pkgdir/usr/share/fish/vendor_completions.d/docker.fish"
- # systemd
- install -Dm644 'contrib/init/systemd/docker.service' "$pkgdir/usr/lib/systemd/system/docker.service"
- install -Dm644 'contrib/init/systemd/docker.socket' "$pkgdir/usr/lib/systemd/system/docker.socket"
- install -Dm644 'contrib/udev/80-docker.rules' "$pkgdir/usr/lib/udev/rules.d/80-docker.rules"
- install -Dm644 "$srcdir/$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
- # vim syntax
- install -Dm644 'contrib/syntax/vim/syntax/dockerfile.vim' "$pkgdir/usr/share/vim/vimfiles/syntax/dockerfile.vim"
- install -Dm644 'contrib/syntax/vim/ftdetect/dockerfile.vim' "$pkgdir/usr/share/vim/vimfiles/ftdetect/dockerfile.vim"
- # man
- install -dm755 "$pkgdir/usr/share/man"
- mv man/man* "$pkgdir/usr/share/man"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: docker/repos/community-x86_64/PKGBUILD (from rev 193787, docker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-27 17:47:23 UTC (rev 193788)
@@ -0,0 +1,103 @@
+# $Id$
+# Maintainer: Sébastien "Seblu" Luttringer
+
+pkgname=docker
+pkgver=1.12.3
+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=('bridge-utils' 'iproute2' 'device-mapper' 'sqlite' 'systemd' 'libseccomp')
+makedepends=('git' 'go' 'btrfs-progs' 'go-md2man')
+optdepends=('btrfs-progs: btrfs backend support'
+ 'lxc: lxc backend support')
+# don't strip binaries! A sha1 is used to check binary consistency.
+options=('!strip')
+install=$pkgname.install
+# Use exact commit version from Dockerfile for runc and containerd until 1.0.0
+# https://github.com/docker/containerd/issues/299#issuecomment-240745119
+source=("git+https://github.com/docker/docker.git#tag=v$pkgver"
+ 'git+https://github.com/opencontainers/runc.git#commit=cc29e3dded8e27ba8f65738f40d251c885030a28'
+ 'git+https://github.com/docker/containerd.git#commit=0ac3cd1be170d180b2baed755e8f0da547ceb267'
+ "$pkgname.sysusers")
+md5sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ '8cf9900ebada61f352a03465a088da34')
+
+prepare() {
+ cd docker
+ # apply patch from the source array (should be a pacman feature)
+ local filename
+ for filename in "${source[@]}"; do
+ if [[ "$filename" =~ \.patch$ ]]; then
+ msg2 "Applying patch $filename"
+ patch -p1 -N -i "$srcdir/$filename"
+ fi
+ done
+ :
+}
+
+build() {
+ export GOPATH="$srcdir"
+
+ # runc
+ msg2 'Building runc'
+ mkdir -p src/github.com/opencontainers
+ ln -rsf "$srcdir/runc" src/github.com/opencontainers/runc
+ cd src/github.com/opencontainers/runc
+ make BUILDTAGS='seccomp'
+
+ # containerd
+ msg2 'Building containerd'
+ cd "$srcdir"
+ mkdir -p src/github.com/docker
+ ln -rsf containerd src/github.com/docker
+ cd src/github.com/docker/containerd
+ LDFLAGS= make
+
+ # docker
+ msg2 'Building docker'
+ cd "$srcdir"/docker
+ export AUTO_GOPATH=1 DOCKER_BUILDTAGS='seccomp'
+ hack/make.sh dynbinary
+ # man pages
+ man/md2man-all.sh 2>/dev/null
+}
+
+#check() {
+# cd docker
+# ./hack/make.sh dyntest
+#}
+
+package() {
+ # runc & containerd
+ install -Dm755 containerd/bin/containerd "$pkgdir/usr/bin/docker-containerd"
+ install -Dm755 containerd/bin/containerd-shim "$pkgdir/usr/bin/docker-containerd-shim"
+ install -Dm755 containerd/bin/ctr "$pkgdir/usr/bin/docker-containerd-ctr"
+ install -Dm755 runc/runc "$pkgdir/usr/bin/docker-runc"
+ # docker binary
+ cd docker
+ install -Dm755 "bundles/$pkgver/dynbinary-client/docker-$pkgver" "$pkgdir/usr/bin/docker"
+ install -Dm755 "bundles/$pkgver/dynbinary-daemon/docker-proxy-$pkgver" "$pkgdir/usr/bin/docker-proxy"
+ install -Dm755 "bundles/$pkgver/dynbinary-daemon/dockerd-$pkgver" "$pkgdir/usr/bin/dockerd"
+ # completion
+ install -Dm644 'contrib/completion/bash/docker' "$pkgdir/usr/share/bash-completion/completions/docker"
+ install -Dm644 'contrib/completion/zsh/_docker' "$pkgdir/usr/share/zsh/site-functions/_docker"
+ install -Dm644 'contrib/completion/fish/docker.fish' "$pkgdir/usr/share/fish/vendor_completions.d/docker.fish"
+ # systemd
+ install -Dm644 'contrib/init/systemd/docker.service' "$pkgdir/usr/lib/systemd/system/docker.service"
+ install -Dm644 'contrib/init/systemd/docker.socket' "$pkgdir/usr/lib/systemd/system/docker.socket"
+ install -Dm644 'contrib/udev/80-docker.rules' "$pkgdir/usr/lib/udev/rules.d/80-docker.rules"
+ install -Dm644 "$srcdir/$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+ # vim syntax
+ install -Dm644 'contrib/syntax/vim/syntax/dockerfile.vim' "$pkgdir/usr/share/vim/vimfiles/syntax/dockerfile.vim"
+ install -Dm644 'contrib/syntax/vim/ftdetect/dockerfile.vim' "$pkgdir/usr/share/vim/vimfiles/ftdetect/dockerfile.vim"
+ # man
+ install -dm755 "$pkgdir/usr/share/man"
+ mv man/man* "$pkgdir/usr/share/man"
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: docker.install
===================================================================
--- docker.install 2016-10-27 17:46:57 UTC (rev 193787)
+++ docker.install 2016-10-27 17:47:23 UTC (rev 193788)
@@ -1,13 +0,0 @@
-# Arg 1: the new package version
-post_install() {
- # create docker group (FS#38029)
- systemd-sysusers docker.conf
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- (( $(vercmp $2 '1:0.7.1-1') < 0 )) && post_install "$1" || true
-}
-
-# vim:set ts=2 sw=2 et:
Copied: docker/repos/community-x86_64/docker.install (from rev 193787, docker/trunk/docker.install)
===================================================================
--- docker.install (rev 0)
+++ docker.install 2016-10-27 17:47:23 UTC (rev 193788)
@@ -0,0 +1,13 @@
+# Arg 1: the new package version
+post_install() {
+ # create docker group (FS#38029)
+ systemd-sysusers docker.conf
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ (( $(vercmp $2 '1:0.7.1-1') < 0 )) && post_install "$1" || true
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: docker.sysusers
===================================================================
--- docker.sysusers 2016-10-27 17:46:57 UTC (rev 193787)
+++ docker.sysusers 2016-10-27 17:47:23 UTC (rev 193788)
@@ -1 +0,0 @@
-g docker - -
Copied: docker/repos/community-x86_64/docker.sysusers (from rev 193787, docker/trunk/docker.sysusers)
===================================================================
--- docker.sysusers (rev 0)
+++ docker.sysusers 2016-10-27 17:47:23 UTC (rev 193788)
@@ -0,0 +1 @@
+g docker - -
More information about the arch-commits
mailing list