Date: Thursday, January 16, 2014 @ 00:41:43 Author: seblu Revision: 104112
archrelease: copy trunk to community-x86_64 Added: docker/repos/community-x86_64/PKGBUILD (from rev 104111, docker/trunk/PKGBUILD) docker/repos/community-x86_64/docker.install (from rev 104111, docker/trunk/docker.install) Deleted: docker/repos/community-x86_64/PKGBUILD docker/repos/community-x86_64/docker.install ----------------+ PKGBUILD | 100 +++++++++++++++++++++++++++---------------------------- docker.install | 36 +++++++++---------- 2 files changed, 68 insertions(+), 68 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-01-15 23:41:29 UTC (rev 104111) +++ PKGBUILD 2014-01-15 23:41:43 UTC (rev 104112) @@ -1,50 +0,0 @@ -# $Id$ -# Maintainer: Sébastien "Seblu" Luttringer - -pkgname=docker -pkgver=0.7.5 -pkgrel=1 -epoch=1 -pkgdesc='Pack, ship and run any application as a lightweight container' -arch=('x86_64') -url='http://www.docker.io/' -license=('Apache') -depends=('bridge-utils' 'iproute2' 'device-mapper' 'lxc' 'sqlite' 'systemd') -makedepends=('git' 'go') -# don't strip binaries! A sha1 is used to check binary consistency. -options=('!strip') -install=$pkgname.install -source=("git+https://github.com/dotcloud/docker.git#tag=v$pkgver") -md5sums=('SKIP') -# magic harcoded path -_magic=src/github.com/dotcloud - -prepare() { - mkdir -p "$_magic" - ln -sfn "../../../docker" "$_magic/docker" -} - -build() { - cd "$_magic/docker" - export GOPATH="$srcdir:$srcdir/$_magic/docker/vendor" - ./hack/make.sh dynbinary -} - -check() { - cd "$_magic/docker" - # Will be added upstream soon - #./hack/make.sh dyntest -} - -package() { - cd "$_magic/docker" - install -Dm755 "bundles/$pkgver/dynbinary/docker-$pkgver" "$pkgdir/usr/bin/docker" - install -Dm755 "bundles/$pkgver/dynbinary/dockerinit-$pkgver" "$pkgdir/usr/lib/docker/dockerinit" - # 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" - # systemd - install -Dm644 "contrib/init/systemd/docker.service" "$pkgdir/usr/lib/systemd/system/docker.service" -} - -# vim:set ts=2 sw=2 et: Copied: docker/repos/community-x86_64/PKGBUILD (from rev 104111, docker/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-01-15 23:41:43 UTC (rev 104112) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Sébastien "Seblu" Luttringer + +pkgname=docker +pkgver=0.7.6 +pkgrel=1 +epoch=1 +pkgdesc='Pack, ship and run any application as a lightweight container' +arch=('x86_64') +url='http://www.docker.io/' +license=('Apache') +depends=('bridge-utils' 'iproute2' 'device-mapper' 'lxc' 'sqlite' 'systemd') +makedepends=('git' 'go') +# don't strip binaries! A sha1 is used to check binary consistency. +options=('!strip') +install=$pkgname.install +source=("git+https://github.com/dotcloud/docker.git#tag=v$pkgver") +md5sums=('SKIP') +# magic harcoded path +_magic=src/github.com/dotcloud + +prepare() { + mkdir -p "$_magic" + ln -sfn "../../../docker" "$_magic/docker" +} + +build() { + cd "$_magic/docker" + export GOPATH="$srcdir:$srcdir/$_magic/docker/vendor" + ./hack/make.sh dynbinary +} + +check() { + cd "$_magic/docker" + # Will be added upstream soon + #./hack/make.sh dyntest +} + +package() { + cd "$_magic/docker" + install -Dm755 "bundles/$pkgver/dynbinary/docker-$pkgver" "$pkgdir/usr/bin/docker" + install -Dm755 "bundles/$pkgver/dynbinary/dockerinit-$pkgver" "$pkgdir/usr/lib/docker/dockerinit" + # 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" + # systemd + install -Dm644 "contrib/init/systemd/docker.service" "$pkgdir/usr/lib/systemd/system/docker.service" +} + +# vim:set ts=2 sw=2 et: Deleted: docker.install =================================================================== --- docker.install 2014-01-15 23:41:29 UTC (rev 104111) +++ docker.install 2014-01-15 23:41:43 UTC (rev 104112) @@ -1,18 +0,0 @@ -# arg 1: the new package version -post_install() { - # create docker group (FS#38029) - getent group docker >/dev/null || groupadd -g 142 docker -} - -# 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 -} - -# arg 1: the old package version -post_remove() { - groupdel docker >/dev/null 2>&1 || true -} - -# vim:set ts=2 sw=2 et: Copied: docker/repos/community-x86_64/docker.install (from rev 104111, docker/trunk/docker.install) =================================================================== --- docker.install (rev 0) +++ docker.install 2014-01-15 23:41:43 UTC (rev 104112) @@ -0,0 +1,18 @@ +# arg 1: the new package version +post_install() { + # create docker group (FS#38029) + getent group docker >/dev/null || groupadd -g 142 docker +} + +# 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 +} + +# arg 1: the old package version +post_remove() { + groupdel docker >/dev/null 2>&1 || true +} + +# vim:set ts=2 sw=2 et: