diff --git a/hardware/virtualization/containerd/pspec.xml b/hardware/virtualization/containerd/pspec.xml index 5471b1cd65..3e96472b78 100644 --- a/hardware/virtualization/containerd/pspec.xml +++ b/hardware/virtualization/containerd/pspec.xml @@ -11,7 +11,7 @@ Apache-2.0 A daemon to control runC, built for performance and density. 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. - https://github.com/docker/containerd/archive/v0.2.2.tar.gz + https://github.com/containerd/containerd/archive/v1.1.0.tar.gz golang git @@ -30,6 +30,13 @@ + + 2018-06-10 + 1.1.0 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + 2017-03-20 0.2.2 diff --git a/hardware/virtualization/docker/actions.py b/hardware/virtualization/docker/actions.py index 2730c9c4da..e2b9d48229 100644 --- a/hardware/virtualization/docker/actions.py +++ b/hardware/virtualization/docker/actions.py @@ -10,30 +10,49 @@ from pisi.actionsapi import shelltools from pisi.actionsapi import get shelltools.export("AUTO_GOPATH", "1") -shelltools.export("DOCKER_GITCOMMIT", "b9f10c9") +shelltools.export("DOCKER_GITCOMMIT","f150324") +shelltools.export("IAMSTATIC", "false") +shelltools.export("VERSION", "18.05.0") shelltools.export("GOROOT","/usr/lib/go") -shelltools.export("GOPATH", "%s" % get.workDIR()) +shelltools.export("GOPATH", "%s" % get.workDIR()) shelltools.export("CGO_CFLAGS", "-I/usr/include") shelltools.export("CGO_LDFLAGS", "-L/usr/lib") shelltools.export("DOCKER_BUILDTAGS","seccomp") -#shelltools.export("DOCKER_INITPATH", "/usr/lib/docker/dockerinit") +shelltools.export("GOWORK","src/github.com/docker") NoStrip=["/"] +def setup(): + shelltools.makedirs("components/cli/src/github.com/docker") + shelltools.cd("components/cli/src/github.com/docker") + shelltools.system("ln -s ../../../../cli . ") + + def build(): - #shelltools.cd("docker") - shelltools.system("hack/make.sh dynbinary") + shelltools.cd("%s" % get.workDIR()) + shelltools.cd("docker-ce-%s-ce/components/engine" % get.srcVERSION()) + shelltools.system("hack/make.sh dynbinary-daemon") + + # build cli + shelltools.cd("%s" % get.workDIR()) + shelltools.cd("docker-ce-%s-ce/components/cli" % get.srcVERSION()) + shelltools.system("LDFLAGS='' GOPATH=%s/docker-ce-%s-ce/components/cli ./scripts/build/dynbinary" % (get.workDIR(), get.srcVERSION())) def install(): - pisitools.dobin("bundles/1.11.2/dynbinary/docker") - pisitools.dobin("bundles/1.11.2/dynbinary/docker-1.11.2") + shelltools.cd("%s/docker-ce-%s-ce" % (get.workDIR(), get.srcVERSION())) + pisitools.dobin("components/cli/build/docker*") + pisitools.dobin("components/engine/bundles/dynbinary-daemon/*") + # insert udev rules - pisitools.insinto("/lib/udev/rules.d", "contrib/udev/*.rules") + pisitools.insinto("/lib/udev/rules.d", "components/engine/contrib/udev/*.rules") #insert contrib in docs - pisitools.insinto("/usr/share/doc/docker", "contrib") + pisitools.insinto("/usr/share/doc/docker", "components/cli/contrib") + + pisitools.dobin("components/engine/contrib/check-config.sh") - pisitools.dodoc("VERSION", "LICENSE", "README.md", "AUTHORS", "CONTRIBUTING.md", "CHANGELOG.md", "NOTICE") + + pisitools.dodoc("VERSION", "README.md","CONTRIBUTING.md", "CHANGELOG.md") diff --git a/hardware/virtualization/docker/comar/service.py b/hardware/virtualization/docker/comar/service.py index 882c0c1434..af598f0d0d 100644 --- a/hardware/virtualization/docker/comar/service.py +++ b/hardware/virtualization/docker/comar/service.py @@ -14,7 +14,7 @@ def start(): os.environ["PATH"] = "/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin" os.system("/sbin/modprobe -va bridge nf_nat br_netfilter") - startService(command="/usr/bin/docker", + startService(command="/usr/bin/dockerd", args="daemon -p %s %s" % (pidfile, config.get("DOCKER_OPTS")), detach=True, pidfile=pidfile, @@ -22,7 +22,7 @@ def start(): @synchronized def stop(): - stopService(command="/usr/bin/docker", + stopService(command="/usr/bin/dockerd", donotify=True) def status(): diff --git a/hardware/virtualization/docker/pspec.xml b/hardware/virtualization/docker/pspec.xml index 555097bd0f..4e79c743c5 100644 --- a/hardware/virtualization/docker/pspec.xml +++ b/hardware/virtualization/docker/pspec.xml @@ -13,7 +13,7 @@ Pack, ship and run any application as a lightweight container An open platform for distributed applications for developers and sysadmins - https://github.com/docker/docker/archive/v1.11.2.tar.gz + https://github.com/docker/docker-ce/archive/v18.05.0-ce.tar.gz git golang @@ -21,6 +21,7 @@ device-mapper-devel sqlite-devel libseccomp-devel + libtool-ltdl @@ -39,6 +40,7 @@ iproute2 iptables libseccomp + libtool-ltdl runc containerd @@ -61,6 +63,13 @@ + + 2018-06-10 + 18.05.0 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + 2017-03-20 1.11.2 diff --git a/hardware/virtualization/runc/pspec.xml b/hardware/virtualization/runc/pspec.xml index c8693392f5..3e52cfdab7 100644 --- a/hardware/virtualization/runc/pspec.xml +++ b/hardware/virtualization/runc/pspec.xml @@ -11,7 +11,7 @@ Apache-2.0 container cli tools CLI tool for managing OCI compliant containers - https://github.com/opencontainers/runc/archive/v0.1.1.tar.gz + https://github.com/opencontainers/runc/archive/v1.0.0-rc5.tar.gz golang libseccomp-devel @@ -30,6 +30,13 @@ + + 2018-06-10 + 1.0.0_rc5 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + 2017-03-20 0.1.1