From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 607F259CB2 for ; Sun, 17 Apr 2016 16:36:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 000EE21C008; Sun, 17 Apr 2016 16:36:28 +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 858BF21C008 for ; Sun, 17 Apr 2016 16:36:28 +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 2B8A23408F0 for ; Sun, 17 Apr 2016 16:36:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1433B7E for ; Sun, 17 Apr 2016 16:36:25 +0000 (UTC) From: "Kacper Kowalik" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kacper Kowalik" Message-ID: <1460910921.bf4e69347e7fce0c7a35fe4789e6c097c69d65f8.xarthisius@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/containerd/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/containerd/Manifest app-emulation/containerd/containerd-0.2.0.ebuild app-emulation/containerd/containerd-9999.ebuild app-emulation/containerd/metadata.xml X-VCS-Directories: app-emulation/containerd/ X-VCS-Committer: xarthisius X-VCS-Committer-Name: Kacper Kowalik X-VCS-Revision: bf4e69347e7fce0c7a35fe4789e6c097c69d65f8 X-VCS-Branch: master Date: Sun, 17 Apr 2016 16:36:25 +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: b996ec33-a309-483d-b74f-b7f3ac1baa44 X-Archives-Hash: d29108edc382205396a4384da0d7bc08 commit: bf4e69347e7fce0c7a35fe4789e6c097c69d65f8 Author: Kacper Kowalik gentoo org> AuthorDate: Sun Apr 17 16:35:21 2016 +0000 Commit: Kacper Kowalik gentoo org> CommitDate: Sun Apr 17 16:35:21 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf4e6934 app-emulation/containerd: initial import Ebuild based on Tianon's work https://github.com/tianon/docker-overlay/tree/master/app-emulation/containerd Package-Manager: portage-2.2.27 app-emulation/containerd/Manifest | 1 + app-emulation/containerd/containerd-0.2.0.ebuild | 43 ++++++++++++++++++++++++ app-emulation/containerd/containerd-9999.ebuild | 43 ++++++++++++++++++++++++ app-emulation/containerd/metadata.xml | 22 ++++++++++++ 4 files changed, 109 insertions(+) diff --git a/app-emulation/containerd/Manifest b/app-emulation/containerd/Manifest new file mode 100644 index 0000000..2872622 --- /dev/null +++ b/app-emulation/containerd/Manifest @@ -0,0 +1 @@ +DIST containerd-0.2.0.tar.gz 635248 SHA256 1462e0c233763800b91ac2a670d82994ba1988560928e153f751fb1c0a6608c0 SHA512 381c0a21733fb79e90364649b46cbdadbc32d07245bd7a320465f6619ee5895e9552b7cc4393cb8d409295a7b867b7e461c079715cf1938e6313d4b888d81518 WHIRLPOOL d4e70a8be832227be671c13b77242a790cdf8645ff294c31d72e8cf01de2b30b9d78c691a156624adb004de42af6f133cb88b46aff37a33bc94d72bf87a0ee8a diff --git a/app-emulation/containerd/containerd-0.2.0.ebuild b/app-emulation/containerd/containerd-0.2.0.ebuild new file mode 100644 index 0000000..c840962 --- /dev/null +++ b/app-emulation/containerd/containerd-0.2.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=6 +EGO_PN="github.com/docker/${PN}" + +if [[ ${PV} == *9999 ]]; then + inherit golang-vcs +else + MY_PV="${PV/_/-}" + EGIT_COMMIT="v${MY_PV}" + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + inherit golang-vcs-snapshot +fi + +DESCRIPTION="A daemon to control runC" +HOMEPAGE="https://containerd.tools" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="+seccomp" + +DEPEND="" +RDEPEND="app-emulation/runc + seccomp? ( sys-libs/libseccomp )" + +S=${WORKDIR}/${P}/src/${EGO_PN} + +src_prepare() { + eapply_user +} + +src_compile() { + local options=( $(usex seccomp "seccomp") ) + export GOPATH="${WORKDIR}/${P}" # ${PWD}/vendor + LDFLAGS= emake GIT_COMMIT="$EGIT_COMMIT" BUILDTAGS="${options[@]}" +} + +src_install() { + dobin bin/containerd* bin/ctr +} diff --git a/app-emulation/containerd/containerd-9999.ebuild b/app-emulation/containerd/containerd-9999.ebuild new file mode 100644 index 0000000..c840962 --- /dev/null +++ b/app-emulation/containerd/containerd-9999.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=6 +EGO_PN="github.com/docker/${PN}" + +if [[ ${PV} == *9999 ]]; then + inherit golang-vcs +else + MY_PV="${PV/_/-}" + EGIT_COMMIT="v${MY_PV}" + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + inherit golang-vcs-snapshot +fi + +DESCRIPTION="A daemon to control runC" +HOMEPAGE="https://containerd.tools" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="+seccomp" + +DEPEND="" +RDEPEND="app-emulation/runc + seccomp? ( sys-libs/libseccomp )" + +S=${WORKDIR}/${P}/src/${EGO_PN} + +src_prepare() { + eapply_user +} + +src_compile() { + local options=( $(usex seccomp "seccomp") ) + export GOPATH="${WORKDIR}/${P}" # ${PWD}/vendor + LDFLAGS= emake GIT_COMMIT="$EGIT_COMMIT" BUILDTAGS="${options[@]}" +} + +src_install() { + dobin bin/containerd* bin/ctr +} diff --git a/app-emulation/containerd/metadata.xml b/app-emulation/containerd/metadata.xml new file mode 100644 index 0000000..9513270 --- /dev/null +++ b/app-emulation/containerd/metadata.xml @@ -0,0 +1,22 @@ + + + + + Containerd is a daemon with an API and a command line client, to manage + containers on one machine. It uses runC to run containers according to + the OCI specification. Containerd has advanced features such as seccomp + and user namespace support as well as checkpoint and restore for cloning + and live migration of containers. + + + admwiggin@gmail.com + Tianon + + + xarthisius@gentoo.org + Kacper Kowalik + + + docker/containerd + +