app-emulation/containerd: import 0.2.0 from upstream portage

This commit is contained in:
Nick Owens 2016-06-22 11:37:36 -07:00
parent 1f415cbdbf
commit 4b22ea1c82
3 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,5 @@
DIST containerd-0.2.0.tar.gz 635248 SHA256 1462e0c233763800b91ac2a670d82994ba1988560928e153f751fb1c0a6608c0 SHA512 381c0a21733fb79e90364649b46cbdadbc32d07245bd7a320465f6619ee5895e9552b7cc4393cb8d409295a7b867b7e461c079715cf1938e6313d4b888d81518 WHIRLPOOL d4e70a8be832227be671c13b77242a790cdf8645ff294c31d72e8cf01de2b30b9d78c691a156624adb004de42af6f133cb88b46aff37a33bc94d72bf87a0ee8a
EBUILD containerd-0.2.0.ebuild 872 SHA256 3489ed392df85fb20d79c7642b5d8ffc4e27bee998bbff94924cd096b45b4ff8 SHA512 2be6d72181de2b17a63f193215a55ae7e4641428ed701720e1eeb4f52d77d3fcc709660c3bdf0315ac3cf29b5bdd39c4eb8d90e3672167dcd28ce9947c0a8462 WHIRLPOOL af8a90feff38580e190f24659d52f85da2f3d77589a82cf771a8aed91e2c9600d05311e1f30badadc1561884256f7465ba201b3613d510a2cb888909289b2558
EBUILD containerd-9999.ebuild 873 SHA256 37689bdf98b0c26caf73768b628fb5b247c99ac936fc71b9515518fbeaec0ee8 SHA512 a9dcb7eeb0929717572f181143135f35c316b9a2111d2e84c1b0e3de58fb3cdb5be4b1d838a4496c6baa00bcf0d11e55848d6c6faf3c3e4b5d22762423c582d2 WHIRLPOOL 4ce7ccf1c2beee6f489012fa5bfcbf9f0700a680d964be2561438b2a7dd5c506dd020507c7ab3b8728e92f0e40afd044f8838b41111585f32f7c8f8745bfc41c
MISC ChangeLog 907 SHA256 e4c5c82016826389ac30d0f6c6abbd21d68ee4305bf5081c4042c935128d077a SHA512 5fa4260862c25b7e89050f0f89e4a4cdbce7e633c7ec99fa68ef7cd9c87d3f1bf9627da0bf2217a42b3e9d36009093db7e037b45d136c128915b3d11e13b5ff6 WHIRLPOOL 3a3cbf24e9ffe67575d95b9113ffbec4208eaa9a0f274d6adc87c92b6b278ea167f7139b49406b4b66e5c4e0e2d600f1d23ae9fe0a388d40c29ffeaa0e2d0d6e
MISC metadata.xml 806 SHA256 0e405066fe37fcb61860b427329725ad643f44ca8c51ce3155155f9804364e9e SHA512 2fdec9a5625e9c7339988704a60f1e4dc337d05cd510199a3228402f8e4b67b685afee44c87b035895791312e269d84e1821f7b1b2ebcc2f011d036bf7eeb9de WHIRLPOOL 8dc5aea92a5fcc73dd4f6bfcd2d4ece9ee27770000c66ad0fadfe3c78dac0c8261fb9016b8a0abf76a58c8236cd7a25c117356df86e38a8ec09dffdb6eeb64d1

View File

@ -0,0 +1,43 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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
}

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<longdescription>
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.
</longdescription>
<maintainer type="person">
<email>admwiggin@gmail.com</email>
<name>Tianon</name>
</maintainer>
<maintainer type="person">
<email>xarthisius@gentoo.org</email>
<name>Kacper Kowalik</name>
</maintainer>
<upstream>
<remote-id type="github">docker/containerd</remote-id>
</upstream>
</pkgmetadata>