From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ABD4C1395E2 for ; Mon, 14 Nov 2016 18:01:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11FBCE07F5; Mon, 14 Nov 2016 18:01:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DA9BDE07F5 for ; Mon, 14 Nov 2016 18:01:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 087D134167A for ; Mon, 14 Nov 2016 18:01:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 68472308 for ; Mon, 14 Nov 2016 18:00:59 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1479146452.a1d1501a2fd4a0553e98bc059eaef9f86c0788b6.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/docker/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/docker/docker-1.13.0_rc1.ebuild app-emulation/docker/metadata.xml X-VCS-Directories: app-emulation/docker/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: a1d1501a2fd4a0553e98bc059eaef9f86c0788b6 X-VCS-Branch: master Date: Mon, 14 Nov 2016 18:00:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 841390fc-7ca8-41ba-8905-adfe13b71627 X-Archives-Hash: 72eac4ae221453515ddbd8d054adcfd3 commit: a1d1501a2fd4a0553e98bc059eaef9f86c0788b6 Author: William Hubbs gentoo org> AuthorDate: Mon Nov 14 17:59:42 2016 +0000 Commit: William Hubbs gentoo org> CommitDate: Mon Nov 14 18:00:52 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1d1501a app-emulation/docker: add changes for 1.13.0_rc1 from upstream Package-Manager: portage-2.3.0 app-emulation/docker/docker-1.13.0_rc1.ebuild | 23 ++++++++++++----------- app-emulation/docker/metadata.xml | 3 +++ 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/app-emulation/docker/docker-1.13.0_rc1.ebuild b/app-emulation/docker/docker-1.13.0_rc1.ebuild index 4f68019..32e517e 100644 --- a/app-emulation/docker/docker-1.13.0_rc1.ebuild +++ b/app-emulation/docker/docker-1.13.0_rc1.ebuild @@ -26,9 +26,9 @@ DESCRIPTION="The core functions you need to create Docker images and run Docker HOMEPAGE="https://dockerproject.org" LICENSE="Apache-2.0" SLOT="0" -IUSE="apparmor aufs btrfs +device-mapper overlay seccomp" +IUSE="apparmor aufs btrfs +device-mapper hardened overlay pkcs11 seccomp" -# https://github.com/docker/docker/blob/master/hack/PACKAGERS.md#build-dependencies +# https://github.com/docker/docker/blob/master/project/PACKAGERS.md#build-dependencies CDEPEND=" >=dev-db/sqlite-3.7.9:3 device-mapper? ( @@ -44,12 +44,12 @@ DEPEND=" dev-go/go-md2man btrfs? ( - >=sys-fs/btrfs-progs-3.8 + >=sys-fs/btrfs-progs-3.16.1 ) " -# https://github.com/docker/docker/blob/master/hack/PACKAGERS.md#runtime-dependencies -# https://github.com/docker/docker/blob/master/hack/PACKAGERS.md#optional-dependencies +# https://github.com/docker/docker/blob/master/project/PACKAGERS.md#runtime-dependencies +# https://github.com/docker/docker/blob/master/project/PACKAGERS.md#optional-dependencies RDEPEND=" ${CDEPEND} @@ -61,6 +61,7 @@ RDEPEND=" >app-emulation/containerd-0.2.2 app-emulation/runc[apparmor?,seccomp?] + app-emulation/docker-proxy " RESTRICT="installsources strip" @@ -111,7 +112,7 @@ pkg_setup() { if kernel_is lt 3 10; then ewarn "" ewarn "Using Docker with kernels older than 3.10 is unstable and unsupported." - ewarn " - http://docs.docker.com/installation/binaries/#check-kernel-dependencies" + ewarn " - http://docs.docker.com/engine/installation/binaries/#check-kernel-dependencies" fi # for where these kernel versions come from, see: @@ -199,10 +200,10 @@ src_compile() { export CGO_CFLAGS="-I${ROOT}/usr/include" export CGO_LDFLAGS="-L${ROOT}/usr/$(get_libdir)" - # if we're building from a zip, we need the GITCOMMIT value + # if we're building from a tarball, we need the GITCOMMIT value [ "$DOCKER_GITCOMMIT" ] && export DOCKER_GITCOMMIT - if gcc-specs-pie; then + if use hardened; then sed -i "s/EXTLDFLAGS_STATIC='/&-fno-PIC /" hack/make.sh || die grep -q -- '-fno-PIC' hack/make.sh || die 'hardened sed failed' @@ -222,7 +223,7 @@ src_compile() { fi done - for tag in apparmor seccomp; do + for tag in apparmor pkcs11 seccomp; do if use $tag; then DOCKER_BUILDTAGS+=" $tag" fi @@ -264,8 +265,8 @@ src_install() { doins -r contrib/syntax/vim/syntax # note: intentionally not using "doins" so that we preserve +x bits - mkdir -p "${D}/usr/share/${PN}/contrib" - cp -R contrib/* "${D}/usr/share/${PN}/contrib" + dodir /usr/share/${PN}/contrib + cp -R contrib/* "${ED}/usr/share/${PN}/contrib" } pkg_postinst() { diff --git a/app-emulation/docker/metadata.xml b/app-emulation/docker/metadata.xml index 9e0dfdc..dbf678f 100644 --- a/app-emulation/docker/metadata.xml +++ b/app-emulation/docker/metadata.xml @@ -48,6 +48,9 @@ Enables dependencies for the "overlay" graph driver, including necessary kernel flags. + + Enables pkcs-11 support. + docker/docker