├── profiles ├── repo_name └── updates │ └── 3Q-2013 ├── metadata └── layout.conf ├── docker-ubuntu-repo.txt ├── dev-util └── gordon │ ├── metadata.xml │ ├── Manifest │ └── gordon-9999.ebuild ├── app-emulation ├── docker │ ├── files │ │ ├── docker.service │ │ ├── docker-r3.confd │ │ ├── docker-r2.confd │ │ ├── docker.initd │ │ ├── docker-r3.initd │ │ ├── docker-containerd.patch │ │ ├── 7179-add-audit_write-cap.patch │ │ ├── docker-r2.initd │ │ └── 1.13-tini-flags-28454.patch │ ├── metadata.xml │ ├── docker-0.5.3.ebuild │ ├── docker-0.6.0.ebuild │ ├── docker-0.6.1-r1.ebuild │ ├── docker-0.6.1-r2.ebuild │ ├── docker-0.6.5.ebuild │ ├── docker-0.6.6.ebuild │ ├── docker-0.6.7.ebuild │ └── docker-0.6.4.ebuild ├── docker-cli │ ├── Manifest │ └── docker-cli-9999.ebuild ├── docker-proxy │ ├── metadata.xml │ ├── docker-proxy-9999.ebuild │ ├── docker-proxy-0.8.0_p20161111.ebuild │ └── Manifest ├── fig-bin │ ├── fig-bin-1.0.0.ebuild │ ├── fig-bin-1.0.1.ebuild │ └── Manifest ├── docker-compose-bin │ ├── docker-compose-bin-1.2.0.ebuild │ ├── docker-compose-bin-1.3.0.ebuild │ ├── docker-compose-bin-1.4.0.ebuild │ ├── docker-compose-bin-1.5.0.ebuild │ ├── docker-compose-bin-1.5.1.ebuild │ ├── docker-compose-bin-1.5.2.ebuild │ ├── docker-compose-bin-1.6.0.ebuild │ ├── docker-compose-bin-1.6.1.ebuild │ ├── docker-compose-bin-1.6.2.ebuild │ ├── docker-compose-bin-1.1.0.ebuild │ ├── docker-compose-bin-1.1.0_rc1.ebuild │ ├── docker-compose-bin-1.1.0_rc2.ebuild │ ├── docker-compose-bin-1.10.0.ebuild │ ├── docker-compose-bin-1.10.1.ebuild │ ├── docker-compose-bin-1.11.0.ebuild │ ├── docker-compose-bin-1.11.1.ebuild │ ├── docker-compose-bin-1.11.2.ebuild │ ├── docker-compose-bin-1.12.0.ebuild │ ├── docker-compose-bin-1.13.0.ebuild │ ├── docker-compose-bin-1.14.0.ebuild │ ├── docker-compose-bin-1.15.0.ebuild │ ├── docker-compose-bin-1.16.0.ebuild │ ├── docker-compose-bin-1.16.1.ebuild │ ├── docker-compose-bin-1.2.0_rc1.ebuild │ ├── docker-compose-bin-1.2.0_rc2.ebuild │ ├── docker-compose-bin-1.2.0_rc3.ebuild │ ├── docker-compose-bin-1.2.0_rc4.ebuild │ ├── docker-compose-bin-1.3.0_rc1.ebuild │ ├── docker-compose-bin-1.3.0_rc2.ebuild │ ├── docker-compose-bin-1.3.0_rc3.ebuild │ ├── docker-compose-bin-1.4.0_rc1.ebuild │ ├── docker-compose-bin-1.4.0_rc2.ebuild │ ├── docker-compose-bin-1.5.0_rc1.ebuild │ ├── docker-compose-bin-1.5.0_rc2.ebuild │ ├── docker-compose-bin-1.5.0_rc3.ebuild │ ├── docker-compose-bin-1.6.0_rc1.ebuild │ ├── docker-compose-bin-1.6.0_rc2.ebuild │ ├── docker-compose-bin-1.7.0.ebuild │ ├── docker-compose-bin-1.7.0_rc1.ebuild │ ├── docker-compose-bin-1.7.1.ebuild │ ├── docker-compose-bin-1.8.0.ebuild │ ├── docker-compose-bin-1.8.0_rc1.ebuild │ ├── docker-compose-bin-1.8.0_rc2.ebuild │ ├── docker-compose-bin-1.8.1.ebuild │ ├── docker-compose-bin-1.9.0.ebuild │ ├── docker-compose-bin-1.9.0_rc1.ebuild │ ├── docker-compose-bin-1.9.0_rc2.ebuild │ ├── docker-compose-bin-1.9.0_rc3.ebuild │ ├── docker-compose-bin-1.9.0_rc4.ebuild │ ├── docker-compose-bin-1.10.0_rc1.ebuild │ ├── docker-compose-bin-1.10.0_rc2.ebuild │ ├── docker-compose-bin-1.11.0_rc1.ebuild │ ├── docker-compose-bin-1.12.0_rc1.ebuild │ ├── docker-compose-bin-1.12.0_rc2.ebuild │ ├── docker-compose-bin-1.13.0_rc1.ebuild │ ├── docker-compose-bin-1.14.0_rc1.ebuild │ ├── docker-compose-bin-1.14.0_rc2.ebuild │ ├── docker-compose-bin-1.15.0_rc1.ebuild │ ├── docker-compose-bin-1.16.0_rc1.ebuild │ └── docker-compose-bin-1.16.0_rc2.ebuild ├── containerd │ ├── containerd-0.2.3.ebuild │ ├── containerd-0.2.4.ebuild │ ├── containerd-0.2.2.ebuild │ ├── containerd-0.2.5.ebuild │ ├── containerd-0.2.6.ebuild │ ├── containerd-0.2.7.ebuild │ ├── containerd-0.2.8.ebuild │ ├── containerd-9999.ebuild │ ├── containerd-1.0.0_beta3.ebuild │ ├── containerd-0.2.9.ebuild │ └── containerd-0.2.9999.ebuild └── runc │ ├── runc-1.0.0_rc3.ebuild │ ├── runc-1.0.0_rc4.ebuild │ ├── runc-9999.ebuild │ ├── runc-0.1.1.ebuild │ ├── runc-1.0.0_rc1.ebuild │ ├── runc-1.0.0_rc2.ebuild │ ├── files │ └── 1172-ambient-tag.patch │ └── Manifest ├── etc-portage-package.mask-docker ├── sys-auth └── notary │ ├── Manifest │ └── notary-9999.ebuild ├── repositories.xml ├── sys-cluster ├── swarm │ ├── swarm-9999.ebuild │ ├── swarm-0.2.0.ebuild │ ├── swarm-0.3.0.ebuild │ ├── swarm-0.4.0.ebuild │ ├── swarm-1.0.0.ebuild │ ├── swarm-1.0.1.ebuild │ ├── swarm-1.1.0.ebuild │ ├── swarm-0.3.0_rc1.ebuild │ ├── swarm-0.3.0_rc2.ebuild │ ├── swarm-0.3.0_rc3.ebuild │ ├── swarm-0.4.0_rc1.ebuild │ ├── swarm-0.4.0_rc2.ebuild │ ├── swarm-1.0.0_rc1.ebuild │ ├── swarm-1.0.0_rc2.ebuild │ ├── swarm-1.0.0_rc3.ebuild │ ├── swarm-1.1.0_rc1.ebuild │ ├── swarm-1.1.0_rc2.ebuild │ ├── swarm-1.1.0_rc3.ebuild │ ├── swarm-0.1.0.ebuild │ ├── swarm-0.1.0_rc2.ebuild │ ├── swarm-0.1.0_rc3.ebuild │ ├── swarm-0.1.0_rc4.ebuild │ ├── swarm-0.2.0_rc1.ebuild │ └── swarm-0.2.0_rc2.ebuild └── machine │ ├── machine-9999.ebuild │ ├── machine-0.5.0.ebuild │ ├── machine-0.5.1.ebuild │ ├── machine-0.5.2.ebuild │ ├── machine-0.5.3.ebuild │ ├── machine-0.5.4.ebuild │ ├── machine-0.5.5.ebuild │ ├── machine-0.5.6.ebuild │ ├── machine-0.6.0.ebuild │ ├── machine-0.5.0_rc1.ebuild │ ├── machine-0.5.0_rc2.ebuild │ ├── machine-0.5.0_rc3.ebuild │ ├── machine-0.5.0_rc4.ebuild │ ├── machine-0.6.0_rc1.ebuild │ ├── machine-0.6.0_rc2.ebuild │ ├── machine-0.6.0_rc3.ebuild │ ├── machine-0.6.0_rc4.ebuild │ ├── machine-0.1.0.ebuild │ ├── machine-0.2.0.ebuild │ ├── machine-0.3.0.ebuild │ ├── machine-0.3.1.ebuild │ ├── machine-0.4.0.ebuild │ ├── machine-0.1.0_rc2.ebuild │ ├── machine-0.1.0_rc3.ebuild │ ├── machine-0.1.0_rc4.ebuild │ ├── machine-0.1.0_rc5.ebuild │ ├── machine-0.2.0_rc1.ebuild │ ├── machine-0.2.0_rc2.ebuild │ ├── machine-0.2.0_rc3.ebuild │ ├── machine-0.3.0_rc1.ebuild │ ├── machine-0.3.0_rc2.ebuild │ ├── machine-0.3.0_rc3.ebuild │ ├── machine-0.3.1_rc1.ebuild │ ├── machine-0.4.0_rc1.ebuild │ ├── machine-0.4.0_rc2.ebuild │ └── machine-0.0.2.ebuild ├── README.md └── bump-docker.sh /profiles/repo_name: -------------------------------------------------------------------------------- 1 | docker 2 | -------------------------------------------------------------------------------- /metadata/layout.conf: -------------------------------------------------------------------------------- 1 | masters = gentoo 2 | -------------------------------------------------------------------------------- /docker-ubuntu-repo.txt: -------------------------------------------------------------------------------- 1 | https://get.docker.io/ubuntu/dists/docker/main/binary-amd64/Packages 2 | -------------------------------------------------------------------------------- /profiles/updates/3Q-2013: -------------------------------------------------------------------------------- 1 | move app-emulation/lxc-docker app-emulation/docker 2 | move app-emulation/lxc-docker-bin app-emulation/docker-bin 3 | -------------------------------------------------------------------------------- /dev-util/gordon/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | admwiggin@gmail.com 6 | Tianon 7 | 8 | 9 | -------------------------------------------------------------------------------- /app-emulation/docker/files/docker.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Easily create lightweight, portable, self-sufficient containers from any application! 3 | Requires=network.target 4 | After=multi-user.target 5 | 6 | [Service] 7 | Type=simple 8 | ExecStartPre=/bin/mount --make-rprivate / 9 | ExecStart=/usr/bin/docker -d 10 | 11 | [Install] 12 | WantedBy=multi-user.target 13 | -------------------------------------------------------------------------------- /etc-portage-package.mask-docker: -------------------------------------------------------------------------------- 1 | # /etc/portage/package.mask/docker 2 | 3 | # make sure _all_ my Docker-related packages come from the overlay 4 | app-emulation/docker::gentoo 5 | app-emulation/containerd::gentoo 6 | app-emulation/runc::gentoo 7 | app-emulation/docker-runc::gentoo 8 | app-emulation/docker-proxy::gentoo 9 | 10 | # I never want _this_ docker 11 | x11-plugins/docker 12 | -------------------------------------------------------------------------------- /sys-auth/notary/Manifest: -------------------------------------------------------------------------------- 1 | EBUILD notary-9999.ebuild 1096 SHA256 4478909e030032623304a56283791c6e709904e1f6e1ccd6db42614584f902a6 SHA512 24fe6daacaba133e1a430ecbe6c3509d374473584264361813e55b3747967935b3ce1324f3937949883d2f54ce68c3f1ada5bf07f2c672b5e0a42be2532a0a01 WHIRLPOOL 8d84fe6c806148cbea956c2e3008059202826ffb6a7ea92b72d01c2e6e9be4de8d833e414dcf908f2a5021105f5fa3f4aea7d9e83907046284890cf4b5c3fad6 2 | -------------------------------------------------------------------------------- /app-emulation/docker-cli/Manifest: -------------------------------------------------------------------------------- 1 | EBUILD docker-cli-9999.ebuild 783 SHA256 5c16e14273e17f71a2ec59d8aa770816ff1160fe100da1f4b18a6bd509ea1a22 SHA512 248159db841a8ed2e14357f38aa154fff253f52e1551db3381d8f9562817ccc405b7ff14c5b7323ed57d4c92abefc0f5500805f9ba5402d947eed53079e708e0 WHIRLPOOL 7ce34bcc2f2e3b9fe54914016ab83a88cf236f42b87c8a620e72e8db05567df2a5185b5dc08271070f900c2d3a24d85ab9b18204e02f6ce260820c4b05f6550f 2 | -------------------------------------------------------------------------------- /app-emulation/docker/files/docker-r3.confd: -------------------------------------------------------------------------------- 1 | # /etc/conf.d/docker: config file for /etc/init.d/docker 2 | 3 | # where the docker daemon output gets piped 4 | #DOCKER_LOGFILE="/var/log/docker.log" 5 | 6 | # where docker's pid get stored 7 | #DOCKER_PIDFILE="/run/docker.pid" 8 | 9 | # where the docker daemon itself is run from 10 | #DOCKER_BINARY="/usr/bin/docker" 11 | 12 | # any other random options you want to pass to docker 13 | DOCKER_OPTS="" 14 | -------------------------------------------------------------------------------- /app-emulation/docker-proxy/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | tianon@dockerproject.org 8 | Tianon 9 | 10 | 11 | mrueg@gentoo.org 12 | Manuel Rüger 13 | 14 | 15 | docker/libnetwork 16 | 17 | 18 | -------------------------------------------------------------------------------- /app-emulation/docker/files/docker-r2.confd: -------------------------------------------------------------------------------- 1 | # /etc/conf.d/docker: config file for /etc/init.d/docker 2 | 3 | # where the docker daemon output gets piped 4 | #DOCKER_LOGFILE="/var/log/docker.log" 5 | 6 | # where docker's pid get stored 7 | #DOCKER_PIDFILE="/run/docker.pid" 8 | 9 | # where the docker daemon itself is run from 10 | #DOCKER_BINARY="/usr/bin/docker" 11 | 12 | # uncomment this for a simple workaround to 13 | # https://github.com/dotcloud/docker/issues/1422 14 | #DOCKER_WORKAROUND_1422="1" 15 | 16 | # if you find that the default DOCKER_WORKAROUND_1422 delay of one second 17 | # is not sufficient, try uncommenting and increasing this value 18 | #DOCKER_WORKAROUND_1422_DELAY="1" 19 | -------------------------------------------------------------------------------- /app-emulation/fig-bin/fig-bin-1.0.0.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Fast, isolated development environments using Docker" 8 | HOMEPAGE="http://www.fig.sh" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/fig/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/fig-bin/fig-bin-1.0.1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Fast, isolated development environments using Docker" 8 | HOMEPAGE="http://www.fig.sh" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/fig/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /dev-util/gordon/Manifest: -------------------------------------------------------------------------------- 1 | EBUILD gordon-9999.ebuild 676 SHA256 0a4718e71c803e6e7c77443ad054639d7d0c73815f20a776e3a445259d7d0c99 SHA512 0eb4143d0d592c3d9c0638a0c9cf0b8aca5c14b52f2579170208107b556c5025443b4dc3b25729e5f60dc751e4c29f846bb060db2936f0d44dfc54d45030b2ab WHIRLPOOL 4983ed6d4a1fd648331adae08289b39051d3e1df7a6f9a7d62da190f2f18d9c30f0ba94409864e32715dccae0b01969a694b710d79e4b0523ec59dc45e2f899b 2 | MISC metadata.xml 243 SHA256 d941e1d947bc736611f0d3b5a74b5e77b67f5ab1898a3127ebd4b4776ac4d4b3 SHA512 6bdf1d51ba6a983cbba8a8d2b34abccad4ca674582b1e5f7ee359dc1a698414d09ea9942b5f46d47c6d3ea03de95d56949b342f3011819996b7a4a1e296d88a2 WHIRLPOOL 4b8c3afc27fe5362c07010d85e266d453a5ef150104a1a78138e2a9bc000721ed9f2833522d178c028f7aa4e9683bb4a4578e2d1027b61cd55571cfe4b12ea3a 3 | -------------------------------------------------------------------------------- /repositories.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | https://github.com/tianon/docker-overlay 6 | 7 | tianon@dockerproject.org 8 | 9 | 10 | git://github.com/tianon/docker-overlay.git 11 | https://github.com/tianon/docker-overlay.git 12 | git@github.com:tianon/docker-overlay.git 13 | https://github.com/tianon/docker-overlay/commits/master.atom 14 | 15 | 16 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.2.0.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.3.0.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.4.0.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.5.0.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.5.1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.5.2.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.6.0.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.6.1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.6.2.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.1.0.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.1.0_rc1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.1.0_rc2.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.10.0.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.10.1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.11.0.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.11.1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.11.2.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.12.0.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.13.0.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.14.0.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.15.0.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.16.0.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.16.1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.2.0_rc1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.2.0_rc2.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.2.0_rc3.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.2.0_rc4.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.3.0_rc1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.3.0_rc2.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.3.0_rc3.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.4.0_rc1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.4.0_rc2.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.5.0_rc1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.5.0_rc2.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.5.0_rc3.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.6.0_rc1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.6.0_rc2.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.7.0.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.7.0_rc1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.7.1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.8.0.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.8.0_rc1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.8.0_rc2.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.8.1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.9.0.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.9.0_rc1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.9.0_rc2.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.9.0_rc3.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.9.0_rc4.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.10.0_rc1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.10.0_rc2.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.11.0_rc1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.12.0_rc1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.12.0_rc2.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.13.0_rc1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.14.0_rc1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.14.0_rc2.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.15.0_rc1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.16.0_rc1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /app-emulation/docker-compose-bin/docker-compose-bin-1.16.0_rc2.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Compose is a tool for defining and running complex applications with Docker" 8 | HOMEPAGE="https://docs.docker.com/compose/" 9 | MY_PN="${PN%-bin}" 10 | MY_PV="${PV/_/-}" 11 | SRC_URI=" 12 | amd64? ( https://github.com/docker/compose/releases/download/${MY_PV}/${MY_PN}-Linux-x86_64 -> ${P}-Linux-x86_64 ) 13 | " 14 | 15 | LICENSE="Apache-2.0" 16 | SLOT="0" 17 | KEYWORDS="~amd64" 18 | IUSE="" 19 | 20 | DEPEND="" 21 | RDEPEND="${DEPEND}" 22 | 23 | RESTRICT="installsources strip" 24 | 25 | S="${DISTDIR}" 26 | 27 | src_install() { 28 | newbin ${P}-Linux-x86_64 ${MY_PN} 29 | } 30 | -------------------------------------------------------------------------------- /dev-util/gordon/gordon-9999.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Cli application to manage github pull requests" 8 | HOMEPAGE="https://github.com/docker/gordon" 9 | SRC_URI="" 10 | 11 | export GOPATH="${T}/gopath" 12 | S="${GOPATH}/src/github.com/docker/gordon" 13 | 14 | EGIT_REPO_URI="git://github.com/docker/gordon" 15 | inherit git-2 16 | 17 | LICENSE="MIT" 18 | SLOT="0" 19 | KEYWORDS="" 20 | IUSE="" 21 | 22 | DEPEND=">=dev-lang/go-1.2" 23 | RDEPEND="dev-vcs/git" 24 | 25 | src_unpack() { 26 | git-2_src_unpack 27 | 28 | cd "${S}" || die 29 | go get -d -v ./... || die 30 | } 31 | 32 | src_prepare() { 33 | epatch_user 34 | } 35 | 36 | src_compile() { 37 | go install -v ./... || die 38 | } 39 | 40 | src_install() { 41 | dobin "$GOPATH"/bin/* 42 | } 43 | -------------------------------------------------------------------------------- /sys-cluster/swarm/swarm-9999.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=6 6 | 7 | EGO_PN="github.com/docker/${PN}" 8 | 9 | if [[ ${PV} == *9999 ]]; then 10 | inherit golang-vcs 11 | else 12 | MY_PV="${PV/_/-}" 13 | EGIT_COMMIT="v${MY_PV}" 14 | SRC_URI="https://github.com/docker/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 15 | KEYWORDS="~amd64" 16 | inherit golang-vcs-snapshot 17 | fi 18 | 19 | DESCRIPTION="Swarm: a Docker-native clustering system" 20 | HOMEPAGE="https://github.com/docker/swarm" 21 | LICENSE="Apache-2.0" 22 | SLOT="0" 23 | IUSE="" 24 | 25 | DEPEND=">=dev-lang/go-1.6:=" 26 | RDEPEND="" 27 | 28 | src_compile() { 29 | export GOPATH="${WORKDIR}/${P}" 30 | go build -v -o "docker-$PN" "$EGO_PN" || die 31 | } 32 | 33 | src_install() { 34 | dobin "docker-$PN" 35 | } 36 | -------------------------------------------------------------------------------- /app-emulation/docker/files/docker.initd: -------------------------------------------------------------------------------- 1 | #!/sbin/runscript 2 | # Copyright 1999-2013 Gentoo Foundation 3 | # Distributed under the terms of the GNU General Public License v2 4 | # $Header: $ 5 | 6 | DOCKER_LOGFILE=${DOCKER_LOGFILE:-/var/log/${SVCNAME}.log} 7 | DOCKER_PIDFILE=${DOCKER_PIDFILE:-/run/${SVCNAME}.pid} 8 | DOCKER_BINARY=${DOCKER_BINARY:-/usr/bin/docker} 9 | 10 | start() { 11 | touch "$DOCKER_LOGFILE" 12 | chown root:docker "$DOCKER_LOGFILE" 13 | chmod 0644 "$DOCKER_LOGFILE" 14 | 15 | ebegin "Starting docker daemon" 16 | start-stop-daemon --start --background \ 17 | --exec "$DOCKER_BINARY" \ 18 | --pidfile "$DOCKER_PIDFILE" \ 19 | --stdout "$DOCKER_LOGFILE" \ 20 | --stderr "$DOCKER_LOGFILE" \ 21 | -- -d -p "$DOCKER_PIDFILE" 22 | eend $? 23 | } 24 | 25 | stop() { 26 | ebegin "Stopping docker daemon" 27 | start-stop-daemon --stop \ 28 | --exec "$DOCKER_BINARY" \ 29 | --pidfile "$DOCKER_PIDFILE" 30 | eend $? 31 | } 32 | -------------------------------------------------------------------------------- /app-emulation/docker/files/docker-r3.initd: -------------------------------------------------------------------------------- 1 | #!/sbin/runscript 2 | # Copyright 1999-2013 Gentoo Foundation 3 | # Distributed under the terms of the GNU General Public License v2 4 | # $Header: $ 5 | 6 | DOCKER_LOGFILE=${DOCKER_LOGFILE:-/var/log/${SVCNAME}.log} 7 | DOCKER_PIDFILE=${DOCKER_PIDFILE:-/run/${SVCNAME}.pid} 8 | DOCKER_BINARY=${DOCKER_BINARY:-/usr/bin/docker} 9 | DOCKER_OPTS=${DOCKER_OPTS:-} 10 | 11 | start() { 12 | checkpath -f -m 0644 -o root:docker "$DOCKER_LOGFILE" 13 | 14 | ebegin "Starting docker daemon" 15 | start-stop-daemon --start --background \ 16 | --exec "$DOCKER_BINARY" \ 17 | --pidfile "$DOCKER_PIDFILE" \ 18 | --stdout "$DOCKER_LOGFILE" \ 19 | --stderr "$DOCKER_LOGFILE" \ 20 | -- -d -p "$DOCKER_PIDFILE" \ 21 | $DOCKER_OPTS 22 | eend $? 23 | } 24 | 25 | stop() { 26 | ebegin "Stopping docker daemon" 27 | start-stop-daemon --stop \ 28 | --exec "$DOCKER_BINARY" \ 29 | --pidfile "$DOCKER_PIDFILE" 30 | eend $? 31 | } 32 | -------------------------------------------------------------------------------- /app-emulation/docker/files/docker-containerd.patch: -------------------------------------------------------------------------------- 1 | diff --git a/libcontainerd/remote_linux.go b/libcontainerd/remote_linux.go 2 | index f0284ca..e44a1d1 100644 3 | --- a/libcontainerd/remote_linux.go 4 | +++ b/libcontainerd/remote_linux.go 5 | @@ -27,7 +27,7 @@ const ( 6 | maxConnectionRetryCount = 3 7 | connectionRetryDelay = 3 * time.Second 8 | containerdShutdownTimeout = 15 * time.Second 9 | - containerdBinary = "docker-containerd" 10 | + containerdBinary = "containerd" 11 | containerdPidFilename = "docker-containerd.pid" 12 | containerdSockFilename = "docker-containerd.sock" 13 | eventTimestampFilename = "event.ts" 14 | @@ -338,7 +338,7 @@ func (r *remote) runContainerdDaemon() error { 15 | } 16 | 17 | // Start a new instance 18 | - args := []string{"-l", r.rpcAddr, "--runtime", "docker-runc"} 19 | + args := []string{"-l", r.rpcAddr, "--runtime", "runc"} 20 | if r.debugLog { 21 | args = append(args, "--debug", "true") 22 | } 23 | -------------------------------------------------------------------------------- /app-emulation/docker-proxy/docker-proxy-9999.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2016 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Id$ 4 | 5 | EAPI=6 6 | EGO_PN="github.com/docker/libnetwork" 7 | 8 | if [[ ${PV} == *9999 ]]; then 9 | inherit golang-vcs 10 | else 11 | EGIT_COMMIT="57be722e077059d1ee0539be31743a3642ccbeb3" 12 | SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 13 | KEYWORDS="~amd64 ~ppc64" 14 | inherit golang-vcs-snapshot 15 | fi 16 | 17 | DESCRIPTION="Docker container networking" 18 | HOMEPAGE="http://github.com/docker/libnetwork" 19 | 20 | LICENSE="Apache-2.0" 21 | SLOT="0" 22 | IUSE="" 23 | 24 | S=${WORKDIR}/${P}/src/${EGO_PN} 25 | 26 | RDEPEND="!! 3 | Date: Wed, 23 Jul 2014 09:57:41 +0400 4 | Subject: [PATCH] Add AUDIT_WRITE cap 5 | 6 | Fixes #6345 7 | 8 | Thanks @larsks for outstanding investigation 9 | 10 | Docker-DCO-1.1-Signed-off-by: Alexandr Morozov (github: LK4D4) 11 | --- 12 | daemon/execdriver/native/template/default_template.go | 1 + 13 | 1 file changed, 1 insertion(+) 14 | 15 | diff --git a/daemon/execdriver/native/template/default_template.go b/daemon/execdriver/native/template/default_template.go 16 | index cc5cc4f..be3dd5a 100644 17 | --- a/daemon/execdriver/native/template/default_template.go 18 | +++ b/daemon/execdriver/native/template/default_template.go 19 | @@ -23,6 +23,7 @@ func New() *libcontainer.Config { 20 | "NET_BIND_SERVICE", 21 | "SYS_CHROOT", 22 | "KILL", 23 | + "AUDIT_WRITE", 24 | }, 25 | Namespaces: map[string]bool{ 26 | "NEWNS": true, 27 | -- 28 | 2.0.3 29 | 30 | -------------------------------------------------------------------------------- /sys-cluster/machine/machine-0.5.0.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | inherit eutils 8 | 9 | EGO_PN="github.com/docker/${PN}" 10 | 11 | if [[ ${PV} == *9999 ]]; then 12 | inherit golang-vcs 13 | else 14 | MY_PV="${PV/_/-}" 15 | EGIT_COMMIT="v${MY_PV}" 16 | SRC_URI="https://github.com/docker/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 17 | KEYWORDS="~amd64" 18 | inherit golang-vcs-snapshot 19 | fi 20 | 21 | DESCRIPTION="Machine management for a container-centric world" 22 | HOMEPAGE="https://github.com/docker/machine" 23 | LICENSE="Apache-2.0" 24 | SLOT="0" 25 | KEYWORDS="" 26 | IUSE="" 27 | 28 | DEPEND="" 29 | RDEPEND="" 30 | 31 | src_prepare() { 32 | cd "src/${EGO_PN}" || die 33 | epatch_user 34 | } 35 | 36 | src_compile() { 37 | cd "src/${EGO_PN}" || die 38 | export GOPATH="${WORKDIR}/${P}:${PWD}/Godeps/_workspace" 39 | make build 40 | } 41 | 42 | src_install() { 43 | cd "src/${EGO_PN}" || die 44 | dobin "bin/docker-${PN}" 45 | } 46 | -------------------------------------------------------------------------------- /sys-cluster/machine/machine-0.5.1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | inherit eutils 8 | 9 | EGO_PN="github.com/docker/${PN}" 10 | 11 | if [[ ${PV} == *9999 ]]; then 12 | inherit golang-vcs 13 | else 14 | MY_PV="${PV/_/-}" 15 | EGIT_COMMIT="v${MY_PV}" 16 | SRC_URI="https://github.com/docker/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 17 | KEYWORDS="~amd64" 18 | inherit golang-vcs-snapshot 19 | fi 20 | 21 | DESCRIPTION="Machine management for a container-centric world" 22 | HOMEPAGE="https://github.com/docker/machine" 23 | LICENSE="Apache-2.0" 24 | SLOT="0" 25 | KEYWORDS="" 26 | IUSE="" 27 | 28 | DEPEND="" 29 | RDEPEND="" 30 | 31 | src_prepare() { 32 | cd "src/${EGO_PN}" || die 33 | epatch_user 34 | } 35 | 36 | src_compile() { 37 | cd "src/${EGO_PN}" || die 38 | export GOPATH="${WORKDIR}/${P}:${PWD}/Godeps/_workspace" 39 | make build 40 | } 41 | 42 | src_install() { 43 | cd "src/${EGO_PN}" || die 44 | dobin "bin/docker-${PN}" 45 | } 46 | -------------------------------------------------------------------------------- /sys-cluster/machine/machine-0.5.2.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | inherit eutils 8 | 9 | EGO_PN="github.com/docker/${PN}" 10 | 11 | if [[ ${PV} == *9999 ]]; then 12 | inherit golang-vcs 13 | else 14 | MY_PV="${PV/_/-}" 15 | EGIT_COMMIT="v${MY_PV}" 16 | SRC_URI="https://github.com/docker/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 17 | KEYWORDS="~amd64" 18 | inherit golang-vcs-snapshot 19 | fi 20 | 21 | DESCRIPTION="Machine management for a container-centric world" 22 | HOMEPAGE="https://github.com/docker/machine" 23 | LICENSE="Apache-2.0" 24 | SLOT="0" 25 | KEYWORDS="" 26 | IUSE="" 27 | 28 | DEPEND="" 29 | RDEPEND="" 30 | 31 | src_prepare() { 32 | cd "src/${EGO_PN}" || die 33 | epatch_user 34 | } 35 | 36 | src_compile() { 37 | cd "src/${EGO_PN}" || die 38 | export GOPATH="${WORKDIR}/${P}:${PWD}/Godeps/_workspace" 39 | make build 40 | } 41 | 42 | src_install() { 43 | cd "src/${EGO_PN}" || die 44 | dobin "bin/docker-${PN}" 45 | } 46 | -------------------------------------------------------------------------------- /sys-cluster/machine/machine-0.5.3.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | inherit eutils 8 | 9 | EGO_PN="github.com/docker/${PN}" 10 | 11 | if [[ ${PV} == *9999 ]]; then 12 | inherit golang-vcs 13 | else 14 | MY_PV="${PV/_/-}" 15 | EGIT_COMMIT="v${MY_PV}" 16 | SRC_URI="https://github.com/docker/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 17 | KEYWORDS="~amd64" 18 | inherit golang-vcs-snapshot 19 | fi 20 | 21 | DESCRIPTION="Machine management for a container-centric world" 22 | HOMEPAGE="https://github.com/docker/machine" 23 | LICENSE="Apache-2.0" 24 | SLOT="0" 25 | KEYWORDS="" 26 | IUSE="" 27 | 28 | DEPEND="" 29 | RDEPEND="" 30 | 31 | src_prepare() { 32 | cd "src/${EGO_PN}" || die 33 | epatch_user 34 | } 35 | 36 | src_compile() { 37 | cd "src/${EGO_PN}" || die 38 | export GOPATH="${WORKDIR}/${P}:${PWD}/Godeps/_workspace" 39 | make build 40 | } 41 | 42 | src_install() { 43 | cd "src/${EGO_PN}" || die 44 | dobin "bin/docker-${PN}" 45 | } 46 | -------------------------------------------------------------------------------- /sys-cluster/machine/machine-0.5.4.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | inherit eutils 8 | 9 | EGO_PN="github.com/docker/${PN}" 10 | 11 | if [[ ${PV} == *9999 ]]; then 12 | inherit golang-vcs 13 | else 14 | MY_PV="${PV/_/-}" 15 | EGIT_COMMIT="v${MY_PV}" 16 | SRC_URI="https://github.com/docker/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 17 | KEYWORDS="~amd64" 18 | inherit golang-vcs-snapshot 19 | fi 20 | 21 | DESCRIPTION="Machine management for a container-centric world" 22 | HOMEPAGE="https://github.com/docker/machine" 23 | LICENSE="Apache-2.0" 24 | SLOT="0" 25 | KEYWORDS="" 26 | IUSE="" 27 | 28 | DEPEND="" 29 | RDEPEND="" 30 | 31 | src_prepare() { 32 | cd "src/${EGO_PN}" || die 33 | epatch_user 34 | } 35 | 36 | src_compile() { 37 | cd "src/${EGO_PN}" || die 38 | export GOPATH="${WORKDIR}/${P}:${PWD}/Godeps/_workspace" 39 | make build 40 | } 41 | 42 | src_install() { 43 | cd "src/${EGO_PN}" || die 44 | dobin "bin/docker-${PN}" 45 | } 46 | -------------------------------------------------------------------------------- /sys-cluster/machine/machine-0.5.5.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | inherit eutils 8 | 9 | EGO_PN="github.com/docker/${PN}" 10 | 11 | if [[ ${PV} == *9999 ]]; then 12 | inherit golang-vcs 13 | else 14 | MY_PV="${PV/_/-}" 15 | EGIT_COMMIT="v${MY_PV}" 16 | SRC_URI="https://github.com/docker/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 17 | KEYWORDS="~amd64" 18 | inherit golang-vcs-snapshot 19 | fi 20 | 21 | DESCRIPTION="Machine management for a container-centric world" 22 | HOMEPAGE="https://github.com/docker/machine" 23 | LICENSE="Apache-2.0" 24 | SLOT="0" 25 | KEYWORDS="" 26 | IUSE="" 27 | 28 | DEPEND="" 29 | RDEPEND="" 30 | 31 | src_prepare() { 32 | cd "src/${EGO_PN}" || die 33 | epatch_user 34 | } 35 | 36 | src_compile() { 37 | cd "src/${EGO_PN}" || die 38 | export GOPATH="${WORKDIR}/${P}:${PWD}/Godeps/_workspace" 39 | make build 40 | } 41 | 42 | src_install() { 43 | cd "src/${EGO_PN}" || die 44 | dobin "bin/docker-${PN}" 45 | } 46 | -------------------------------------------------------------------------------- /sys-cluster/machine/machine-0.5.6.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | inherit eutils 8 | 9 | EGO_PN="github.com/docker/${PN}" 10 | 11 | if [[ ${PV} == *9999 ]]; then 12 | inherit golang-vcs 13 | else 14 | MY_PV="${PV/_/-}" 15 | EGIT_COMMIT="v${MY_PV}" 16 | SRC_URI="https://github.com/docker/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 17 | KEYWORDS="~amd64" 18 | inherit golang-vcs-snapshot 19 | fi 20 | 21 | DESCRIPTION="Machine management for a container-centric world" 22 | HOMEPAGE="https://github.com/docker/machine" 23 | LICENSE="Apache-2.0" 24 | SLOT="0" 25 | KEYWORDS="" 26 | IUSE="" 27 | 28 | DEPEND="" 29 | RDEPEND="" 30 | 31 | src_prepare() { 32 | cd "src/${EGO_PN}" || die 33 | epatch_user 34 | } 35 | 36 | src_compile() { 37 | cd "src/${EGO_PN}" || die 38 | export GOPATH="${WORKDIR}/${P}:${PWD}/Godeps/_workspace" 39 | make build 40 | } 41 | 42 | src_install() { 43 | cd "src/${EGO_PN}" || die 44 | dobin "bin/docker-${PN}" 45 | } 46 | -------------------------------------------------------------------------------- /sys-cluster/machine/machine-0.6.0.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | inherit eutils 8 | 9 | EGO_PN="github.com/docker/${PN}" 10 | 11 | if [[ ${PV} == *9999 ]]; then 12 | inherit golang-vcs 13 | else 14 | MY_PV="${PV/_/-}" 15 | EGIT_COMMIT="v${MY_PV}" 16 | SRC_URI="https://github.com/docker/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 17 | KEYWORDS="~amd64" 18 | inherit golang-vcs-snapshot 19 | fi 20 | 21 | DESCRIPTION="Machine management for a container-centric world" 22 | HOMEPAGE="https://github.com/docker/machine" 23 | LICENSE="Apache-2.0" 24 | SLOT="0" 25 | KEYWORDS="" 26 | IUSE="" 27 | 28 | DEPEND="" 29 | RDEPEND="" 30 | 31 | src_prepare() { 32 | cd "src/${EGO_PN}" || die 33 | epatch_user 34 | } 35 | 36 | src_compile() { 37 | cd "src/${EGO_PN}" || die 38 | export GOPATH="${WORKDIR}/${P}:${PWD}/Godeps/_workspace" 39 | make build 40 | } 41 | 42 | src_install() { 43 | cd "src/${EGO_PN}" || die 44 | dobin "bin/docker-${PN}" 45 | } 46 | -------------------------------------------------------------------------------- /sys-cluster/machine/machine-0.5.0_rc1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | inherit eutils 8 | 9 | EGO_PN="github.com/docker/${PN}" 10 | 11 | if [[ ${PV} == *9999 ]]; then 12 | inherit golang-vcs 13 | else 14 | MY_PV="${PV/_/-}" 15 | EGIT_COMMIT="v${MY_PV}" 16 | SRC_URI="https://github.com/docker/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 17 | KEYWORDS="~amd64" 18 | inherit golang-vcs-snapshot 19 | fi 20 | 21 | DESCRIPTION="Machine management for a container-centric world" 22 | HOMEPAGE="https://github.com/docker/machine" 23 | LICENSE="Apache-2.0" 24 | SLOT="0" 25 | KEYWORDS="" 26 | IUSE="" 27 | 28 | DEPEND="" 29 | RDEPEND="" 30 | 31 | src_prepare() { 32 | cd "src/${EGO_PN}" || die 33 | epatch_user 34 | } 35 | 36 | src_compile() { 37 | cd "src/${EGO_PN}" || die 38 | export GOPATH="${WORKDIR}/${P}:${PWD}/Godeps/_workspace" 39 | make build 40 | } 41 | 42 | src_install() { 43 | cd "src/${EGO_PN}" || die 44 | dobin "bin/docker-${PN}" 45 | } 46 | -------------------------------------------------------------------------------- /sys-cluster/machine/machine-0.5.0_rc2.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | inherit eutils 8 | 9 | EGO_PN="github.com/docker/${PN}" 10 | 11 | if [[ ${PV} == *9999 ]]; then 12 | inherit golang-vcs 13 | else 14 | MY_PV="${PV/_/-}" 15 | EGIT_COMMIT="v${MY_PV}" 16 | SRC_URI="https://github.com/docker/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 17 | KEYWORDS="~amd64" 18 | inherit golang-vcs-snapshot 19 | fi 20 | 21 | DESCRIPTION="Machine management for a container-centric world" 22 | HOMEPAGE="https://github.com/docker/machine" 23 | LICENSE="Apache-2.0" 24 | SLOT="0" 25 | KEYWORDS="" 26 | IUSE="" 27 | 28 | DEPEND="" 29 | RDEPEND="" 30 | 31 | src_prepare() { 32 | cd "src/${EGO_PN}" || die 33 | epatch_user 34 | } 35 | 36 | src_compile() { 37 | cd "src/${EGO_PN}" || die 38 | export GOPATH="${WORKDIR}/${P}:${PWD}/Godeps/_workspace" 39 | make build 40 | } 41 | 42 | src_install() { 43 | cd "src/${EGO_PN}" || die 44 | dobin "bin/docker-${PN}" 45 | } 46 | -------------------------------------------------------------------------------- /sys-cluster/machine/machine-0.5.0_rc3.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | inherit eutils 8 | 9 | EGO_PN="github.com/docker/${PN}" 10 | 11 | if [[ ${PV} == *9999 ]]; then 12 | inherit golang-vcs 13 | else 14 | MY_PV="${PV/_/-}" 15 | EGIT_COMMIT="v${MY_PV}" 16 | SRC_URI="https://github.com/docker/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 17 | KEYWORDS="~amd64" 18 | inherit golang-vcs-snapshot 19 | fi 20 | 21 | DESCRIPTION="Machine management for a container-centric world" 22 | HOMEPAGE="https://github.com/docker/machine" 23 | LICENSE="Apache-2.0" 24 | SLOT="0" 25 | KEYWORDS="" 26 | IUSE="" 27 | 28 | DEPEND="" 29 | RDEPEND="" 30 | 31 | src_prepare() { 32 | cd "src/${EGO_PN}" || die 33 | epatch_user 34 | } 35 | 36 | src_compile() { 37 | cd "src/${EGO_PN}" || die 38 | export GOPATH="${WORKDIR}/${P}:${PWD}/Godeps/_workspace" 39 | make build 40 | } 41 | 42 | src_install() { 43 | cd "src/${EGO_PN}" || die 44 | dobin "bin/docker-${PN}" 45 | } 46 | -------------------------------------------------------------------------------- /sys-cluster/machine/machine-0.5.0_rc4.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | inherit eutils 8 | 9 | EGO_PN="github.com/docker/${PN}" 10 | 11 | if [[ ${PV} == *9999 ]]; then 12 | inherit golang-vcs 13 | else 14 | MY_PV="${PV/_/-}" 15 | EGIT_COMMIT="v${MY_PV}" 16 | SRC_URI="https://github.com/docker/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 17 | KEYWORDS="~amd64" 18 | inherit golang-vcs-snapshot 19 | fi 20 | 21 | DESCRIPTION="Machine management for a container-centric world" 22 | HOMEPAGE="https://github.com/docker/machine" 23 | LICENSE="Apache-2.0" 24 | SLOT="0" 25 | KEYWORDS="" 26 | IUSE="" 27 | 28 | DEPEND="" 29 | RDEPEND="" 30 | 31 | src_prepare() { 32 | cd "src/${EGO_PN}" || die 33 | epatch_user 34 | } 35 | 36 | src_compile() { 37 | cd "src/${EGO_PN}" || die 38 | export GOPATH="${WORKDIR}/${P}:${PWD}/Godeps/_workspace" 39 | make build 40 | } 41 | 42 | src_install() { 43 | cd "src/${EGO_PN}" || die 44 | dobin "bin/docker-${PN}" 45 | } 46 | -------------------------------------------------------------------------------- /sys-cluster/machine/machine-0.6.0_rc1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | inherit eutils 8 | 9 | EGO_PN="github.com/docker/${PN}" 10 | 11 | if [[ ${PV} == *9999 ]]; then 12 | inherit golang-vcs 13 | else 14 | MY_PV="${PV/_/-}" 15 | EGIT_COMMIT="v${MY_PV}" 16 | SRC_URI="https://github.com/docker/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 17 | KEYWORDS="~amd64" 18 | inherit golang-vcs-snapshot 19 | fi 20 | 21 | DESCRIPTION="Machine management for a container-centric world" 22 | HOMEPAGE="https://github.com/docker/machine" 23 | LICENSE="Apache-2.0" 24 | SLOT="0" 25 | KEYWORDS="" 26 | IUSE="" 27 | 28 | DEPEND="" 29 | RDEPEND="" 30 | 31 | src_prepare() { 32 | cd "src/${EGO_PN}" || die 33 | epatch_user 34 | } 35 | 36 | src_compile() { 37 | cd "src/${EGO_PN}" || die 38 | export GOPATH="${WORKDIR}/${P}:${PWD}/Godeps/_workspace" 39 | make build 40 | } 41 | 42 | src_install() { 43 | cd "src/${EGO_PN}" || die 44 | dobin "bin/docker-${PN}" 45 | } 46 | -------------------------------------------------------------------------------- /sys-cluster/machine/machine-0.6.0_rc2.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | inherit eutils 8 | 9 | EGO_PN="github.com/docker/${PN}" 10 | 11 | if [[ ${PV} == *9999 ]]; then 12 | inherit golang-vcs 13 | else 14 | MY_PV="${PV/_/-}" 15 | EGIT_COMMIT="v${MY_PV}" 16 | SRC_URI="https://github.com/docker/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 17 | KEYWORDS="~amd64" 18 | inherit golang-vcs-snapshot 19 | fi 20 | 21 | DESCRIPTION="Machine management for a container-centric world" 22 | HOMEPAGE="https://github.com/docker/machine" 23 | LICENSE="Apache-2.0" 24 | SLOT="0" 25 | KEYWORDS="" 26 | IUSE="" 27 | 28 | DEPEND="" 29 | RDEPEND="" 30 | 31 | src_prepare() { 32 | cd "src/${EGO_PN}" || die 33 | epatch_user 34 | } 35 | 36 | src_compile() { 37 | cd "src/${EGO_PN}" || die 38 | export GOPATH="${WORKDIR}/${P}:${PWD}/Godeps/_workspace" 39 | make build 40 | } 41 | 42 | src_install() { 43 | cd "src/${EGO_PN}" || die 44 | dobin "bin/docker-${PN}" 45 | } 46 | -------------------------------------------------------------------------------- /sys-cluster/machine/machine-0.6.0_rc3.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | inherit eutils 8 | 9 | EGO_PN="github.com/docker/${PN}" 10 | 11 | if [[ ${PV} == *9999 ]]; then 12 | inherit golang-vcs 13 | else 14 | MY_PV="${PV/_/-}" 15 | EGIT_COMMIT="v${MY_PV}" 16 | SRC_URI="https://github.com/docker/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 17 | KEYWORDS="~amd64" 18 | inherit golang-vcs-snapshot 19 | fi 20 | 21 | DESCRIPTION="Machine management for a container-centric world" 22 | HOMEPAGE="https://github.com/docker/machine" 23 | LICENSE="Apache-2.0" 24 | SLOT="0" 25 | KEYWORDS="" 26 | IUSE="" 27 | 28 | DEPEND="" 29 | RDEPEND="" 30 | 31 | src_prepare() { 32 | cd "src/${EGO_PN}" || die 33 | epatch_user 34 | } 35 | 36 | src_compile() { 37 | cd "src/${EGO_PN}" || die 38 | export GOPATH="${WORKDIR}/${P}:${PWD}/Godeps/_workspace" 39 | make build 40 | } 41 | 42 | src_install() { 43 | cd "src/${EGO_PN}" || die 44 | dobin "bin/docker-${PN}" 45 | } 46 | -------------------------------------------------------------------------------- /sys-cluster/machine/machine-0.6.0_rc4.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | inherit eutils 8 | 9 | EGO_PN="github.com/docker/${PN}" 10 | 11 | if [[ ${PV} == *9999 ]]; then 12 | inherit golang-vcs 13 | else 14 | MY_PV="${PV/_/-}" 15 | EGIT_COMMIT="v${MY_PV}" 16 | SRC_URI="https://github.com/docker/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 17 | KEYWORDS="~amd64" 18 | inherit golang-vcs-snapshot 19 | fi 20 | 21 | DESCRIPTION="Machine management for a container-centric world" 22 | HOMEPAGE="https://github.com/docker/machine" 23 | LICENSE="Apache-2.0" 24 | SLOT="0" 25 | KEYWORDS="" 26 | IUSE="" 27 | 28 | DEPEND="" 29 | RDEPEND="" 30 | 31 | src_prepare() { 32 | cd "src/${EGO_PN}" || die 33 | epatch_user 34 | } 35 | 36 | src_compile() { 37 | cd "src/${EGO_PN}" || die 38 | export GOPATH="${WORKDIR}/${P}:${PWD}/Godeps/_workspace" 39 | make build 40 | } 41 | 42 | src_install() { 43 | cd "src/${EGO_PN}" || die 44 | dobin "bin/docker-${PN}" 45 | } 46 | -------------------------------------------------------------------------------- /app-emulation/containerd/containerd-0.2.3.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2016 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=6 6 | EGO_PN="github.com/docker/${PN}" 7 | 8 | if [[ ${PV} == *9999 ]]; then 9 | inherit golang-vcs 10 | else 11 | MY_PV="${PV/_/-}" 12 | EGIT_COMMIT="v${MY_PV}" 13 | SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 14 | KEYWORDS="~amd64" 15 | inherit golang-vcs-snapshot 16 | fi 17 | 18 | DESCRIPTION="A daemon to control runC" 19 | HOMEPAGE="https://containerd.tools" 20 | 21 | LICENSE="Apache-2.0" 22 | SLOT="0" 23 | IUSE="+seccomp" 24 | 25 | DEPEND="" 26 | RDEPEND=" 27 | >=app-emulation/runc-1.0.0_rc2 28 | seccomp? ( sys-libs/libseccomp ) 29 | " 30 | 31 | S=${WORKDIR}/${P}/src/${EGO_PN} 32 | 33 | src_prepare() { 34 | eapply_user 35 | } 36 | 37 | src_compile() { 38 | local options=( $(usex seccomp "seccomp") ) 39 | export GOPATH="${WORKDIR}/${P}" # ${PWD}/vendor 40 | LDFLAGS= emake GIT_COMMIT="$EGIT_COMMIT" BUILDTAGS="${options[@]}" 41 | } 42 | 43 | src_install() { 44 | dobin bin/containerd* bin/ctr 45 | } 46 | -------------------------------------------------------------------------------- /app-emulation/containerd/containerd-0.2.4.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2016 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=6 6 | EGO_PN="github.com/docker/${PN}" 7 | 8 | if [[ ${PV} == *9999 ]]; then 9 | inherit golang-vcs 10 | else 11 | MY_PV="${PV/_/-}" 12 | EGIT_COMMIT="v${MY_PV}" 13 | SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 14 | KEYWORDS="~amd64" 15 | inherit golang-vcs-snapshot 16 | fi 17 | 18 | DESCRIPTION="A daemon to control runC" 19 | HOMEPAGE="https://containerd.tools" 20 | 21 | LICENSE="Apache-2.0" 22 | SLOT="0" 23 | IUSE="+seccomp" 24 | 25 | DEPEND="" 26 | RDEPEND=" 27 | >=app-emulation/runc-1.0.0_rc2 28 | seccomp? ( sys-libs/libseccomp ) 29 | " 30 | 31 | S=${WORKDIR}/${P}/src/${EGO_PN} 32 | 33 | src_prepare() { 34 | eapply_user 35 | } 36 | 37 | src_compile() { 38 | local options=( $(usex seccomp "seccomp") ) 39 | export GOPATH="${WORKDIR}/${P}" # ${PWD}/vendor 40 | LDFLAGS= emake GIT_COMMIT="$EGIT_COMMIT" BUILDTAGS="${options[@]}" 41 | } 42 | 43 | src_install() { 44 | dobin bin/containerd* bin/ctr 45 | } 46 | -------------------------------------------------------------------------------- /app-emulation/containerd/containerd-0.2.2.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2016 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=6 6 | EGO_PN="github.com/docker/${PN}" 7 | 8 | if [[ ${PV} == *9999 ]]; then 9 | inherit golang-vcs 10 | else 11 | MY_PV="${PV/_/-}" 12 | EGIT_COMMIT="v${MY_PV}" 13 | SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 14 | KEYWORDS="~amd64" 15 | inherit golang-vcs-snapshot 16 | fi 17 | 18 | DESCRIPTION="A daemon to control runC" 19 | HOMEPAGE="https://containerd.tools" 20 | 21 | LICENSE="Apache-2.0" 22 | SLOT="0" 23 | IUSE="+seccomp" 24 | 25 | DEPEND="" 26 | RDEPEND=" 27 | >=app-emulation/runc-0.1.1 28 | Docker is an open-source project to easily create lightweight, portable, self-sufficient containers from any application. 9 | 10 | ## using docker in gentoo 11 | 12 | Latest stable is in the portage tree proper under the name `app-emulation/docker`. If you just want the latest release version of Docker, that's the best place to find it. 13 | 14 | Be sure to check out [the Gentoo Linux installation instructions at docker.io](http://docs.docker.io/en/latest/installation/gentoolinux/) for important notes and direction regarding the Gentoo ebuilds for Docker. 15 | 16 | ## using this overlay 17 | 18 | If you want a `-bin` ebuild, the latest and greatest changes before they're pushed to tree, or a live ebuild, you're in the correct place. 19 | 20 | This repository is listed with layman. Ensure that you have layman (`emerge -av app-portage/layman`), and invoke the following: 21 | 22 | layman -a docker 23 | 24 | After adding this overlay, `app-emulation/docker` should be available for emerge (or alternatively, `app-emulation/docker-bin`): 25 | 26 | emerge -av app-emulation/docker 27 | 28 | Note also the existence of `dev-util/gordon` (see https://github.com/docker/gordon for more details). 29 | -------------------------------------------------------------------------------- /app-emulation/runc/runc-1.0.0_rc3.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2017 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Id$ 4 | 5 | EAPI=6 6 | EGO_PN="github.com/opencontainers/${PN}" 7 | 8 | if [[ ${PV} == *9999 ]]; then 9 | inherit golang-vcs 10 | else 11 | MY_PV="${PV/_/-}" 12 | EGIT_COMMIT="v${MY_PV}" 13 | RUNC_COMMIT="75f8da7" # Change this when you update the ebuild 14 | [ "$RUNC_COMMIT" ] || die "RUNC_COMMIT must be added manually for each bump!" 15 | SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 16 | KEYWORDS="~amd64 ~ppc64" 17 | inherit golang-vcs-snapshot 18 | fi 19 | 20 | DESCRIPTION="runc container cli tools" 21 | HOMEPAGE="http://runc.io" 22 | 23 | LICENSE="Apache-2.0" 24 | SLOT="0" 25 | IUSE="apparmor hardened +seccomp" 26 | 27 | RDEPEND=" 28 | apparmor? ( sys-libs/libapparmor ) 29 | seccomp? ( sys-libs/libseccomp ) 30 | " 31 | 32 | export GOPATH="${WORKDIR}/${P}" 33 | S="${GOPATH}/src/${EGO_PN}" 34 | 35 | src_compile() { 36 | # Taken from app-emulation/docker-1.7.0-r1 37 | export CGO_CFLAGS="-I${ROOT}/usr/include" 38 | export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') 39 | -L${ROOT}/usr/$(get_libdir)" 40 | 41 | # build up optional flags 42 | local options=( 43 | $(usex apparmor 'apparmor') 44 | $(usex seccomp 'seccomp') 45 | ) 46 | 47 | emake BUILDTAGS="${options[*]}" \ 48 | COMMIT="${RUNC_COMMIT}" 49 | } 50 | 51 | src_install() { 52 | dobin runc 53 | } 54 | -------------------------------------------------------------------------------- /app-emulation/runc/runc-1.0.0_rc4.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2017 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Id$ 4 | 5 | EAPI=6 6 | EGO_PN="github.com/opencontainers/${PN}" 7 | 8 | if [[ ${PV} == *9999 ]]; then 9 | inherit golang-vcs 10 | else 11 | MY_PV="${PV/_/-}" 12 | EGIT_COMMIT="v${MY_PV}" 13 | RUNC_COMMIT="75f8da7" # Change this when you update the ebuild 14 | [ "$RUNC_COMMIT" ] || die "RUNC_COMMIT must be added manually for each bump!" 15 | SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 16 | KEYWORDS="~amd64 ~ppc64" 17 | inherit golang-vcs-snapshot 18 | fi 19 | 20 | DESCRIPTION="runc container cli tools" 21 | HOMEPAGE="http://runc.io" 22 | 23 | LICENSE="Apache-2.0" 24 | SLOT="0" 25 | IUSE="apparmor hardened +seccomp" 26 | 27 | RDEPEND=" 28 | apparmor? ( sys-libs/libapparmor ) 29 | seccomp? ( sys-libs/libseccomp ) 30 | " 31 | 32 | export GOPATH="${WORKDIR}/${P}" 33 | S="${GOPATH}/src/${EGO_PN}" 34 | 35 | src_compile() { 36 | # Taken from app-emulation/docker-1.7.0-r1 37 | export CGO_CFLAGS="-I${ROOT}/usr/include" 38 | export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') 39 | -L${ROOT}/usr/$(get_libdir)" 40 | 41 | # build up optional flags 42 | local options=( 43 | $(usex apparmor 'apparmor') 44 | $(usex seccomp 'seccomp') 45 | ) 46 | 47 | emake BUILDTAGS="${options[*]}" \ 48 | COMMIT="${RUNC_COMMIT}" 49 | } 50 | 51 | src_install() { 52 | dobin runc 53 | } 54 | -------------------------------------------------------------------------------- /app-emulation/runc/runc-9999.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2017 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Id$ 4 | 5 | EAPI=6 6 | EGO_PN="github.com/opencontainers/${PN}" 7 | 8 | if [[ ${PV} == *9999 ]]; then 9 | inherit golang-vcs 10 | else 11 | MY_PV="${PV/_/-}" 12 | EGIT_COMMIT="v${MY_PV}" 13 | RUNC_COMMIT="" # Change this when you update the ebuild 14 | [ "$RUNC_COMMIT" ] || die "RUNC_COMMIT must be added manually for each bump!" 15 | SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 16 | KEYWORDS="~amd64 ~ppc64" 17 | inherit golang-vcs-snapshot 18 | fi 19 | 20 | DESCRIPTION="runc container cli tools" 21 | HOMEPAGE="http://runc.io" 22 | 23 | LICENSE="Apache-2.0" 24 | SLOT="0" 25 | IUSE="apparmor hardened +seccomp" 26 | 27 | RDEPEND=" 28 | apparmor? ( sys-libs/libapparmor ) 29 | seccomp? ( sys-libs/libseccomp ) 30 | " 31 | 32 | export GOPATH="${WORKDIR}/${P}" 33 | S="${GOPATH}/src/${EGO_PN}" 34 | 35 | src_compile() { 36 | # Taken from app-emulation/docker-1.7.0-r1 37 | export CGO_CFLAGS="-I${ROOT}/usr/include" 38 | export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') 39 | -L${ROOT}/usr/$(get_libdir)" 40 | 41 | # build up optional flags 42 | local options=( 43 | $(usex apparmor 'apparmor') 44 | $(usex seccomp 'seccomp') 45 | ) 46 | 47 | emake BUILDTAGS="${options[*]}" \ 48 | ${RUNC_COMMIT:+"COMMIT=${RUNC_COMMIT}"} 49 | } 50 | 51 | src_install() { 52 | dobin runc 53 | } 54 | -------------------------------------------------------------------------------- /app-emulation/fig-bin/Manifest: -------------------------------------------------------------------------------- 1 | DIST fig-bin-1.0.0-Linux-x86_64 5247064 SHA256 2cf040877781fd009f0d4d1fd8c0eeffcc01d4d7a5ef534ba0423ff4e0286b50 SHA512 b0ca1f722eb48ba8680a8244ed6ba8ec306af1cb620507dd2405f4de59edf783347323928f29c620d11dc3aabeef911fa21cc72cfb8f3957133643e4c9dc495d WHIRLPOOL a25a6bc184567db16ca5b39b70664f50a09eb01d401fd5f0779308ffd661cfbacef69d15404cb4136187450072f406c2a8eb8c86a49c52a13fe68dbbd4da507a 2 | DIST fig-bin-1.0.1-Linux-x86_64 5247539 SHA256 43e4990c8516efdaa0bf0120c28a59c7f2103ca8aa9d2fd33d7c4f7c62f8869a SHA512 604c9dcf59f77b25077e760d931fc26d08a447c8d3475922d8b86e067f04421132af83e55fab2598145ceec29eb1782cc955fca82608e50560c75e6438e0a628 WHIRLPOOL ed756c0b429902df2ce3eab188bc17a07c91921bd84d35a9598daf5f2741430f84092d95dfd063a602afc59c24609e31ea648098433959d200e4aa42c06bf067 3 | EBUILD fig-bin-1.0.0.ebuild 577 SHA256 7d8d1cdfbc04787fb0785f79e5993c2e841048b7647908cf938c0739323c8070 SHA512 1fa78368b6635a9890c5424db46c32068d8b0f5514bda354ff422487fc637947e8ae0bc72ec23631fafefa4041a8a1316c92ab7a261df8ed1abea3b76600225f WHIRLPOOL ca2f8e45b0ecdbed6e21807075cceb1e7e7ca52e7b7eb3841f76af0ed07518f1b385e4e6b0997e607811267e08bba608d5c363f712e9f4cab76892c4fd345804 4 | EBUILD fig-bin-1.0.1.ebuild 577 SHA256 7d8d1cdfbc04787fb0785f79e5993c2e841048b7647908cf938c0739323c8070 SHA512 1fa78368b6635a9890c5424db46c32068d8b0f5514bda354ff422487fc637947e8ae0bc72ec23631fafefa4041a8a1316c92ab7a261df8ed1abea3b76600225f WHIRLPOOL ca2f8e45b0ecdbed6e21807075cceb1e7e7ca52e7b7eb3841f76af0ed07518f1b385e4e6b0997e607811267e08bba608d5c363f712e9f4cab76892c4fd345804 5 | -------------------------------------------------------------------------------- /app-emulation/docker-proxy/Manifest: -------------------------------------------------------------------------------- 1 | DIST docker-proxy-0.8.0_p20161111.tar.gz 2150464 SHA256 204e723a3cb740173af3a0d4b0d00996507d3230da4f348a38b417a215de0959 SHA512 86293b9cafc3c468760266b47412040f21309baad27765f584cfa1e93bc2ad88068832ed55f2ae8e4f16825e9f44619e89985fd36d98b3d47eaf1d1160f76c8e WHIRLPOOL 2b885bf3865a396219af7b32fc20477b15dffa1ac7b8a26602ff1b131d9f7cb31d5f997045bfac5ddf8b75016ca083c31ed345dfe1d9023a8d68b712a72d5979 2 | EBUILD docker-proxy-0.8.0_p20161111.ebuild 812 SHA256 64a6cad5f1a5070dc761eba501cc149b9aa60685ea716a1a9dbbccdce067c145 SHA512 0507b74d9c8ea04370a09bbf23a579b33cc767592886dbe807d4976089650f1af4093d6029e3f553ad8ee76ca8f72ebea514669b1066c129f13246b2044cbdef WHIRLPOOL d8535adef69d1697b71bbc874b659443a4a16eb2abd9253301023d0031f92d244efb392740ef8707860ed0ef5bedbe6ff9978636e80bd5c41e08c6cad265b66b 3 | EBUILD docker-proxy-9999.ebuild 812 SHA256 64a6cad5f1a5070dc761eba501cc149b9aa60685ea716a1a9dbbccdce067c145 SHA512 0507b74d9c8ea04370a09bbf23a579b33cc767592886dbe807d4976089650f1af4093d6029e3f553ad8ee76ca8f72ebea514669b1066c129f13246b2044cbdef WHIRLPOOL d8535adef69d1697b71bbc874b659443a4a16eb2abd9253301023d0031f92d244efb392740ef8707860ed0ef5bedbe6ff9978636e80bd5c41e08c6cad265b66b 4 | MISC metadata.xml 473 SHA256 94ccc30bd360b3937218660fcb53a8ffb1e2610c5e6bfef57533a9e212a6a6b3 SHA512 24b367805524f36318db4b49f7aedbe5602b7b7068fe156bdf18ff9d7cacb23365084ad4887da5b6573b6a41b2a975cf11b73823e78f86f75236e4b52becbbc2 WHIRLPOOL 8aa721e77fef6b5199d3ac186de773545bcaaa1dffd3f911493a179c8b8282b150977d5ec1c21f3c0f6c45487a11a33f7b1fc3c9f480222b1c2538871d619467 5 | -------------------------------------------------------------------------------- /sys-cluster/machine/machine-0.0.2.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Machine management for a container-centric world" 8 | HOMEPAGE="https://github.com/docker/machine" 9 | SRC_URI="https://github.com/docker/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" 10 | 11 | inherit eutils 12 | 13 | LICENSE="Apache-2.0" 14 | SLOT="0" 15 | KEYWORDS="~amd64" 16 | IUSE="" 17 | 18 | DEPEND=">=dev-lang/go-1.3" 19 | RDEPEND="dev-vcs/git" 20 | 21 | src_prepare() { 22 | epatch_user 23 | } 24 | 25 | src_compile() { 26 | export GOPATH="${T}/gopath" 27 | mkdir -pv "$GOPATH/src/github.com/docker" || die 28 | ln -sv "${S}" "$GOPATH/src/github.com/docker/${PN}" || die 29 | export GOPATH="$GOPATH:${S}/Godeps/_workspace" 30 | go build -v -o "$PN" || die 31 | } 32 | 33 | src_install() { 34 | dobin "$PN" 35 | } 36 | 37 | pkg_postinst() { 38 | ewarn "" 39 | ewarn "Machine relies on Identity Authentication in Docker." 40 | ewarn " - Proposal: https://github.com/docker/docker/issues/7667" 41 | ewarn " - PR: https://github.com/docker/docker/pull/8265" 42 | ewarn "" 43 | ewarn "As this is not merged in Docker proper, you will not receive support while" 44 | ewarn "using this patch (although feedback on the PR will be very welcome)." 45 | ewarn "" 46 | ewarn "It can be included in a build of Docker by downloading" 47 | ewarn "https://github.com/docker/docker/pull/8265.patch and placing it at" 48 | ewarn "/etc/portage/patches/app-emulation/docker/8265-identity-auth.patch followed by a" 49 | ewarn "fresh emerge of app-emulation/docker." 50 | ewarn "" 51 | } 52 | -------------------------------------------------------------------------------- /app-emulation/runc/runc-0.1.1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2016 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Id$ 4 | 5 | EAPI=6 6 | EGO_PN="github.com/opencontainers/${PN}" 7 | 8 | if [[ ${PV} == *9999 ]]; then 9 | inherit golang-vcs 10 | else 11 | MY_PV="${PV/_/-}" 12 | EGIT_COMMIT="v${MY_PV}" 13 | RUNC_GITCOMMIT="baf6536" # Change this when you update the ebuild 14 | [ "$RUNC_GITCOMMIT" ] || die "RUNC_GITCOMMIT must be added manually for each bump!" 15 | SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 16 | KEYWORDS="~amd64 ~ppc64" 17 | inherit golang-vcs-snapshot 18 | fi 19 | 20 | DESCRIPTION="runc container cli tools" 21 | HOMEPAGE="http://runc.io" 22 | 23 | LICENSE="Apache-2.0" 24 | SLOT="0" 25 | IUSE="apparmor hardened +seccomp" 26 | 27 | DEPEND=" 28 | >=dev-lang/go-1.6:= 29 | " 30 | RDEPEND=" 31 | apparmor? ( sys-libs/libapparmor ) 32 | seccomp? ( sys-libs/libseccomp ) 33 | " 34 | 35 | S=${WORKDIR}/${P}/src/${EGO_PN} 36 | 37 | src_prepare() { 38 | default 39 | [[ ${PN} == *9999 ]] || sed -i -e "s/COMMIT=.*$/COMMIT := ${RUNC_GITCOMMIT}/" Makefile || die 40 | } 41 | 42 | src_compile() { 43 | # Taken from app-emulation/docker-1.7.0-r1 44 | export CGO_CFLAGS="-I${ROOT}/usr/include" 45 | export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') 46 | -L${ROOT}/usr/$(get_libdir)" 47 | 48 | # Setup GOPATH so things build 49 | rm -rf .gopath 50 | mkdir -p .gopath/src/"$(dirname "${GITHUB_URI}")" 51 | ln -sf ../../../.. .gopath/src/"${GITHUB_URI}" 52 | export GOPATH="${PWD}/.gopath:${PWD}/vendor" 53 | 54 | # build up optional flags 55 | local options=( 56 | $(usex apparmor 'apparmor') 57 | $(usex seccomp 'seccomp') 58 | ) 59 | 60 | emake BUILDTAGS="${options[*]}" 61 | } 62 | 63 | src_install() { 64 | dobin runc 65 | } 66 | -------------------------------------------------------------------------------- /app-emulation/runc/runc-1.0.0_rc1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2016 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Id$ 4 | 5 | EAPI=6 6 | EGO_PN="github.com/opencontainers/${PN}" 7 | 8 | if [[ ${PV} == *9999 ]]; then 9 | inherit golang-vcs 10 | else 11 | MY_PV="${PV/_/-}" 12 | EGIT_COMMIT="v${MY_PV}" 13 | RUNC_GITCOMMIT="04f275d" # Change this when you update the ebuild 14 | [ "$RUNC_GITCOMMIT" ] || die "RUNC_GITCOMMIT must be added manually for each bump!" 15 | SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 16 | KEYWORDS="~amd64 ~ppc64" 17 | inherit golang-vcs-snapshot 18 | fi 19 | 20 | DESCRIPTION="runc container cli tools" 21 | HOMEPAGE="http://runc.io" 22 | 23 | LICENSE="Apache-2.0" 24 | SLOT="0" 25 | IUSE="apparmor hardened +seccomp" 26 | 27 | DEPEND=" 28 | >=dev-lang/go-1.6:= 29 | " 30 | RDEPEND=" 31 | apparmor? ( sys-libs/libapparmor ) 32 | seccomp? ( sys-libs/libseccomp ) 33 | " 34 | 35 | S=${WORKDIR}/${P}/src/${EGO_PN} 36 | 37 | src_prepare() { 38 | default 39 | [[ ${PN} == *9999 ]] || sed -i -e "s/COMMIT :=.*$/COMMIT := ${RUNC_GITCOMMIT}/" Makefile || die 40 | } 41 | 42 | src_compile() { 43 | # Taken from app-emulation/docker-1.7.0-r1 44 | export CGO_CFLAGS="-I${ROOT}/usr/include" 45 | export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') 46 | -L${ROOT}/usr/$(get_libdir)" 47 | 48 | # Setup GOPATH so things build 49 | rm -rf .gopath 50 | mkdir -p .gopath/src/"$(dirname "${GITHUB_URI}")" 51 | ln -sf ../../../.. .gopath/src/"${GITHUB_URI}" 52 | export GOPATH="${PWD}/.gopath:${PWD}/vendor" 53 | 54 | # build up optional flags 55 | local options=( 56 | $(usex apparmor 'apparmor') 57 | $(usex seccomp 'seccomp') 58 | ) 59 | 60 | emake BUILDTAGS="${options[*]}" 61 | } 62 | 63 | src_install() { 64 | dobin runc 65 | } 66 | -------------------------------------------------------------------------------- /app-emulation/runc/runc-1.0.0_rc2.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2017 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Id$ 4 | 5 | EAPI=6 6 | EGO_PN="github.com/opencontainers/${PN}" 7 | 8 | if [[ ${PV} == *9999 ]]; then 9 | inherit golang-vcs 10 | else 11 | MY_PV="${PV/_/-}" 12 | EGIT_COMMIT="v${MY_PV}" 13 | RUNC_COMMIT="c91b5be" # Change this when you update the ebuild 14 | [ "$RUNC_COMMIT" ] || die "RUNC_COMMIT must be added manually for each bump!" 15 | SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" 16 | KEYWORDS="~amd64 ~ppc64" 17 | inherit golang-vcs-snapshot 18 | fi 19 | inherit eutils 20 | 21 | DESCRIPTION="runc container cli tools" 22 | HOMEPAGE="http://runc.io" 23 | 24 | LICENSE="Apache-2.0" 25 | SLOT="0" 26 | IUSE="apparmor hardened +seccomp" 27 | 28 | RDEPEND=" 29 | apparmor? ( sys-libs/libapparmor ) 30 | seccomp? ( sys-libs/libseccomp ) 31 | " 32 | 33 | S=${WORKDIR}/${P}/src/${EGO_PN} 34 | 35 | src_prepare() { 36 | epatch "${FILESDIR}/1172-ambient-tag.patch" # CVE-2016-8867, see https://github.com/opencontainers/runc/pull/1172 37 | default 38 | } 39 | 40 | src_compile() { 41 | # Taken from app-emulation/docker-1.7.0-r1 42 | export CGO_CFLAGS="-I${ROOT}/usr/include" 43 | export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') 44 | -L${ROOT}/usr/$(get_libdir)" 45 | 46 | # Setup GOPATH so things build 47 | rm -rf .gopath 48 | mkdir -p .gopath/src/"$(dirname "${GITHUB_URI}")" 49 | ln -sf ../../../.. .gopath/src/"${GITHUB_URI}" 50 | export GOPATH="${PWD}/.gopath:${PWD}/vendor" 51 | 52 | # build up optional flags 53 | local options=( 54 | $(usex apparmor 'apparmor') 55 | $(usex seccomp 'seccomp') 56 | ) 57 | 58 | emake BUILDTAGS="${options[*]}" \ 59 | COMMIT="${RUNC_COMMIT}" 60 | } 61 | 62 | src_install() { 63 | dobin runc 64 | } 65 | -------------------------------------------------------------------------------- /app-emulation/docker/files/docker-r2.initd: -------------------------------------------------------------------------------- 1 | #!/sbin/runscript 2 | # Copyright 1999-2013 Gentoo Foundation 3 | # Distributed under the terms of the GNU General Public License v2 4 | # $Header: $ 5 | 6 | DOCKER_LOGFILE=${DOCKER_LOGFILE:-/var/log/${SVCNAME}.log} 7 | DOCKER_PIDFILE=${DOCKER_PIDFILE:-/run/${SVCNAME}.pid} 8 | DOCKER_BINARY=${DOCKER_BINARY:-/usr/bin/docker} 9 | DOCKER_WORKAROUND_1422=${DOCKER_WORKAROUND_1422:-0} 10 | DOCKER_WORKAROUND_1422_DELAY=${DOCKER_WORKAROUND_1422_DELAY:-1} 11 | 12 | start() { 13 | checkpath -f -m 0644 -o root:docker "$DOCKER_LOGFILE" 14 | 15 | ebegin "Starting docker daemon" 16 | start-stop-daemon --start --background \ 17 | --exec "$DOCKER_BINARY" \ 18 | --pidfile "$DOCKER_PIDFILE" \ 19 | --stdout "$DOCKER_LOGFILE" \ 20 | --stderr "$DOCKER_LOGFILE" \ 21 | -- -d -p "$DOCKER_PIDFILE" 22 | eend $? 23 | ret=$? 24 | 25 | if [ $ret -eq 0 ] \ 26 | && [ "$DOCKER_WORKAROUND_1422" ] \ 27 | && [ "$DOCKER_WORKAROUND_1422" -gt 0 ] \ 28 | ; then 29 | # see https://github.com/dotcloud/docker/issues/1422 30 | ewarn "Working around gh#1422 (via busybox image); this may take a moment" 31 | 32 | # we were calling "docker run" more quickly than "docker -d" could get 33 | # fired up, so our workaround wasn't successful without a short delay 34 | sleep $DOCKER_WORKAROUND_1422_DELAY 35 | 36 | # TODO when we get https://github.com/dotcloud/docker/pull/1589, these 37 | # both need -rm so we clean up after ourselves (thanks, @eliasp!) 38 | docker run -i -t busybox true &> /dev/null || true 39 | # first run will fail, so we ignore its output and result and run again 40 | docker run -i -t busybox true 41 | 42 | ewend $? 43 | fi 44 | 45 | return $ret 46 | } 47 | 48 | stop() { 49 | ebegin "Stopping docker daemon" 50 | start-stop-daemon --stop \ 51 | --exec "$DOCKER_BINARY" \ 52 | --pidfile "$DOCKER_PIDFILE" 53 | eend $? 54 | } 55 | -------------------------------------------------------------------------------- /app-emulation/docker/files/1.13-tini-flags-28454.patch: -------------------------------------------------------------------------------- 1 | From d7df7315971653e11bab124800a5938e7e5c6316 Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= 3 | Date: Wed, 16 Nov 2016 00:07:13 +0200 4 | Subject: [PATCH] do not require custom build of tini 5 | MIME-Version: 1.0 6 | Content-Type: text/plain; charset=UTF-8 7 | Content-Transfer-Encoding: 8bit 8 | 9 | https://github.com/krallin/tini/issues/55#issuecomment-260507562 10 | https://github.com/krallin/tini/issues/55#issuecomment-260538243 11 | https://github.com/docker/docker/pull/28037 12 | 13 | Signed-off-by: Elan Ruusamäe 14 | --- 15 | daemon/oci_linux.go | 2 +- 16 | hack/dockerfile/install-binaries.sh | 2 +- 17 | 2 files changed, 2 insertions(+), 2 deletions(-) 18 | 19 | diff --git a/daemon/oci_linux.go b/daemon/oci_linux.go 20 | index 5a2158c..91c0f5e 100644 21 | --- a/daemon/oci_linux.go 22 | +++ b/daemon/oci_linux.go 23 | @@ -593,7 +593,7 @@ func (daemon *Daemon) populateCommonSpec(s *specs.Spec, c *container.Container) 24 | if c.HostConfig.PidMode.IsPrivate() { 25 | if (c.HostConfig.Init != nil && *c.HostConfig.Init) || 26 | (c.HostConfig.Init == nil && daemon.configStore.Init) { 27 | - s.Process.Args = append([]string{"/dev/init", c.Path}, c.Args...) 28 | + s.Process.Args = append([]string{"/dev/init", "--", c.Path}, c.Args...) 29 | var path string 30 | if daemon.configStore.InitPath == "" && c.HostConfig.InitPath == "" { 31 | path, err = exec.LookPath(DefaultInitBinary) 32 | diff --git a/hack/dockerfile/install-binaries.sh b/hack/dockerfile/install-binaries.sh 33 | index bd4c63c..7c1984b 100755 34 | --- a/hack/dockerfile/install-binaries.sh 35 | +++ b/hack/dockerfile/install-binaries.sh 36 | @@ -77,7 +77,7 @@ do 37 | git clone https://github.com/krallin/tini.git "$GOPATH/tini" 38 | cd "$GOPATH/tini" 39 | git checkout -q "$TINI_COMMIT" 40 | - cmake -DMINIMAL=ON . 41 | + cmake . 42 | make tini-static 43 | cp tini-static /usr/local/bin/docker-init 44 | ;; 45 | -------------------------------------------------------------------------------- /app-emulation/docker/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Docker is an open-source project to easily create lightweight, 6 | portable, self-sufficient containers from any application. The same 7 | container that a developer builds and tests on a laptop can run at 8 | scale, in production, on VMs, bare metal, OpenStack clusters, public 9 | clouds and more. 10 | 11 | 12 | tianon@dockerproject.org 13 | Tianon 14 | 15 | 16 | xarthisius@gentoo.org 17 | Kacper Kowalik 18 | 19 | 20 | alunduil@gentoo.org 21 | Alex Brandt 22 | 23 | 24 | proxy-maint@gentoo.org 25 | Proxy Maintainers 26 | 27 | 28 | 29 | Enables dependencies for the "aufs" graph driver, including 30 | necessary kernel flags. 31 | 32 | 33 | Enable AppArmor support. 34 | 35 | 36 | Enables dependencies for the "btrfs" graph driver, including 37 | necessary kernel flags. 38 | 39 | 40 | Install additional contrib scripts and components. 41 | 42 | 43 | Enables dependencies for the "devicemapper" graph driver, including 44 | necessary kernel flags. 45 | 46 | 47 | Enable features labelled by upstream to be of "experimental" 48 | quality and not yet ready for general consumption. 49 | 50 | 51 | Enables dependencies for the "overlay" graph driver, including 52 | necessary kernel flags. 53 | 54 | 55 | Enables dependencies for the "lxc" execution driver. 56 | 57 | 58 | 59 | docker/docker 60 | 61 | 62 | -------------------------------------------------------------------------------- /bump-docker.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" 5 | 6 | git pull -q || true 7 | 8 | newVersion="$1" 9 | if [ ! "$newVersion" ]; then 10 | echo >&2 "usage: $0 version" 11 | echo >&2 " ie: $0 0.4.0" 12 | exit 1 13 | fi 14 | 15 | # if a glob comes back empty handed, get rid of it 16 | shopt -s nullglob 17 | 18 | if [ "$newVersion" = 'latest' ]; then 19 | newVersion="$(wget -qO - 'https://get.docker.io/latest')" 20 | fi 21 | 22 | ebuildVersion="${newVersion//-/_}" 23 | ebuildVersion="${ebuildVersion//_ce/}" 24 | 25 | ebuilds=( app-emulation/docker/docker-${ebuildVersion}*.ebuild ) 26 | binEbuilds=( app-emulation/docker-bin/docker-bin-${ebuildVersion}*.ebuild ) 27 | if [ ${#ebuilds[@]} -gt 0 ] && [ ${#binEbuilds[@]} -gt 0 ]; then 28 | exit 0 29 | fi 30 | 31 | set -x 32 | 33 | #if [ ! -e app-emulation/docker-bin/docker-bin-$ebuildVersion.ebuild ]; then 34 | # ebuilds=( app-emulation/docker-bin/docker-bin-*.ebuild ) 35 | # cp \ 36 | # "${ebuilds[-1]}" \ 37 | # app-emulation/docker-bin/docker-bin-$ebuildVersion.ebuild 38 | #fi 39 | #ebuild app-emulation/docker-bin/docker-bin-$ebuildVersion.ebuild digest 40 | #git add app-emulation/docker-bin/docker-bin-$ebuildVersion.ebuild 41 | 42 | if [ ! -e app-emulation/docker/docker-$ebuildVersion.ebuild ]; then 43 | cp \ 44 | app-emulation/docker/docker-9999.ebuild \ 45 | app-emulation/docker/docker-$ebuildVersion.ebuild 46 | fi 47 | commit="$({ 48 | git ls-remote --tags https://github.com/docker/docker-ce.git "refs/tags/v$newVersion^{}" 49 | git ls-remote --tags https://github.com/docker/docker.git "refs/tags/v$newVersion^{}" 50 | } | cut -b -7)" 51 | if [ -z "$commit" ]; then 52 | commit="$({ 53 | git ls-remote --tags https://github.com/docker/docker-ce.git "refs/tags/v$newVersion" 54 | git ls-remote --tags https://github.com/docker/docker.git "refs/tags/v$newVersion" 55 | } | cut -b -7)" 56 | fi 57 | sed -i 's/DOCKER_GITCOMMIT=".*"/DOCKER_GITCOMMIT="'$commit'"/' app-emulation/docker/docker-$ebuildVersion.ebuild 58 | 59 | #eval "$(emerge --info | grep ^DISTDIR=)" 60 | #: ${DISTDIR:=/usr/portage/distfiles} 61 | #if [ ! -s "$DISTDIR/docker-$ebuildVersion.tar.gz" ]; then 62 | # wget -O "$DISTDIR/docker-$ebuildVersion.tar.gz" "https://github.com/docker/docker/archive/v${newVersion}.tar.gz" 63 | #fi 64 | 65 | ebuild app-emulation/docker/docker-$ebuildVersion.ebuild digest 66 | #git add app-emulation/docker/docker-$ebuildVersion.ebuild 67 | 68 | #git add app-emulation/docker-bin/Manifest 69 | #git add app-emulation/docker/Manifest 70 | 71 | #repoman fix 72 | #repoman full 73 | -------------------------------------------------------------------------------- /app-emulation/docker/docker-0.5.3.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2013 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Docker complements LXC with a high-level API which operates at the process level" 8 | HOMEPAGE="http://www.docker.io/" 9 | SRC_URI="" 10 | 11 | EGIT_REPO_URI="git://github.com/dotcloud/docker.git" 12 | if [[ ${PV} == *9999 ]]; then 13 | KEYWORDS="" 14 | else 15 | EGIT_COMMIT="v${PV}" 16 | KEYWORDS="~amd64" 17 | fi 18 | 19 | inherit bash-completion-r1 git-2 linux-info systemd user 20 | 21 | LICENSE="Apache-2.0" 22 | SLOT="0" 23 | IUSE="" 24 | 25 | DEPEND=" 26 | >=dev-lang/go-1.1 27 | dev-vcs/git 28 | dev-vcs/mercurial 29 | " 30 | RDEPEND=" 31 | !app-emulation/docker-bin 32 | app-emulation/lxc 33 | net-firewall/iptables 34 | sys-apps/iproute2 35 | || ( 36 | sys-fs/aufs3 37 | sys-kernel/aufs-sources 38 | ) 39 | " 40 | 41 | RESTRICT="strip" 42 | 43 | ERROR_AUFS_FS="AUFS_FS is required to be set if and only if aufs-sources are used" 44 | 45 | pkg_setup() { 46 | CONFIG_CHECK+=" ~AUFS_FS ~BRIDGE ~NETFILTER_XT_MATCH_ADDRTYPE ~NF_NAT ~NF_NAT_NEEDED" 47 | check_extra_config 48 | } 49 | 50 | src_compile() { 51 | emake VERBOSE=1 52 | } 53 | 54 | src_install() { 55 | dobin bin/docker 56 | dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md MAINTAINERS NOTICE README.md 57 | 58 | newinitd "${FILESDIR}/docker.initd" docker 59 | 60 | systemd_dounit "${FILESDIR}/docker.service" 61 | 62 | insinto /usr/share/${P}/contrib 63 | doins contrib/README 64 | cp -R "${S}/contrib"/* "${D}/usr/share/${P}/contrib/" 65 | } 66 | 67 | pkg_postinst() { 68 | elog "" 69 | elog "To use docker, the docker daemon must be running as root. To automatically" 70 | elog "start the docker daemon at boot, add docker to the default runlevel:" 71 | elog " rc-update add docker default" 72 | elog "Similarly for systemd:" 73 | elog " systemctl enable docker.service" 74 | elog "" 75 | 76 | # create docker group if the code checking for it in /etc/group exists 77 | enewgroup docker 78 | 79 | elog "To use docker as a non-root user, add yourself to the docker group." 80 | elog "" 81 | 82 | ewarn "" 83 | ewarn "If you want your containers to have access to the public internet or even" 84 | ewarn "the existing private network, IP Forwarding must be enabled:" 85 | ewarn " sysctl -w net.ipv4.ip_forward=1" 86 | ewarn "or more permanently:" 87 | ewarn " echo net.ipv4.ip_forward = 1 > /etc/sysctl.d/${PN}.conf" 88 | ewarn "Please be mindful of the security implications of enabling IP Forwarding." 89 | ewarn "" 90 | } 91 | -------------------------------------------------------------------------------- /app-emulation/runc/files/1172-ambient-tag.patch: -------------------------------------------------------------------------------- 1 | From 603c151e6c2a4a37c7fae887960d9cf46a105266 Mon Sep 17 00:00:00 2001 2 | From: Michael Crosby 3 | Date: Wed, 2 Nov 2016 10:47:22 -0700 4 | Subject: [PATCH] Move ambient capabilties behind build tag 5 | 6 | This moves the ambient capability support behind an `ambient` build tag 7 | so that it is only compiled upon request. 8 | 9 | Signed-off-by: Michael Crosby 10 | --- 11 | Makefile | 2 +- 12 | README.md | 1 + 13 | libcontainer/capabilities_ambient.go | 7 +++++++ 14 | libcontainer/capabilities_linux.go | 2 -- 15 | libcontainer/capabilities_noambient.go | 7 +++++++ 16 | 5 files changed, 16 insertions(+), 3 deletions(-) 17 | create mode 100644 libcontainer/capabilities_ambient.go 18 | create mode 100644 libcontainer/capabilities_noambient.go 19 | 20 | diff --git a/Makefile b/Makefile 21 | index 9b72ed6..779be92 100644 22 | --- a/Makefile 23 | +++ b/Makefile 24 | @@ -33,7 +33,7 @@ static: $(RUNC_LINK) 25 | CGO_ENABLED=1 go build -i -tags "$(BUILDTAGS) cgo static_build" -ldflags "-w -extldflags -static -X main.gitCommit=${COMMIT} -X main.version=${VERSION}" -o runc . 26 | 27 | release: $(RUNC_LINK) 28 | - @flag_list=(seccomp selinux apparmor static); \ 29 | + @flag_list=(seccomp selinux apparmor static ambient); \ 30 | unset expression; \ 31 | for flag in "$${flag_list[@]}"; do \ 32 | expression+="' '{'',$${flag}}"; \ 33 | diff --git a/README.md b/README.md 34 | index b8ed43f..6c6d1d4 100644 35 | --- a/README.md 36 | +++ b/README.md 37 | @@ -48,6 +48,7 @@ make BUILDTAGS='seccomp apparmor' 38 | | seccomp | Syscall filtering | libseccomp | 39 | | selinux | selinux process and mount labeling | | 40 | | apparmor | apparmor profile support | libapparmor | 41 | +| ambient | ambient capability support | kernel 4.3 | 42 | 43 | 44 | ### Running the test suite 45 | diff --git a/libcontainer/capabilities_ambient.go b/libcontainer/capabilities_ambient.go 46 | new file mode 100644 47 | index 0000000..50da283 48 | --- /dev/null 49 | +++ b/libcontainer/capabilities_ambient.go 50 | @@ -0,0 +1,7 @@ 51 | +// +build linux,ambient 52 | + 53 | +package libcontainer 54 | + 55 | +import "github.com/syndtr/gocapability/capability" 56 | + 57 | +const allCapabilityTypes = capability.CAPS | capability.BOUNDS | capability.AMBS 58 | diff --git a/libcontainer/capabilities_linux.go b/libcontainer/capabilities_linux.go 59 | index 48338a1..31fd0dc 100644 60 | --- a/libcontainer/capabilities_linux.go 61 | +++ b/libcontainer/capabilities_linux.go 62 | @@ -10,8 +10,6 @@ import ( 63 | "github.com/syndtr/gocapability/capability" 64 | ) 65 | 66 | -const allCapabilityTypes = capability.CAPS | capability.BOUNDS | capability.AMBS 67 | - 68 | var capabilityMap map[string]capability.Cap 69 | 70 | func init() { 71 | diff --git a/libcontainer/capabilities_noambient.go b/libcontainer/capabilities_noambient.go 72 | new file mode 100644 73 | index 0000000..752c4e5 74 | --- /dev/null 75 | +++ b/libcontainer/capabilities_noambient.go 76 | @@ -0,0 +1,7 @@ 77 | +// +build !ambient,linux 78 | + 79 | +package libcontainer 80 | + 81 | +import "github.com/syndtr/gocapability/capability" 82 | + 83 | +const allCapabilityTypes = capability.CAPS | capability.BOUNDS 84 | -------------------------------------------------------------------------------- /app-emulation/docker/docker-0.6.0.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2013 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Docker complements LXC with a high-level API which operates at the process level" 8 | HOMEPAGE="http://www.docker.io/" 9 | SRC_URI="" 10 | 11 | EGIT_REPO_URI="git://github.com/dotcloud/docker.git" 12 | if [[ ${PV} == *9999 ]]; then 13 | KEYWORDS="" 14 | else 15 | EGIT_COMMIT="v${PV}" 16 | KEYWORDS="~amd64" 17 | fi 18 | 19 | inherit bash-completion-r1 git-2 linux-info systemd user 20 | 21 | LICENSE="Apache-2.0" 22 | SLOT="0" 23 | IUSE="" 24 | 25 | DEPEND=" 26 | >=dev-lang/go-1.1 27 | dev-vcs/git 28 | dev-vcs/mercurial 29 | " 30 | RDEPEND=" 31 | !app-emulation/docker-bin 32 | app-emulation/lxc 33 | net-firewall/iptables 34 | sys-apps/iproute2 35 | || ( 36 | sys-fs/aufs3 37 | sys-kernel/aufs-sources 38 | ) 39 | " 40 | 41 | RESTRICT="strip" 42 | 43 | ERROR_AUFS_FS="AUFS_FS is required to be set if and only if aufs-sources are used" 44 | 45 | pkg_setup() { 46 | CONFIG_CHECK+=" ~AUFS_FS ~BRIDGE ~NETFILTER_XT_MATCH_ADDRTYPE ~NF_NAT ~NF_NAT_NEEDED" 47 | check_extra_config 48 | } 49 | 50 | src_compile() { 51 | # they be stealing our Makefile! 52 | 53 | # commands stolen from Dockerfile (go get) 54 | mkdir -p .gopath/src/github.com/dotcloud || die 55 | ln -sf "$(pwd -P)" .gopath/src/github.com/dotcloud/docker || die 56 | # the official revisions of the docker dependencies are in the Dockerfile directly, so we'll just do some lovely sed magic to snag those 57 | grep $'run\tPKG=' Dockerfile \ 58 | | sed -r 's!^run\t([^;]+);\s*(git|hg).*(git\s+checkout\s+-f|hg\s+checkout).*$!(\1; \2 clone -q https://$PKG .gopath/src/$PKG \&\& cd .gopath/src/$PKG \&\& \3 -q $REV) || die!' \ 59 | | sh -x || die 60 | 61 | # commands stolen from hack/release/make.sh (go build) 62 | export GOPATH="$(pwd -P)/.gopath" 63 | export CGO_ENABLED=0 # we need static linking! 64 | VERSION=$(cat ./VERSION) 65 | GITCOMMIT=$(git rev-parse --short HEAD) 66 | test -n "$(git status --porcelain)" && GITCOMMIT="$GITCOMMIT-dirty" 67 | mkdir -p bin || die 68 | go build -a -v -o bin/docker -ldflags "-X main.GITCOMMIT $GITCOMMIT -X main.VERSION $VERSION -d -w" ./docker || die 69 | } 70 | 71 | src_install() { 72 | dobin bin/docker 73 | dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md MAINTAINERS NOTICE README.md 74 | 75 | newinitd "${FILESDIR}/docker.initd" docker 76 | 77 | systemd_dounit "${FILESDIR}/docker.service" 78 | 79 | insinto /usr/share/${P}/contrib 80 | doins contrib/README 81 | cp -R "${S}/contrib"/* "${D}/usr/share/${P}/contrib/" 82 | 83 | newbashcomp contrib/docker.bash docker 84 | } 85 | 86 | pkg_postinst() { 87 | elog "" 88 | elog "To use docker, the docker daemon must be running as root. To automatically" 89 | elog "start the docker daemon at boot, add docker to the default runlevel:" 90 | elog " rc-update add docker default" 91 | elog "Similarly for systemd:" 92 | elog " systemctl enable docker.service" 93 | elog "" 94 | 95 | # create docker group if the code checking for it in /etc/group exists 96 | enewgroup docker 97 | 98 | elog "To use docker as a non-root user, add yourself to the docker group." 99 | elog "" 100 | 101 | ewarn "" 102 | ewarn "If you want your containers to have access to the public internet or even" 103 | ewarn "the existing private network, IP Forwarding must be enabled:" 104 | ewarn " sysctl -w net.ipv4.ip_forward=1" 105 | ewarn "or more permanently:" 106 | ewarn " echo net.ipv4.ip_forward = 1 > /etc/sysctl.d/${PN}.conf" 107 | ewarn "Please be mindful of the security implications of enabling IP Forwarding." 108 | ewarn "" 109 | } 110 | -------------------------------------------------------------------------------- /app-emulation/docker/docker-0.6.1-r1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2013 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Docker complements LXC with a high-level API which operates at the process level" 8 | HOMEPAGE="http://www.docker.io/" 9 | SRC_URI="" 10 | 11 | EGIT_REPO_URI="git://github.com/dotcloud/docker.git" 12 | if [[ ${PV} == *9999 ]]; then 13 | KEYWORDS="" 14 | else 15 | EGIT_COMMIT="v${PV}" 16 | KEYWORDS="~amd64" 17 | fi 18 | 19 | inherit bash-completion-r1 git-2 linux-info systemd user 20 | 21 | LICENSE="Apache-2.0" 22 | SLOT="0" 23 | IUSE="" 24 | 25 | DEPEND=" 26 | >=dev-lang/go-1.1 27 | dev-vcs/git 28 | dev-vcs/mercurial 29 | " 30 | RDEPEND=" 31 | !app-emulation/docker-bin 32 | app-emulation/lxc 33 | net-firewall/iptables 34 | sys-apps/iproute2 35 | || ( 36 | sys-fs/aufs3 37 | sys-kernel/aufs-sources 38 | ) 39 | " 40 | 41 | RESTRICT="strip" 42 | 43 | ERROR_AUFS_FS="AUFS_FS is required to be set if and only if aufs-sources are used" 44 | 45 | pkg_setup() { 46 | CONFIG_CHECK+=" ~AUFS_FS ~BRIDGE ~NETFILTER_XT_MATCH_ADDRTYPE ~NF_NAT ~NF_NAT_NEEDED" 47 | check_extra_config 48 | } 49 | 50 | src_compile() { 51 | # they be stealing our Makefile! 52 | 53 | # commands stolen from Dockerfile (go get) 54 | mkdir -p .gopath/src/github.com/dotcloud || die 55 | ln -sf "$(pwd -P)" .gopath/src/github.com/dotcloud/docker || die 56 | # the official revisions of the docker dependencies are in the Dockerfile directly, so we'll just do some lovely sed magic to snag those 57 | grep $'run\tPKG=' Dockerfile \ 58 | | sed -r 's!^run\t([^;]+);\s*(git|hg).*(git\s+checkout\s+-f|hg\s+checkout).*$!(\1; \2 clone -q https://$PKG .gopath/src/$PKG \&\& cd .gopath/src/$PKG \&\& \3 -q $REV) || die!' \ 59 | | sh -x || die 60 | 61 | # commands stolen from hack/release/make.sh (go build) 62 | export GOPATH="$(pwd -P)/.gopath" 63 | export CGO_ENABLED=0 # we need static linking! 64 | VERSION=$(cat ./VERSION) 65 | GITCOMMIT=$(git rev-parse --short HEAD) 66 | test -n "$(git status --porcelain)" && GITCOMMIT="$GITCOMMIT-dirty" 67 | mkdir -p bin || die 68 | go build -a -v -o bin/docker -ldflags "-X main.GITCOMMIT $GITCOMMIT -X main.VERSION $VERSION -d -w" ./docker || die 69 | } 70 | 71 | src_install() { 72 | dobin bin/docker 73 | dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md MAINTAINERS NOTICE README.md 74 | 75 | newinitd "${FILESDIR}/docker.initd" docker 76 | 77 | systemd_dounit "${FILESDIR}/docker.service" 78 | 79 | insinto /usr/share/${P}/contrib 80 | doins contrib/README 81 | cp -R "${S}/contrib"/* "${D}/usr/share/${P}/contrib/" 82 | 83 | newbashcomp contrib/docker.bash docker 84 | } 85 | 86 | pkg_postinst() { 87 | elog "" 88 | elog "To use docker, the docker daemon must be running as root. To automatically" 89 | elog "start the docker daemon at boot, add docker to the default runlevel:" 90 | elog " rc-update add docker default" 91 | elog "Similarly for systemd:" 92 | elog " systemctl enable docker.service" 93 | elog "" 94 | 95 | # create docker group if the code checking for it in /etc/group exists 96 | enewgroup docker 97 | 98 | elog "To use docker as a non-root user, add yourself to the docker group." 99 | elog "" 100 | 101 | ewarn "" 102 | ewarn "If you want your containers to have access to the public internet or even" 103 | ewarn "the existing private network, IP Forwarding must be enabled:" 104 | ewarn " sysctl -w net.ipv4.ip_forward=1" 105 | ewarn "or more permanently:" 106 | ewarn " echo net.ipv4.ip_forward = 1 > /etc/sysctl.d/${PN}.conf" 107 | ewarn "Please be mindful of the security implications of enabling IP Forwarding." 108 | ewarn "" 109 | } 110 | -------------------------------------------------------------------------------- /app-emulation/docker/docker-0.6.1-r2.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2013 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Docker complements LXC with a high-level API which operates at the process level" 8 | HOMEPAGE="http://www.docker.io/" 9 | SRC_URI="" 10 | 11 | EGIT_REPO_URI="git://github.com/dotcloud/docker.git" 12 | if [[ ${PV} == *9999 ]]; then 13 | KEYWORDS="" 14 | else 15 | EGIT_COMMIT="v${PV}" 16 | KEYWORDS="~amd64" 17 | fi 18 | 19 | inherit bash-completion-r1 git-2 linux-info systemd user 20 | 21 | LICENSE="Apache-2.0" 22 | SLOT="0" 23 | IUSE="doc vim-syntax" 24 | 25 | DEPEND=" 26 | >=dev-lang/go-1.1 27 | dev-vcs/git 28 | dev-vcs/mercurial 29 | doc? ( 30 | dev-python/sphinx 31 | dev-python/sphinxcontrib-httpdomain 32 | ) 33 | " 34 | RDEPEND=" 35 | !app-emulation/docker-bin 36 | app-emulation/lxc 37 | net-firewall/iptables 38 | sys-apps/iproute2 39 | || ( 40 | sys-fs/aufs3 41 | sys-kernel/aufs-sources 42 | ) 43 | " 44 | 45 | RESTRICT="strip" 46 | 47 | ERROR_AUFS_FS="AUFS_FS is required to be set if and only if aufs-sources are used" 48 | 49 | pkg_setup() { 50 | CONFIG_CHECK+=" ~AUFS_FS ~BRIDGE ~NETFILTER_XT_MATCH_ADDRTYPE ~NF_NAT ~NF_NAT_NEEDED" 51 | check_extra_config 52 | } 53 | 54 | src_compile() { 55 | # they be stealing our Makefile! 56 | 57 | # commands stolen from Dockerfile (go get) 58 | mkdir -p .gopath/src/github.com/dotcloud || die 59 | ln -sf "$(pwd -P)" .gopath/src/github.com/dotcloud/docker || die 60 | # the official revisions of the docker dependencies are in the Dockerfile directly, so we'll just do some lovely sed magic to snag those 61 | grep $'run\tPKG=' Dockerfile \ 62 | | sed -r 's!^run\t([^;]+);\s*(git|hg).*(git\s+checkout\s+-f|hg\s+checkout).*$!(\1; \2 clone -q https://$PKG .gopath/src/$PKG \&\& cd .gopath/src/$PKG \&\& \3 -q $REV) || die!' \ 63 | | sh -x || die 64 | 65 | # commands stolen from hack/release/make.sh (go build) 66 | export GOPATH="$(pwd -P)/.gopath" 67 | export CGO_ENABLED=0 # we need static linking! 68 | VERSION=$(cat ./VERSION) 69 | GITCOMMIT=$(git rev-parse --short HEAD) 70 | test -n "$(git status --porcelain)" && GITCOMMIT="$GITCOMMIT-dirty" 71 | mkdir -p bin || die 72 | go build -a -v -o bin/docker -ldflags "-X main.GITCOMMIT $GITCOMMIT -X main.VERSION $VERSION -d -w" ./docker || die 73 | 74 | if use doc; then 75 | emake -C docs docs || die 76 | fi 77 | 78 | if use vim-syntax; then 79 | git clone https://github.com/honza/dockerfile.vim.git "${WORKDIR}/dockerfile.vim" || die 80 | fi 81 | } 82 | 83 | src_install() { 84 | dobin bin/docker 85 | dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md MAINTAINERS NOTICE README.md 86 | 87 | newinitd "${FILESDIR}/docker.initd" docker 88 | 89 | systemd_dounit "${FILESDIR}/docker.service" 90 | 91 | insinto /usr/share/${P}/contrib 92 | doins contrib/README 93 | cp -R "${S}/contrib"/* "${D}/usr/share/${P}/contrib/" 94 | 95 | newbashcomp contrib/docker.bash docker 96 | 97 | if use doc; then 98 | dohtml -r docs/_build/html/* 99 | fi 100 | 101 | if use vim-syntax; then 102 | insinto /usr/share/vim/vimfiles 103 | doins -r "${WORKDIR}/dockerfile.vim/ftdetect" 104 | doins -r "${WORKDIR}/dockerfile.vim/syntax" 105 | fi 106 | } 107 | 108 | pkg_postinst() { 109 | elog "" 110 | elog "To use docker, the docker daemon must be running as root. To automatically" 111 | elog "start the docker daemon at boot, add docker to the default runlevel:" 112 | elog " rc-update add docker default" 113 | elog "Similarly for systemd:" 114 | elog " systemctl enable docker.service" 115 | elog "" 116 | 117 | # create docker group if the code checking for it in /etc/group exists 118 | enewgroup docker 119 | 120 | elog "To use docker as a non-root user, add yourself to the docker group." 121 | elog "" 122 | 123 | ewarn "" 124 | ewarn "If you want your containers to have access to the public internet or even" 125 | ewarn "the existing private network, IP Forwarding must be enabled:" 126 | ewarn " sysctl -w net.ipv4.ip_forward=1" 127 | ewarn "or more permanently:" 128 | ewarn " echo net.ipv4.ip_forward = 1 > /etc/sysctl.d/${PN}.conf" 129 | ewarn "Please be mindful of the security implications of enabling IP Forwarding." 130 | ewarn "" 131 | } 132 | -------------------------------------------------------------------------------- /app-emulation/docker/docker-0.6.5.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2013 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Docker complements LXC with a high-level API which operates at the process level" 8 | HOMEPAGE="http://www.docker.io/" 9 | SRC_URI="" 10 | 11 | EGIT_REPO_URI="git://github.com/dotcloud/docker.git" 12 | if [[ ${PV} == *9999 ]]; then 13 | KEYWORDS="" 14 | else 15 | EGIT_COMMIT="v${PV}" 16 | KEYWORDS="~amd64" 17 | fi 18 | 19 | inherit bash-completion-r1 git-2 linux-info systemd user 20 | 21 | LICENSE="Apache-2.0" 22 | SLOT="0" 23 | IUSE="doc vim-syntax" 24 | 25 | CDEPEND=" 26 | >=dev-db/sqlite-3.7.9:3 27 | " 28 | DEPEND=" 29 | ${CDEPEND} 30 | >=dev-lang/go-1.1.2 31 | dev-vcs/git 32 | dev-vcs/mercurial 33 | doc? ( 34 | dev-python/sphinx 35 | dev-python/sphinxcontrib-httpdomain 36 | ) 37 | " 38 | RDEPEND=" 39 | ${CDEPEND} 40 | !app-emulation/docker-bin 41 | >=app-arch/tar-1.26 42 | >=sys-apps/iproute2-3.5 43 | >=net-firewall/iptables-1.4 44 | >=app-emulation/lxc-0.8 45 | >=dev-vcs/git-1.7 46 | >=app-arch/xz-utils-4.9 47 | || ( 48 | sys-fs/aufs3 49 | sys-kernel/aufs-sources 50 | ) 51 | " 52 | 53 | RESTRICT="strip" 54 | 55 | CONFIG_CHECK=" 56 | ~AUFS_FS 57 | ~BRIDGE 58 | ~MEMCG_SWAP 59 | ~NETFILTER_XT_MATCH_ADDRTYPE 60 | ~NF_NAT 61 | ~NF_NAT_NEEDED 62 | " 63 | 64 | # TODO AUFS will be replaced with device-mapper (requires sys-fs/lvm2[thin]) in 0.7 65 | ERROR_AUFS_FS="AUFS_FS is required to be set if and only if aufs-sources are used" 66 | 67 | ERROR_MEMCG_SWAP="MEMCG_SWAP is required if you wish to limit swap usage of containers" 68 | 69 | pkg_setup() { 70 | check_extra_config 71 | } 72 | 73 | src_unpack() { 74 | git-2_src_unpack 75 | } 76 | 77 | src_compile() { 78 | export GOPATH="${WORKDIR}/gopath" 79 | mkdir -p "$GOPATH" || die 80 | 81 | # make sure docker itself is in our shiny new GOPATH 82 | mkdir -p "${GOPATH}/src/github.com/dotcloud" || die 83 | ln -sf "$(pwd -P)" "${GOPATH}/src/github.com/dotcloud/docker" || die 84 | 85 | # we need our vendored deps, too 86 | export GOPATH="$GOPATH:$(pwd -P)/vendor" 87 | 88 | # time to build! 89 | ./hack/make.sh dynbinary || die 90 | 91 | if use doc; then 92 | emake -C docs docs || die 93 | fi 94 | } 95 | 96 | src_install() { 97 | VERSION=$(cat VERSION) 98 | newbin bundles/$VERSION/dynbinary/docker-$VERSION docker 99 | exeinto /usr/libexec/docker 100 | newexe bundles/$VERSION/dynbinary/dockerinit-$VERSION dockerinit 101 | 102 | newinitd contrib/init/openrc/docker.initd docker 103 | newconfd contrib/init/openrc/docker.confd docker 104 | 105 | systemd_dounit contrib/init/systemd/docker.service 106 | 107 | dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md NOTICE README.md 108 | if use doc; then 109 | dohtml -r docs/_build/html/* 110 | fi 111 | 112 | dobashcomp contrib/completion/bash/* 113 | 114 | insinto /usr/share/zsh/site-functions 115 | doins contrib/completion/zsh/* 116 | 117 | if use vim-syntax; then 118 | insinto /usr/share/vim/vimfiles 119 | doins -r contrib/vim-syntax/ftdetect 120 | doins -r contrib/vim-syntax/syntax 121 | fi 122 | 123 | insinto /usr/share/${P}/contrib 124 | doins contrib/README 125 | cp -R "${S}/contrib"/* "${D}/usr/share/${P}/contrib/" 126 | } 127 | 128 | pkg_postinst() { 129 | elog "" 130 | elog "To use docker, the docker daemon must be running as root. To automatically" 131 | elog "start the docker daemon at boot, add docker to the default runlevel:" 132 | elog " rc-update add docker default" 133 | elog "Similarly for systemd:" 134 | elog " systemctl enable docker.service" 135 | elog "" 136 | 137 | # create docker group if the code checking for it in /etc/group exists 138 | enewgroup docker 139 | 140 | elog "To use docker as a non-root user, add yourself to the docker group." 141 | elog "" 142 | 143 | ewarn "" 144 | ewarn "If you want your containers to have access to the public internet or even" 145 | ewarn "the existing private network, IP Forwarding must be enabled:" 146 | ewarn " sysctl -w net.ipv4.ip_forward=1" 147 | ewarn "or more permanently:" 148 | ewarn " echo net.ipv4.ip_forward = 1 > /etc/sysctl.d/${PN}.conf" 149 | ewarn "Please be mindful of the security implications of enabling IP Forwarding." 150 | ewarn "" 151 | } 152 | -------------------------------------------------------------------------------- /app-emulation/docker/docker-0.6.6.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2013 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Docker complements LXC with a high-level API which operates at the process level" 8 | HOMEPAGE="http://www.docker.io/" 9 | SRC_URI="" 10 | 11 | EGIT_REPO_URI="git://github.com/dotcloud/docker.git" 12 | if [[ ${PV} == *9999 ]]; then 13 | KEYWORDS="" 14 | else 15 | EGIT_COMMIT="v${PV}" 16 | KEYWORDS="~amd64" 17 | fi 18 | 19 | inherit bash-completion-r1 git-2 linux-info systemd user 20 | 21 | LICENSE="Apache-2.0" 22 | SLOT="0" 23 | IUSE="doc vim-syntax" 24 | 25 | CDEPEND=" 26 | >=dev-db/sqlite-3.7.9:3 27 | " 28 | DEPEND=" 29 | ${CDEPEND} 30 | >=dev-lang/go-1.1.2 31 | dev-vcs/git 32 | dev-vcs/mercurial 33 | doc? ( 34 | dev-python/sphinx 35 | dev-python/sphinxcontrib-httpdomain 36 | ) 37 | " 38 | RDEPEND=" 39 | ${CDEPEND} 40 | !app-emulation/docker-bin 41 | >=app-arch/tar-1.26 42 | >=sys-apps/iproute2-3.5 43 | >=net-firewall/iptables-1.4 44 | >=app-emulation/lxc-0.8 45 | >=dev-vcs/git-1.7 46 | >=app-arch/xz-utils-4.9 47 | || ( 48 | sys-fs/aufs3 49 | sys-kernel/aufs-sources 50 | ) 51 | " 52 | 53 | RESTRICT="strip" 54 | 55 | CONFIG_CHECK=" 56 | ~AUFS_FS 57 | ~BRIDGE 58 | ~MEMCG_SWAP 59 | ~NETFILTER_XT_MATCH_ADDRTYPE 60 | ~NF_NAT 61 | ~NF_NAT_NEEDED 62 | " 63 | 64 | # TODO AUFS will be replaced with device-mapper (requires sys-fs/lvm2[thin]) in 0.7 65 | ERROR_AUFS_FS="AUFS_FS is required to be set if and only if aufs-sources are used" 66 | 67 | ERROR_MEMCG_SWAP="MEMCG_SWAP is required if you wish to limit swap usage of containers" 68 | 69 | pkg_setup() { 70 | check_extra_config 71 | } 72 | 73 | src_unpack() { 74 | git-2_src_unpack 75 | } 76 | 77 | src_compile() { 78 | export GOPATH="${WORKDIR}/gopath" 79 | mkdir -p "$GOPATH" || die 80 | 81 | # make sure docker itself is in our shiny new GOPATH 82 | mkdir -p "${GOPATH}/src/github.com/dotcloud" || die 83 | ln -sf "$(pwd -P)" "${GOPATH}/src/github.com/dotcloud/docker" || die 84 | 85 | # we need our vendored deps, too 86 | export GOPATH="$GOPATH:$(pwd -P)/vendor" 87 | 88 | # time to build! 89 | ./hack/make.sh dynbinary || die 90 | 91 | if use doc; then 92 | emake -C docs docs || die 93 | fi 94 | } 95 | 96 | src_install() { 97 | VERSION=$(cat VERSION) 98 | newbin bundles/$VERSION/dynbinary/docker-$VERSION docker 99 | exeinto /usr/libexec/docker 100 | newexe bundles/$VERSION/dynbinary/dockerinit-$VERSION dockerinit 101 | 102 | newinitd contrib/init/openrc/docker.initd docker 103 | newconfd contrib/init/openrc/docker.confd docker 104 | 105 | systemd_dounit contrib/init/systemd/docker.service 106 | 107 | dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md NOTICE README.md 108 | if use doc; then 109 | dohtml -r docs/_build/html/* 110 | fi 111 | 112 | dobashcomp contrib/completion/bash/* 113 | 114 | insinto /usr/share/zsh/site-functions 115 | doins contrib/completion/zsh/* 116 | 117 | if use vim-syntax; then 118 | insinto /usr/share/vim/vimfiles 119 | doins -r contrib/vim-syntax/ftdetect 120 | doins -r contrib/vim-syntax/syntax 121 | fi 122 | 123 | insinto /usr/share/${P}/contrib 124 | doins contrib/README 125 | cp -R "${S}/contrib"/* "${D}/usr/share/${P}/contrib/" 126 | } 127 | 128 | pkg_postinst() { 129 | elog "" 130 | elog "To use docker, the docker daemon must be running as root. To automatically" 131 | elog "start the docker daemon at boot, add docker to the default runlevel:" 132 | elog " rc-update add docker default" 133 | elog "Similarly for systemd:" 134 | elog " systemctl enable docker.service" 135 | elog "" 136 | 137 | # create docker group if the code checking for it in /etc/group exists 138 | enewgroup docker 139 | 140 | elog "To use docker as a non-root user, add yourself to the docker group." 141 | elog "" 142 | 143 | ewarn "" 144 | ewarn "If you want your containers to have access to the public internet or even" 145 | ewarn "the existing private network, IP Forwarding must be enabled:" 146 | ewarn " sysctl -w net.ipv4.ip_forward=1" 147 | ewarn "or more permanently:" 148 | ewarn " echo net.ipv4.ip_forward = 1 > /etc/sysctl.d/${PN}.conf" 149 | ewarn "Please be mindful of the security implications of enabling IP Forwarding." 150 | ewarn "" 151 | } 152 | -------------------------------------------------------------------------------- /app-emulation/docker/docker-0.6.7.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2013 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Docker complements LXC with a high-level API which operates at the process level" 8 | HOMEPAGE="http://www.docker.io/" 9 | SRC_URI="" 10 | 11 | EGIT_REPO_URI="git://github.com/dotcloud/docker.git" 12 | if [[ ${PV} == *9999 ]]; then 13 | KEYWORDS="" 14 | else 15 | EGIT_COMMIT="v${PV}" 16 | KEYWORDS="~amd64" 17 | fi 18 | 19 | inherit bash-completion-r1 git-2 linux-info systemd user 20 | 21 | LICENSE="Apache-2.0" 22 | SLOT="0" 23 | IUSE="doc vim-syntax" 24 | 25 | CDEPEND=" 26 | >=dev-db/sqlite-3.7.9:3 27 | " 28 | DEPEND=" 29 | ${CDEPEND} 30 | >=dev-lang/go-1.1.2 31 | dev-vcs/git 32 | dev-vcs/mercurial 33 | doc? ( 34 | dev-python/sphinx 35 | dev-python/sphinxcontrib-httpdomain 36 | ) 37 | " 38 | RDEPEND=" 39 | ${CDEPEND} 40 | !app-emulation/docker-bin 41 | >=app-arch/tar-1.26 42 | >=sys-apps/iproute2-3.5 43 | >=net-firewall/iptables-1.4 44 | >=app-emulation/lxc-0.8 45 | >=dev-vcs/git-1.7 46 | >=app-arch/xz-utils-4.9 47 | || ( 48 | sys-fs/aufs3 49 | sys-kernel/aufs-sources 50 | ) 51 | " 52 | 53 | RESTRICT="strip" 54 | 55 | CONFIG_CHECK=" 56 | ~AUFS_FS 57 | ~BRIDGE 58 | ~MEMCG_SWAP 59 | ~NETFILTER_XT_MATCH_ADDRTYPE 60 | ~NF_NAT 61 | ~NF_NAT_NEEDED 62 | " 63 | 64 | # TODO AUFS will be replaced with device-mapper (requires sys-fs/lvm2[thin]) in 0.7 65 | ERROR_AUFS_FS="AUFS_FS is required to be set if and only if aufs-sources are used" 66 | 67 | ERROR_MEMCG_SWAP="MEMCG_SWAP is required if you wish to limit swap usage of containers" 68 | 69 | pkg_setup() { 70 | check_extra_config 71 | } 72 | 73 | src_unpack() { 74 | git-2_src_unpack 75 | } 76 | 77 | src_compile() { 78 | export GOPATH="${WORKDIR}/gopath" 79 | mkdir -p "$GOPATH" || die 80 | 81 | # make sure docker itself is in our shiny new GOPATH 82 | mkdir -p "${GOPATH}/src/github.com/dotcloud" || die 83 | ln -sf "$(pwd -P)" "${GOPATH}/src/github.com/dotcloud/docker" || die 84 | 85 | # we need our vendored deps, too 86 | export GOPATH="$GOPATH:$(pwd -P)/vendor" 87 | 88 | # time to build! 89 | ./hack/make.sh dynbinary || die 90 | 91 | if use doc; then 92 | emake -C docs docs man || die 93 | fi 94 | } 95 | 96 | src_install() { 97 | VERSION=$(cat VERSION) 98 | newbin bundles/$VERSION/dynbinary/docker-$VERSION docker 99 | exeinto /usr/libexec/docker 100 | newexe bundles/$VERSION/dynbinary/dockerinit-$VERSION dockerinit 101 | 102 | newinitd contrib/init/openrc/docker.initd docker 103 | newconfd contrib/init/openrc/docker.confd docker 104 | 105 | systemd_dounit contrib/init/systemd/docker.service 106 | 107 | dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md NOTICE README.md 108 | if use doc; then 109 | dohtml -r docs/_build/html/* 110 | doman docs/_build/man/* 111 | fi 112 | 113 | dobashcomp contrib/completion/bash/* 114 | 115 | insinto /usr/share/zsh/site-functions 116 | doins contrib/completion/zsh/* 117 | 118 | if use vim-syntax; then 119 | insinto /usr/share/vim/vimfiles 120 | doins -r contrib/vim-syntax/ftdetect 121 | doins -r contrib/vim-syntax/syntax 122 | fi 123 | 124 | insinto /usr/share/${P}/contrib 125 | doins contrib/README 126 | cp -R "${S}/contrib"/* "${D}/usr/share/${P}/contrib/" 127 | } 128 | 129 | pkg_postinst() { 130 | elog "" 131 | elog "To use docker, the docker daemon must be running as root. To automatically" 132 | elog "start the docker daemon at boot, add docker to the default runlevel:" 133 | elog " rc-update add docker default" 134 | elog "Similarly for systemd:" 135 | elog " systemctl enable docker.service" 136 | elog "" 137 | 138 | # create docker group if the code checking for it in /etc/group exists 139 | enewgroup docker 140 | 141 | elog "To use docker as a non-root user, add yourself to the docker group." 142 | elog "" 143 | 144 | ewarn "" 145 | ewarn "If you want your containers to have access to the public internet or even" 146 | ewarn "the existing private network, IP Forwarding must be enabled:" 147 | ewarn " sysctl -w net.ipv4.ip_forward=1" 148 | ewarn "or more permanently:" 149 | ewarn " echo net.ipv4.ip_forward = 1 > /etc/sysctl.d/${PN}.conf" 150 | ewarn "Please be mindful of the security implications of enabling IP Forwarding." 151 | ewarn "" 152 | } 153 | -------------------------------------------------------------------------------- /app-emulation/runc/Manifest: -------------------------------------------------------------------------------- 1 | AUX 1172-ambient-tag.patch 2971 SHA256 79c7abd6461de961ea36b413fc7854fc5f717b8a6244a908eddbeb32ace76351 SHA512 b1078f413e43c81b495479300656d4ef1e1d8bd2d11a495df4f4ecb8498323c4ce24ba8da3ee76e41737f9ffd8ca4f9b5b85a96cd276e5b60cebcf405df92ee7 WHIRLPOOL e2696b1abc740c75170190c0a7ad10635fbb1879a72d9e914818e6e0afa2a4bcb9e0a88f0268778b1df80cb739470c1c13461f2a1af87962c9f07083d23fedd3 2 | DIST runc-0.1.1.tar.gz 496416 SHA256 f9955daed1e73e842b2f28a258fba51f4e72a6b4b64cc3fc06415481d55ce000 SHA512 074482636fd2342c490c450d7a379cd14cd6c7b1ec6109cf729c4b451cc8cfb0e6b286d0df8e0cc0dba7b24d63d12bd5978013e08301a785db5e4280c595fdaa WHIRLPOOL f605e70d2bea88b5ba10f6375543824167509630cc3ed839575d5e0d3b05bb07edcac8fcee168aa3ae89adaf0ccf5ab816a201b27022ddcf31fd0218bd59c357 3 | DIST runc-1.0.0_rc1.tar.gz 532162 SHA256 77f9d4df1657fecc939be0261fcccccd34d5b22c02b8a49abad23fac33b4059a SHA512 88210bd7c2114f08f24bdf71e2d1b449b422edc7f6be069079d5e25bae909b3c3de069159185bb543181575bfe281b08d2430d2470430d84fb8f7e832b0f0a6e WHIRLPOOL 0b027a7b1d52c8d2d399252ecf3ec931e51c5e42fed9d20e846c61c240de4554f9fcd2d0fb7e132a561ff9fab63b66b24bede0d2d000d1ec08cddecba267902d 4 | DIST runc-1.0.0_rc2.tar.gz 550449 SHA256 638742c48426b9a3281aeb619e27513d972de228bdbd43b478baea99c186d491 SHA512 83a3d45efbb86d3d583b96062202b9e60121d250af2c0dd37d07fda574b642aa6f05e29cac6644ad3d624647400db694082e280383e41ca9f31dc0a33b87ed76 WHIRLPOOL 990a45739689db80bbeed43b0fd3a4ce4d0563ea833361b9112e750782313f19e638c4bfbd455f5dd1882d64c724dcf0213701322029c2c9f98f624863c744f3 5 | DIST runc-1.0.0_rc3.tar.gz 453694 SHA256 77dc6c48704da4005896acf369d0ee306f8af684c54a815f589fd87043221380 SHA512 298a176db119a02c1dbe5c095897f34955d6d0d7ea3cb21496258a23225bae35603a818c13f7adc4be1c1f4e2b3a8a540fb2fc1b2828a59f29a53e3c8b13c354 WHIRLPOOL 649aba93a24eff37042cc08d55cff0d97d6e4fe6b2c35053b36a4a186040e8772b8f63be488f3cb8d75e7daa61193669a79b2ed1f04a13ae47695c98dccb17ec 6 | DIST runc-1.0.0_rc4.tar.gz 1090513 SHA256 3ffefd293932d2ad509701878dd7dd6ef498c3667198a33e8e5d5a3cbce0eeaa SHA512 cc2ae38b96f3f3355d9ba26f7af15c57975276aeaf58dcfe7fe5f0f0411ece8584a7cb51ae7fdd2f4109366f55ac8dfb86f225e26377fe07b685bbc56a2518ed WHIRLPOOL 298e3ad3561c6d0de3f0517458da47f04389d4cf2686aba96cdf70966b1121e6a7997f0419159a4390dd276fd6cba41b08c6152aea66816a7bb760ebc5e46e32 7 | EBUILD runc-0.1.1.ebuild 1504 SHA256 ad4f7c3934103c5e122e9aeb30478fd33aa0b12a177b8d4e0cf71b2caaaa5430 SHA512 e6b1fdd9e4f7668694687f78c37956fed73fed8f6870beb5b6a91848e7ab116914f3ce36a2491524101f03c5cded8e9f78e610c37933878252d6f6399c639355 WHIRLPOOL fe430351f83613812bac6ab84cc8b4563c4ebdb593f3fc3dba08e65b3ea5ff8962b55f1e12d13d75f538efa7a006ab103776d2f8bf7ac3d308276a758c0017c0 8 | EBUILD runc-1.0.0_rc1.ebuild 1506 SHA256 a75f1cf2cb2f52ab08023f5b9cabd3acd7fdc9356ed54af5cb55306cfe397f9c SHA512 e767a2884892fdffab1a5acc462d255af76d307872d4b08c535f1c96a04a02c9812a31cf51d3086b6b27b09b95776be300baba1e5dcebbf27af20b0a7fe6305a WHIRLPOOL 171bc7017394728527ca34d2189a9ff8bcc2e015042a1723d7ce0d895d370f7979cbc128f45018f7f584f360189a4cd656eecbedc729f00c94e358c66c7ca2e8 9 | EBUILD runc-1.0.0_rc2.ebuild 1526 SHA256 2124b9ecedde64a68cddc6dbbec6ab363d99419c69fded85481c0f2f999672cd SHA512 d310021b7e9844ed88cfa39ff6755873997f8b888165ba221227c29bd6c0d24df59eb1fc02dc5a68345650ab683d8c621666ebb7f709c9fbc111866759bc7f7f WHIRLPOOL 53286b69cae53271a1ea5736ed6745ceeb415daa7c036521ef5d135775489c63c354418e5058c61b27f8ffb379035fbe91a0b12f3596b4da8ac81da320cb41cd 10 | EBUILD runc-1.0.0_rc3.ebuild 1202 SHA256 75bb655f58c65f0cdb2a0824ceb6477db071742c220131c94ea1a21c3d16f79e SHA512 f0e552a88d7c04563bc34b51d217c5e42d34ea86544ae97a75e5b5e585383411288c62b6fc4cde798cab21c668bd6b0728f0daa5d580462f3cfd3d59e15345c3 WHIRLPOOL 919344285d6f588e280fcdcd588ac57c1538c6fdc230ac640783ee589c268d97c39bd54adac7de5bfaba84b0dee60a051c1eb8497e226f90fce8bbea61f54cca 11 | EBUILD runc-1.0.0_rc4.ebuild 1202 SHA256 75bb655f58c65f0cdb2a0824ceb6477db071742c220131c94ea1a21c3d16f79e SHA512 f0e552a88d7c04563bc34b51d217c5e42d34ea86544ae97a75e5b5e585383411288c62b6fc4cde798cab21c668bd6b0728f0daa5d580462f3cfd3d59e15345c3 WHIRLPOOL 919344285d6f588e280fcdcd588ac57c1538c6fdc230ac640783ee589c268d97c39bd54adac7de5bfaba84b0dee60a051c1eb8497e226f90fce8bbea61f54cca 12 | EBUILD runc-9999.ebuild 1211 SHA256 77aafb46cc4e56e968161f838d52b2b780e5473f73f43b4ee1d7c623fc9a73d6 SHA512 0c20ab6cc2d6db1a60b31a88477023519293ff5449a03c4a57c956ab24284017c9c3d28b106eab417c74064dfa4b0479df98c9e7f0ddbc8c839fed1d5407a2bc WHIRLPOOL 9e3aa8b8db5933249f9b061e36d645078bc45162aab68fdf668f84ca9165d925b556737c7628e4e9b5be0b753d5f45864d0a90b50495ca05d87931ff0a911853 13 | -------------------------------------------------------------------------------- /app-emulation/docker/docker-0.6.4.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2013 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: $ 4 | 5 | EAPI=5 6 | 7 | DESCRIPTION="Docker complements LXC with a high-level API which operates at the process level" 8 | HOMEPAGE="http://www.docker.io/" 9 | SRC_URI="" 10 | 11 | EGIT_REPO_URI="git://github.com/dotcloud/docker.git" 12 | if [[ ${PV} == *9999 ]]; then 13 | KEYWORDS="" 14 | else 15 | EGIT_COMMIT="v${PV}" 16 | KEYWORDS="~amd64" 17 | fi 18 | 19 | inherit bash-completion-r1 git-2 linux-info systemd user 20 | 21 | LICENSE="Apache-2.0" 22 | SLOT="0" 23 | IUSE="doc vim-syntax" 24 | 25 | DEPEND=" 26 | >=dev-lang/go-1.1.2 27 | dev-vcs/git 28 | dev-vcs/mercurial 29 | doc? ( 30 | dev-python/sphinx 31 | dev-python/sphinxcontrib-httpdomain 32 | ) 33 | " 34 | RDEPEND=" 35 | !app-emulation/docker-bin 36 | >=app-arch/tar-1.26 37 | >=sys-apps/iproute2-3.5 38 | >=net-firewall/iptables-1.4 39 | >=app-emulation/lxc-0.8 40 | >=dev-vcs/git-1.7 41 | >=app-arch/xz-utils-4.9 42 | || ( 43 | sys-fs/aufs3 44 | sys-kernel/aufs-sources 45 | ) 46 | " 47 | 48 | RESTRICT="strip" 49 | 50 | # TODO AUFS will be replaced with device-mapper (sys-fs/lvm2[static-libs]) in 0.7 51 | ERROR_AUFS_FS="AUFS_FS is required to be set if and only if aufs-sources are used" 52 | 53 | ERROR_MEMCG_SWAP="MEMCG_SWAP is required if you wish to limit swap usage of containers" 54 | 55 | pkg_setup() { 56 | CONFIG_CHECK+=" ~AUFS_FS ~BRIDGE ~MEMCG_SWAP ~NETFILTER_XT_MATCH_ADDRTYPE ~NF_NAT ~NF_NAT_NEEDED" 57 | check_extra_config 58 | } 59 | 60 | src_unpack() { 61 | git-2_src_unpack 62 | } 63 | 64 | src_compile() { 65 | export CGO_ENABLED=0 # we need static linking! 66 | 67 | export GOPATH="${WORKDIR}/gopath" 68 | mkdir -p "$GOPATH" || die 69 | 70 | # copy GOROOT so we can build it without cgo and not modify anything in the REAL_GOROOT 71 | REAL_GOROOT="$(go env GOROOT)" 72 | export GOROOT="${WORKDIR}/goroot" 73 | rm -rf "$GOROOT" || die 74 | cp -R "$REAL_GOROOT" "$GOROOT" || die 75 | 76 | # recompile GOROOT to be cgo-less and thus static-able (especially net package) 77 | go install -a -v std || die 78 | 79 | # make sure docker itself is in our shiny new GOPATH 80 | mkdir -p "${GOPATH}/src/github.com/dotcloud" || die 81 | ln -sf "$(pwd -P)" "${GOPATH}/src/github.com/dotcloud/docker" || die 82 | 83 | # we need our vendored deps, too 84 | export GOPATH="$GOPATH:$(pwd -P)/vendor" 85 | 86 | # time to build! 87 | ./hack/make.sh binary || die 88 | 89 | # now copy the binary to a consistent location that doesn't involve the current version number 90 | mkdir -p bin || die 91 | VERSION=$(cat ./VERSION) 92 | cp -v bundles/$VERSION/binary/docker-$VERSION bin/docker || die 93 | 94 | if use doc; then 95 | emake -C docs docs man || die 96 | fi 97 | } 98 | 99 | src_install() { 100 | dobin bin/docker 101 | dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md MAINTAINERS NOTICE README.md 102 | 103 | newinitd "${FILESDIR}/docker-r3.initd" docker 104 | newconfd "${FILESDIR}/docker-r3.confd" docker 105 | 106 | systemd_dounit "${FILESDIR}/docker.service" 107 | 108 | insinto /usr/share/${P}/contrib 109 | doins contrib/README 110 | cp -R "${S}/contrib"/* "${D}/usr/share/${P}/contrib/" 111 | 112 | if use doc; then 113 | dohtml -r docs/_build/html/* 114 | doman docs/_build/man/* 115 | fi 116 | 117 | dobashcomp contrib/completion/bash/* 118 | 119 | insinto /usr/share/zsh/site-functions 120 | doins contrib/completion/zsh/* 121 | 122 | if use vim-syntax; then 123 | insinto /usr/share/vim/vimfiles 124 | doins -r contrib/vim-syntax/ftdetect 125 | doins -r contrib/vim-syntax/syntax 126 | fi 127 | } 128 | 129 | pkg_postinst() { 130 | elog "" 131 | elog "To use docker, the docker daemon must be running as root. To automatically" 132 | elog "start the docker daemon at boot, add docker to the default runlevel:" 133 | elog " rc-update add docker default" 134 | elog "Similarly for systemd:" 135 | elog " systemctl enable docker.service" 136 | elog "" 137 | 138 | # create docker group if the code checking for it in /etc/group exists 139 | enewgroup docker 140 | 141 | elog "To use docker as a non-root user, add yourself to the docker group." 142 | elog "" 143 | 144 | ewarn "" 145 | ewarn "If you want your containers to have access to the public internet or even" 146 | ewarn "the existing private network, IP Forwarding must be enabled:" 147 | ewarn " sysctl -w net.ipv4.ip_forward=1" 148 | ewarn "or more permanently:" 149 | ewarn " echo net.ipv4.ip_forward = 1 > /etc/sysctl.d/${PN}.conf" 150 | ewarn "Please be mindful of the security implications of enabling IP Forwarding." 151 | ewarn "" 152 | } 153 | --------------------------------------------------------------------------------