diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emulation/docker-runc |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emulation/docker-runc')
5 files changed, 203 insertions, 0 deletions
diff --git a/app-emulation/docker-runc/Manifest b/app-emulation/docker-runc/Manifest new file mode 100644 index 000000000000..bdb90bbd549d --- /dev/null +++ b/app-emulation/docker-runc/Manifest @@ -0,0 +1,7 @@ +DIST docker-runc-1.0.0_rc2_p20170308.tar.gz 561400 SHA256 bdd0fc0b5db42bb1fc439d5a5d6347d97b285e676559afb620ffd9f62fc1de26 SHA512 f17c7ff09578573a161f14616446e74d92d66039c1462bce23ea507b151eb66ede12d2ca583d3dace21d186a80bdadf222fc180bf1123e29c68e43f2f2d949c8 WHIRLPOOL f6853ccdd09ca1481828b20e64403151cd9c5d46ceb81c50e884d47e18f8594c21bf53102b252852b259b6b0186f54f070fb7f3c7e4447123cbf05aa69233035 +DIST docker-runc-1.0.0_rc3_p20170706.tar.gz 1042839 SHA256 d09b31b9a5adf0a3295d10b20e5f65ec8e1c52a371d463218694c37e075829e9 SHA512 8e937e8ccaa114913d61a450b030496668c1e2d80eecccf5e4914c5685d7dde9a0d50bc2aef9be844dc69eab81621aa1c043abbc72ba28ab6bdb9db5e86daeaf WHIRLPOOL bec7b506a6b2522d401733b32a9f500aec69920dc6d8072ab434c7bfbb1c88a6fb00afa1d2728f78fbaac1d58f890a2b5932fdbe2b0e87b749293f2b48ed2e8a +DIST docker-runc-1.0.0_rc4_p20170917.tar.gz 1094599 SHA256 d5820f1c655061be79441bd57efea4e5b60b25b6a451214b64172395b9fda383 SHA512 0cb0748812296294a87dda257dbf0947897a1ada2aa861ff3e65309a6bbecebbe798929845fca6f23b66fd0dc019bca0a032737c7192fe20618d8e1849866f3d WHIRLPOOL ed34894a3878c0cae50888c936eba1dad8d58da8d7042d5e421f06e4e98c1d7701a5c877baaba14a46d588b2ee3354e19d72bb141d5d8e7f6c0bed2d3a6b71b6 +EBUILD docker-runc-1.0.0_rc2_p20170308.ebuild 1369 SHA256 30437a9a1b5c4a0887ed57f81193fc10aa5859dbfebe5494019e0b3f3f61721f SHA512 7ca6bdaa6b7935c1b1b094fcdb94be734f9d5f1cd5f4e53afa9e8acde8fbc417e7a8d2d7957e50d26b32c613457b6d45907225e51db37ce22efc6746cb2e0cc3 WHIRLPOOL f6ee74ece4cf5514685b69fba0d5710815546647e2120249b7f0630dc2e119fff1f0d3a0af27c6e68b46b4a3d7247a42a1766015bb5325dd6942d68e940462a3 +EBUILD docker-runc-1.0.0_rc3_p20170706.ebuild 1384 SHA256 4a6afd296bd338a00e3af96907c85f17b3c6d03a32882c80bb0dc75ae099cb2d SHA512 0706dd11a2ae64ab7a56badff4e6e4220a7ac4613e87514e2e633c5f5a875e0da8fde7135f2956bfdf2f14fc6266709e1dd478d31cedbd328be0c9406c604830 WHIRLPOOL 85916ab8e340407d9fa525c90bb8e045984a5499c4c4ab587617d6008a65c6c029eb646a5892a106ebab7414641412162f218ab2861682643067ebe4c92f128b +EBUILD docker-runc-1.0.0_rc4_p20170917.ebuild 1386 SHA256 cf3dd55eba4360b1a49fe5bd460366741490dbb118c17a7599dfef1b32350b7b SHA512 06d41f7d5a6a1fc20e4a6d2a284a00131d5290fd9b305cf7bdf7ffbb9878449a3a9316ec70ebb0e5eef7df57d976fe6774b4ee4e768d491b08572e2fbce95133 WHIRLPOOL da0bec13658a2d919fbea058c0619314a335abf146845ba5bde0dd8d76aaf33ff359c2b2c4879361252598b194305a109a46cfdfb681cb94b67d4b0ca65e70f6 +MISC metadata.xml 627 SHA256 36fac17c0d0f354ffc9dcf5d8154f3a6c70b7b92cc2161c8b2f13e0e589e2167 SHA512 1038519441e238a48dafd9a0827d931cc3ca2618e57f7f1300bdc138e6bc2b768ae47f936456bf2aa5c434e617b628344aa4071fe805e698671d5f74ffb10163 WHIRLPOOL 5c90aaef62b5c3905f1f82a5923dd0b965e5f7335665f5d583a3d3992504b0a1c611fdd12e54f6a0278193b277378b8c2fda18d91d01c895dc5abece21fb70fd diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170308.ebuild b/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170308.ebuild new file mode 100644 index 000000000000..0026a2692717 --- /dev/null +++ b/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170308.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN="github.com/docker/${PN/docker-}" + +if [[ ${PV} == *9999 ]]; then + inherit golang-vcs +else + MY_PV="${PV/_/-}" + EGIT_COMMIT="54296cf40ad8143b62dbcaa1d90e520a2136ddfe" + RUNC_COMMIT="54296cf" # Change this when you update the ebuild + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="amd64 ~arm ~ppc64" + inherit golang-vcs-snapshot +fi + +DESCRIPTION="runc container cli tools (docker fork)" +HOMEPAGE="http://runc.io" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="apparmor hardened +seccomp" + +RDEPEND=" + apparmor? ( sys-libs/libapparmor ) + seccomp? ( sys-libs/libseccomp ) + !app-emulation/runc +" + +S=${WORKDIR}/${P}/src/${EGO_PN} + +RESTRICT="test" + +src_compile() { + # Taken from app-emulation/docker-1.7.0-r1 + export CGO_CFLAGS="-I${ROOT}/usr/include" + export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') + -L${ROOT}/usr/$(get_libdir)" + + # Setup GOPATH so things build + rm -rf .gopath + mkdir -p .gopath/src/"$(dirname "${GITHUB_URI}")" + ln -sf ../../../.. .gopath/src/"${GITHUB_URI}" + export GOPATH="${PWD}/.gopath:${PWD}/vendor" + + # build up optional flags + local options=( + $(usex apparmor 'apparmor') + $(usex seccomp 'seccomp') + ) + + emake BUILDTAGS="${options[*]}" \ + COMMIT="${RUNC_COMMIT}" +} + +src_install() { + dobin runc +} diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170706.ebuild b/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170706.ebuild new file mode 100644 index 000000000000..03e8e10d6e78 --- /dev/null +++ b/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170706.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN="github.com/opencontainers/${PN/docker-}" + +if [[ ${PV} == *9999 ]]; then + inherit golang-vcs +else + MY_PV="${PV/_/-}" + EGIT_COMMIT="810190ceaa507aa2727d7ae6f4790c76ec150bd2" + RUNC_COMMIT="810190" # Change this when you update the ebuild + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~ppc64" + inherit golang-vcs-snapshot +fi + +DESCRIPTION="runc container cli tools (docker fork)" +HOMEPAGE="http://runc.io" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="+ambient apparmor hardened +seccomp" + +RDEPEND=" + apparmor? ( sys-libs/libapparmor ) + seccomp? ( sys-libs/libseccomp ) + !app-emulation/runc +" + +S=${WORKDIR}/${P}/src/${EGO_PN} + +RESTRICT="test" + +src_prepare() { + default + sed -i -e "s/git rev-parse.*\$/echo gentoo)/" -e "/COMMIT :=/d" -e "/COMMIT_NO :=/d" Makefile || die +} + +src_compile() { + # Taken from app-emulation/docker-1.7.0-r1 + export CGO_CFLAGS="-I${ROOT}/usr/include" + export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') + -L${ROOT}/usr/$(get_libdir)" + + # build up optional flags + local options=( + $(usex ambient 'ambient' '') + $(usex apparmor 'apparmor' '') + $(usex seccomp 'seccomp' '') + ) + + GOPATH="${WORKDIR}/${P}" emake BUILDTAGS="${options[*]}" \ + COMMIT="${RUNC_COMMIT}" +} + +src_install() { + dobin runc +} diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170917.ebuild b/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170917.ebuild new file mode 100644 index 000000000000..8ea1d028f5b3 --- /dev/null +++ b/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170917.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN="github.com/opencontainers/${PN/docker-}" + +if [[ ${PV} == *9999 ]]; then + inherit golang-vcs +else + MY_PV="${PV/_/-}" + EGIT_COMMIT="3f2f8b84a77f73d38244dd690525642a72156c64" + RUNC_COMMIT="3f2f8b84" # Change this when you update the ebuild + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~ppc64" + inherit golang-vcs-snapshot +fi + +DESCRIPTION="runc container cli tools (docker fork)" +HOMEPAGE="http://runc.io" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="+ambient apparmor hardened +seccomp" + +RDEPEND=" + apparmor? ( sys-libs/libapparmor ) + seccomp? ( sys-libs/libseccomp ) + !app-emulation/runc +" + +S=${WORKDIR}/${P}/src/${EGO_PN} + +RESTRICT="test" + +src_prepare() { + default + sed -i -e "s/git rev-parse.*\$/echo gentoo)/" -e "/COMMIT :=/d" -e "/COMMIT_NO :=/d" Makefile || die +} + +src_compile() { + # Taken from app-emulation/docker-1.7.0-r1 + export CGO_CFLAGS="-I${ROOT}/usr/include" + export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') + -L${ROOT}/usr/$(get_libdir)" + + # build up optional flags + local options=( + $(usex ambient 'ambient' '') + $(usex apparmor 'apparmor' '') + $(usex seccomp 'seccomp' '') + ) + + GOPATH="${WORKDIR}/${P}" emake BUILDTAGS="${options[*]}" \ + COMMIT="${RUNC_COMMIT}" +} + +src_install() { + dobin runc +} diff --git a/app-emulation/docker-runc/metadata.xml b/app-emulation/docker-runc/metadata.xml new file mode 100644 index 000000000000..9fe8126b58a3 --- /dev/null +++ b/app-emulation/docker-runc/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <longdescription lang="en"> + runc is a CLI tool for spawning and running containers according + to the OCF (Open Container Format) specification. + </longdescription> + <maintainer type="person"> + <email>mrueg@gentoo.org</email> + <name>Manuel RĂ¼ger</name> + </maintainer> + <use> + <flag name="ambient">Enable support for ambient capability</flag> + <flag name="apparmor">Enable AppArmor support</flag> + </use> + <upstream> + <remote-id type="github">docker/runc</remote-id> + </upstream> +</pkgmetadata> |