containerd is new dep for docker-1.11.2 for oci comp.

This commit is contained in:
Ertuğrul Erata
2016-07-12 22:53:36 +03:00
parent dbf5390b69
commit 2b81cc9c50
2 changed files with 70 additions and 0 deletions
@@ -0,0 +1,29 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright 2016 TUBITAK/UEKAE
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def build():
shelltools.export("GOPATH", "%s" % get.workDIR())
shelltools.cd("%s" % get.workDIR())
shelltools.move("containerd-*", "containerd")
shelltools.makedirs("src/github.com/docker")
shelltools.system("ln -rsf containerd* src/github.com/docker")
shelltools.cd("src/github.com/docker/containerd")
shelltools.system("LDFLAGS= make")
def install():
pisitools.dobin("bin/*")
pisitools.dodoc("MAINTAINERS", "README*")
@@ -0,0 +1,41 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pardus.org.tr/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>containerd</Name>
<Homepage>https://containerd.tools/</Homepage>
<Packager>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Packager>
<License>APACHE</License>
<Summary>A daemon to control runC, built for performance and density.</Summary>
<Description>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.</Description>
<Archive sha1sum="db3ec28d045109952e0615f5a3bea39816dfac17" type="targz">https://github.com/docker/containerd/archive/v0.2.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>golang</Dependency>
<Dependency>git</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>containerd</Name>
<RuntimeDependencies>
<Dependency>runc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-07-12</Date>
<Version>0.2.2</Version>
<Comment>First release</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
</History>
</PISI>