[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 844fcd6389a31497a88411c5ee20526d0e3236b1 Author: William Hubbs gentoo org> AuthorDate: Sun Dec 19 22:09:19 2021 + Commit: William Hubbs gentoo org> CommitDate: Sun Dec 19 22:09:43 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=844fcd63 app-emulation/runc: fix home page Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: William Hubbs gentoo.org> app-emulation/runc/runc-1.0.2-r1.ebuild | 2 +- app-emulation/runc/runc-1.0.3.ebuild| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-emulation/runc/runc-1.0.2-r1.ebuild b/app-emulation/runc/runc-1.0.2-r1.ebuild index 3cd57d43c12e..38b6da62493d 100644 --- a/app-emulation/runc/runc-1.0.2-r1.ebuild +++ b/app-emulation/runc/runc-1.0.2-r1.ebuild @@ -11,7 +11,7 @@ RUNC_COMMIT=52b36a2dd837e8462de8e01458bf02cf9eea47dd CONFIG_CHECK="~USER_NS" DESCRIPTION="runc container cli tools" -HOMEPAGE="http://runc.io"; +HOMEPAGE="http://github.com/opencontainers/runc/"; MY_PV="${PV/_/-}" SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" diff --git a/app-emulation/runc/runc-1.0.3.ebuild b/app-emulation/runc/runc-1.0.3.ebuild index 92c4b7440bdb..db1d0c6af602 100644 --- a/app-emulation/runc/runc-1.0.3.ebuild +++ b/app-emulation/runc/runc-1.0.3.ebuild @@ -11,7 +11,7 @@ RUNC_COMMIT=f46b6ba2c9314cfc8caae24a32ec5fe9ef1059fe CONFIG_CHECK="~USER_NS" DESCRIPTION="runc container cli tools" -HOMEPAGE="http://runc.io"; +HOMEPAGE="http://github.com/opencontainers/runc/"; MY_PV="${PV/_/-}" SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 4436c576989993d6d56e402d8717e53825ad140f Author: Georgy Yakovlev gentoo org> AuthorDate: Tue Dec 14 08:46:27 2021 + Commit: Georgy Yakovlev gentoo org> CommitDate: Tue Dec 14 08:55:34 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4436c576 app-emulation/runc: add 1.0.3 Signed-off-by: Georgy Yakovlev gentoo.org> app-emulation/runc/Manifest | 1 + app-emulation/runc/runc-1.0.3.ebuild | 78 2 files changed, 79 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 3bbb8a657007..e896bdf3b837 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1 +1,2 @@ DIST runc-1.0.2.tar.gz 2374156 BLAKE2B 526520adb7127e46e7258de75e66a15a5aac216a2a2fcb91f4d9c5da393892242c4d93c5f5483ab111bf29eed7d8f0c8c138ae83a22809d72802a981dcda0395 SHA512 434abd6d7ad2508c2272b627d8aeeb28ecd8461899bff463e7d2c7abbc0f0cbb2e0bafbfe81fc534fad506b1acb4bda3e05639ecd908bc9d0d2e9356f1e56e26 +DIST runc-1.0.3.tar.gz 2375241 BLAKE2B 0fb9368ab5442462001c15a67a71821133ad90d16cac5aac760e52b2477db69c0a5dd59df42601119b19ede508889796c994a24624f88ec6a1a29dad19e0bf33 SHA512 64a1894c2b4ed5a68b185e88548fc9fbbd01d8a9495feed59fb196aa06763d64cfb71ca6cbc09d1defa26a0d94ad58626296585741f23df2e290147ba6c4c26e diff --git a/app-emulation/runc/runc-1.0.3.ebuild b/app-emulation/runc/runc-1.0.3.ebuild new file mode 100644 index ..92c4b7440bdb --- /dev/null +++ b/app-emulation/runc/runc-1.0.3.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit go-module linux-info + +# update on bump, look for https://github.com/docker\ +# docker-ce/blob//components/engine/hack/dockerfile/install/runc.installer +RUNC_COMMIT=f46b6ba2c9314cfc8caae24a32ec5fe9ef1059fe +CONFIG_CHECK="~USER_NS" + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; +MY_PV="${PV/_/-}" +SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD-2 BSD MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="apparmor hardened +kmem +seccomp test" + +DEPEND="seccomp? ( sys-libs/libseccomp )" + +RDEPEND=" + ${DEPEND} + !app-emulation/docker-runc + apparmor? ( sys-libs/libapparmor ) +" + +BDEPEND=" + dev-go/go-md2man + test? ( "${RDEPEND}" ) +" + +# tests need busybox binary, and portage namespace +# sandboxing disabled: mount-sandbox pid-sandbox ipc-sandbox +# majority of tests pass +RESTRICT+=" test" + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_compile() { + # Taken from app-emulation/docker-1.7.0-r1 + export CGO_CFLAGS="-I${ESYSROOT}/usr/include" + export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') + -L${ESYSROOT}/usr/$(get_libdir)" + + # build up optional flags + local options=( + $(usev apparmor) + $(usev seccomp) + $(usex kmem '' 'nokmem') + ) + + myemakeargs=( + BUILDTAGS="${options[*]}" + COMMIT="${RUNC_COMMIT}" + ) + + emake "${myemakeargs[@]}" runc man +} + +src_install() { + myemakeargs+=( + PREFIX="${ED}/usr" + BINDIR="${ED}/usr/bin" + MANDIR="${ED}/usr/share/man" + ) + emake "${myemakeargs[@]}" install install-man install-bash + + local DOCS=( README.md PRINCIPLES.md docs/. ) + einstalldocs +} + +src_test() { + emake "${myemakeargs[@]}" localunittest +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/, app-emulation/runc/files/
commit: 49df66c342189a9408855b6ab29403b459ebb39d Author: Georgy Yakovlev gentoo org> AuthorDate: Tue Dec 14 08:39:33 2021 + Commit: Georgy Yakovlev gentoo org> CommitDate: Tue Dec 14 08:41:10 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49df66c3 app-emulation/runc: revbump for CVE-2021-43784 since we pin dep of runc to exact version in stack, adding 1.0.3 will require revbumping the rest. So let's just revbump stable ebuild with a patch from upstream release branch. Bug: https://bugs.gentoo.org/828471 Signed-off-by: Georgy Yakovlev gentoo.org> app-emulation/runc/files/CVE-2021-43784.patch | 86 ++ .../{runc-1.0.2.ebuild => runc-1.0.2-r1.ebuild}| 2 + 2 files changed, 88 insertions(+) diff --git a/app-emulation/runc/files/CVE-2021-43784.patch b/app-emulation/runc/files/CVE-2021-43784.patch new file mode 100644 index ..ab3886ee9ba7 --- /dev/null +++ b/app-emulation/runc/files/CVE-2021-43784.patch @@ -0,0 +1,86 @@ +From b8dbe46687c2a96efa9252b69d3fc1ce33bdc416 Mon Sep 17 00:00:00 2001 +From: Aleksa Sarai +Date: Thu, 18 Nov 2021 16:12:59 +1100 +Subject: [PATCH] runc init: avoid netlink message length overflows + +When writing netlink messages, it is possible to have a byte array +larger than UINT16_MAX which would result in the length field +overflowing and allowing user-controlled data to be parsed as control +characters (such as creating custom mount points, changing which set of +namespaces to allow, and so on). + +Co-authored-by: Kir Kolyshkin +Signed-off-by: Kir Kolyshkin +Signed-off-by: Aleksa Sarai +--- + libcontainer/container_linux.go | 20 +++- + libcontainer/message_linux.go | 9 + + 2 files changed, 28 insertions(+), 1 deletion(-) + +diff --git a/libcontainer/container_linux.go b/libcontainer/container_linux.go +index 6ce1854f68..1484703b0c 100644 +--- a/libcontainer/container_linux.go b/libcontainer/container_linux.go +@@ -2028,16 +2028,34 @@ func encodeIDMapping(idMap []configs.IDMap) ([]byte, error) { + return data.Bytes(), nil + } + ++// netlinkError is an error wrapper type for use by custom netlink message ++// types. Panics with errors are wrapped in netlinkError so that the recover ++// in bootstrapData can distinguish intentional panics. ++type netlinkError struct{ error } ++ + // bootstrapData encodes the necessary data in netlink binary format + // as a io.Reader. + // Consumer can write the data to a bootstrap program + // such as one that uses nsenter package to bootstrap the container's + // init process correctly, i.e. with correct namespaces, uid/gid + // mapping etc. +-func (c *linuxContainer) bootstrapData(cloneFlags uintptr, nsMaps map[configs.NamespaceType]string) (io.Reader, error) { ++func (c *linuxContainer) bootstrapData(cloneFlags uintptr, nsMaps map[configs.NamespaceType]string) (_ io.Reader, Err error) { + // create the netlink message + r := nl.NewNetlinkRequest(int(InitMsg), 0) + ++ // Our custom messages cannot bubble up an error using returns, instead ++ // they will panic with the specific error type, netlinkError. In that ++ // case, recover from the panic and return that as an error. ++ defer func() { ++ if r := recover(); r != nil { ++ if e, ok := r.(netlinkError); ok { ++ Err = e.error ++ } else { ++ panic(r) ++ } ++ } ++ }() ++ + // write cloneFlags + r.AddData(&Int32msg{ + Type: CloneFlagsAttr, +diff --git a/libcontainer/message_linux.go b/libcontainer/message_linux.go +index 1d4f5033aa..e4107ce39f 100644 +--- a/libcontainer/message_linux.go b/libcontainer/message_linux.go +@@ -3,6 +3,9 @@ + package libcontainer + + import ( ++ "fmt" ++ "math" ++ + "github.com/vishvananda/netlink/nl" + "golang.org/x/sys/unix" + ) +@@ -54,6 +57,12 @@ type Bytemsg struct { + + func (msg *Bytemsg) Serialize() []byte { + l := msg.Len() ++ if l > math.MaxUint16 { ++ // We cannot return nil nor an error here, so we panic with ++ // a specific type instead, which is handled via recover in ++ // bootstrapData. ++ panic(netlinkError{fmt.Errorf("netlink: cannot serialize bytemsg of length %d (larger than UINT16_MAX)", l)}) ++ } + buf := make([]byte, (l+unix.NLA_ALIGNTO-1) & ^(unix.NLA_ALIGNTO-1)) + native := nl.NativeEndian() + native.PutUint16(buf[0:2], uint16(l)) diff --git a/app-emulation/runc/runc-1.0.2.ebuild b/app-emulation/runc/runc-1.0.2-r1.ebuild similarity index 97% rename from app-emulation/runc/runc-1.0.2.ebuild rename to app-emulation/runc/runc-1.0.2-r1.ebuild index d61c2be1edd1..3cd57d43c12e 100644 --- a/app-emulation/runc/runc-1.0.2.ebuild +++ b/app-emulation/runc/runc-1.0.2-r1.ebuild @@ -33,6 +33,8 @@ BDEP
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 949df73785abb771c4fcd39daafcf5e97aa76fac Author: William Hubbs gentoo org> AuthorDate: Wed Oct 6 16:49:19 2021 + Commit: William Hubbs gentoo org> CommitDate: Wed Oct 6 16:49:45 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=949df737 app-emulation/runc: remove old Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: William Hubbs gentoo.org> app-emulation/runc/Manifest | 2 - app-emulation/runc/runc-1.0.0.ebuild | 78 app-emulation/runc/runc-1.0.1.ebuild | 78 3 files changed, 158 deletions(-) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 398b1f10e34..3bbb8a65700 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,3 +1 @@ -DIST runc-1.0.0.tar.gz 2366170 BLAKE2B 1b6455cd45bc51b92c12b3293037446da62957d441124e9b76fd44ce92329e0eb2fde2ef71c6519fc4d58bcbd4ef580f64d71753a6fc06f3f6e347de170bd9c3 SHA512 8ddad1e031237c07b6cab5cfe5bdb7b11bf98d5d1064ec06845f36da073fe65a0facc6a28ba5daff71cdcb50cfd5d1cd25e97385b4eddb35b287113c2771365c -DIST runc-1.0.1.tar.gz 2371417 BLAKE2B 2c037c9105bf08131de2dc54d74c982a2fbbcab79ed8b7b0fdcd1b577a38c2aa42dc6c1ce01c934dfc66a2927ce650a87e7ca2001586ca4d3c542e63a582f26a SHA512 c5db1016f438cd4883d1f9b36414e9c8b1fe9dfcb53dfebd1130cea3cb9bf78615a765715f4dd587cf8cc603b69951a5871adc33870cfeef2e63521d1ceccf39 DIST runc-1.0.2.tar.gz 2374156 BLAKE2B 526520adb7127e46e7258de75e66a15a5aac216a2a2fcb91f4d9c5da393892242c4d93c5f5483ab111bf29eed7d8f0c8c138ae83a22809d72802a981dcda0395 SHA512 434abd6d7ad2508c2272b627d8aeeb28ecd8461899bff463e7d2c7abbc0f0cbb2e0bafbfe81fc534fad506b1acb4bda3e05639ecd908bc9d0d2e9356f1e56e26 diff --git a/app-emulation/runc/runc-1.0.0.ebuild b/app-emulation/runc/runc-1.0.0.ebuild deleted file mode 100644 index bda21966de7..000 --- a/app-emulation/runc/runc-1.0.0.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit go-module linux-info - -# update on bump, look for https://github.com/docker\ -# docker-ce/blob//components/engine/hack/dockerfile/install/runc.installer -RUNC_COMMIT=84113eef6fc27af1b01b3181f31bbaf708715301 -CONFIG_CHECK="~USER_NS" - -DESCRIPTION="runc container cli tools" -HOMEPAGE="http://runc.io"; -MY_PV="${PV/_/-}" -SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0 BSD-2 BSD MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 ~riscv ~x86" -IUSE="apparmor hardened +kmem +seccomp test" - -DEPEND="seccomp? ( sys-libs/libseccomp )" - -RDEPEND=" - ${DEPEND} - !app-emulation/docker-runc - apparmor? ( sys-libs/libapparmor ) -" - -BDEPEND=" - dev-go/go-md2man - test? ( "${RDEPEND}" ) -" - -# tests need busybox binary, and portage namespace -# sandboxing disabled: mount-sandbox pid-sandbox ipc-sandbox -# majority of tests pass -RESTRICT+=" test" - -S="${WORKDIR}/${PN}-${MY_PV}" - -src_compile() { - # Taken from app-emulation/docker-1.7.0-r1 - export CGO_CFLAGS="-I${ESYSROOT}/usr/include" - export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') - -L${ESYSROOT}/usr/$(get_libdir)" - - # build up optional flags - local options=( - $(usev apparmor) - $(usev seccomp) - $(usex kmem '' 'nokmem') - ) - - myemakeargs=( - BUILDTAGS="${options[*]}" - COMMIT="${RUNC_COMMIT}" - ) - - emake "${myemakeargs[@]}" runc man -} - -src_install() { - myemakeargs+=( - PREFIX="${ED}/usr" - BINDIR="${ED}/usr/bin" - MANDIR="${ED}/usr/share/man" - ) - emake "${myemakeargs[@]}" install install-man install-bash - - local DOCS=( README.md PRINCIPLES.md docs/. ) - einstalldocs -} - -src_test() { - emake "${myemakeargs[@]}" localunittest -} diff --git a/app-emulation/runc/runc-1.0.1.ebuild b/app-emulation/runc/runc-1.0.1.ebuild deleted file mode 100644 index 72c9a25fb77..000 --- a/app-emulation/runc/runc-1.0.1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit go-module linux-info - -# update on bump, look for https://github.com/docker\ -# docker-ce/blob//components/engine/hack/dockerfile/install/runc.installer -RUNC_COMMIT=4144b63817ebcc5b358fc2c8ef95f7cddd709aa7 -CONFIG_CHECK="~USER_NS" - -DESCRIPTION="runc container cli tools" -HOMEPAGE="http://runc.io"; -MY_PV="${PV/_/-}" -SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0 BSD-2 BSD MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -IUSE="apparmor hardened +kmem +seccomp test" - -DEPEND="seccomp? ( sys-libs/libsec
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 4f3e27d2543bb3e17593471aa6a9a0af6a8156d9 Author: Georgy Yakovlev gentoo org> AuthorDate: Wed Oct 6 01:18:44 2021 + Commit: Georgy Yakovlev gentoo org> CommitDate: Wed Oct 6 01:18:44 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f3e27d2 app-emulation/runc: Stabilize 1.0.2 arm64, #816468 Signed-off-by: Georgy Yakovlev gentoo.org> app-emulation/runc/runc-1.0.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.2.ebuild b/app-emulation/runc/runc-1.0.2.ebuild index 3bc737757a8..d61c2be1edd 100644 --- a/app-emulation/runc/runc-1.0.2.ebuild +++ b/app-emulation/runc/runc-1.0.2.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P LICENSE="Apache-2.0 BSD-2 BSD MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ppc64 ~riscv ~x86" IUSE="apparmor hardened +kmem +seccomp test" DEPEND="seccomp? ( sys-libs/libseccomp )"
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: fadc34b9d3f75998026b882187b6aa1ff1dac4d7 Author: Georgy Yakovlev gentoo org> AuthorDate: Wed Oct 6 01:18:24 2021 + Commit: Georgy Yakovlev gentoo org> CommitDate: Wed Oct 6 01:18:24 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fadc34b9 app-emulation/runc: Stabilize 1.0.2 ppc64, #816468 Signed-off-by: Georgy Yakovlev gentoo.org> app-emulation/runc/runc-1.0.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.2.ebuild b/app-emulation/runc/runc-1.0.2.ebuild index d57aac29126..3bc737757a8 100644 --- a/app-emulation/runc/runc-1.0.2.ebuild +++ b/app-emulation/runc/runc-1.0.2.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P LICENSE="Apache-2.0 BSD-2 BSD MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ppc64 ~riscv ~x86" IUSE="apparmor hardened +kmem +seccomp test" DEPEND="seccomp? ( sys-libs/libseccomp )"
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: ec0e3a46a83060543d08516dbd491fc81daeef46 Author: William Hubbs gentoo org> AuthorDate: Wed Oct 6 01:07:40 2021 + Commit: William Hubbs gentoo org> CommitDate: Wed Oct 6 01:16:17 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec0e3a46 app-emulation/runc: stable 1.0.2 on amd64 Bug: https://bugs.gentoo.org/show_bug.cgi?id=816468 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: William Hubbs gentoo.org> app-emulation/runc/runc-1.0.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.2.ebuild b/app-emulation/runc/runc-1.0.2.ebuild index 52f4e83f045..d57aac29126 100644 --- a/app-emulation/runc/runc-1.0.2.ebuild +++ b/app-emulation/runc/runc-1.0.2.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P LICENSE="Apache-2.0 BSD-2 BSD MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" IUSE="apparmor hardened +kmem +seccomp test" DEPEND="seccomp? ( sys-libs/libseccomp )"
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 429daf04ffd7a7a77a27022ea2430cd46e28ae26 Author: William Hubbs gentoo org> AuthorDate: Tue Oct 5 20:42:50 2021 + Commit: William Hubbs gentoo org> CommitDate: Tue Oct 5 20:44:25 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=429daf04 app-emulation/runc: add 1.0.1 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: William Hubbs gentoo.org> app-emulation/runc/Manifest | 1 + app-emulation/runc/runc-1.0.1.ebuild | 78 2 files changed, 79 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index e706170bb81..398b1f10e34 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,2 +1,3 @@ DIST runc-1.0.0.tar.gz 2366170 BLAKE2B 1b6455cd45bc51b92c12b3293037446da62957d441124e9b76fd44ce92329e0eb2fde2ef71c6519fc4d58bcbd4ef580f64d71753a6fc06f3f6e347de170bd9c3 SHA512 8ddad1e031237c07b6cab5cfe5bdb7b11bf98d5d1064ec06845f36da073fe65a0facc6a28ba5daff71cdcb50cfd5d1cd25e97385b4eddb35b287113c2771365c +DIST runc-1.0.1.tar.gz 2371417 BLAKE2B 2c037c9105bf08131de2dc54d74c982a2fbbcab79ed8b7b0fdcd1b577a38c2aa42dc6c1ce01c934dfc66a2927ce650a87e7ca2001586ca4d3c542e63a582f26a SHA512 c5db1016f438cd4883d1f9b36414e9c8b1fe9dfcb53dfebd1130cea3cb9bf78615a765715f4dd587cf8cc603b69951a5871adc33870cfeef2e63521d1ceccf39 DIST runc-1.0.2.tar.gz 2374156 BLAKE2B 526520adb7127e46e7258de75e66a15a5aac216a2a2fcb91f4d9c5da393892242c4d93c5f5483ab111bf29eed7d8f0c8c138ae83a22809d72802a981dcda0395 SHA512 434abd6d7ad2508c2272b627d8aeeb28ecd8461899bff463e7d2c7abbc0f0cbb2e0bafbfe81fc534fad506b1acb4bda3e05639ecd908bc9d0d2e9356f1e56e26 diff --git a/app-emulation/runc/runc-1.0.1.ebuild b/app-emulation/runc/runc-1.0.1.ebuild new file mode 100644 index 000..72c9a25fb77 --- /dev/null +++ b/app-emulation/runc/runc-1.0.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit go-module linux-info + +# update on bump, look for https://github.com/docker\ +# docker-ce/blob//components/engine/hack/dockerfile/install/runc.installer +RUNC_COMMIT=4144b63817ebcc5b358fc2c8ef95f7cddd709aa7 +CONFIG_CHECK="~USER_NS" + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; +MY_PV="${PV/_/-}" +SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD-2 BSD MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="apparmor hardened +kmem +seccomp test" + +DEPEND="seccomp? ( sys-libs/libseccomp )" + +RDEPEND=" + ${DEPEND} + !app-emulation/docker-runc + apparmor? ( sys-libs/libapparmor ) +" + +BDEPEND=" + dev-go/go-md2man + test? ( "${RDEPEND}" ) +" + +# tests need busybox binary, and portage namespace +# sandboxing disabled: mount-sandbox pid-sandbox ipc-sandbox +# majority of tests pass +RESTRICT+=" test" + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_compile() { + # Taken from app-emulation/docker-1.7.0-r1 + export CGO_CFLAGS="-I${ESYSROOT}/usr/include" + export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') + -L${ESYSROOT}/usr/$(get_libdir)" + + # build up optional flags + local options=( + $(usev apparmor) + $(usev seccomp) + $(usex kmem '' 'nokmem') + ) + + myemakeargs=( + BUILDTAGS="${options[*]}" + COMMIT="${RUNC_COMMIT}" + ) + + emake "${myemakeargs[@]}" runc man +} + +src_install() { + myemakeargs+=( + PREFIX="${ED}/usr" + BINDIR="${ED}/usr/bin" + MANDIR="${ED}/usr/share/man" + ) + emake "${myemakeargs[@]}" install install-man install-bash + + local DOCS=( README.md PRINCIPLES.md docs/. ) + einstalldocs +} + +src_test() { + emake "${myemakeargs[@]}" localunittest +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: adc4ff5888f91270724d0371708ceea140603762 Author: William Hubbs gentoo org> AuthorDate: Tue Oct 5 19:08:41 2021 + Commit: William Hubbs gentoo org> CommitDate: Tue Oct 5 19:09:18 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adc4ff58 app-emulation/runc: 1.0.2 bump Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: William Hubbs gentoo.org> app-emulation/runc/Manifest | 1 + app-emulation/runc/runc-1.0.2.ebuild | 78 2 files changed, 79 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 256eca2cc2a..e706170bb81 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1 +1,2 @@ DIST runc-1.0.0.tar.gz 2366170 BLAKE2B 1b6455cd45bc51b92c12b3293037446da62957d441124e9b76fd44ce92329e0eb2fde2ef71c6519fc4d58bcbd4ef580f64d71753a6fc06f3f6e347de170bd9c3 SHA512 8ddad1e031237c07b6cab5cfe5bdb7b11bf98d5d1064ec06845f36da073fe65a0facc6a28ba5daff71cdcb50cfd5d1cd25e97385b4eddb35b287113c2771365c +DIST runc-1.0.2.tar.gz 2374156 BLAKE2B 526520adb7127e46e7258de75e66a15a5aac216a2a2fcb91f4d9c5da393892242c4d93c5f5483ab111bf29eed7d8f0c8c138ae83a22809d72802a981dcda0395 SHA512 434abd6d7ad2508c2272b627d8aeeb28ecd8461899bff463e7d2c7abbc0f0cbb2e0bafbfe81fc534fad506b1acb4bda3e05639ecd908bc9d0d2e9356f1e56e26 diff --git a/app-emulation/runc/runc-1.0.2.ebuild b/app-emulation/runc/runc-1.0.2.ebuild new file mode 100644 index 000..52f4e83f045 --- /dev/null +++ b/app-emulation/runc/runc-1.0.2.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit go-module linux-info + +# update on bump, look for https://github.com/docker\ +# docker-ce/blob//components/engine/hack/dockerfile/install/runc.installer +RUNC_COMMIT=52b36a2dd837e8462de8e01458bf02cf9eea47dd +CONFIG_CHECK="~USER_NS" + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; +MY_PV="${PV/_/-}" +SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD-2 BSD MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="apparmor hardened +kmem +seccomp test" + +DEPEND="seccomp? ( sys-libs/libseccomp )" + +RDEPEND=" + ${DEPEND} + !app-emulation/docker-runc + apparmor? ( sys-libs/libapparmor ) +" + +BDEPEND=" + dev-go/go-md2man + test? ( "${RDEPEND}" ) +" + +# tests need busybox binary, and portage namespace +# sandboxing disabled: mount-sandbox pid-sandbox ipc-sandbox +# majority of tests pass +RESTRICT+=" test" + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_compile() { + # Taken from app-emulation/docker-1.7.0-r1 + export CGO_CFLAGS="-I${ESYSROOT}/usr/include" + export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') + -L${ESYSROOT}/usr/$(get_libdir)" + + # build up optional flags + local options=( + $(usev apparmor) + $(usev seccomp) + $(usex kmem '' 'nokmem') + ) + + myemakeargs=( + BUILDTAGS="${options[*]}" + COMMIT="${RUNC_COMMIT}" + ) + + emake "${myemakeargs[@]}" runc man +} + +src_install() { + myemakeargs+=( + PREFIX="${ED}/usr" + BINDIR="${ED}/usr/bin" + MANDIR="${ED}/usr/share/man" + ) + emake "${myemakeargs[@]}" install install-man install-bash + + local DOCS=( README.md PRINCIPLES.md docs/. ) + einstalldocs +} + +src_test() { + emake "${myemakeargs[@]}" localunittest +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 0a208c77feef9fc6608ea127d47f1d743c20470d Author: Yixun Lan gentoo org> AuthorDate: Thu Aug 12 22:52:45 2021 + Commit: Yixun Lan gentoo org> CommitDate: Fri Aug 13 02:07:26 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a208c77 app-emulation/runc: keyword ~riscv Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Yixun Lan gentoo.org> app-emulation/runc/runc-1.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0.ebuild b/app-emulation/runc/runc-1.0.0.ebuild index ef8cea167d9..bda21966de7 100644 --- a/app-emulation/runc/runc-1.0.0.ebuild +++ b/app-emulation/runc/runc-1.0.0.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P LICENSE="Apache-2.0 BSD-2 BSD MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 ~x86" +KEYWORDS="amd64 ~arm arm64 ppc64 ~riscv ~x86" IUSE="apparmor hardened +kmem +seccomp test" DEPEND="seccomp? ( sys-libs/libseccomp )"
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: f4718c79bb481de1743dfbe88d8df78dc467e914 Author: Georgy Yakovlev gentoo org> AuthorDate: Mon Jul 26 21:24:27 2021 + Commit: Georgy Yakovlev gentoo org> CommitDate: Mon Jul 26 21:24:41 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4718c79 app-emulation/runc: drop 1.0.0_rc95 Bug: https://bugs.gentoo.org/802948 Signed-off-by: Georgy Yakovlev gentoo.org> app-emulation/runc/Manifest | 1 - app-emulation/runc/runc-1.0.0_rc95.ebuild | 78 --- 2 files changed, 79 deletions(-) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index dec811716bc..256eca2cc2a 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,2 +1 @@ DIST runc-1.0.0.tar.gz 2366170 BLAKE2B 1b6455cd45bc51b92c12b3293037446da62957d441124e9b76fd44ce92329e0eb2fde2ef71c6519fc4d58bcbd4ef580f64d71753a6fc06f3f6e347de170bd9c3 SHA512 8ddad1e031237c07b6cab5cfe5bdb7b11bf98d5d1064ec06845f36da073fe65a0facc6a28ba5daff71cdcb50cfd5d1cd25e97385b4eddb35b287113c2771365c -DIST runc-1.0.0_rc95.tar.gz 2309875 BLAKE2B 8038a2d5311463f1e83665d513ac8b6336ccaa88fab64a3218b261aa03b2750d342f95bdae965c593d4fa89fc89b1e1a6371498c205160d9d09a5c4920ffa841 SHA512 c802a6e5f16cc0321642fc7adffe33819867c1779420f76b2cabd532edb5ac8c852beadcbcf6a3e895fe274f111c5623be5dcc822fef96e7e5259bf532174ba1 diff --git a/app-emulation/runc/runc-1.0.0_rc95.ebuild b/app-emulation/runc/runc-1.0.0_rc95.ebuild deleted file mode 100644 index 2fc5c14728e..000 --- a/app-emulation/runc/runc-1.0.0_rc95.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit go-module linux-info - -# update on bump, look for https://github.com/docker\ -# docker-ce/blob//components/engine/hack/dockerfile/install/runc.installer -RUNC_COMMIT=ff819c7e9184c13b7c2607fe6c30ae19403a7aff -CONFIG_CHECK="~USER_NS" - -DESCRIPTION="runc container cli tools" -HOMEPAGE="http://runc.io"; -MY_PV="${PV/_/-}" -SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0 BSD-2 BSD MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 ~x86" -IUSE="apparmor hardened +kmem +seccomp test" - -DEPEND="seccomp? ( sys-libs/libseccomp )" - -RDEPEND=" - ${DEPEND} - !app-emulation/docker-runc - apparmor? ( sys-libs/libapparmor ) -" - -BDEPEND=" - dev-go/go-md2man - test? ( "${RDEPEND}" ) -" - -# tests need busybox binary, and portage namespace -# sandboxing disabled: mount-sandbox pid-sandbox ipc-sandbox -# majority of tests pass -RESTRICT+=" test" - -S="${WORKDIR}/${PN}-${MY_PV}" - -src_compile() { - # Taken from app-emulation/docker-1.7.0-r1 - export CGO_CFLAGS="-I${ESYSROOT}/usr/include" - export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') - -L${ESYSROOT}/usr/$(get_libdir)" - - # build up optional flags - local options=( - $(usev apparmor) - $(usev seccomp) - $(usex kmem '' 'nokmem') - ) - - myemakeargs=( - BUILDTAGS="${options[*]}" - COMMIT="${RUNC_COMMIT}" - ) - - emake "${myemakeargs[@]}" runc man -} - -src_install() { - myemakeargs+=( - PREFIX="${ED}/usr" - BINDIR="${ED}/usr/bin" - MANDIR="${ED}/usr/share/man" - ) - emake "${myemakeargs[@]}" install install-man install-bash - - local DOCS=( README.md PRINCIPLES.md docs/. ) - einstalldocs -} - -src_test() { - emake "${myemakeargs[@]}" localunittest -}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 90846ef52aaea653f47259e18e4b0b5a1b7cae21 Author: Sam James gentoo org> AuthorDate: Mon Jul 26 02:13:57 2021 + Commit: Sam James gentoo org> CommitDate: Mon Jul 26 02:13:57 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90846ef5 app-emulation/runc: Stabilize 1.0.0 ppc64, #802948 Signed-off-by: Sam James gentoo.org> app-emulation/runc/runc-1.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0.ebuild b/app-emulation/runc/runc-1.0.0.ebuild index 1b2b9d5f1c6..ef8cea167d9 100644 --- a/app-emulation/runc/runc-1.0.0.ebuild +++ b/app-emulation/runc/runc-1.0.0.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P LICENSE="Apache-2.0 BSD-2 BSD MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm arm64 ppc64 ~x86" IUSE="apparmor hardened +kmem +seccomp test" DEPEND="seccomp? ( sys-libs/libseccomp )"
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 360e13d9756a600e0358c9a443954612c490d363 Author: Sam James gentoo org> AuthorDate: Sat Jul 24 17:19:50 2021 + Commit: Sam James gentoo org> CommitDate: Sat Jul 24 17:19:50 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=360e13d9 app-emulation/runc: Stabilize 1.0.0 arm64, #802948 Signed-off-by: Sam James gentoo.org> app-emulation/runc/runc-1.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0.ebuild b/app-emulation/runc/runc-1.0.0.ebuild index 6941c018dc9..1b2b9d5f1c6 100644 --- a/app-emulation/runc/runc-1.0.0.ebuild +++ b/app-emulation/runc/runc-1.0.0.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P LICENSE="Apache-2.0 BSD-2 BSD MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~x86" IUSE="apparmor hardened +kmem +seccomp test" DEPEND="seccomp? ( sys-libs/libseccomp )"
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 1077d7240647055b1e3fd10e0b59aeb946d90c49 Author: Sam James gentoo org> AuthorDate: Fri Jul 23 17:57:33 2021 + Commit: Sam James gentoo org> CommitDate: Fri Jul 23 17:57:33 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1077d724 app-emulation/runc: Stabilize 1.0.0 amd64, #802948 Signed-off-by: Sam James gentoo.org> app-emulation/runc/runc-1.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0.ebuild b/app-emulation/runc/runc-1.0.0.ebuild index 73b4f693568..6941c018dc9 100644 --- a/app-emulation/runc/runc-1.0.0.ebuild +++ b/app-emulation/runc/runc-1.0.0.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P LICENSE="Apache-2.0 BSD-2 BSD MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" IUSE="apparmor hardened +kmem +seccomp test" DEPEND="seccomp? ( sys-libs/libseccomp )"
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 71495d17b60621fe86d64ab649085e6f51fc597b Author: Georgy Yakovlev gentoo org> AuthorDate: Tue Jul 20 02:04:57 2021 + Commit: Georgy Yakovlev gentoo org> CommitDate: Tue Jul 20 02:43:53 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71495d17 app-emulation/runc: add 1.0.0 Bug: https://bugs.gentoo.org/802948 Signed-off-by: Georgy Yakovlev gentoo.org> app-emulation/runc/Manifest | 1 + app-emulation/runc/runc-1.0.0.ebuild | 78 2 files changed, 79 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index cf7cc93b5e3..dec811716bc 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1 +1,2 @@ +DIST runc-1.0.0.tar.gz 2366170 BLAKE2B 1b6455cd45bc51b92c12b3293037446da62957d441124e9b76fd44ce92329e0eb2fde2ef71c6519fc4d58bcbd4ef580f64d71753a6fc06f3f6e347de170bd9c3 SHA512 8ddad1e031237c07b6cab5cfe5bdb7b11bf98d5d1064ec06845f36da073fe65a0facc6a28ba5daff71cdcb50cfd5d1cd25e97385b4eddb35b287113c2771365c DIST runc-1.0.0_rc95.tar.gz 2309875 BLAKE2B 8038a2d5311463f1e83665d513ac8b6336ccaa88fab64a3218b261aa03b2750d342f95bdae965c593d4fa89fc89b1e1a6371498c205160d9d09a5c4920ffa841 SHA512 c802a6e5f16cc0321642fc7adffe33819867c1779420f76b2cabd532edb5ac8c852beadcbcf6a3e895fe274f111c5623be5dcc822fef96e7e5259bf532174ba1 diff --git a/app-emulation/runc/runc-1.0.0.ebuild b/app-emulation/runc/runc-1.0.0.ebuild new file mode 100644 index 000..73b4f693568 --- /dev/null +++ b/app-emulation/runc/runc-1.0.0.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit go-module linux-info + +# update on bump, look for https://github.com/docker\ +# docker-ce/blob//components/engine/hack/dockerfile/install/runc.installer +RUNC_COMMIT=84113eef6fc27af1b01b3181f31bbaf708715301 +CONFIG_CHECK="~USER_NS" + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; +MY_PV="${PV/_/-}" +SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD-2 BSD MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="apparmor hardened +kmem +seccomp test" + +DEPEND="seccomp? ( sys-libs/libseccomp )" + +RDEPEND=" + ${DEPEND} + !app-emulation/docker-runc + apparmor? ( sys-libs/libapparmor ) +" + +BDEPEND=" + dev-go/go-md2man + test? ( "${RDEPEND}" ) +" + +# tests need busybox binary, and portage namespace +# sandboxing disabled: mount-sandbox pid-sandbox ipc-sandbox +# majority of tests pass +RESTRICT+=" test" + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_compile() { + # Taken from app-emulation/docker-1.7.0-r1 + export CGO_CFLAGS="-I${ESYSROOT}/usr/include" + export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') + -L${ESYSROOT}/usr/$(get_libdir)" + + # build up optional flags + local options=( + $(usev apparmor) + $(usev seccomp) + $(usex kmem '' 'nokmem') + ) + + myemakeargs=( + BUILDTAGS="${options[*]}" + COMMIT="${RUNC_COMMIT}" + ) + + emake "${myemakeargs[@]}" runc man +} + +src_install() { + myemakeargs+=( + PREFIX="${ED}/usr" + BINDIR="${ED}/usr/bin" + MANDIR="${ED}/usr/share/man" + ) + emake "${myemakeargs[@]}" install install-man install-bash + + local DOCS=( README.md PRINCIPLES.md docs/. ) + einstalldocs +} + +src_test() { + emake "${myemakeargs[@]}" localunittest +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 89bd668530ff5875708c792d2967aa07229c4218 Author: Georgy Yakovlev gentoo org> AuthorDate: Mon Jun 14 00:27:34 2021 + Commit: Georgy Yakovlev gentoo org> CommitDate: Mon Jun 14 00:31:18 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89bd6685 app-emulation/runc: drop 1.0.0_rc10-r1, 1.0.0_rc92, 1.0.0_rc93 Signed-off-by: Georgy Yakovlev gentoo.org> app-emulation/runc/Manifest | 3 -- app-emulation/runc/metadata.xml | 3 -- app-emulation/runc/runc-1.0.0_rc10-r1.ebuild | 80 app-emulation/runc/runc-1.0.0_rc92.ebuild| 80 app-emulation/runc/runc-1.0.0_rc93.ebuild| 78 --- 5 files changed, 244 deletions(-) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index cf45439a450..cf7cc93b5e3 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,4 +1 @@ -DIST runc-1.0.0_rc10.tar.gz 1929802 BLAKE2B 8399c3d62726bbb6256efef7e15b7496a7172bf25170b12beb60be498967dec4fde2aebd073de4265e132ff864bafc4d2499ab677390a4f7c0a1605d83ae55e5 SHA512 598221071ef07d18bf34bf5d5c68b8ad78ee71716177fc3ce5b6909cd841d5aed93f17ebf1f3d134707d29eef1f54a4ddc21e79621a9bd957df28a8d2e028ab7 -DIST runc-1.0.0_rc92.tar.gz 2061469 BLAKE2B 06444eaf7602fe9ddaf7728c7f55bd718d1fe8f5f0ce6b21abc49a1d84eaa2fc3550d0d275ba5548ee9ebb6948a8ed415de8562a990d6085d1da8fb37e46afb9 SHA512 770a31736f5ab4ba359d91bd236750511f90b29af0af2bad5c238b611f465d7302e78b57ce8a702068440fda2d74588b92fd4d24c6d34e6fc1bd649ea3d8ee40 -DIST runc-1.0.0_rc93.tar.gz 2132429 BLAKE2B 35d6fe9eebd26fb37d648a67b35415c51283ac3dff0f111e88be9120cf139e4811ab9a7b98e2c559dc4ce8b0e7958f15464dc4f039f7b3eb9f06f26a1776875f SHA512 087becdf3882818b7c8d05ac0192928695b35033d72e5ce584d5b8291310f4ba35b1cc78299fc8f17dc7ee425a94817b989890f4108444cc3c45927740b2d378 DIST runc-1.0.0_rc95.tar.gz 2309875 BLAKE2B 8038a2d5311463f1e83665d513ac8b6336ccaa88fab64a3218b261aa03b2750d342f95bdae965c593d4fa89fc89b1e1a6371498c205160d9d09a5c4920ffa841 SHA512 c802a6e5f16cc0321642fc7adffe33819867c1779420f76b2cabd532edb5ac8c852beadcbcf6a3e895fe274f111c5623be5dcc822fef96e7e5259bf532174ba1 diff --git a/app-emulation/runc/metadata.xml b/app-emulation/runc/metadata.xml index f9c14aa5bb8..8d7e000ad34 100644 --- a/app-emulation/runc/metadata.xml +++ b/app-emulation/runc/metadata.xml @@ -14,9 +14,6 @@ Georgy Yakovlev - - Enable support for ambient capabilities set (Requires Linux kernel 4.3 or later). - Enable AppArmor support. diff --git a/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild b/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild deleted file mode 100644 index 0a433baafd1..000 --- a/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit golang-vcs-snapshot linux-info - -# update on bump, look for https://github.com/docker\ -# docker-ce/blob//components/engine/hack/dockerfile/install/runc.installer -RUNC_COMMIT="dc9208a3303feef5b3839f4323d9beb36df0a9dd" -CONFIG_CHECK="~USER_NS" -EGO_PN="github.com/opencontainers/${PN}" - -DESCRIPTION="runc container cli tools" -HOMEPAGE="http://runc.io"; -SRC_URI="https://github.com/opencontainers/${PN}/archive/v${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0 BSD-2 BSD MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 ~x86" -IUSE="apparmor +ambient hardened +kmem +seccomp selinux test" - -DEPEND="seccomp? ( sys-libs/libseccomp )" - -RDEPEND=" - ${DEPEND} - !app-emulation/docker-runc - apparmor? ( sys-libs/libapparmor ) -" - -BDEPEND=" - dev-go/go-md2man - test? ( "${RDEPEND}" ) -" - -# tests need busybox binary, and portage namespace -# sandboxing disabled: mount-sandbox pid-sandbox ipc-sandbox -# majority of tests pass -RESTRICT+=" test" - -src_compile() { - # Taken from app-emulation/docker-1.7.0-r1 - export CGO_CFLAGS="-I${ESYSROOT}/usr/include" - export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') - -L${ESYSROOT}/usr/$(get_libdir)" - - # build up optional flags - local options=( - $(usev ambient) - $(usev apparmor) - $(usev seccomp) - $(usev selinux) - $(usex kmem '' 'nokmem') - ) - - myemakeargs=( - BUILDTAGS="${options[*]}" - COMMIT=${RUNC_COMMIT} - GOPATH="${S}" - -C "src/${EGO_PN}" - ) - - emake "${myemakeargs[@]}" runc man -} - -src_install() { - myemakeargs+=( - PREFIX="${ED}/usr" - BINDIR="${ED}/usr/bin" - MANDIR="${ED}/usr/share/man" - ) - emake "${myemakeargs[@]}" install
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: f487df8f8fed7aa5fdd89e5060cb71bb40185943 Author: Sam James gentoo org> AuthorDate: Sun Jun 13 22:36:00 2021 + Commit: Sam James gentoo org> CommitDate: Sun Jun 13 22:36:00 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f487df8f app-emulation/runc: Stabilize 1.0.0_rc95 arm64, #790257 Signed-off-by: Sam James gentoo.org> app-emulation/runc/runc-1.0.0_rc95.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0_rc95.ebuild b/app-emulation/runc/runc-1.0.0_rc95.ebuild index 660278b5c17..2fc5c14728e 100644 --- a/app-emulation/runc/runc-1.0.0_rc95.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc95.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P LICENSE="Apache-2.0 BSD-2 BSD MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86" +KEYWORDS="amd64 ~arm arm64 ppc64 ~x86" IUSE="apparmor hardened +kmem +seccomp test" DEPEND="seccomp? ( sys-libs/libseccomp )"
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: b2d4eaa5dcd3772bc4053c935909676e6cc994f4 Author: William Hubbs gentoo org> AuthorDate: Fri Jun 11 16:04:26 2021 + Commit: William Hubbs gentoo org> CommitDate: Fri Jun 11 16:25:13 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2d4eaa5 app-emulation/runc: stabilize 1.0.0_rc95 on amd64 Bug: https://bugs.gentoo.org/775329 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: William Hubbs gentoo.org> app-emulation/runc/runc-1.0.0_rc95.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0_rc95.ebuild b/app-emulation/runc/runc-1.0.0_rc95.ebuild index c516534cbb4..660278b5c17 100644 --- a/app-emulation/runc/runc-1.0.0_rc95.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc95.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P LICENSE="Apache-2.0 BSD-2 BSD MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86" IUSE="apparmor hardened +kmem +seccomp test" DEPEND="seccomp? ( sys-libs/libseccomp )"
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: e94a35b618b36bd8ba9f4919a9360f47b8d13ac1 Author: Georgy Yakovlev gentoo org> AuthorDate: Fri Jun 11 00:54:43 2021 + Commit: Georgy Yakovlev gentoo org> CommitDate: Fri Jun 11 00:58:38 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e94a35b6 app-emulation/runc: stabilize 1.0.0_rc95 for ppc64, bug #775329 Signed-off-by: Georgy Yakovlev gentoo.org> app-emulation/runc/runc-1.0.0_rc95.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0_rc95.ebuild b/app-emulation/runc/runc-1.0.0_rc95.ebuild index 316f720fc29..c516534cbb4 100644 --- a/app-emulation/runc/runc-1.0.0_rc95.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc95.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P LICENSE="Apache-2.0 BSD-2 BSD MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~x86" IUSE="apparmor hardened +kmem +seccomp test" DEPEND="seccomp? ( sys-libs/libseccomp )"
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: a17208eaff0d8fefee0ad5eb5b217af17f613d10 Author: William Hubbs gentoo org> AuthorDate: Thu Jun 10 21:53:13 2021 + Commit: William Hubbs gentoo org> CommitDate: Thu Jun 10 21:53:13 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a17208ea app-emulation/runc: 1.0.0_rc95 bump Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: William Hubbs gentoo.org> app-emulation/runc/Manifest | 1 + app-emulation/runc/runc-1.0.0_rc95.ebuild | 78 +++ 2 files changed, 79 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 0cfaf470c57..cf45439a450 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,3 +1,4 @@ DIST runc-1.0.0_rc10.tar.gz 1929802 BLAKE2B 8399c3d62726bbb6256efef7e15b7496a7172bf25170b12beb60be498967dec4fde2aebd073de4265e132ff864bafc4d2499ab677390a4f7c0a1605d83ae55e5 SHA512 598221071ef07d18bf34bf5d5c68b8ad78ee71716177fc3ce5b6909cd841d5aed93f17ebf1f3d134707d29eef1f54a4ddc21e79621a9bd957df28a8d2e028ab7 DIST runc-1.0.0_rc92.tar.gz 2061469 BLAKE2B 06444eaf7602fe9ddaf7728c7f55bd718d1fe8f5f0ce6b21abc49a1d84eaa2fc3550d0d275ba5548ee9ebb6948a8ed415de8562a990d6085d1da8fb37e46afb9 SHA512 770a31736f5ab4ba359d91bd236750511f90b29af0af2bad5c238b611f465d7302e78b57ce8a702068440fda2d74588b92fd4d24c6d34e6fc1bd649ea3d8ee40 DIST runc-1.0.0_rc93.tar.gz 2132429 BLAKE2B 35d6fe9eebd26fb37d648a67b35415c51283ac3dff0f111e88be9120cf139e4811ab9a7b98e2c559dc4ce8b0e7958f15464dc4f039f7b3eb9f06f26a1776875f SHA512 087becdf3882818b7c8d05ac0192928695b35033d72e5ce584d5b8291310f4ba35b1cc78299fc8f17dc7ee425a94817b989890f4108444cc3c45927740b2d378 +DIST runc-1.0.0_rc95.tar.gz 2309875 BLAKE2B 8038a2d5311463f1e83665d513ac8b6336ccaa88fab64a3218b261aa03b2750d342f95bdae965c593d4fa89fc89b1e1a6371498c205160d9d09a5c4920ffa841 SHA512 c802a6e5f16cc0321642fc7adffe33819867c1779420f76b2cabd532edb5ac8c852beadcbcf6a3e895fe274f111c5623be5dcc822fef96e7e5259bf532174ba1 diff --git a/app-emulation/runc/runc-1.0.0_rc95.ebuild b/app-emulation/runc/runc-1.0.0_rc95.ebuild new file mode 100644 index 000..316f720fc29 --- /dev/null +++ b/app-emulation/runc/runc-1.0.0_rc95.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit go-module linux-info + +# update on bump, look for https://github.com/docker\ +# docker-ce/blob//components/engine/hack/dockerfile/install/runc.installer +RUNC_COMMIT=ff819c7e9184c13b7c2607fe6c30ae19403a7aff +CONFIG_CHECK="~USER_NS" + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; +MY_PV="${PV/_/-}" +SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD-2 BSD MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="apparmor hardened +kmem +seccomp test" + +DEPEND="seccomp? ( sys-libs/libseccomp )" + +RDEPEND=" + ${DEPEND} + !app-emulation/docker-runc + apparmor? ( sys-libs/libapparmor ) +" + +BDEPEND=" + dev-go/go-md2man + test? ( "${RDEPEND}" ) +" + +# tests need busybox binary, and portage namespace +# sandboxing disabled: mount-sandbox pid-sandbox ipc-sandbox +# majority of tests pass +RESTRICT+=" test" + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_compile() { + # Taken from app-emulation/docker-1.7.0-r1 + export CGO_CFLAGS="-I${ESYSROOT}/usr/include" + export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') + -L${ESYSROOT}/usr/$(get_libdir)" + + # build up optional flags + local options=( + $(usev apparmor) + $(usev seccomp) + $(usex kmem '' 'nokmem') + ) + + myemakeargs=( + BUILDTAGS="${options[*]}" + COMMIT="${RUNC_COMMIT}" + ) + + emake "${myemakeargs[@]}" runc man +} + +src_install() { + myemakeargs+=( + PREFIX="${ED}/usr" + BINDIR="${ED}/usr/bin" + MANDIR="${ED}/usr/share/man" + ) + emake "${myemakeargs[@]}" install install-man install-bash + + local DOCS=( README.md PRINCIPLES.md docs/. ) + einstalldocs +} + +src_test() { + emake "${myemakeargs[@]}" localunittest +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 96010816c3dee01cd3194991b46d1fe29b620a94 Author: Sam James gentoo org> AuthorDate: Sun May 16 12:41:19 2021 + Commit: Sam James gentoo org> CommitDate: Sun May 16 12:44:55 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96010816 app-emulation/runc: Stabilize 1.0.0_rc92 arm64, #783525 Signed-off-by: Sam James gentoo.org> app-emulation/runc/runc-1.0.0_rc92.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0_rc92.ebuild b/app-emulation/runc/runc-1.0.0_rc92.ebuild index 35e4c457ae5..ec75ad824e4 100644 --- a/app-emulation/runc/runc-1.0.0_rc92.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc92.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P LICENSE="Apache-2.0 BSD-2 BSD MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~x86" IUSE="apparmor +ambient hardened +kmem +seccomp selinux test" DEPEND="seccomp? ( sys-libs/libseccomp )"
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: db01e788666a794dd6746686a7810efe59b75816 Author: Georgy Yakovlev gentoo org> AuthorDate: Thu May 13 09:58:55 2021 + Commit: Georgy Yakovlev gentoo org> CommitDate: Thu May 13 10:41:11 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db01e788 app-emulation/runc: fix variables Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Georgy Yakovlev gentoo.org> app-emulation/runc/runc-1.0.0_rc10-r1.ebuild | 14 -- app-emulation/runc/runc-1.0.0_rc92.ebuild| 14 -- app-emulation/runc/runc-1.0.0_rc93.ebuild| 16 +--- 3 files changed, 25 insertions(+), 19 deletions(-) diff --git a/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild b/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild index 9f60bd86db1..0a433baafd1 100644 --- a/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -40,9 +40,9 @@ RESTRICT+=" test" src_compile() { # Taken from app-emulation/docker-1.7.0-r1 - export CGO_CFLAGS="-I${ROOT}/usr/include" + export CGO_CFLAGS="-I${ESYSROOT}/usr/include" export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') - -L${ROOT}/usr/$(get_libdir)" + -L${ESYSROOT}/usr/$(get_libdir)" # build up optional flags local options=( @@ -54,11 +54,8 @@ src_compile() { ) myemakeargs=( - BINDIR="${ED}/usr/bin" BUILDTAGS="${options[*]}" COMMIT=${RUNC_COMMIT} - DESTDIR="${ED}" - PREFIX="${ED}/usr" GOPATH="${S}" -C "src/${EGO_PN}" ) @@ -67,6 +64,11 @@ src_compile() { } src_install() { + myemakeargs+=( + PREFIX="${ED}/usr" + BINDIR="${ED}/usr/bin" + MANDIR="${ED}/usr/share/man" + ) emake "${myemakeargs[@]}" install install-man install-bash local DOCS=( src/"${EGO_PN}"/{README.md,PRINCIPLES.md,docs/.} ) diff --git a/app-emulation/runc/runc-1.0.0_rc92.ebuild b/app-emulation/runc/runc-1.0.0_rc92.ebuild index fe79682ba08..35e4c457ae5 100644 --- a/app-emulation/runc/runc-1.0.0_rc92.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc92.ebuild @@ -42,9 +42,9 @@ S="${WORKDIR}/${PN}-${MY_PV}" src_compile() { # Taken from app-emulation/docker-1.7.0-r1 - export CGO_CFLAGS="-I${ROOT}/usr/include" + export CGO_CFLAGS="-I${ESYSROOT}/usr/include" export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') - -L${ROOT}/usr/$(get_libdir)" + -L${ESYSROOT}/usr/$(get_libdir)" # build up optional flags local options=( @@ -56,17 +56,19 @@ src_compile() { ) myemakeargs=( - BINDIR="${ED}/usr/bin" BUILDTAGS="${options[*]}" - COMMIT=${RUNC_COMMIT} - DESTDIR="${ED}" - PREFIX="${ED}/usr" + COMMIT="${RUNC_COMMIT}" ) emake "${myemakeargs[@]}" runc man } src_install() { + myemakeargs+=( + PREFIX="${ED}/usr" + BINDIR="${ED}/usr/bin" + MANDIR="${ED}/usr/share/man" + ) emake "${myemakeargs[@]}" install install-man install-bash local DOCS=( README.md PRINCIPLES.md docs/. ) diff --git a/app-emulation/runc/runc-1.0.0_rc93.ebuild b/app-emulation/runc/runc-1.0.0_rc93.ebuild index f89d4a1ce27..316f720fc29 100644 --- a/app-emulation/runc/runc-1.0.0_rc93.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc93.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -42,9 +42,9 @@ S="${WORKDIR}/${PN}-${MY_PV}" src_compile() { # Taken from app-emulation/docker-1.7.0-r1 - export CGO_CFLAGS="-I${ROOT}/usr/include" + export CGO_CFLAGS="-I${ESYSROOT}/usr/include" export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') - -L${ROOT}/usr/$(get_libdir)" + -L${ESYSROOT}/usr/$(get_libdir)" # build up optional flags local options=( @@ -54,17 +54,19 @@ src_compile() { ) myemakeargs=( - BINDIR="/usr/bin" BUILDTAGS="${options[*]}" - COMMIT=${RUNC_COMMIT} - DESTDIR="${ED}" - PREFIX="/usr" + COMMIT="${RUNC_COMMIT}" ) emake "${myemakeargs[@]}" runc man } src_install() { + myemakeargs+=( + PREFIX="${ED}/usr" + BINDIR="${ED}/usr/bin" + MANDIR="${ED}/usr/share/man" + ) emake "${myemakeargs[@]}" install install-man install-bash local DOCS=( README.md PRINCIPLES.md docs/. )
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 4fe3d414f414366047b1af8c981c8a97f34a3da3 Author: Vaibhav Rustagi google com> AuthorDate: Wed May 12 17:47:43 2021 + Commit: Georgy Yakovlev gentoo org> CommitDate: Thu May 13 09:51:25 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fe3d414 Add CPE tag for app-emulation/runc. Based on the CPE tags from official CPE tag database official-cpe-dictionary_v2.3.xml downloaded from https://nvd.nist.gov/products/cpe, it uses linuxfoundation as the vendor for runc vulnerabilities. Signed-off-by: Vaibhav Rustagi google.com> Closes: https://github.com/gentoo/gentoo/pull/20786 Signed-off-by: Georgy Yakovlev gentoo.org> app-emulation/runc/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/app-emulation/runc/metadata.xml b/app-emulation/runc/metadata.xml index 8b7ea39239c..f9c14aa5bb8 100644 --- a/app-emulation/runc/metadata.xml +++ b/app-emulation/runc/metadata.xml @@ -26,5 +26,6 @@ opencontainers/runc + cpe:/a:linuxfoundation:runc
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 7ddc99da95656cb229030c788b3fb1944933e220 Author: Mikle Kolyada gentoo org> AuthorDate: Wed Apr 28 16:43:31 2021 + Commit: Mikle Kolyada gentoo org> CommitDate: Wed Apr 28 16:44:05 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ddc99da app-emulation/runc: Stabilize 1.0.0_rc92 amd64, #783525 Signed-off-by: Mikle Kolyada gentoo.org> app-emulation/runc/runc-1.0.0_rc92.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-emulation/runc/runc-1.0.0_rc92.ebuild b/app-emulation/runc/runc-1.0.0_rc92.ebuild index 2a192400ef4..fe79682ba08 100644 --- a/app-emulation/runc/runc-1.0.0_rc92.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc92.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -17,7 +17,7 @@ SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P LICENSE="Apache-2.0 BSD-2 BSD MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" IUSE="apparmor +ambient hardened +kmem +seccomp selinux test" DEPEND="seccomp? ( sys-libs/libseccomp )"
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 4648d7e6f7a9926bfe97cd21a9b05e289bb6b708 Author: William Hubbs gentoo org> AuthorDate: Sat Mar 6 19:10:10 2021 + Commit: William Hubbs gentoo org> CommitDate: Sat Mar 6 20:11:00 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4648d7e6 app-emulation/runc: 1.0.0-rc93 bump Signed-off-by: William Hubbs gentoo.org> app-emulation/runc/Manifest | 1 + app-emulation/runc/runc-1.0.0_rc93.ebuild | 76 +++ 2 files changed, 77 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 53f31a4e493..0cfaf470c57 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,2 +1,3 @@ DIST runc-1.0.0_rc10.tar.gz 1929802 BLAKE2B 8399c3d62726bbb6256efef7e15b7496a7172bf25170b12beb60be498967dec4fde2aebd073de4265e132ff864bafc4d2499ab677390a4f7c0a1605d83ae55e5 SHA512 598221071ef07d18bf34bf5d5c68b8ad78ee71716177fc3ce5b6909cd841d5aed93f17ebf1f3d134707d29eef1f54a4ddc21e79621a9bd957df28a8d2e028ab7 DIST runc-1.0.0_rc92.tar.gz 2061469 BLAKE2B 06444eaf7602fe9ddaf7728c7f55bd718d1fe8f5f0ce6b21abc49a1d84eaa2fc3550d0d275ba5548ee9ebb6948a8ed415de8562a990d6085d1da8fb37e46afb9 SHA512 770a31736f5ab4ba359d91bd236750511f90b29af0af2bad5c238b611f465d7302e78b57ce8a702068440fda2d74588b92fd4d24c6d34e6fc1bd649ea3d8ee40 +DIST runc-1.0.0_rc93.tar.gz 2132429 BLAKE2B 35d6fe9eebd26fb37d648a67b35415c51283ac3dff0f111e88be9120cf139e4811ab9a7b98e2c559dc4ce8b0e7958f15464dc4f039f7b3eb9f06f26a1776875f SHA512 087becdf3882818b7c8d05ac0192928695b35033d72e5ce584d5b8291310f4ba35b1cc78299fc8f17dc7ee425a94817b989890f4108444cc3c45927740b2d378 diff --git a/app-emulation/runc/runc-1.0.0_rc93.ebuild b/app-emulation/runc/runc-1.0.0_rc93.ebuild new file mode 100644 index 000..f89d4a1ce27 --- /dev/null +++ b/app-emulation/runc/runc-1.0.0_rc93.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit go-module linux-info + +# update on bump, look for https://github.com/docker\ +# docker-ce/blob//components/engine/hack/dockerfile/install/runc.installer +RUNC_COMMIT=ff819c7e9184c13b7c2607fe6c30ae19403a7aff +CONFIG_CHECK="~USER_NS" + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; +MY_PV="${PV/_/-}" +SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD-2 BSD MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="apparmor hardened +kmem +seccomp test" + +DEPEND="seccomp? ( sys-libs/libseccomp )" + +RDEPEND=" + ${DEPEND} + !app-emulation/docker-runc + apparmor? ( sys-libs/libapparmor ) +" + +BDEPEND=" + dev-go/go-md2man + test? ( "${RDEPEND}" ) +" + +# tests need busybox binary, and portage namespace +# sandboxing disabled: mount-sandbox pid-sandbox ipc-sandbox +# majority of tests pass +RESTRICT+=" test" + +S="${WORKDIR}/${PN}-${MY_PV}" + +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=( + $(usev apparmor) + $(usev seccomp) + $(usex kmem '' 'nokmem') + ) + + myemakeargs=( + BINDIR="/usr/bin" + BUILDTAGS="${options[*]}" + COMMIT=${RUNC_COMMIT} + DESTDIR="${ED}" + PREFIX="/usr" + ) + + emake "${myemakeargs[@]}" runc man +} + +src_install() { + emake "${myemakeargs[@]}" install install-man install-bash + + local DOCS=( README.md PRINCIPLES.md docs/. ) + einstalldocs +} + +src_test() { + emake "${myemakeargs[@]}" localunittest +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: a6fa38e72cbaf608a442f8d4f37601a8696de3bc Author: William Hubbs gentoo org> AuthorDate: Mon Jan 4 22:54:01 2021 + Commit: William Hubbs gentoo org> CommitDate: Mon Jan 4 23:06:56 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6fa38e7 app-emulation/runc: 1.0.0-rc92 bump Signed-off-by: William Hubbs gentoo.org> app-emulation/runc/Manifest | 1 + app-emulation/runc/runc-1.0.0_rc92.ebuild | 78 +++ 2 files changed, 79 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 0c5009ddfbe..53f31a4e493 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1 +1,2 @@ DIST runc-1.0.0_rc10.tar.gz 1929802 BLAKE2B 8399c3d62726bbb6256efef7e15b7496a7172bf25170b12beb60be498967dec4fde2aebd073de4265e132ff864bafc4d2499ab677390a4f7c0a1605d83ae55e5 SHA512 598221071ef07d18bf34bf5d5c68b8ad78ee71716177fc3ce5b6909cd841d5aed93f17ebf1f3d134707d29eef1f54a4ddc21e79621a9bd957df28a8d2e028ab7 +DIST runc-1.0.0_rc92.tar.gz 2061469 BLAKE2B 06444eaf7602fe9ddaf7728c7f55bd718d1fe8f5f0ce6b21abc49a1d84eaa2fc3550d0d275ba5548ee9ebb6948a8ed415de8562a990d6085d1da8fb37e46afb9 SHA512 770a31736f5ab4ba359d91bd236750511f90b29af0af2bad5c238b611f465d7302e78b57ce8a702068440fda2d74588b92fd4d24c6d34e6fc1bd649ea3d8ee40 diff --git a/app-emulation/runc/runc-1.0.0_rc92.ebuild b/app-emulation/runc/runc-1.0.0_rc92.ebuild new file mode 100644 index 000..2a192400ef4 --- /dev/null +++ b/app-emulation/runc/runc-1.0.0_rc92.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit go-module linux-info + +# update on bump, look for https://github.com/docker\ +# docker-ce/blob//components/engine/hack/dockerfile/install/runc.installer +RUNC_COMMIT=ff819c7e9184c13b7c2607fe6c30ae19403a7aff +CONFIG_CHECK="~USER_NS" + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; +MY_PV="${PV/_/-}" +SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD-2 BSD MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="apparmor +ambient hardened +kmem +seccomp selinux test" + +DEPEND="seccomp? ( sys-libs/libseccomp )" + +RDEPEND=" + ${DEPEND} + !app-emulation/docker-runc + apparmor? ( sys-libs/libapparmor ) +" + +BDEPEND=" + dev-go/go-md2man + test? ( "${RDEPEND}" ) +" + +# tests need busybox binary, and portage namespace +# sandboxing disabled: mount-sandbox pid-sandbox ipc-sandbox +# majority of tests pass +RESTRICT+=" test" + +S="${WORKDIR}/${PN}-${MY_PV}" + +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=( + $(usev ambient) + $(usev apparmor) + $(usev seccomp) + $(usev selinux) + $(usex kmem '' 'nokmem') + ) + + myemakeargs=( + BINDIR="${ED}/usr/bin" + BUILDTAGS="${options[*]}" + COMMIT=${RUNC_COMMIT} + DESTDIR="${ED}" + PREFIX="${ED}/usr" + ) + + emake "${myemakeargs[@]}" runc man +} + +src_install() { + emake "${myemakeargs[@]}" install install-man install-bash + + local DOCS=( README.md PRINCIPLES.md docs/. ) + einstalldocs +} + +src_test() { + emake "${myemakeargs[@]}" localunittest +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 6eee2e2a81faa4b3b11e04e436cdeb7d077e3e5f Author: Georgy Yakovlev gentoo org> AuthorDate: Tue Nov 10 21:29:40 2020 + Commit: Georgy Yakovlev gentoo org> CommitDate: Tue Nov 10 21:33:14 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6eee2e2a app-emulation/runc: update metadata.xml Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev gentoo.org> app-emulation/runc/metadata.xml | 4 1 file changed, 4 insertions(+) diff --git a/app-emulation/runc/metadata.xml b/app-emulation/runc/metadata.xml index 7cb4581ab75..8b7ea39239c 100644 --- a/app-emulation/runc/metadata.xml +++ b/app-emulation/runc/metadata.xml @@ -9,6 +9,10 @@ willi...@gentoo.org William Hubbs + + gyakov...@gentoo.org + Georgy Yakovlev + Enable support for ambient capabilities set (Requires Linux kernel 4.3 or later).
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 6b6646285e1c48083a9a4fbce17348b1d8dd4398 Author: Georgy Yakovlev gentoo org> AuthorDate: Tue Nov 10 21:28:57 2020 + Commit: Georgy Yakovlev gentoo org> CommitDate: Tue Nov 10 21:33:15 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b664628 app-emulation/runc: drop old Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev gentoo.org> app-emulation/runc/runc-1.0.0_rc10.ebuild | 57 --- 1 file changed, 57 deletions(-) diff --git a/app-emulation/runc/runc-1.0.0_rc10.ebuild b/app-emulation/runc/runc-1.0.0_rc10.ebuild deleted file mode 100644 index 903314b0fd1..000 --- a/app-emulation/runc/runc-1.0.0_rc10.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit linux-info - -CONFIG_CHECK="~USER_NS" -EGO_PN="github.com/opencontainers/${PN}" - -if [[ ${PV} == * ]]; then - inherit golang-build golang-vcs -else - MY_PV="${PV/_/-}" - # Change this when you update the ebuild - RUNC_COMMIT=dc9208a3303feef5b3839f4323d9beb36df0a9dd - SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" - inherit golang-build golang-vcs-snapshot -fi - -DESCRIPTION="runc container cli tools" -HOMEPAGE="http://runc.io"; - -LICENSE="Apache-2.0 BSD-2 BSD MIT" -SLOT="0" -IUSE="+ambient apparmor hardened +kmem +seccomp" - -RDEPEND=" - apparmor? ( sys-libs/libapparmor ) - seccomp? ( sys-libs/libseccomp ) - !app-emulation/docker-runc -" - -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' '') - $(usex kmem '' 'nokmem') - ) - - COMMIT=${RUNC_COMMIT} GOPATH="${S}" emake BUILDTAGS="${options[*]}" \ - -C src/${EGO_PN} -} - -src_install() { - pushd src/${EGO_PN} || die - dobin runc - dodoc README.md PRINCIPLES.md - popd || die -}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 3417dc2105ed81f2e0790d8a5304f38a47af4360 Author: Georgy Yakovlev gentoo org> AuthorDate: Sun Oct 18 00:34:26 2020 + Commit: Georgy Yakovlev gentoo org> CommitDate: Sun Oct 18 00:48:20 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3417dc21 app-emulation/runc: arm64 stable, bug #749768 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Georgy Yakovlev gentoo.org> app-emulation/runc/runc-1.0.0_rc10-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild b/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild index b22a4600c5e..9f60bd86db1 100644 --- a/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/opencontainers/${PN}/archive/v${RUNC_COMMIT}.tar.gz LICENSE="Apache-2.0 BSD-2 BSD MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86" +KEYWORDS="amd64 ~arm arm64 ppc64 ~x86" IUSE="apparmor +ambient hardened +kmem +seccomp selinux test" DEPEND="seccomp? ( sys-libs/libseccomp )"
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 1ba86f27dd36ef2be8e0fe689cf53f59a436e3fb Author: Georgy Yakovlev gentoo org> AuthorDate: Sun Oct 18 00:33:55 2020 + Commit: Georgy Yakovlev gentoo org> CommitDate: Sun Oct 18 00:48:20 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ba86f27 app-emulation/runc: ppc64 stable, bug #749768 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Georgy Yakovlev gentoo.org> app-emulation/runc/runc-1.0.0_rc10-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild b/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild index 79a40073f70..b22a4600c5e 100644 --- a/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/opencontainers/${PN}/archive/v${RUNC_COMMIT}.tar.gz LICENSE="Apache-2.0 BSD-2 BSD MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86" IUSE="apparmor +ambient hardened +kmem +seccomp selinux test" DEPEND="seccomp? ( sys-libs/libseccomp )"
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 65f575d784ea18b6ed4058ee2b62d088c76456b8 Author: Georgy Yakovlev gentoo org> AuthorDate: Sun Oct 18 00:33:30 2020 + Commit: Georgy Yakovlev gentoo org> CommitDate: Sun Oct 18 00:48:19 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65f575d7 app-emulation/runc: amd64 stable, bug #749768 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Georgy Yakovlev gentoo.org> app-emulation/runc/runc-1.0.0_rc10-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild b/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild index 71ec6fbe3a4..79a40073f70 100644 --- a/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/opencontainers/${PN}/archive/v${RUNC_COMMIT}.tar.gz LICENSE="Apache-2.0 BSD-2 BSD MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" IUSE="apparmor +ambient hardened +kmem +seccomp selinux test" DEPEND="seccomp? ( sys-libs/libseccomp )"
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 185566bdd2dcc39e874bb4ecb6b844732434262f Author: Georgy Yakovlev gentoo org> AuthorDate: Wed Sep 23 23:23:11 2020 + Commit: Georgy Yakovlev gentoo org> CommitDate: Wed Sep 23 23:58:17 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=185566bd app-emulation/runc: revbump 1.0.0_rc10 install manpages and docs, add selinux useflag Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Georgy Yakovlev gentoo.org> app-emulation/runc/runc-1.0.0_rc10-r1.ebuild | 78 1 file changed, 78 insertions(+) diff --git a/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild b/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild new file mode 100644 index 000..71ec6fbe3a4 --- /dev/null +++ b/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit golang-vcs-snapshot linux-info + +# update on bump, look for https://github.com/docker\ +# docker-ce/blob//components/engine/hack/dockerfile/install/runc.installer +RUNC_COMMIT="dc9208a3303feef5b3839f4323d9beb36df0a9dd" +CONFIG_CHECK="~USER_NS" +EGO_PN="github.com/opencontainers/${PN}" + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; +SRC_URI="https://github.com/opencontainers/${PN}/archive/v${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD-2 BSD MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="apparmor +ambient hardened +kmem +seccomp selinux test" + +DEPEND="seccomp? ( sys-libs/libseccomp )" + +RDEPEND=" + ${DEPEND} + !app-emulation/docker-runc + apparmor? ( sys-libs/libapparmor ) +" + +BDEPEND=" + dev-go/go-md2man + test? ( "${RDEPEND}" ) +" + +# tests need busybox binary, and portage namespace +# sandboxing disabled: mount-sandbox pid-sandbox ipc-sandbox +# majority of tests pass +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)" + + # build up optional flags + local options=( + $(usev ambient) + $(usev apparmor) + $(usev seccomp) + $(usev selinux) + $(usex kmem '' 'nokmem') + ) + + myemakeargs=( + BINDIR="${ED}/usr/bin" + BUILDTAGS="${options[*]}" + COMMIT=${RUNC_COMMIT} + DESTDIR="${ED}" + PREFIX="${ED}/usr" + GOPATH="${S}" + -C "src/${EGO_PN}" + ) + + emake "${myemakeargs[@]}" runc man +} + +src_install() { + emake "${myemakeargs[@]}" install install-man install-bash + + local DOCS=( src/"${EGO_PN}"/{README.md,PRINCIPLES.md,docs/.} ) + einstalldocs +} + +src_test() { + emake "${myemakeargs[@]}" localunittest +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: c5e440cd0d63970cec566b67e1205968a65eff9f Author: Georgy Yakovlev gentoo org> AuthorDate: Wed Sep 23 23:31:46 2020 + Commit: Georgy Yakovlev gentoo org> CommitDate: Thu Sep 24 00:01:41 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5e440cd app-emulation/runc: drop rc92 not needed yet. Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Georgy Yakovlev gentoo.org> app-emulation/runc/Manifest | 1 - app-emulation/runc/runc-1.0.0_rc92.ebuild | 80 --- 2 files changed, 81 deletions(-) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 53f31a4e493..0c5009ddfbe 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,2 +1 @@ DIST runc-1.0.0_rc10.tar.gz 1929802 BLAKE2B 8399c3d62726bbb6256efef7e15b7496a7172bf25170b12beb60be498967dec4fde2aebd073de4265e132ff864bafc4d2499ab677390a4f7c0a1605d83ae55e5 SHA512 598221071ef07d18bf34bf5d5c68b8ad78ee71716177fc3ce5b6909cd841d5aed93f17ebf1f3d134707d29eef1f54a4ddc21e79621a9bd957df28a8d2e028ab7 -DIST runc-1.0.0_rc92.tar.gz 2061469 BLAKE2B 06444eaf7602fe9ddaf7728c7f55bd718d1fe8f5f0ce6b21abc49a1d84eaa2fc3550d0d275ba5548ee9ebb6948a8ed415de8562a990d6085d1da8fb37e46afb9 SHA512 770a31736f5ab4ba359d91bd236750511f90b29af0af2bad5c238b611f465d7302e78b57ce8a702068440fda2d74588b92fd4d24c6d34e6fc1bd649ea3d8ee40 diff --git a/app-emulation/runc/runc-1.0.0_rc92.ebuild b/app-emulation/runc/runc-1.0.0_rc92.ebuild deleted file mode 100644 index 0f6763825b4..000 --- a/app-emulation/runc/runc-1.0.0_rc92.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# Change this when you update the ebuild -RUNC_COMMIT=dc9208a3303feef5b3839f4323d9beb36df0a9dd - -inherit go-module linux-info - -CONFIG_CHECK="~USER_NS" - -MY_PV="${PV/_/-}" -SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" - -DESCRIPTION="runc container cli tools" -HOMEPAGE="http://runc.io"; - -LICENSE="Apache-2.0 BSD-2 BSD MIT" -SLOT="0" -IUSE="apparmor hardened +kmem +seccomp selinux test" - -DEPEND="seccomp? ( sys-libs/libseccomp )" - -RDEPEND=" - ${DEPEND} - !app-emulation/docker-runc - apparmor? ( sys-libs/libapparmor ) -" - -BDEPEND=" - dev-go/go-md2man - test? ( "${RDEPEND}" ) -" - -S="${WORKDIR}/${PN}-${MY_PV}" - -# tests need busybox binary, and portage namespace -# sandboxing disabled: mount-sandbox pid-sandbox ipc-sandbox -# majority of tests pass -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)" - - # build up optional flags - local options=( - $(usev apparmor) - $(usev seccomp) - $(usev selinux) - $(usex kmem '' 'nokmem') - ) - - myemakeargs=( - BUILDTAGS="${options[*]}" - COMMIT=${RUNC_COMMIT} - DESTDIR="${ED}" - PREFIX="${ED}/usr" - ) - - # prevent double manpage generation - sed -i 's/^install-man: man/install-man:/' Makefile || die - - emake "${myemakeargs[@]}" runc man -} - -src_install() { - emake "${myemakeargs[@]}" install install-man install-bash - - local DOCS=( README.md PRINCIPLES.md docs/. ) - einstalldocs -} - -src_test() { - emake "${myemakeargs[@]}" localunittest -}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: e0ab8e946ce66af6099bc7be5a8773020059534d Author: William Hubbs gentoo org> AuthorDate: Wed Sep 23 15:10:15 2020 + Commit: William Hubbs gentoo org> CommitDate: Wed Sep 23 15:26:40 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0ab8e94 app-emulation/runc: fix restrict setting Signed-off-by: William Hubbs gentoo.org> app-emulation/runc/runc-1.0.0_rc92.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0_rc92.ebuild b/app-emulation/runc/runc-1.0.0_rc92.ebuild index 4489684142b..0f6763825b4 100644 --- a/app-emulation/runc/runc-1.0.0_rc92.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc92.ebuild @@ -39,7 +39,7 @@ S="${WORKDIR}/${PN}-${MY_PV}" # tests need busybox binary, and portage namespace # sandboxing disabled: mount-sandbox pid-sandbox ipc-sandbox # majority of tests pass -RESTRICT="test" +RESTRICT+=" test" src_compile() { # Taken from app-emulation/docker-1.7.0-r1
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 55032cfd3d2099292ba07701f59feef7b3605e85 Author: Georgy Yakovlev gentoo org> AuthorDate: Tue Sep 22 07:37:40 2020 + Commit: Georgy Yakovlev gentoo org> CommitDate: Tue Sep 22 22:50:57 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55032cfd app-emulation/runc: bump to 1.0.0_rc92 added selinux useflag (no extra deps) removed ambient useflag (dropped upstream) added manpage installation bumped EAPI to 7 migrated to go-module.eclass, upstream vendors rework installation a bit, install more docs install bash completions Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Georgy Yakovlev gentoo.org> app-emulation/runc/Manifest | 1 + app-emulation/runc/runc-1.0.0_rc92.ebuild | 80 +++ 2 files changed, 81 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 0c5009ddfbe..53f31a4e493 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1 +1,2 @@ DIST runc-1.0.0_rc10.tar.gz 1929802 BLAKE2B 8399c3d62726bbb6256efef7e15b7496a7172bf25170b12beb60be498967dec4fde2aebd073de4265e132ff864bafc4d2499ab677390a4f7c0a1605d83ae55e5 SHA512 598221071ef07d18bf34bf5d5c68b8ad78ee71716177fc3ce5b6909cd841d5aed93f17ebf1f3d134707d29eef1f54a4ddc21e79621a9bd957df28a8d2e028ab7 +DIST runc-1.0.0_rc92.tar.gz 2061469 BLAKE2B 06444eaf7602fe9ddaf7728c7f55bd718d1fe8f5f0ce6b21abc49a1d84eaa2fc3550d0d275ba5548ee9ebb6948a8ed415de8562a990d6085d1da8fb37e46afb9 SHA512 770a31736f5ab4ba359d91bd236750511f90b29af0af2bad5c238b611f465d7302e78b57ce8a702068440fda2d74588b92fd4d24c6d34e6fc1bd649ea3d8ee40 diff --git a/app-emulation/runc/runc-1.0.0_rc92.ebuild b/app-emulation/runc/runc-1.0.0_rc92.ebuild new file mode 100644 index 000..4489684142b --- /dev/null +++ b/app-emulation/runc/runc-1.0.0_rc92.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# Change this when you update the ebuild +RUNC_COMMIT=dc9208a3303feef5b3839f4323d9beb36df0a9dd + +inherit go-module linux-info + +CONFIG_CHECK="~USER_NS" + +MY_PV="${PV/_/-}" +SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; + +LICENSE="Apache-2.0 BSD-2 BSD MIT" +SLOT="0" +IUSE="apparmor hardened +kmem +seccomp selinux test" + +DEPEND="seccomp? ( sys-libs/libseccomp )" + +RDEPEND=" + ${DEPEND} + !app-emulation/docker-runc + apparmor? ( sys-libs/libapparmor ) +" + +BDEPEND=" + dev-go/go-md2man + test? ( "${RDEPEND}" ) +" + +S="${WORKDIR}/${PN}-${MY_PV}" + +# tests need busybox binary, and portage namespace +# sandboxing disabled: mount-sandbox pid-sandbox ipc-sandbox +# majority of tests pass +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)" + + # build up optional flags + local options=( + $(usev apparmor) + $(usev seccomp) + $(usev selinux) + $(usex kmem '' 'nokmem') + ) + + myemakeargs=( + BUILDTAGS="${options[*]}" + COMMIT=${RUNC_COMMIT} + DESTDIR="${ED}" + PREFIX="${ED}/usr" + ) + + # prevent double manpage generation + sed -i 's/^install-man: man/install-man:/' Makefile || die + + emake "${myemakeargs[@]}" runc man +} + +src_install() { + emake "${myemakeargs[@]}" install install-man install-bash + + local DOCS=( README.md PRINCIPLES.md docs/. ) + einstalldocs +} + +src_test() { + emake "${myemakeargs[@]}" localunittest +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: b2cceb0ff202b76664cea4a82795687cd563710a Author: Thomas Deutschmann gentoo org> AuthorDate: Mon Aug 31 21:02:57 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Mon Aug 31 21:03:39 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2cceb0f app-emulation/runc: x86 keyworded (bug #738758) Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Thomas Deutschmann gentoo.org> app-emulation/runc/runc-1.0.0_rc10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0_rc10.ebuild b/app-emulation/runc/runc-1.0.0_rc10.ebuild index dc3d0ff8a26..903314b0fd1 100644 --- a/app-emulation/runc/runc-1.0.0_rc10.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc10.ebuild @@ -14,7 +14,7 @@ else # Change this when you update the ebuild RUNC_COMMIT=dc9208a3303feef5b3839f4323d9beb36df0a9dd SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm ~arm64 ~ppc64" + KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" inherit golang-build golang-vcs-snapshot fi
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: d2e8fb4e796205a02b494bd8e6658905c2ae12fa Author: Robin H. Johnson gentoo org> AuthorDate: Sat Apr 4 06:57:43 2020 + Commit: Robin H. Johnson gentoo org> CommitDate: Sat Apr 4 06:57:43 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2e8fb4e app-emulation/runc: fix LICENSE Closes: https://bugs.gentoo.org/694908 Signed-off-by: Robin H. Johnson gentoo.org> app-emulation/runc/runc-1.0.0_rc10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0_rc10.ebuild b/app-emulation/runc/runc-1.0.0_rc10.ebuild index 15008739830..dc3d0ff8a26 100644 --- a/app-emulation/runc/runc-1.0.0_rc10.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc10.ebuild @@ -21,7 +21,7 @@ fi DESCRIPTION="runc container cli tools" HOMEPAGE="http://runc.io"; -LICENSE="Apache-2.0" +LICENSE="Apache-2.0 BSD-2 BSD MIT" SLOT="0" IUSE="+ambient apparmor hardened +kmem +seccomp"
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: f408e724ea9763dde2fec46b4ffbbf4471696740 Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Mar 15 03:51:51 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Mar 15 03:51:51 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f408e724 app-emulation/runc: Fix manifest Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Thomas Deutschmann gentoo.org> app-emulation/runc/Manifest | 2 -- 1 file changed, 2 deletions(-) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 12b10b15db5..0c5009ddfbe 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,3 +1 @@ DIST runc-1.0.0_rc10.tar.gz 1929802 BLAKE2B 8399c3d62726bbb6256efef7e15b7496a7172bf25170b12beb60be498967dec4fde2aebd073de4265e132ff864bafc4d2499ab677390a4f7c0a1605d83ae55e5 SHA512 598221071ef07d18bf34bf5d5c68b8ad78ee71716177fc3ce5b6909cd841d5aed93f17ebf1f3d134707d29eef1f54a4ddc21e79621a9bd957df28a8d2e028ab7 -DIST runc-1.0.0_rc8.tar.gz 1665924 BLAKE2B 542cbdefaaa1ef89d2abf8e31ca8116f26cddbfc3fb94dc8c7e94c51750b179ed557bee857ec80ede7280856c66c01c7961a26dc7e6202276baca46c691a3903 SHA512 f213b6a7fa96597d2ba1068f77752bccc0a1d62e0aac02ec8d2a2552dc3c1140fd4e52b2daeb0ac8fc09c48abe4521834450baae01ad4165308813eee7654a2b -DIST runc-1.0.0_rc9.tar.gz 1885161 BLAKE2B 638f00b857f43204cdc2b4e65927d6280e48b075d8363570e9da166ec35febaa749c733478d5c190c0119e0d95418e3295adcc129b68afbc5fec20ca3d9e9b59 SHA512 56c46fbe4d637a83d67e0aabf2549ba687d8b1e357fdecfffca343c8b166edf4158830aa0a4419edd6994c589b874bb8504eb3969ed3430cda6e233940d34194
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 2f21e4f1e09cb1c957781841a6ff90dae3494025 Author: William Hubbs gentoo org> AuthorDate: Sat Mar 14 22:51:41 2020 + Commit: William Hubbs gentoo org> CommitDate: Sat Mar 14 22:51:41 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f21e4f1 app-emulation/runc: remove vulnerable versions Bug: https://bugs.gentoo.org/709456 Bug: https://bugs.gentoo.org/711182 Signed-off-by: William Hubbs gentoo.org> app-emulation/runc/runc-1.0.0_rc8.ebuild | 63 app-emulation/runc/runc-1.0.0_rc9.ebuild | 63 2 files changed, 126 deletions(-) diff --git a/app-emulation/runc/runc-1.0.0_rc8.ebuild b/app-emulation/runc/runc-1.0.0_rc8.ebuild deleted file mode 100644 index 2ceb623d765..000 --- a/app-emulation/runc/runc-1.0.0_rc8.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -EGO_PN="github.com/opencontainers/${PN}" - -if [[ ${PV} == * ]]; then - inherit golang-build golang-vcs -else - MY_PV="${PV/_/-}" - RUNC_COMMIT="425e105d5a03fabd737a126ad93d62a9eeede87f" # Change this when you update the ebuild - SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm ~arm64 ~ppc64" - inherit golang-build golang-vcs-snapshot -fi - -DESCRIPTION="runc container cli tools" -HOMEPAGE="http://runc.io"; - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="+ambient apparmor hardened +kmem +seccomp" - -RDEPEND=" - apparmor? ( sys-libs/libapparmor ) - seccomp? ( sys-libs/libseccomp ) - !app-emulation/docker-runc -" - -src_prepare() { - pushd src/${EGO_PN} - default - sed -i -e "/^GIT_BRANCH/d"\ - -e "/^GIT_BRANCH_CLEAN/d"\ - -e "/^COMMIT_NO/d"\ - -e "s/COMMIT :=.*/COMMIT := ${RUNC_COMMIT}/"\ - Makefile || die - popd || 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' '') - $(usex kmem '' 'nokmem') - ) - - GOPATH="${S}" emake BUILDTAGS="${options[*]}" -C src/${EGO_PN} -} - -src_install() { - pushd src/${EGO_PN} || die - dobin runc - dodoc README.md PRINCIPLES.md - popd || die -} diff --git a/app-emulation/runc/runc-1.0.0_rc9.ebuild b/app-emulation/runc/runc-1.0.0_rc9.ebuild deleted file mode 100644 index 8ee71c06ab2..000 --- a/app-emulation/runc/runc-1.0.0_rc9.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -EGO_PN="github.com/opencontainers/${PN}" - -if [[ ${PV} == * ]]; then - inherit golang-build golang-vcs -else - MY_PV="${PV/_/-}" - RUNC_COMMIT="d736ef14f0288d6993a1845745d6756cfc9ddd5a" # Change this when you update the ebuild - SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm ~arm64 ~ppc64" - inherit golang-build golang-vcs-snapshot -fi - -DESCRIPTION="runc container cli tools" -HOMEPAGE="http://runc.io"; - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="+ambient apparmor hardened +kmem +seccomp" - -RDEPEND=" - apparmor? ( sys-libs/libapparmor ) - seccomp? ( sys-libs/libseccomp ) - !app-emulation/docker-runc -" - -src_prepare() { - pushd src/${EGO_PN} - default - sed -i -e "/^GIT_BRANCH/d"\ - -e "/^GIT_BRANCH_CLEAN/d"\ - -e "/^COMMIT_NO/d"\ - -e "s/COMMIT :=.*/COMMIT := ${RUNC_COMMIT}/"\ - Makefile || die - popd || 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' '') - $(usex kmem '' 'nokmem') - ) - - GOPATH="${S}" emake BUILDTAGS="${options[*]}" -C src/${EGO_PN} -} - -src_install() { - pushd src/${EGO_PN} || die - dobin runc - dodoc README.md PRINCIPLES.md - popd || die -}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 597d7bc5fd67c1bece5dcf1f1f09a9e88bd3bc50 Author: William Hubbs gentoo org> AuthorDate: Sat Mar 14 22:40:03 2020 + Commit: William Hubbs gentoo org> CommitDate: Sat Mar 14 22:48:57 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=597d7bc5 app-emulation/runc: stable 1.0.0_rc10 on amd64 Bug: https://bugs.gentoo.org/709456 Signed-off-by: William Hubbs gentoo.org> app-emulation/runc/runc-1.0.0_rc10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0_rc10.ebuild b/app-emulation/runc/runc-1.0.0_rc10.ebuild index 00d4ecb746d..15008739830 100644 --- a/app-emulation/runc/runc-1.0.0_rc10.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc10.ebuild @@ -14,7 +14,7 @@ else # Change this when you update the ebuild RUNC_COMMIT=dc9208a3303feef5b3839f4323d9beb36df0a9dd SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + KEYWORDS="amd64 ~arm ~arm64 ~ppc64" inherit golang-build golang-vcs-snapshot fi
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: cdb819a4babe6e64c7353ec58b669cba44f2cd26 Author: William Hubbs sony com> AuthorDate: Wed Mar 4 17:06:57 2020 + Commit: William Hubbs gentoo org> CommitDate: Wed Mar 4 17:07:25 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdb819a4 app-emulation/runc: remove src_prepare function Signed-off-by: William Hubbs gentoo.org> app-emulation/runc/runc-1.0.0_rc10.ebuild | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/app-emulation/runc/runc-1.0.0_rc10.ebuild b/app-emulation/runc/runc-1.0.0_rc10.ebuild index 2338fa34630..00d4ecb746d 100644 --- a/app-emulation/runc/runc-1.0.0_rc10.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc10.ebuild @@ -31,17 +31,6 @@ RDEPEND=" !app-emulation/docker-runc " -src_prepare() { - pushd src/${EGO_PN} - default - sed -i -e "/^GIT_BRANCH/d"\ - -e "/^GIT_BRANCH_CLEAN/d"\ - -e "/^COMMIT_NO/d"\ - -e "s/COMMIT :=.*/COMMIT := ${RUNC_COMMIT}/"\ - Makefile || die - popd || die -} - src_compile() { # Taken from app-emulation/docker-1.7.0-r1 export CGO_CFLAGS="-I${ROOT}/usr/include" @@ -56,7 +45,8 @@ src_compile() { $(usex kmem '' 'nokmem') ) - GOPATH="${S}" emake BUILDTAGS="${options[*]}" -C src/${EGO_PN} + COMMIT=${RUNC_COMMIT} GOPATH="${S}" emake BUILDTAGS="${options[*]}" \ + -C src/${EGO_PN} } src_install() {
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 289d7844577d1f4f19a2388df21b4f133631ee9a Author: William Hubbs gentoo org> AuthorDate: Thu Feb 6 05:03:09 2020 + Commit: William Hubbs gentoo org> CommitDate: Thu Feb 6 05:06:43 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=289d7844 app-emulation/runc: 1.0.0-rc10 bump Signed-off-by: William Hubbs gentoo.org> app-emulation/runc/Manifest | 1 + app-emulation/runc/runc-1.0.0_rc10.ebuild | 67 +++ 2 files changed, 68 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index bf55e8a0f79..12b10b15db5 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,2 +1,3 @@ +DIST runc-1.0.0_rc10.tar.gz 1929802 BLAKE2B 8399c3d62726bbb6256efef7e15b7496a7172bf25170b12beb60be498967dec4fde2aebd073de4265e132ff864bafc4d2499ab677390a4f7c0a1605d83ae55e5 SHA512 598221071ef07d18bf34bf5d5c68b8ad78ee71716177fc3ce5b6909cd841d5aed93f17ebf1f3d134707d29eef1f54a4ddc21e79621a9bd957df28a8d2e028ab7 DIST runc-1.0.0_rc8.tar.gz 1665924 BLAKE2B 542cbdefaaa1ef89d2abf8e31ca8116f26cddbfc3fb94dc8c7e94c51750b179ed557bee857ec80ede7280856c66c01c7961a26dc7e6202276baca46c691a3903 SHA512 f213b6a7fa96597d2ba1068f77752bccc0a1d62e0aac02ec8d2a2552dc3c1140fd4e52b2daeb0ac8fc09c48abe4521834450baae01ad4165308813eee7654a2b DIST runc-1.0.0_rc9.tar.gz 1885161 BLAKE2B 638f00b857f43204cdc2b4e65927d6280e48b075d8363570e9da166ec35febaa749c733478d5c190c0119e0d95418e3295adcc129b68afbc5fec20ca3d9e9b59 SHA512 56c46fbe4d637a83d67e0aabf2549ba687d8b1e357fdecfffca343c8b166edf4158830aa0a4419edd6994c589b874bb8504eb3969ed3430cda6e233940d34194 diff --git a/app-emulation/runc/runc-1.0.0_rc10.ebuild b/app-emulation/runc/runc-1.0.0_rc10.ebuild new file mode 100644 index 000..a9c3e510c9e --- /dev/null +++ b/app-emulation/runc/runc-1.0.0_rc10.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit linux-info + +CONFIG_CHECK="~USER_NS" +EGO_PN="github.com/opencontainers/${PN}" + +if [[ ${PV} == * ]]; then + inherit golang-build golang-vcs +else + MY_PV="${PV/_/-}" + # Change this when you update the ebuild + RUNC_COMMIT=dc9208a3303feef5b3839f4323d9beb36df0a9dd + SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + inherit golang-build golang-vcs-snapshot +fi + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="+ambient apparmor hardened +kmem +seccomp" + +RDEPEND=" + apparmor? ( sys-libs/libapparmor ) + seccomp? ( sys-libs/libseccomp ) + !app-emulation/docker-runc +" + +src_prepare() { + pushd src/${EGO_PN} + default + sed -i -e "/^GIT_BRANCH/d"\ + -e "/^GIT_BRANCH_CLEAN/d"\ + -e "/^COMMIT_NO/d"\ + -e "s/COMMIT :=.*/COMMIT := ${RUNC_COMMIT}/"\ + Makefile || die + popd || 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' '') + $(usex kmem '' 'nokmem') + ) + + GOPATH="${S}" emake BUILDTAGS="${options[*]}" -C src/${EGO_PN} +} + +src_install() { + pushd src/${EGO_PN} || die + dobin runc + dodoc README.md PRINCIPLES.md + popd || die +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: e053fcc59a22149264a00fa217c3afc3f80d9f7f Author: Manuel Rüger gentoo org> AuthorDate: Mon Oct 7 09:23:20 2019 + Commit: Manuel Rüger gentoo org> CommitDate: Mon Oct 7 09:23:20 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e053fcc5 app-emulation/runc: Stabilize on amd64 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Manuel Rüger gentoo.org> app-emulation/runc/runc-1.0.0_rc9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0_rc9.ebuild b/app-emulation/runc/runc-1.0.0_rc9.ebuild index add890e1a32..8ee71c06ab2 100644 --- a/app-emulation/runc/runc-1.0.0_rc9.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc9.ebuild @@ -10,7 +10,7 @@ else MY_PV="${PV/_/-}" RUNC_COMMIT="d736ef14f0288d6993a1845745d6756cfc9ddd5a" # Change this when you update the ebuild SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + KEYWORDS="amd64 ~arm ~arm64 ~ppc64" inherit golang-build golang-vcs-snapshot fi
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 6b4037d00d463a16a1a0aaa4c70364bf2fd2103c Author: Manuel Rüger gentoo org> AuthorDate: Mon Oct 7 09:22:59 2019 + Commit: Manuel Rüger gentoo org> CommitDate: Mon Oct 7 09:22:59 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b4037d0 app-emulation/runc: Version bump to 1.0.0_rc9 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Manuel Rüger gentoo.org> app-emulation/runc/Manifest | 1 + app-emulation/runc/runc-1.0.0_rc9.ebuild | 63 2 files changed, 64 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index c96feb04e9c..bf55e8a0f79 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1 +1,2 @@ DIST runc-1.0.0_rc8.tar.gz 1665924 BLAKE2B 542cbdefaaa1ef89d2abf8e31ca8116f26cddbfc3fb94dc8c7e94c51750b179ed557bee857ec80ede7280856c66c01c7961a26dc7e6202276baca46c691a3903 SHA512 f213b6a7fa96597d2ba1068f77752bccc0a1d62e0aac02ec8d2a2552dc3c1140fd4e52b2daeb0ac8fc09c48abe4521834450baae01ad4165308813eee7654a2b +DIST runc-1.0.0_rc9.tar.gz 1885161 BLAKE2B 638f00b857f43204cdc2b4e65927d6280e48b075d8363570e9da166ec35febaa749c733478d5c190c0119e0d95418e3295adcc129b68afbc5fec20ca3d9e9b59 SHA512 56c46fbe4d637a83d67e0aabf2549ba687d8b1e357fdecfffca343c8b166edf4158830aa0a4419edd6994c589b874bb8504eb3969ed3430cda6e233940d34194 diff --git a/app-emulation/runc/runc-1.0.0_rc9.ebuild b/app-emulation/runc/runc-1.0.0_rc9.ebuild new file mode 100644 index 000..add890e1a32 --- /dev/null +++ b/app-emulation/runc/runc-1.0.0_rc9.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN="github.com/opencontainers/${PN}" + +if [[ ${PV} == * ]]; then + inherit golang-build golang-vcs +else + MY_PV="${PV/_/-}" + RUNC_COMMIT="d736ef14f0288d6993a1845745d6756cfc9ddd5a" # Change this when you update the ebuild + SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + inherit golang-build golang-vcs-snapshot +fi + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="+ambient apparmor hardened +kmem +seccomp" + +RDEPEND=" + apparmor? ( sys-libs/libapparmor ) + seccomp? ( sys-libs/libseccomp ) + !app-emulation/docker-runc +" + +src_prepare() { + pushd src/${EGO_PN} + default + sed -i -e "/^GIT_BRANCH/d"\ + -e "/^GIT_BRANCH_CLEAN/d"\ + -e "/^COMMIT_NO/d"\ + -e "s/COMMIT :=.*/COMMIT := ${RUNC_COMMIT}/"\ + Makefile || die + popd || 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' '') + $(usex kmem '' 'nokmem') + ) + + GOPATH="${S}" emake BUILDTAGS="${options[*]}" -C src/${EGO_PN} +} + +src_install() { + pushd src/${EGO_PN} || die + dobin runc + dodoc README.md PRINCIPLES.md + popd || die +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/, app-emulation/runc/files/
commit: 7a5c6cc21e5f943c2ed2f7fb1214cbb6d98f00cd Author: Manuel Rüger gentoo org> AuthorDate: Thu Jul 4 15:33:48 2019 + Commit: Manuel Rüger gentoo org> CommitDate: Thu Jul 4 15:33:48 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a5c6cc2 app-emulation/runc: Remove old and unmaintained live Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Manuel Rüger gentoo.org> app-emulation/runc/Manifest| 4 - app-emulation/runc/files/runc-fix-cve.patch| 334 - .../runc/runc-1.0.0_rc5_p20180509-r1.ebuild| 62 .../runc/runc-1.0.0_rc6_p20181203-r1.ebuild| 65 app-emulation/runc/runc-1.0.0_rc6_p20190216.ebuild | 63 app-emulation/runc/runc-1.0.0_rc7.ebuild | 63 app-emulation/runc/runc-.ebuild| 48 --- 7 files changed, 639 deletions(-) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 287936a5ed5..c96feb04e9c 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,5 +1 @@ -DIST runc-1.0.0_rc5_p20180509.tar.gz 1185576 BLAKE2B b56f9c185c061f51a1fd81c19d378b06c71d06c6eddcbc1c946b234814eb469ea4af37bf42ef3889e4d37bc430e69d0a563281b13055f855f1bc15935531fe28 SHA512 9a55bdb8e39830f46cceff48970b7688139927552e3d268b9ef4a6e640ffc3d95164b99c5b05d07d295bedc2ea22daf6062fd520df1548d78b1d481fd928f1e3 -DIST runc-1.0.0_rc6_p20181203.tar.gz 1202869 BLAKE2B 5b5808fc65f3725e5cc22794c5ff6c5eba6016110358b0f60dd3378df2e5b64afb5631e5652f45e9721838dd02745b8c5a88abfcd244de202196ac16bfccd5a7 SHA512 ec3d3fec773f2f9df714b0813efb110e21e328634e0b4ae77f323a892d0327aea5d4b6f9ae2a549aa06fda5b27431f4514fd663c7033dc170ca1a03627931f9d -DIST runc-1.0.0_rc6_p20190216.tar.gz 1663903 BLAKE2B d6094e85f1d35e1dcc7aed94adffe384f651953568345a9f6edb7ef17b24e25d8572ba84a23326c134c2dae28e1d62d0715a8bd6d949d7ef5cbc4cbc6af2f635 SHA512 e3d61506b44f05dfbad2e07d917c8408edea54c87a472ceb109e2ba2a1685b26f1407c2fe7660d416b60fc2583414af09567bcb8b3c95bc14f725d120373337c -DIST runc-1.0.0_rc7.tar.gz 1665891 BLAKE2B eea7fa8f37d788d3e4ba97161ba2369cbdd660218f136bfb57430bf4080709707ed2bf10209f6eadaffe281e5222ccf2c085407fb2c4799c81266504750e24da SHA512 3c5cf70985f080afc633b79d7d5a045d1f5300398e2cc91770653a0f4b2dd38ac2b4ed25c199e92bc7399f9a711c28ed3fb6262fc4a8700527b3e45356d6f723 DIST runc-1.0.0_rc8.tar.gz 1665924 BLAKE2B 542cbdefaaa1ef89d2abf8e31ca8116f26cddbfc3fb94dc8c7e94c51750b179ed557bee857ec80ede7280856c66c01c7961a26dc7e6202276baca46c691a3903 SHA512 f213b6a7fa96597d2ba1068f77752bccc0a1d62e0aac02ec8d2a2552dc3c1140fd4e52b2daeb0ac8fc09c48abe4521834450baae01ad4165308813eee7654a2b diff --git a/app-emulation/runc/files/runc-fix-cve.patch b/app-emulation/runc/files/runc-fix-cve.patch deleted file mode 100644 index fa85cb0444f..000 --- a/app-emulation/runc/files/runc-fix-cve.patch +++ /dev/null @@ -1,334 +0,0 @@ -From 0a8e4117e7f715d5fbeef398405813ce8e88558b Mon Sep 17 00:00:00 2001 -From: Aleksa Sarai -Date: Wed, 9 Jan 2019 13:40:01 +1100 -Subject: [PATCH] nsenter: clone /proc/self/exe to avoid exposing host binary - to container - -There are quite a few circumstances where /proc/self/exe pointing to a -pretty important container binary is a _bad_ thing, so to avoid this we -have to make a copy (preferably doing self-clean-up and not being -writeable). - -We require memfd_create(2) -- though there is an O_TMPFILE fallback -- -but we can always extend this to use a scratch MNT_DETACH overlayfs or -tmpfs. The main downside to this approach is no page-cache sharing for -the runc binary (which overlayfs would give us) but this is far less -complicated. - -This is only done during nsenter so that it happens transparently to the -Go code, and any libcontainer users benefit from it. This also makes -ExtraFiles and --preserve-fds handling trivial (because we don't need to -worry about it). - -Fixes: CVE-2019-5736 -Co-developed-by: Christian Brauner -Signed-off-by: Aleksa Sarai - libcontainer/nsenter/cloned_binary.c | 268 +++ - libcontainer/nsenter/nsexec.c| 11 ++ - 2 files changed, 279 insertions(+) - create mode 100644 libcontainer/nsenter/cloned_binary.c - -diff --git a/libcontainer/nsenter/cloned_binary.c b/libcontainer/nsenter/cloned_binary.c -new file mode 100644 -index 0..c8a42c23f /dev/null -+++ b/libcontainer/nsenter/cloned_binary.c -@@ -0,0 +1,268 @@ -+/* -+ * Copyright (C) 2019 Aleksa Sarai -+ * Copyright (C) 2019 SUSE LLC -+ * -+ * Licensed under the Apache License, Version 2.0 (the "License"); -+ * you may not use this file except in compliance with the License. -+ * You may obtain a copy of the License at -+ * -+ * http://www.apache.org/licenses/LICENSE-2.0 -+ * -+ * Unless required by applicable law or agreed to in writing, software -+ * distributed under the License is distributed on an "AS IS" BASIS, -+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, eit
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 61c31d9b67bc710a76bf43d5ddcf6704ae41f442 Author: Manuel Rüger gentoo org> AuthorDate: Tue Jun 4 16:58:02 2019 + Commit: Manuel Rüger gentoo org> CommitDate: Tue Jun 4 16:58:02 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61c31d9b app-emulation/runc: Stable on amd64 Package-Manager: Portage-2.3.67, Repoman-2.3.12 Signed-off-by: Manuel Rüger gentoo.org> app-emulation/runc/runc-1.0.0_rc8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0_rc8.ebuild b/app-emulation/runc/runc-1.0.0_rc8.ebuild index 7ebc6da0002..2ceb623d765 100644 --- a/app-emulation/runc/runc-1.0.0_rc8.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc8.ebuild @@ -10,7 +10,7 @@ else MY_PV="${PV/_/-}" RUNC_COMMIT="425e105d5a03fabd737a126ad93d62a9eeede87f" # Change this when you update the ebuild SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + KEYWORDS="amd64 ~arm ~arm64 ~ppc64" inherit golang-build golang-vcs-snapshot fi
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 736d08d97f5c93245bf9ed6aa60a7c84cde869ee Author: Manuel Rüger gentoo org> AuthorDate: Fri Apr 26 10:39:19 2019 + Commit: Manuel Rüger gentoo org> CommitDate: Fri Apr 26 10:39:58 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=736d08d9 app-emulation/runc: Version bump to 1.0.0_rc8 Package-Manager: Portage-2.3.65, Repoman-2.3.12 Signed-off-by: Manuel Rüger gentoo.org> app-emulation/runc/Manifest | 1 + app-emulation/runc/runc-1.0.0_rc8.ebuild | 63 2 files changed, 64 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 7496b666bb9..287936a5ed5 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -2,3 +2,4 @@ DIST runc-1.0.0_rc5_p20180509.tar.gz 1185576 BLAKE2B b56f9c185c061f51a1fd81c19d3 DIST runc-1.0.0_rc6_p20181203.tar.gz 1202869 BLAKE2B 5b5808fc65f3725e5cc22794c5ff6c5eba6016110358b0f60dd3378df2e5b64afb5631e5652f45e9721838dd02745b8c5a88abfcd244de202196ac16bfccd5a7 SHA512 ec3d3fec773f2f9df714b0813efb110e21e328634e0b4ae77f323a892d0327aea5d4b6f9ae2a549aa06fda5b27431f4514fd663c7033dc170ca1a03627931f9d DIST runc-1.0.0_rc6_p20190216.tar.gz 1663903 BLAKE2B d6094e85f1d35e1dcc7aed94adffe384f651953568345a9f6edb7ef17b24e25d8572ba84a23326c134c2dae28e1d62d0715a8bd6d949d7ef5cbc4cbc6af2f635 SHA512 e3d61506b44f05dfbad2e07d917c8408edea54c87a472ceb109e2ba2a1685b26f1407c2fe7660d416b60fc2583414af09567bcb8b3c95bc14f725d120373337c DIST runc-1.0.0_rc7.tar.gz 1665891 BLAKE2B eea7fa8f37d788d3e4ba97161ba2369cbdd660218f136bfb57430bf4080709707ed2bf10209f6eadaffe281e5222ccf2c085407fb2c4799c81266504750e24da SHA512 3c5cf70985f080afc633b79d7d5a045d1f5300398e2cc91770653a0f4b2dd38ac2b4ed25c199e92bc7399f9a711c28ed3fb6262fc4a8700527b3e45356d6f723 +DIST runc-1.0.0_rc8.tar.gz 1665924 BLAKE2B 542cbdefaaa1ef89d2abf8e31ca8116f26cddbfc3fb94dc8c7e94c51750b179ed557bee857ec80ede7280856c66c01c7961a26dc7e6202276baca46c691a3903 SHA512 f213b6a7fa96597d2ba1068f77752bccc0a1d62e0aac02ec8d2a2552dc3c1140fd4e52b2daeb0ac8fc09c48abe4521834450baae01ad4165308813eee7654a2b diff --git a/app-emulation/runc/runc-1.0.0_rc8.ebuild b/app-emulation/runc/runc-1.0.0_rc8.ebuild new file mode 100644 index 000..7ebc6da0002 --- /dev/null +++ b/app-emulation/runc/runc-1.0.0_rc8.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN="github.com/opencontainers/${PN}" + +if [[ ${PV} == * ]]; then + inherit golang-build golang-vcs +else + MY_PV="${PV/_/-}" + RUNC_COMMIT="425e105d5a03fabd737a126ad93d62a9eeede87f" # Change this when you update the ebuild + SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + inherit golang-build golang-vcs-snapshot +fi + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="+ambient apparmor hardened +kmem +seccomp" + +RDEPEND=" + apparmor? ( sys-libs/libapparmor ) + seccomp? ( sys-libs/libseccomp ) + !app-emulation/docker-runc +" + +src_prepare() { + pushd src/${EGO_PN} + default + sed -i -e "/^GIT_BRANCH/d"\ + -e "/^GIT_BRANCH_CLEAN/d"\ + -e "/^COMMIT_NO/d"\ + -e "s/COMMIT :=.*/COMMIT := ${RUNC_COMMIT}/"\ + Makefile || die + popd || 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' '') + $(usex kmem '' 'nokmem') + ) + + GOPATH="${S}" emake BUILDTAGS="${options[*]}" -C src/${EGO_PN} +} + +src_install() { + pushd src/${EGO_PN} || die + dobin runc + dodoc README.md PRINCIPLES.md + popd || die +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: b6fa7305afde856301c29e7c721a45fb1f406e02 Author: Manuel Rüger gentoo org> AuthorDate: Tue Apr 23 12:41:38 2019 + Commit: Manuel Rüger gentoo org> CommitDate: Tue Apr 23 12:41:38 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6fa7305 app-emulation/runc: Stable on amd64 Package-Manager: Portage-2.3.63, Repoman-2.3.12 Signed-off-by: Manuel Rüger gentoo.org> app-emulation/runc/runc-1.0.0_rc7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0_rc7.ebuild b/app-emulation/runc/runc-1.0.0_rc7.ebuild index 721b32088fd..9a9686fa4af 100644 --- a/app-emulation/runc/runc-1.0.0_rc7.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc7.ebuild @@ -10,7 +10,7 @@ else MY_PV="${PV/_/-}" RUNC_COMMIT="69ae5da6afdcaaf38285a10b36f362e41cb298d6" # Change this when you update the ebuild SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + KEYWORDS="amd64 ~arm ~arm64 ~ppc64" inherit golang-build golang-vcs-snapshot fi
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 938c1e718c6bf8a17780ab589c7c00d33fe31bce Author: Manuel Rüger gentoo org> AuthorDate: Fri Mar 29 14:34:44 2019 + Commit: Manuel Rüger gentoo org> CommitDate: Fri Mar 29 14:34:44 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=938c1e71 app-emulation/runc: Version bump to 1.0.0_rc7 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Manuel Rüger gentoo.org> app-emulation/runc/Manifest | 1 + app-emulation/runc/runc-1.0.0_rc7.ebuild | 63 2 files changed, 64 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 5d90a7a3cdd..7496b666bb9 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,3 +1,4 @@ DIST runc-1.0.0_rc5_p20180509.tar.gz 1185576 BLAKE2B b56f9c185c061f51a1fd81c19d378b06c71d06c6eddcbc1c946b234814eb469ea4af37bf42ef3889e4d37bc430e69d0a563281b13055f855f1bc15935531fe28 SHA512 9a55bdb8e39830f46cceff48970b7688139927552e3d268b9ef4a6e640ffc3d95164b99c5b05d07d295bedc2ea22daf6062fd520df1548d78b1d481fd928f1e3 DIST runc-1.0.0_rc6_p20181203.tar.gz 1202869 BLAKE2B 5b5808fc65f3725e5cc22794c5ff6c5eba6016110358b0f60dd3378df2e5b64afb5631e5652f45e9721838dd02745b8c5a88abfcd244de202196ac16bfccd5a7 SHA512 ec3d3fec773f2f9df714b0813efb110e21e328634e0b4ae77f323a892d0327aea5d4b6f9ae2a549aa06fda5b27431f4514fd663c7033dc170ca1a03627931f9d DIST runc-1.0.0_rc6_p20190216.tar.gz 1663903 BLAKE2B d6094e85f1d35e1dcc7aed94adffe384f651953568345a9f6edb7ef17b24e25d8572ba84a23326c134c2dae28e1d62d0715a8bd6d949d7ef5cbc4cbc6af2f635 SHA512 e3d61506b44f05dfbad2e07d917c8408edea54c87a472ceb109e2ba2a1685b26f1407c2fe7660d416b60fc2583414af09567bcb8b3c95bc14f725d120373337c +DIST runc-1.0.0_rc7.tar.gz 1665891 BLAKE2B eea7fa8f37d788d3e4ba97161ba2369cbdd660218f136bfb57430bf4080709707ed2bf10209f6eadaffe281e5222ccf2c085407fb2c4799c81266504750e24da SHA512 3c5cf70985f080afc633b79d7d5a045d1f5300398e2cc91770653a0f4b2dd38ac2b4ed25c199e92bc7399f9a711c28ed3fb6262fc4a8700527b3e45356d6f723 diff --git a/app-emulation/runc/runc-1.0.0_rc7.ebuild b/app-emulation/runc/runc-1.0.0_rc7.ebuild new file mode 100644 index 000..721b32088fd --- /dev/null +++ b/app-emulation/runc/runc-1.0.0_rc7.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN="github.com/opencontainers/${PN}" + +if [[ ${PV} == * ]]; then + inherit golang-build golang-vcs +else + MY_PV="${PV/_/-}" + RUNC_COMMIT="69ae5da6afdcaaf38285a10b36f362e41cb298d6" # Change this when you update the ebuild + SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + inherit golang-build golang-vcs-snapshot +fi + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="+ambient apparmor hardened +kmem +seccomp" + +RDEPEND=" + apparmor? ( sys-libs/libapparmor ) + seccomp? ( sys-libs/libseccomp ) + !app-emulation/docker-runc +" + +src_prepare() { + pushd src/${EGO_PN} + default + sed -i -e "/^GIT_BRANCH/d"\ + -e "/^GIT_BRANCH_CLEAN/d"\ + -e "/^COMMIT_NO/d"\ + -e "s/COMMIT :=.*/COMMIT := ${RUNC_COMMIT}/"\ + Makefile || die + popd || 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' '') + $(usex kmem '' 'nokmem') + ) + + GOPATH="${S}" emake BUILDTAGS="${options[*]}" -C src/${EGO_PN} +} + +src_install() { + pushd src/${EGO_PN} || die + dobin runc + dodoc README.md PRINCIPLES.md + popd || die +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 03d23e49f8aca6d65092221d97b35c084923fef4 Author: Manuel Rüger gentoo org> AuthorDate: Thu Mar 28 14:41:19 2019 + Commit: Manuel Rüger gentoo org> CommitDate: Thu Mar 28 14:41:19 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03d23e49 app-emulation/runc: Stabilize on amd64 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Manuel Rüger gentoo.org> app-emulation/runc/runc-1.0.0_rc6_p20190216.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0_rc6_p20190216.ebuild b/app-emulation/runc/runc-1.0.0_rc6_p20190216.ebuild index e4110183e35..d1e688e0dd6 100644 --- a/app-emulation/runc/runc-1.0.0_rc6_p20190216.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc6_p20190216.ebuild @@ -10,7 +10,7 @@ else MY_PV="${PV/_/-}" RUNC_COMMIT="2b18fe1d885ee5083ef9f0838fee39b62d653e30" # Change this when you update the ebuild SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + KEYWORDS="amd64 ~arm ~arm64 ~ppc64" inherit golang-build golang-vcs-snapshot fi
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: ec6188f87943f9cddf283528b9e0c98649acb907 Author: Manuel Rüger gentoo org> AuthorDate: Thu Mar 28 14:40:57 2019 + Commit: Manuel Rüger gentoo org> CommitDate: Thu Mar 28 14:40:57 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec6188f8 app-emulation/runc: Update snapshot Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Manuel Rüger gentoo.org> app-emulation/runc/Manifest| 1 + app-emulation/runc/runc-1.0.0_rc6_p20190216.ebuild | 63 ++ 2 files changed, 64 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 1c9690abec3..5d90a7a3cdd 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,2 +1,3 @@ DIST runc-1.0.0_rc5_p20180509.tar.gz 1185576 BLAKE2B b56f9c185c061f51a1fd81c19d378b06c71d06c6eddcbc1c946b234814eb469ea4af37bf42ef3889e4d37bc430e69d0a563281b13055f855f1bc15935531fe28 SHA512 9a55bdb8e39830f46cceff48970b7688139927552e3d268b9ef4a6e640ffc3d95164b99c5b05d07d295bedc2ea22daf6062fd520df1548d78b1d481fd928f1e3 DIST runc-1.0.0_rc6_p20181203.tar.gz 1202869 BLAKE2B 5b5808fc65f3725e5cc22794c5ff6c5eba6016110358b0f60dd3378df2e5b64afb5631e5652f45e9721838dd02745b8c5a88abfcd244de202196ac16bfccd5a7 SHA512 ec3d3fec773f2f9df714b0813efb110e21e328634e0b4ae77f323a892d0327aea5d4b6f9ae2a549aa06fda5b27431f4514fd663c7033dc170ca1a03627931f9d +DIST runc-1.0.0_rc6_p20190216.tar.gz 1663903 BLAKE2B d6094e85f1d35e1dcc7aed94adffe384f651953568345a9f6edb7ef17b24e25d8572ba84a23326c134c2dae28e1d62d0715a8bd6d949d7ef5cbc4cbc6af2f635 SHA512 e3d61506b44f05dfbad2e07d917c8408edea54c87a472ceb109e2ba2a1685b26f1407c2fe7660d416b60fc2583414af09567bcb8b3c95bc14f725d120373337c diff --git a/app-emulation/runc/runc-1.0.0_rc6_p20190216.ebuild b/app-emulation/runc/runc-1.0.0_rc6_p20190216.ebuild new file mode 100644 index 000..e4110183e35 --- /dev/null +++ b/app-emulation/runc/runc-1.0.0_rc6_p20190216.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN="github.com/opencontainers/${PN}" + +if [[ ${PV} == * ]]; then + inherit golang-build golang-vcs +else + MY_PV="${PV/_/-}" + RUNC_COMMIT="2b18fe1d885ee5083ef9f0838fee39b62d653e30" # Change this when you update the ebuild + SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + inherit golang-build golang-vcs-snapshot +fi + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="+ambient apparmor hardened +kmem +seccomp" + +RDEPEND=" + apparmor? ( sys-libs/libapparmor ) + seccomp? ( sys-libs/libseccomp ) + !app-emulation/docker-runc +" + +src_prepare() { + pushd src/${EGO_PN} + default + sed -i -e "/^GIT_BRANCH/d"\ + -e "/^GIT_BRANCH_CLEAN/d"\ + -e "/^COMMIT_NO/d"\ + -e "s/COMMIT :=.*/COMMIT := ${RUNC_COMMIT}/"\ + Makefile || die + popd || 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' '') + $(usex kmem '' 'nokmem') + ) + + GOPATH="${S}" emake BUILDTAGS="${options[*]}" -C src/${EGO_PN} +} + +src_install() { + pushd src/${EGO_PN} || die + dobin runc + dodoc README.md PRINCIPLES.md + popd || die +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 368620713ecd5766ffcb4c6e069297d943367bf9 Author: Manuel Rüger gentoo org> AuthorDate: Fri Mar 1 13:39:55 2019 + Commit: Manuel Rüger gentoo org> CommitDate: Fri Mar 1 13:42:26 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36862071 app-emulation/runc: Remove old Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Manuel Rüger gentoo.org> app-emulation/runc/Manifest | 1 - app-emulation/runc/runc-1.0.0_rc5-r1.ebuild | 54 - 2 files changed, 55 deletions(-) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 35325d328c8..1c9690abec3 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,3 +1,2 @@ -DIST runc-1.0.0_rc5.tar.gz 1183902 BLAKE2B 46d0ffd9aa79a6f74b3194fa9e1932390115a43c903ae553acb7749d6be41220874a1ff9bae9706b5fecb9495dd6686c38ee1e9baf6118a14990f142baf6f64d SHA512 714230887ff9706c29b0656c5cdb253698bde6252a23e7f48aa690747fb57abd7884c2da1c4d0e314f9f301c5962417351557d15d986e45fcc336e98069aeac6 DIST runc-1.0.0_rc5_p20180509.tar.gz 1185576 BLAKE2B b56f9c185c061f51a1fd81c19d378b06c71d06c6eddcbc1c946b234814eb469ea4af37bf42ef3889e4d37bc430e69d0a563281b13055f855f1bc15935531fe28 SHA512 9a55bdb8e39830f46cceff48970b7688139927552e3d268b9ef4a6e640ffc3d95164b99c5b05d07d295bedc2ea22daf6062fd520df1548d78b1d481fd928f1e3 DIST runc-1.0.0_rc6_p20181203.tar.gz 1202869 BLAKE2B 5b5808fc65f3725e5cc22794c5ff6c5eba6016110358b0f60dd3378df2e5b64afb5631e5652f45e9721838dd02745b8c5a88abfcd244de202196ac16bfccd5a7 SHA512 ec3d3fec773f2f9df714b0813efb110e21e328634e0b4ae77f323a892d0327aea5d4b6f9ae2a549aa06fda5b27431f4514fd663c7033dc170ca1a03627931f9d diff --git a/app-emulation/runc/runc-1.0.0_rc5-r1.ebuild b/app-emulation/runc/runc-1.0.0_rc5-r1.ebuild deleted file mode 100644 index 77b4011db44..000 --- a/app-emulation/runc/runc-1.0.0_rc5-r1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -EGO_PN="github.com/opencontainers/${PN}" - -if [[ ${PV} == * ]]; then - inherit golang-build golang-vcs -else - MY_PV="${PV/_/-}" - EGIT_COMMIT="v${MY_PV}" - RUNC_COMMIT="4fc53a81fb7c994640722ac585fa9ca548971871" # Change this when you update the ebuild - SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm ~arm64 ~ppc64" - inherit golang-build golang-vcs-snapshot -fi - -DESCRIPTION="runc container cli tools" -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/docker-runc -" - -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="${S}"\ - emake BUILDTAGS="${options[*]}" \ - COMMIT="${RUNC_COMMIT}" -C src/${EGO_PN} -} - -src_install() { - pushd src/${EGO_PN} || die - dobin runc - dodoc README.md PRINCIPLES.md - popd || die -}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 13a596864392907dd399a93bf66cab2b0d5f49f9 Author: Manuel Rüger gentoo org> AuthorDate: Mon Feb 11 19:32:20 2019 + Commit: Manuel Rüger gentoo org> CommitDate: Mon Feb 11 19:32:20 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13a59686 app-emulation/runc: Backport fix Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Manuel Rüger gentoo.org> .../runc/runc-1.0.0_rc5_p20180509-r1.ebuild| 62 ++ 1 file changed, 62 insertions(+) diff --git a/app-emulation/runc/runc-1.0.0_rc5_p20180509-r1.ebuild b/app-emulation/runc/runc-1.0.0_rc5_p20180509-r1.ebuild new file mode 100644 index 000..2aca18c8e96 --- /dev/null +++ b/app-emulation/runc/runc-1.0.0_rc5_p20180509-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN="github.com/opencontainers/${PN}" + +if [[ ${PV} == * ]]; then + inherit golang-build golang-vcs +else + MY_PV="${PV/_/-}" + EGIT_COMMIT="v${MY_PV}" + RUNC_COMMIT="69663f0bd4b60df09991c08812a60108003fa340" # Change this when you update the ebuild + SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + inherit golang-build golang-vcs-snapshot +fi + +DESCRIPTION="runc container cli tools" +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/docker-runc +" + +PATCHES=( "${FILESDIR}"/runc-fix-cve.patch ) + +src_prepare() { + pushd src/${EGO_PN} || die + default + popd || 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="${S}"\ + emake BUILDTAGS="${options[*]}" \ + COMMIT="${RUNC_COMMIT}" -C src/${EGO_PN} +} + +src_install() { + pushd src/${EGO_PN} || die + dobin runc + dodoc README.md PRINCIPLES.md + popd || die +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 23d4df7642c4525cd6e2c0aa053c5c303dde1082 Author: Manuel Rüger gentoo org> AuthorDate: Mon Feb 11 19:33:12 2019 + Commit: Manuel Rüger gentoo org> CommitDate: Mon Feb 11 19:33:12 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23d4df76 app-emulation/runc: Remove old Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Manuel Rüger gentoo.org> app-emulation/runc/runc-1.0.0_rc5_p20180509.ebuild | 54 -- 1 file changed, 54 deletions(-) diff --git a/app-emulation/runc/runc-1.0.0_rc5_p20180509.ebuild b/app-emulation/runc/runc-1.0.0_rc5_p20180509.ebuild deleted file mode 100644 index eb9cce7cf94..000 --- a/app-emulation/runc/runc-1.0.0_rc5_p20180509.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -EGO_PN="github.com/opencontainers/${PN}" - -if [[ ${PV} == * ]]; then - inherit golang-build golang-vcs -else - MY_PV="${PV/_/-}" - EGIT_COMMIT="v${MY_PV}" - RUNC_COMMIT="69663f0bd4b60df09991c08812a60108003fa340" # Change this when you update the ebuild - SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm ~arm64 ~ppc64" - inherit golang-build golang-vcs-snapshot -fi - -DESCRIPTION="runc container cli tools" -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/docker-runc -" - -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="${S}"\ - emake BUILDTAGS="${options[*]}" \ - COMMIT="${RUNC_COMMIT}" -C src/${EGO_PN} -} - -src_install() { - pushd src/${EGO_PN} || die - dobin runc - dodoc README.md PRINCIPLES.md - popd || die -}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: acae688767dcc5911a83892a366ba14c1d9b6180 Author: Manuel Rüger gentoo org> AuthorDate: Mon Feb 11 19:32:44 2019 + Commit: Manuel Rüger gentoo org> CommitDate: Mon Feb 11 19:32:44 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acae6887 app-emulation/runc: Stabilize on amd64 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Manuel Rüger gentoo.org> app-emulation/runc/runc-1.0.0_rc5_p20180509-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0_rc5_p20180509-r1.ebuild b/app-emulation/runc/runc-1.0.0_rc5_p20180509-r1.ebuild index 2aca18c8e96..992fdf609d6 100644 --- a/app-emulation/runc/runc-1.0.0_rc5_p20180509-r1.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc5_p20180509-r1.ebuild @@ -11,7 +11,7 @@ else EGIT_COMMIT="v${MY_PV}" RUNC_COMMIT="69663f0bd4b60df09991c08812a60108003fa340" # Change this when you update the ebuild SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + KEYWORDS="amd64 ~arm ~arm64 ~ppc64" inherit golang-build golang-vcs-snapshot fi
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/, app-emulation/runc/files/
commit: a1e4f4e2eaaba19d9bf5b30fe799df91b8613a6b Author: Manuel Rüger gentoo org> AuthorDate: Mon Feb 11 17:43:06 2019 + Commit: Manuel Rüger gentoo org> CommitDate: Mon Feb 11 17:44:14 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1e4f4e2 app-emulation/runc: Fix security vuln Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Manuel Rüger gentoo.org> app-emulation/runc/files/runc-fix-cve.patch| 334 + .../runc/runc-1.0.0_rc6_p20181203-r1.ebuild| 65 2 files changed, 399 insertions(+) diff --git a/app-emulation/runc/files/runc-fix-cve.patch b/app-emulation/runc/files/runc-fix-cve.patch new file mode 100644 index 000..fa85cb0444f --- /dev/null +++ b/app-emulation/runc/files/runc-fix-cve.patch @@ -0,0 +1,334 @@ +From 0a8e4117e7f715d5fbeef398405813ce8e88558b Mon Sep 17 00:00:00 2001 +From: Aleksa Sarai +Date: Wed, 9 Jan 2019 13:40:01 +1100 +Subject: [PATCH] nsenter: clone /proc/self/exe to avoid exposing host binary + to container + +There are quite a few circumstances where /proc/self/exe pointing to a +pretty important container binary is a _bad_ thing, so to avoid this we +have to make a copy (preferably doing self-clean-up and not being +writeable). + +We require memfd_create(2) -- though there is an O_TMPFILE fallback -- +but we can always extend this to use a scratch MNT_DETACH overlayfs or +tmpfs. The main downside to this approach is no page-cache sharing for +the runc binary (which overlayfs would give us) but this is far less +complicated. + +This is only done during nsenter so that it happens transparently to the +Go code, and any libcontainer users benefit from it. This also makes +ExtraFiles and --preserve-fds handling trivial (because we don't need to +worry about it). + +Fixes: CVE-2019-5736 +Co-developed-by: Christian Brauner +Signed-off-by: Aleksa Sarai +--- + libcontainer/nsenter/cloned_binary.c | 268 +++ + libcontainer/nsenter/nsexec.c| 11 ++ + 2 files changed, 279 insertions(+) + create mode 100644 libcontainer/nsenter/cloned_binary.c + +diff --git a/libcontainer/nsenter/cloned_binary.c b/libcontainer/nsenter/cloned_binary.c +new file mode 100644 +index 0..c8a42c23f +--- /dev/null b/libcontainer/nsenter/cloned_binary.c +@@ -0,0 +1,268 @@ ++/* ++ * Copyright (C) 2019 Aleksa Sarai ++ * Copyright (C) 2019 SUSE LLC ++ * ++ * Licensed under the Apache License, Version 2.0 (the "License"); ++ * you may not use this file except in compliance with the License. ++ * You may obtain a copy of the License at ++ * ++ * http://www.apache.org/licenses/LICENSE-2.0 ++ * ++ * Unless required by applicable law or agreed to in writing, software ++ * distributed under the License is distributed on an "AS IS" BASIS, ++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ++ * See the License for the specific language governing permissions and ++ * limitations under the License. ++ */ ++ ++#define _GNU_SOURCE ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++ ++#include ++#include ++#include ++#include ++#include ++#include ++ ++/* Use our own wrapper for memfd_create. */ ++#if !defined(SYS_memfd_create) && defined(__NR_memfd_create) ++# define SYS_memfd_create __NR_memfd_create ++#endif ++#ifdef SYS_memfd_create ++# define HAVE_MEMFD_CREATE ++/* memfd_create(2) flags -- copied from . */ ++# ifndef MFD_CLOEXEC ++#define MFD_CLOEXEC 0x0001U ++#define MFD_ALLOW_SEALING 0x0002U ++# endif ++int memfd_create(const char *name, unsigned int flags) ++{ ++ return syscall(SYS_memfd_create, name, flags); ++} ++#endif ++ ++/* This comes directly from . */ ++#ifndef F_LINUX_SPECIFIC_BASE ++# define F_LINUX_SPECIFIC_BASE 1024 ++#endif ++#ifndef F_ADD_SEALS ++# define F_ADD_SEALS (F_LINUX_SPECIFIC_BASE + 9) ++# define F_GET_SEALS (F_LINUX_SPECIFIC_BASE + 10) ++#endif ++#ifndef F_SEAL_SEAL ++# define F_SEAL_SEAL 0x0001/* prevent further seals from being set */ ++# define F_SEAL_SHRINK 0x0002/* prevent file from shrinking */ ++# define F_SEAL_GROW 0x0004/* prevent file from growing */ ++# define F_SEAL_WRITE 0x0008/* prevent writes */ ++#endif ++ ++#define RUNC_SENDFILE_MAX 0x7000 /* sendfile(2) is limited to 2GB. */ ++#ifdef HAVE_MEMFD_CREATE ++# define RUNC_MEMFD_COMMENT "runc_cloned:/proc/self/exe" ++# define RUNC_MEMFD_SEALS \ ++ (F_SEAL_SEAL | F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_WRITE) ++#endif ++ ++static void *must_realloc(void *ptr, size_t size) ++{ ++ void *old = ptr; ++ do { ++ ptr = realloc(old, size); ++ } while(!ptr); ++ return ptr; ++} ++ ++/* ++ * Verify whether we are currently in a self-cloned program (namely, is ++ * /proc/self/exe a memfd). F_GET_SEALS will only succeed for memfds (or rather ++ * for shmem files), and we want to be sure it's actually s
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 136130d4cadffca0906f61e67c599b04472c7227 Author: Manuel Rüger gentoo org> AuthorDate: Mon Feb 11 17:44:55 2019 + Commit: Manuel Rüger gentoo org> CommitDate: Mon Feb 11 17:44:55 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=136130d4 app-emulation/runc: Remove old Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Manuel Rüger gentoo.org> app-emulation/runc/Manifest| 1 - app-emulation/runc/runc-1.0.0_rc6.ebuild | 61 -- app-emulation/runc/runc-1.0.0_rc6_p20181203.ebuild | 61 -- 3 files changed, 123 deletions(-) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 703fba99dd0..35325d328c8 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,4 +1,3 @@ DIST runc-1.0.0_rc5.tar.gz 1183902 BLAKE2B 46d0ffd9aa79a6f74b3194fa9e1932390115a43c903ae553acb7749d6be41220874a1ff9bae9706b5fecb9495dd6686c38ee1e9baf6118a14990f142baf6f64d SHA512 714230887ff9706c29b0656c5cdb253698bde6252a23e7f48aa690747fb57abd7884c2da1c4d0e314f9f301c5962417351557d15d986e45fcc336e98069aeac6 DIST runc-1.0.0_rc5_p20180509.tar.gz 1185576 BLAKE2B b56f9c185c061f51a1fd81c19d378b06c71d06c6eddcbc1c946b234814eb469ea4af37bf42ef3889e4d37bc430e69d0a563281b13055f855f1bc15935531fe28 SHA512 9a55bdb8e39830f46cceff48970b7688139927552e3d268b9ef4a6e640ffc3d95164b99c5b05d07d295bedc2ea22daf6062fd520df1548d78b1d481fd928f1e3 -DIST runc-1.0.0_rc6.tar.gz 1202212 BLAKE2B 2795b6e88a9587fac61a50bfea52a9df8524eb87aae66129d7ea83e8c3ca586efc60a46d24af857f7ba50f8e4d7021cbd2845d322a8c0ad08be3e0f19d80ba3b SHA512 2f7ed5e835f000d9810a116a27300336f424ac2c370dd1c7d158e26a4997d1e8398612387be27cc22cc25fdd52cc4cff7963ef88ce9c41d337321b75d9be2334 DIST runc-1.0.0_rc6_p20181203.tar.gz 1202869 BLAKE2B 5b5808fc65f3725e5cc22794c5ff6c5eba6016110358b0f60dd3378df2e5b64afb5631e5652f45e9721838dd02745b8c5a88abfcd244de202196ac16bfccd5a7 SHA512 ec3d3fec773f2f9df714b0813efb110e21e328634e0b4ae77f323a892d0327aea5d4b6f9ae2a549aa06fda5b27431f4514fd663c7033dc170ca1a03627931f9d diff --git a/app-emulation/runc/runc-1.0.0_rc6.ebuild b/app-emulation/runc/runc-1.0.0_rc6.ebuild deleted file mode 100644 index cb15bc43aaf..000 --- a/app-emulation/runc/runc-1.0.0_rc6.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -EGO_PN="github.com/opencontainers/${PN}" - -if [[ ${PV} == * ]]; then - inherit golang-build golang-vcs -else - MY_PV="${PV/_/-}" - RUNC_COMMIT="ccb5efd37fb7c86364786e9137e22948751de7ed" # Change this when you update the ebuild - SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" - inherit golang-build golang-vcs-snapshot -fi - -DESCRIPTION="runc container cli tools" -HOMEPAGE="http://runc.io"; - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="+ambient apparmor hardened +kmem +seccomp" - -RDEPEND=" - apparmor? ( sys-libs/libapparmor ) - seccomp? ( sys-libs/libseccomp ) - !app-emulation/docker-runc -" - -src_prepare() { - default - sed -i -e "/^GIT_BRANCH/d"\ - -e "/^GIT_BRANCH_CLEAN/d"\ - -e "/^COMMIT_NO/d"\ - -e "s/COMMIT :=.*/COMMIT := ${RUNC_COMMIT}/"\ - src/${EGO_PN}/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' '') - $(usex kmem '' 'nokmem') - ) - - GOPATH="${S}" emake BUILDTAGS="${options[*]}" -C src/${EGO_PN} -} - -src_install() { - pushd src/${EGO_PN} || die - dobin runc - dodoc README.md PRINCIPLES.md - popd || die -} diff --git a/app-emulation/runc/runc-1.0.0_rc6_p20181203.ebuild b/app-emulation/runc/runc-1.0.0_rc6_p20181203.ebuild deleted file mode 100644 index c422609ace8..000 --- a/app-emulation/runc/runc-1.0.0_rc6_p20181203.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -EGO_PN="github.com/opencontainers/${PN}" - -if [[ ${PV} == * ]]; then - inherit golang-build golang-vcs -else - MY_PV="${PV/_/-}" - RUNC_COMMIT="96ec2177ae841256168fcf76954f7177af9446eb" # Change this when you update the ebuild - SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" - inherit golang-build golang-vcs-snapshot -fi - -DESCRIPTION="runc container cli tools" -HOM
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 36f268572639eba1a136a46d76236a25ec1652cd Author: Manuel Rüger gentoo org> AuthorDate: Mon Feb 11 17:43:53 2019 + Commit: Manuel Rüger gentoo org> CommitDate: Mon Feb 11 17:44:19 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36f26857 app-emulation/runc: Stabilize on amd64 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Manuel Rüger gentoo.org> app-emulation/runc/runc-1.0.0_rc6_p20181203-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0_rc6_p20181203-r1.ebuild b/app-emulation/runc/runc-1.0.0_rc6_p20181203-r1.ebuild index 44d7e6ca8b4..893c249793a 100644 --- a/app-emulation/runc/runc-1.0.0_rc6_p20181203-r1.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc6_p20181203-r1.ebuild @@ -10,7 +10,7 @@ else MY_PV="${PV/_/-}" RUNC_COMMIT="96ec2177ae841256168fcf76954f7177af9446eb" # Change this when you update the ebuild SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + KEYWORDS="amd64 ~arm ~arm64 ~ppc64" inherit golang-build golang-vcs-snapshot fi
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: d4cb06a41e7aec675fa0a4f7206ca6e5ba46aa39 Author: Manuel Rüger gentoo org> AuthorDate: Thu Jan 10 13:13:42 2019 + Commit: Manuel Rüger gentoo org> CommitDate: Thu Jan 10 13:13:42 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4cb06a4 app-emulation/runc: Update snapshot Package-Manager: Portage-2.3.54, Repoman-2.3.12 Signed-off-by: Manuel Rüger gentoo.org> app-emulation/runc/Manifest| 1 + app-emulation/runc/runc-1.0.0_rc6_p20181203.ebuild | 61 ++ 2 files changed, 62 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index e1dc14bd3e5..703fba99dd0 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,3 +1,4 @@ DIST runc-1.0.0_rc5.tar.gz 1183902 BLAKE2B 46d0ffd9aa79a6f74b3194fa9e1932390115a43c903ae553acb7749d6be41220874a1ff9bae9706b5fecb9495dd6686c38ee1e9baf6118a14990f142baf6f64d SHA512 714230887ff9706c29b0656c5cdb253698bde6252a23e7f48aa690747fb57abd7884c2da1c4d0e314f9f301c5962417351557d15d986e45fcc336e98069aeac6 DIST runc-1.0.0_rc5_p20180509.tar.gz 1185576 BLAKE2B b56f9c185c061f51a1fd81c19d378b06c71d06c6eddcbc1c946b234814eb469ea4af37bf42ef3889e4d37bc430e69d0a563281b13055f855f1bc15935531fe28 SHA512 9a55bdb8e39830f46cceff48970b7688139927552e3d268b9ef4a6e640ffc3d95164b99c5b05d07d295bedc2ea22daf6062fd520df1548d78b1d481fd928f1e3 DIST runc-1.0.0_rc6.tar.gz 1202212 BLAKE2B 2795b6e88a9587fac61a50bfea52a9df8524eb87aae66129d7ea83e8c3ca586efc60a46d24af857f7ba50f8e4d7021cbd2845d322a8c0ad08be3e0f19d80ba3b SHA512 2f7ed5e835f000d9810a116a27300336f424ac2c370dd1c7d158e26a4997d1e8398612387be27cc22cc25fdd52cc4cff7963ef88ce9c41d337321b75d9be2334 +DIST runc-1.0.0_rc6_p20181203.tar.gz 1202869 BLAKE2B 5b5808fc65f3725e5cc22794c5ff6c5eba6016110358b0f60dd3378df2e5b64afb5631e5652f45e9721838dd02745b8c5a88abfcd244de202196ac16bfccd5a7 SHA512 ec3d3fec773f2f9df714b0813efb110e21e328634e0b4ae77f323a892d0327aea5d4b6f9ae2a549aa06fda5b27431f4514fd663c7033dc170ca1a03627931f9d diff --git a/app-emulation/runc/runc-1.0.0_rc6_p20181203.ebuild b/app-emulation/runc/runc-1.0.0_rc6_p20181203.ebuild new file mode 100644 index 000..c422609ace8 --- /dev/null +++ b/app-emulation/runc/runc-1.0.0_rc6_p20181203.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN="github.com/opencontainers/${PN}" + +if [[ ${PV} == * ]]; then + inherit golang-build golang-vcs +else + MY_PV="${PV/_/-}" + RUNC_COMMIT="96ec2177ae841256168fcf76954f7177af9446eb" # Change this when you update the ebuild + SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + inherit golang-build golang-vcs-snapshot +fi + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="+ambient apparmor hardened +kmem +seccomp" + +RDEPEND=" + apparmor? ( sys-libs/libapparmor ) + seccomp? ( sys-libs/libseccomp ) + !app-emulation/docker-runc +" + +src_prepare() { + default + sed -i -e "/^GIT_BRANCH/d"\ + -e "/^GIT_BRANCH_CLEAN/d"\ + -e "/^COMMIT_NO/d"\ + -e "s/COMMIT :=.*/COMMIT := ${RUNC_COMMIT}/"\ + src/${EGO_PN}/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' '') + $(usex kmem '' 'nokmem') + ) + + GOPATH="${S}" emake BUILDTAGS="${options[*]}" -C src/${EGO_PN} +} + +src_install() { + pushd src/${EGO_PN} || die + dobin runc + dodoc README.md PRINCIPLES.md + popd || die +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 3f25ffe411e38bf8fb2ef7ade70b832bbda6fb79 Author: Manuel Rüger gentoo org> AuthorDate: Tue Dec 11 10:11:41 2018 + Commit: Manuel Rüger gentoo org> CommitDate: Tue Dec 11 10:11:41 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f25ffe4 app-emulation/runc: Stabilize on amd64 Signed-off-by: Manuel Rüger gentoo.org> Package-Manager: Portage-2.3.52, Repoman-2.3.11 app-emulation/runc/runc-1.0.0_rc5_p20180509.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-emulation/runc/runc-1.0.0_rc5_p20180509.ebuild b/app-emulation/runc/runc-1.0.0_rc5_p20180509.ebuild index 6447ca4dff6..eb9cce7cf94 100644 --- a/app-emulation/runc/runc-1.0.0_rc5_p20180509.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc5_p20180509.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ else EGIT_COMMIT="v${MY_PV}" RUNC_COMMIT="69663f0bd4b60df09991c08812a60108003fa340" # Change this when you update the ebuild SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + KEYWORDS="amd64 ~arm ~arm64 ~ppc64" inherit golang-build golang-vcs-snapshot fi
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 90ccbce39cb707961c23897f53d693092d45072a Author: Manuel Rüger gentoo org> AuthorDate: Sun Nov 25 14:27:33 2018 + Commit: Manuel Rüger gentoo org> CommitDate: Sun Nov 25 14:27:33 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90ccbce3 app-emulation/runc: Version bump to 1.0.0_rc6 Signed-off-by: Manuel Rüger gentoo.org> Package-Manager: Portage-2.3.52, Repoman-2.3.11 app-emulation/runc/Manifest | 1 + app-emulation/runc/metadata.xml | 3 ++ app-emulation/runc/runc-1.0.0_rc6.ebuild | 61 3 files changed, 65 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 1cdf1882eb7..e1dc14bd3e5 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,2 +1,3 @@ DIST runc-1.0.0_rc5.tar.gz 1183902 BLAKE2B 46d0ffd9aa79a6f74b3194fa9e1932390115a43c903ae553acb7749d6be41220874a1ff9bae9706b5fecb9495dd6686c38ee1e9baf6118a14990f142baf6f64d SHA512 714230887ff9706c29b0656c5cdb253698bde6252a23e7f48aa690747fb57abd7884c2da1c4d0e314f9f301c5962417351557d15d986e45fcc336e98069aeac6 DIST runc-1.0.0_rc5_p20180509.tar.gz 1185576 BLAKE2B b56f9c185c061f51a1fd81c19d378b06c71d06c6eddcbc1c946b234814eb469ea4af37bf42ef3889e4d37bc430e69d0a563281b13055f855f1bc15935531fe28 SHA512 9a55bdb8e39830f46cceff48970b7688139927552e3d268b9ef4a6e640ffc3d95164b99c5b05d07d295bedc2ea22daf6062fd520df1548d78b1d481fd928f1e3 +DIST runc-1.0.0_rc6.tar.gz 1202212 BLAKE2B 2795b6e88a9587fac61a50bfea52a9df8524eb87aae66129d7ea83e8c3ca586efc60a46d24af857f7ba50f8e4d7021cbd2845d322a8c0ad08be3e0f19d80ba3b SHA512 2f7ed5e835f000d9810a116a27300336f424ac2c370dd1c7d158e26a4997d1e8398612387be27cc22cc25fdd52cc4cff7963ef88ce9c41d337321b75d9be2334 diff --git a/app-emulation/runc/metadata.xml b/app-emulation/runc/metadata.xml index fcadd0bb8dd..d38c867c132 100644 --- a/app-emulation/runc/metadata.xml +++ b/app-emulation/runc/metadata.xml @@ -20,6 +20,9 @@ Enable AppArmor support. + + Enable Kernel Memory Accounting. + opencontainers/runc diff --git a/app-emulation/runc/runc-1.0.0_rc6.ebuild b/app-emulation/runc/runc-1.0.0_rc6.ebuild new file mode 100644 index 000..cb15bc43aaf --- /dev/null +++ b/app-emulation/runc/runc-1.0.0_rc6.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN="github.com/opencontainers/${PN}" + +if [[ ${PV} == * ]]; then + inherit golang-build golang-vcs +else + MY_PV="${PV/_/-}" + RUNC_COMMIT="ccb5efd37fb7c86364786e9137e22948751de7ed" # Change this when you update the ebuild + SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + inherit golang-build golang-vcs-snapshot +fi + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="+ambient apparmor hardened +kmem +seccomp" + +RDEPEND=" + apparmor? ( sys-libs/libapparmor ) + seccomp? ( sys-libs/libseccomp ) + !app-emulation/docker-runc +" + +src_prepare() { + default + sed -i -e "/^GIT_BRANCH/d"\ + -e "/^GIT_BRANCH_CLEAN/d"\ + -e "/^COMMIT_NO/d"\ + -e "s/COMMIT :=.*/COMMIT := ${RUNC_COMMIT}/"\ + src/${EGO_PN}/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' '') + $(usex kmem '' 'nokmem') + ) + + GOPATH="${S}" emake BUILDTAGS="${options[*]}" -C src/${EGO_PN} +} + +src_install() { + pushd src/${EGO_PN} || die + dobin runc + dodoc README.md PRINCIPLES.md + popd || die +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 8fa0287e94f28796a8eee435d4e69561bf7e7035 Author: Manuel Rüger gentoo org> AuthorDate: Thu Jul 19 15:30:03 2018 + Commit: Manuel Rüger gentoo org> CommitDate: Thu Jul 19 15:30:03 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fa0287e app-emulation/runc: Remove old Package-Manager: Portage-2.3.43, Repoman-2.3.10 app-emulation/runc/Manifest | 1 - app-emulation/runc/runc-1.0.0_rc4.ebuild | 54 2 files changed, 55 deletions(-) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index d7688c5b00a..1cdf1882eb7 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,3 +1,2 @@ -DIST runc-1.0.0_rc4.tar.gz 1090513 BLAKE2B 276303e2085eddd549290e3af1a3af4570d0aef43f66f956267451810b0f0fb77f13ed12fe13b76efcd820fc7e0b46eac370a062f43c8600091a807cb12cf733 SHA512 cc2ae38b96f3f3355d9ba26f7af15c57975276aeaf58dcfe7fe5f0f0411ece8584a7cb51ae7fdd2f4109366f55ac8dfb86f225e26377fe07b685bbc56a2518ed DIST runc-1.0.0_rc5.tar.gz 1183902 BLAKE2B 46d0ffd9aa79a6f74b3194fa9e1932390115a43c903ae553acb7749d6be41220874a1ff9bae9706b5fecb9495dd6686c38ee1e9baf6118a14990f142baf6f64d SHA512 714230887ff9706c29b0656c5cdb253698bde6252a23e7f48aa690747fb57abd7884c2da1c4d0e314f9f301c5962417351557d15d986e45fcc336e98069aeac6 DIST runc-1.0.0_rc5_p20180509.tar.gz 1185576 BLAKE2B b56f9c185c061f51a1fd81c19d378b06c71d06c6eddcbc1c946b234814eb469ea4af37bf42ef3889e4d37bc430e69d0a563281b13055f855f1bc15935531fe28 SHA512 9a55bdb8e39830f46cceff48970b7688139927552e3d268b9ef4a6e640ffc3d95164b99c5b05d07d295bedc2ea22daf6062fd520df1548d78b1d481fd928f1e3 diff --git a/app-emulation/runc/runc-1.0.0_rc4.ebuild b/app-emulation/runc/runc-1.0.0_rc4.ebuild deleted file mode 100644 index 76500c6dd5e..000 --- a/app-emulation/runc/runc-1.0.0_rc4.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -EGO_PN="github.com/opencontainers/${PN}" - -if [[ ${PV} == * ]]; then - inherit golang-build golang-vcs -else - MY_PV="${PV/_/-}" - EGIT_COMMIT="v${MY_PV}" - RUNC_COMMIT="2e7cfe0" # 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-build golang-vcs-snapshot -fi - -DESCRIPTION="runc container cli tools" -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/docker-runc -" - -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="${S}"\ - emake BUILDTAGS="${options[*]}" \ - COMMIT="${RUNC_COMMIT}" -C src/${EGO_PN} -} - -src_install() { - pushd src/${EGO_PN} || die - dobin runc - dodoc README.md PRINCIPLES.md - popd || die -}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: ff5dcfc829463246f937d377028d25e9083d8eab Author: Manuel Rüger gentoo org> AuthorDate: Thu Jul 19 13:24:03 2018 + Commit: Manuel Rüger gentoo org> CommitDate: Thu Jul 19 13:29:01 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff5dcfc8 app-emulation/runc: Update snapshot for docker 18.06.0 Package-Manager: Portage-2.3.43, Repoman-2.3.10 app-emulation/runc/Manifest| 1 + app-emulation/runc/runc-1.0.0_rc5_p20180509.ebuild | 54 ++ 2 files changed, 55 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index c2694922576..d7688c5b00a 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,2 +1,3 @@ DIST runc-1.0.0_rc4.tar.gz 1090513 BLAKE2B 276303e2085eddd549290e3af1a3af4570d0aef43f66f956267451810b0f0fb77f13ed12fe13b76efcd820fc7e0b46eac370a062f43c8600091a807cb12cf733 SHA512 cc2ae38b96f3f3355d9ba26f7af15c57975276aeaf58dcfe7fe5f0f0411ece8584a7cb51ae7fdd2f4109366f55ac8dfb86f225e26377fe07b685bbc56a2518ed DIST runc-1.0.0_rc5.tar.gz 1183902 BLAKE2B 46d0ffd9aa79a6f74b3194fa9e1932390115a43c903ae553acb7749d6be41220874a1ff9bae9706b5fecb9495dd6686c38ee1e9baf6118a14990f142baf6f64d SHA512 714230887ff9706c29b0656c5cdb253698bde6252a23e7f48aa690747fb57abd7884c2da1c4d0e314f9f301c5962417351557d15d986e45fcc336e98069aeac6 +DIST runc-1.0.0_rc5_p20180509.tar.gz 1185576 BLAKE2B b56f9c185c061f51a1fd81c19d378b06c71d06c6eddcbc1c946b234814eb469ea4af37bf42ef3889e4d37bc430e69d0a563281b13055f855f1bc15935531fe28 SHA512 9a55bdb8e39830f46cceff48970b7688139927552e3d268b9ef4a6e640ffc3d95164b99c5b05d07d295bedc2ea22daf6062fd520df1548d78b1d481fd928f1e3 diff --git a/app-emulation/runc/runc-1.0.0_rc5_p20180509.ebuild b/app-emulation/runc/runc-1.0.0_rc5_p20180509.ebuild new file mode 100644 index 000..6447ca4dff6 --- /dev/null +++ b/app-emulation/runc/runc-1.0.0_rc5_p20180509.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN="github.com/opencontainers/${PN}" + +if [[ ${PV} == * ]]; then + inherit golang-build golang-vcs +else + MY_PV="${PV/_/-}" + EGIT_COMMIT="v${MY_PV}" + RUNC_COMMIT="69663f0bd4b60df09991c08812a60108003fa340" # Change this when you update the ebuild + SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + inherit golang-build golang-vcs-snapshot +fi + +DESCRIPTION="runc container cli tools" +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/docker-runc +" + +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="${S}"\ + emake BUILDTAGS="${options[*]}" \ + COMMIT="${RUNC_COMMIT}" -C src/${EGO_PN} +} + +src_install() { + pushd src/${EGO_PN} || die + dobin runc + dodoc README.md PRINCIPLES.md + popd || die +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 89afbad87d95d4d4f22452411d43f8ef4914ef69 Author: Alex Bennée linaro org> AuthorDate: Sun Jun 3 16:05:21 2018 + Commit: Mart Raudsepp gentoo org> CommitDate: Mon Jun 4 18:57:06 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89afbad8 app-emulation/runc: add ~arm64 keyword app-emulation/runc/runc-1.0.0_rc5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0_rc5-r1.ebuild b/app-emulation/runc/runc-1.0.0_rc5-r1.ebuild index 745b05d7a61..77b4011db44 100644 --- a/app-emulation/runc/runc-1.0.0_rc5-r1.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc5-r1.ebuild @@ -11,7 +11,7 @@ else EGIT_COMMIT="v${MY_PV}" RUNC_COMMIT="4fc53a81fb7c994640722ac585fa9ca548971871" # Change this when you update the ebuild SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm ~ppc64" + KEYWORDS="amd64 ~arm ~arm64 ~ppc64" inherit golang-build golang-vcs-snapshot fi
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 96e3f1e94343849354ef2c14d130ce8613f940d9 Author: Manuel Rüger gentoo org> AuthorDate: Tue May 15 12:13:34 2018 + Commit: Manuel Rüger gentoo org> CommitDate: Tue May 15 12:13:34 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96e3f1e9 app-emulation/runc: Stable on amd64 Package-Manager: Portage-2.3.36, Repoman-2.3.9 app-emulation/runc/runc-1.0.0_rc5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0_rc5-r1.ebuild b/app-emulation/runc/runc-1.0.0_rc5-r1.ebuild index d733f98a812..745b05d7a61 100644 --- a/app-emulation/runc/runc-1.0.0_rc5-r1.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc5-r1.ebuild @@ -11,7 +11,7 @@ else EGIT_COMMIT="v${MY_PV}" RUNC_COMMIT="4fc53a81fb7c994640722ac585fa9ca548971871" # Change this when you update the ebuild SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~ppc64" + KEYWORDS="amd64 ~arm ~ppc64" inherit golang-build golang-vcs-snapshot fi
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: b526fe18550c9adb8cedb2805e6c9c0bbee5f25e Author: Manuel Rüger gentoo org> AuthorDate: Tue Apr 10 01:12:51 2018 + Commit: Manuel Rüger gentoo org> CommitDate: Tue Apr 10 01:12:51 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b526fe18 app-emulation/runc: Remove old Package-Manager: Portage-2.3.28, Repoman-2.3.9 app-emulation/runc/runc-1.0.0_rc5.ebuild | 54 1 file changed, 54 deletions(-) diff --git a/app-emulation/runc/runc-1.0.0_rc5.ebuild b/app-emulation/runc/runc-1.0.0_rc5.ebuild deleted file mode 100644 index 53e421c63ab..000 --- a/app-emulation/runc/runc-1.0.0_rc5.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -EGO_PN="github.com/opencontainers/${PN}" - -if [[ ${PV} == * ]]; then - inherit golang-build golang-vcs -else - MY_PV="${PV/_/-}" - EGIT_COMMIT="v${MY_PV}" - RUNC_COMMIT="4fc53a8" # 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-build golang-vcs-snapshot -fi - -DESCRIPTION="runc container cli tools" -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/docker-runc -" - -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="${S}"\ - emake BUILDTAGS="${options[*]}" \ - COMMIT="${RUNC_COMMIT}" -C src/${EGO_PN} -} - -src_install() { - pushd src/${EGO_PN} || die - dobin runc - dodoc README.md PRINCIPLES.md - popd || die -}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 338877c5db2066c54a0b9b54464347e9b9901417 Author: Manuel Rüger gentoo org> AuthorDate: Fri Apr 6 21:41:11 2018 + Commit: Manuel Rüger gentoo org> CommitDate: Fri Apr 6 22:00:52 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=338877c5 app-emulation/runc: Use full commit hash Package-Manager: Portage-2.3.28, Repoman-2.3.9 app-emulation/runc/runc-1.0.0_rc5-r1.ebuild | 54 + 1 file changed, 54 insertions(+) diff --git a/app-emulation/runc/runc-1.0.0_rc5-r1.ebuild b/app-emulation/runc/runc-1.0.0_rc5-r1.ebuild new file mode 100644 index 000..d733f98a812 --- /dev/null +++ b/app-emulation/runc/runc-1.0.0_rc5-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN="github.com/opencontainers/${PN}" + +if [[ ${PV} == * ]]; then + inherit golang-build golang-vcs +else + MY_PV="${PV/_/-}" + EGIT_COMMIT="v${MY_PV}" + RUNC_COMMIT="4fc53a81fb7c994640722ac585fa9ca548971871" # 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-build golang-vcs-snapshot +fi + +DESCRIPTION="runc container cli tools" +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/docker-runc +" + +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="${S}"\ + emake BUILDTAGS="${options[*]}" \ + COMMIT="${RUNC_COMMIT}" -C src/${EGO_PN} +} + +src_install() { + pushd src/${EGO_PN} || die + dobin runc + dodoc README.md PRINCIPLES.md + popd || die +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: cb28f38ff820623af33adfc60e196ac0e2bbf141 Author: Doug Goldstein gentoo org> AuthorDate: Sat Mar 10 21:07:33 2018 + Commit: Doug Goldstein gentoo org> CommitDate: Sat Mar 10 21:07:33 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb28f38f app-emulation/runc: remove myself as maintainer I haven't used this package in quite a while (from a development standpoint). app-emulation/runc/metadata.xml | 4 1 file changed, 4 deletions(-) diff --git a/app-emulation/runc/metadata.xml b/app-emulation/runc/metadata.xml index 91b38bdea9d..fcadd0bb8dd 100644 --- a/app-emulation/runc/metadata.xml +++ b/app-emulation/runc/metadata.xml @@ -5,10 +5,6 @@ runc is a CLI tool for spawning and running containers according to the OCF (Open Container Format) specification. - - car...@gentoo.org - Doug Goldstein - willi...@gentoo.org William Hubbs
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 9289c0b32921eb6a77af50e065855b86abfc11f3 Author: Manuel Rüger gentoo org> AuthorDate: Tue Feb 27 22:09:52 2018 + Commit: Manuel Rüger gentoo org> CommitDate: Tue Feb 27 22:09:52 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9289c0b3 app-emulation/runc: Version bump to 1.0.0_rc5 Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-emulation/runc/Manifest | 1 + app-emulation/runc/runc-1.0.0_rc5.ebuild | 54 2 files changed, 55 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 04d48733c73..c2694922576 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1 +1,2 @@ DIST runc-1.0.0_rc4.tar.gz 1090513 BLAKE2B 276303e2085eddd549290e3af1a3af4570d0aef43f66f956267451810b0f0fb77f13ed12fe13b76efcd820fc7e0b46eac370a062f43c8600091a807cb12cf733 SHA512 cc2ae38b96f3f3355d9ba26f7af15c57975276aeaf58dcfe7fe5f0f0411ece8584a7cb51ae7fdd2f4109366f55ac8dfb86f225e26377fe07b685bbc56a2518ed +DIST runc-1.0.0_rc5.tar.gz 1183902 BLAKE2B 46d0ffd9aa79a6f74b3194fa9e1932390115a43c903ae553acb7749d6be41220874a1ff9bae9706b5fecb9495dd6686c38ee1e9baf6118a14990f142baf6f64d SHA512 714230887ff9706c29b0656c5cdb253698bde6252a23e7f48aa690747fb57abd7884c2da1c4d0e314f9f301c5962417351557d15d986e45fcc336e98069aeac6 diff --git a/app-emulation/runc/runc-1.0.0_rc5.ebuild b/app-emulation/runc/runc-1.0.0_rc5.ebuild new file mode 100644 index 000..53e421c63ab --- /dev/null +++ b/app-emulation/runc/runc-1.0.0_rc5.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN="github.com/opencontainers/${PN}" + +if [[ ${PV} == * ]]; then + inherit golang-build golang-vcs +else + MY_PV="${PV/_/-}" + EGIT_COMMIT="v${MY_PV}" + RUNC_COMMIT="4fc53a8" # 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-build golang-vcs-snapshot +fi + +DESCRIPTION="runc container cli tools" +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/docker-runc +" + +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="${S}"\ + emake BUILDTAGS="${options[*]}" \ + COMMIT="${RUNC_COMMIT}" -C src/${EGO_PN} +} + +src_install() { + pushd src/${EGO_PN} || die + dobin runc + dodoc README.md PRINCIPLES.md + popd || die +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/files/
commit: d8fb9aaaf78dc8cad22d3e8954bfc4087095bc8b Author: Michael Mair-Keimberger gmail com> AuthorDate: Fri Feb 16 07:51:42 2018 + Commit: Patrice Clement gentoo org> CommitDate: Sat Feb 17 14:26:07 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8fb9aaa app-emulation/runc: remove unused patch. Closes: https://github.com/gentoo/gentoo/pull/7201 .../files/runc-1.0.0_rc2-init-non-dumpable.patch | 108 - 1 file changed, 108 deletions(-) diff --git a/app-emulation/runc/files/runc-1.0.0_rc2-init-non-dumpable.patch b/app-emulation/runc/files/runc-1.0.0_rc2-init-non-dumpable.patch deleted file mode 100644 index 486835ad826..000 --- a/app-emulation/runc/files/runc-1.0.0_rc2-init-non-dumpable.patch +++ /dev/null @@ -1,108 +0,0 @@ -From 50a19c6ff828c58e5dab13830bd3dacde268afe5 Mon Sep 17 00:00:00 2001 -From: Michael Crosby -Date: Wed, 7 Dec 2016 15:05:51 -0800 -Subject: [PATCH] Set init processes as non-dumpable - -This sets the init processes that join and setup the container's -namespaces as non-dumpable before they setns to the container's pid (or -any other ) namespace. - -This settings is automatically reset to the default after the Exec in -the container so that it does not change functionality for the -applications that are running inside, just our init processes. - -This prevents parent processes, the pid 1 of the container, to ptrace -the init process before it drops caps and other sets LSMs. - -This patch also ensures that the stateDirFD being used is still closed -prior to exec, even though it is set as O_CLOEXEC, because of the order -in the kernel. - -https://github.com/torvalds/linux/blob/v4.9/fs/exec.c#L1290-L1318 - -The order during the exec syscall is that the process is set back to -dumpable before O_CLOEXEC are processed. - -Signed-off-by: Michael Crosby - libcontainer/init_linux.go | 3 ++- - libcontainer/nsenter/nsexec.c | 5 + - libcontainer/setns_init_linux.go| 7 ++- - libcontainer/standard_init_linux.go | 3 +++ - 4 files changed, 16 insertions(+), 2 deletions(-) - -diff --git a/libcontainer/init_linux.go b/libcontainer/init_linux.go -index b1e6762..4043d51 100644 a/libcontainer/init_linux.go -+++ b/libcontainer/init_linux.go -@@ -77,7 +77,8 @@ func newContainerInit(t initType, pipe *os.File, stateDirFD int) (initer, error) - switch t { - case initSetns: - return &linuxSetnsInit{ -- config: config, -+ config: config, -+ stateDirFD: stateDirFD, - }, nil - case initStandard: - return &linuxStandardInit{ -diff --git a/libcontainer/nsenter/nsexec.c b/libcontainer/nsenter/nsexec.c -index b93f827..4b5398b 100644 a/libcontainer/nsenter/nsexec.c -+++ b/libcontainer/nsenter/nsexec.c -@@ -408,6 +408,11 @@ void nsexec(void) - if (pipenum == -1) - return; - -+ /* make the process non-dumpable */ -+ if (prctl(PR_SET_DUMPABLE, 0, 0, 0, 0) != 0) { -+ bail("failed to set process as non-dumpable"); -+ } -+ - /* Parse all of the netlink configuration. */ - nl_parse(pipenum, &config); - -diff --git a/libcontainer/setns_init_linux.go b/libcontainer/setns_init_linux.go -index 2a8f345..7f5f182 100644 a/libcontainer/setns_init_linux.go -+++ b/libcontainer/setns_init_linux.go -@@ -5,6 +5,7 @@ package libcontainer - import ( - "fmt" - "os" -+ "syscall" - - "github.com/opencontainers/runc/libcontainer/apparmor" - "github.com/opencontainers/runc/libcontainer/keys" -@@ -16,7 +17,8 @@ import ( - // linuxSetnsInit performs the container's initialization for running a new process - // inside an existing container. - type linuxSetnsInit struct { -- config *initConfig -+ config *initConfig -+ stateDirFD int - } - - func (l *linuxSetnsInit) getSessionRingName() string { -@@ -49,5 +51,8 @@ func (l *linuxSetnsInit) Init() error { - if err := label.SetProcessLabel(l.config.ProcessLabel); err != nil { - return err - } -+ // close the statedir fd before exec because the kernel resets dumpable in the wrong order -+ // https://github.com/torvalds/linux/blob/v4.9/fs/exec.c#L1290-L1318 -+ syscall.Close(l.stateDirFD) - return system.Execv(l.config.Args[0], l.config.Args[0:], os.Environ()) - } -diff --git a/libcontainer/standard_init_linux.go b/libcontainer/standard_init_linux.go -index 2104f1a..6a65154 100644 a/libcontainer/standard_init_linux.go -+++ b/libcontainer/standard_init_linux.go -@@ -171,6 +171,9 @@ func (l *linuxStandardInit) Init() error { - return newSystemErrorWithCause(err, "init seccomp") - } - } -+ // close the statedir fd before exec because the kernel resets dumpable in the wrong order -+ // https://github.com/torvalds/linux/blob/v4.9/fs/exec.c#L
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 407ed0ce8607945b02dcbcd6720da3a3f9b4ad5b Author: Manuel Rüger gentoo org> AuthorDate: Tue Feb 13 14:22:14 2018 + Commit: Manuel Rüger gentoo org> CommitDate: Tue Feb 13 14:22:14 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=407ed0ce app-emulation/runc: Stable on amd64 Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-emulation/runc/runc-1.0.0_rc4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-emulation/runc/runc-1.0.0_rc4.ebuild b/app-emulation/runc/runc-1.0.0_rc4.ebuild index 886cd2b7728..76500c6dd5e 100644 --- a/app-emulation/runc/runc-1.0.0_rc4.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ else EGIT_COMMIT="v${MY_PV}" RUNC_COMMIT="2e7cfe0" # Change this when you update the ebuild SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~ppc64" + KEYWORDS="amd64 ~arm ~ppc64" inherit golang-build golang-vcs-snapshot fi
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 1806d75a9a68a05e03545926891e2a5f2cf35de8 Author: Manuel Rüger gentoo org> AuthorDate: Tue Feb 13 14:22:33 2018 + Commit: Manuel Rüger gentoo org> CommitDate: Tue Feb 13 14:22:33 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1806d75a app-emulation/runc: Remove old Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-emulation/runc/Manifest | 1 - app-emulation/runc/runc-1.0.0_rc2-r2.ebuild | 59 - 2 files changed, 60 deletions(-) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index e61d2f4846a..04d48733c73 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,2 +1 @@ -DIST runc-1.0.0_rc2.tar.gz 550449 BLAKE2B b2e8f122c8a469bab661b4c719f737be483966c3b374e2a86e556e84fe9d054ce2d5a7ff6b1be99970a22393426fdb21421a44532873b05fa29aa7503734 SHA512 83a3d45efbb86d3d583b96062202b9e60121d250af2c0dd37d07fda574b642aa6f05e29cac6644ad3d624647400db694082e280383e41ca9f31dc0a33b87ed76 DIST runc-1.0.0_rc4.tar.gz 1090513 BLAKE2B 276303e2085eddd549290e3af1a3af4570d0aef43f66f956267451810b0f0fb77f13ed12fe13b76efcd820fc7e0b46eac370a062f43c8600091a807cb12cf733 SHA512 cc2ae38b96f3f3355d9ba26f7af15c57975276aeaf58dcfe7fe5f0f0411ece8584a7cb51ae7fdd2f4109366f55ac8dfb86f225e26377fe07b685bbc56a2518ed diff --git a/app-emulation/runc/runc-1.0.0_rc2-r2.ebuild b/app-emulation/runc/runc-1.0.0_rc2-r2.ebuild deleted file mode 100644 index 0ecb0b79d1f..000 --- a/app-emulation/runc/runc-1.0.0_rc2-r2.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -EGO_PN="github.com/opencontainers/${PN}" - -if [[ ${PV} == * ]]; then - inherit golang-vcs -else - MY_PV="${PV/_/-}" - EGIT_COMMIT="v${MY_PV}" - RUNC_COMMIT="c91b5be" # Change this when you update the ebuild - SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~ppc64" - inherit golang-vcs-snapshot -fi - -DESCRIPTION="runc container cli tools" -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/docker-runc -" - -S=${WORKDIR}/${P}/src/${EGO_PN} - -PATCHES=( "${FILESDIR}"/${P}-init-non-dumpable.patch ) - -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 -}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 01c6089acde8ca39ba5bd2e8a5cec4c4841e06d4 Author: Manuel Rüger gentoo org> AuthorDate: Sun Nov 5 20:51:40 2017 + Commit: Manuel Rüger gentoo org> CommitDate: Sun Nov 5 20:51:40 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01c6089a app-emulation/runc: Remove old Package-Manager: Portage-2.3.12, Repoman-2.3.4 app-emulation/runc/Manifest| 2 - app-emulation/runc/runc-1.0.0_rc2_p20170222.ebuild | 57 -- app-emulation/runc/runc-1.0.0_rc3.ebuild | 55 - 3 files changed, 114 deletions(-) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 4a6e583bd00..ed80588a16e 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,4 +1,2 @@ DIST runc-1.0.0_rc2.tar.gz 550449 SHA256 638742c48426b9a3281aeb619e27513d972de228bdbd43b478baea99c186d491 SHA512 83a3d45efbb86d3d583b96062202b9e60121d250af2c0dd37d07fda574b642aa6f05e29cac6644ad3d624647400db694082e280383e41ca9f31dc0a33b87ed76 WHIRLPOOL 990a45739689db80bbeed43b0fd3a4ce4d0563ea833361b9112e750782313f19e638c4bfbd455f5dd1882d64c724dcf0213701322029c2c9f98f624863c744f3 -DIST runc-1.0.0_rc2_p20170222.tar.gz 576999 SHA256 1ee6491b9c14e0ce9e0546ed92e3eb4bdc60cf4b5e58b6de0455dbe3b03145cb SHA512 fe293057f55eee4f3821004af730ad57f512d610d7cf3693b26e69ffa068c8c28da5426b9f4988627c0803ecd1d46b6e427db8f1703649f5861859d61cd24bbd WHIRLPOOL 561c09ffc7d3e0f1dd73f3711adb85b74d5fea265181cdd1535a83d23a164c1e4cb884053c0b46c968b0b582feeb2ccc9eb99e3e086b1fcbcce0813f172c -DIST runc-1.0.0_rc3.tar.gz 453694 SHA256 77dc6c48704da4005896acf369d0ee306f8af684c54a815f589fd87043221380 SHA512 298a176db119a02c1dbe5c095897f34955d6d0d7ea3cb21496258a23225bae35603a818c13f7adc4be1c1f4e2b3a8a540fb2fc1b2828a59f29a53e3c8b13c354 WHIRLPOOL 649aba93a24eff37042cc08d55cff0d97d6e4fe6b2c35053b36a4a186040e8772b8f63be488f3cb8d75e7daa61193669a79b2ed1f04a13ae47695c98dccb17ec DIST runc-1.0.0_rc4.tar.gz 1090513 SHA256 3ffefd293932d2ad509701878dd7dd6ef498c3667198a33e8e5d5a3cbce0eeaa SHA512 cc2ae38b96f3f3355d9ba26f7af15c57975276aeaf58dcfe7fe5f0f0411ece8584a7cb51ae7fdd2f4109366f55ac8dfb86f225e26377fe07b685bbc56a2518ed WHIRLPOOL 298e3ad3561c6d0de3f0517458da47f04389d4cf2686aba96cdf70966b1121e6a7997f0419159a4390dd276fd6cba41b08c6152aea66816a7bb760ebc5e46e32 diff --git a/app-emulation/runc/runc-1.0.0_rc2_p20170222.ebuild b/app-emulation/runc/runc-1.0.0_rc2_p20170222.ebuild deleted file mode 100644 index 50ad9ca1ac3..000 --- a/app-emulation/runc/runc-1.0.0_rc2_p20170222.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -EGO_PN="github.com/opencontainers/${PN}" - -if [[ ${PV} == * ]]; then - inherit golang-vcs -else - MY_PV="${PV/_/-}" - EGIT_COMMIT="bd2f9c52cd3b766d993924ae6eba72b82998f3bd" - RUNC_COMMIT="bd2f9c" # Change this when you update the ebuild - SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc64" - inherit golang-vcs-snapshot -fi - -DESCRIPTION="runc container cli tools" -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/docker-runc -" - -S=${WORKDIR}/${P}/src/${EGO_PN} - -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/runc/runc-1.0.0_rc3.ebuild b/app-emulation/runc/runc-1.0.0_rc3.ebuild deleted file mode 100644 index ed12e14ff1b..000 --- a/app-emulation/runc/runc-1.0.0_rc3.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -EGO_PN="github.com/opencontainers/${PN}/..." - -if [[ ${PV} == * ]]; then - inherit golang-build golang-vcs -else - MY_PV="${PV/_/-}" - EGIT_COMMIT="v${MY_PV}" - RUNC_COMMIT="75f8da7" # Change this when you update the ebuild - SRC_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc64" - inherit golang-build golang-vcs-snapshot -
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: af336f33263b2109bd833b9a343741e31974d673 Author: Manuel Rüger gentoo org> AuthorDate: Thu Oct 12 19:00:11 2017 + Commit: Manuel Rüger gentoo org> CommitDate: Thu Oct 12 19:01:27 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af336f33 app-emulation/runc: Version bump to 1.0.0_rc4 Package-Manager: Portage-2.3.11, Repoman-2.3.3 app-emulation/runc/Manifest | 1 + app-emulation/runc/runc-1.0.0_rc4.ebuild | 54 2 files changed, 55 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index c2fb30a64c5..4a6e583bd00 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,3 +1,4 @@ DIST runc-1.0.0_rc2.tar.gz 550449 SHA256 638742c48426b9a3281aeb619e27513d972de228bdbd43b478baea99c186d491 SHA512 83a3d45efbb86d3d583b96062202b9e60121d250af2c0dd37d07fda574b642aa6f05e29cac6644ad3d624647400db694082e280383e41ca9f31dc0a33b87ed76 WHIRLPOOL 990a45739689db80bbeed43b0fd3a4ce4d0563ea833361b9112e750782313f19e638c4bfbd455f5dd1882d64c724dcf0213701322029c2c9f98f624863c744f3 DIST runc-1.0.0_rc2_p20170222.tar.gz 576999 SHA256 1ee6491b9c14e0ce9e0546ed92e3eb4bdc60cf4b5e58b6de0455dbe3b03145cb SHA512 fe293057f55eee4f3821004af730ad57f512d610d7cf3693b26e69ffa068c8c28da5426b9f4988627c0803ecd1d46b6e427db8f1703649f5861859d61cd24bbd WHIRLPOOL 561c09ffc7d3e0f1dd73f3711adb85b74d5fea265181cdd1535a83d23a164c1e4cb884053c0b46c968b0b582feeb2ccc9eb99e3e086b1fcbcce0813f172c DIST runc-1.0.0_rc3.tar.gz 453694 SHA256 77dc6c48704da4005896acf369d0ee306f8af684c54a815f589fd87043221380 SHA512 298a176db119a02c1dbe5c095897f34955d6d0d7ea3cb21496258a23225bae35603a818c13f7adc4be1c1f4e2b3a8a540fb2fc1b2828a59f29a53e3c8b13c354 WHIRLPOOL 649aba93a24eff37042cc08d55cff0d97d6e4fe6b2c35053b36a4a186040e8772b8f63be488f3cb8d75e7daa61193669a79b2ed1f04a13ae47695c98dccb17ec +DIST runc-1.0.0_rc4.tar.gz 1090513 SHA256 3ffefd293932d2ad509701878dd7dd6ef498c3667198a33e8e5d5a3cbce0eeaa SHA512 cc2ae38b96f3f3355d9ba26f7af15c57975276aeaf58dcfe7fe5f0f0411ece8584a7cb51ae7fdd2f4109366f55ac8dfb86f225e26377fe07b685bbc56a2518ed WHIRLPOOL 298e3ad3561c6d0de3f0517458da47f04389d4cf2686aba96cdf70966b1121e6a7997f0419159a4390dd276fd6cba41b08c6152aea66816a7bb760ebc5e46e32 diff --git a/app-emulation/runc/runc-1.0.0_rc4.ebuild b/app-emulation/runc/runc-1.0.0_rc4.ebuild new file mode 100644 index 000..886cd2b7728 --- /dev/null +++ b/app-emulation/runc/runc-1.0.0_rc4.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN="github.com/opencontainers/${PN}" + +if [[ ${PV} == * ]]; then + inherit golang-build golang-vcs +else + MY_PV="${PV/_/-}" + EGIT_COMMIT="v${MY_PV}" + RUNC_COMMIT="2e7cfe0" # 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-build golang-vcs-snapshot +fi + +DESCRIPTION="runc container cli tools" +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/docker-runc +" + +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="${S}"\ + emake BUILDTAGS="${options[*]}" \ + COMMIT="${RUNC_COMMIT}" -C src/${EGO_PN} +} + +src_install() { + pushd src/${EGO_PN} || die + dobin runc + dodoc README.md PRINCIPLES.md + popd || die +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: b7f70f03e1a08f98fe623d76225224bfc7e85530 Author: Manuel Rüger gentoo org> AuthorDate: Tue Mar 28 01:04:24 2017 + Commit: Manuel Rüger gentoo org> CommitDate: Tue Mar 28 01:04:24 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7f70f03 app-emulation/runc: Version bump to 1.0.0_rc3 Package-Manager: Portage-2.3.4, Repoman-2.3.2 app-emulation/runc/Manifest | 1 + app-emulation/runc/metadata.xml | 3 ++ app-emulation/runc/runc-1.0.0_rc3.ebuild | 55 3 files changed, 59 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 7f076980753..c2fb30a64c5 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,2 +1,3 @@ DIST runc-1.0.0_rc2.tar.gz 550449 SHA256 638742c48426b9a3281aeb619e27513d972de228bdbd43b478baea99c186d491 SHA512 83a3d45efbb86d3d583b96062202b9e60121d250af2c0dd37d07fda574b642aa6f05e29cac6644ad3d624647400db694082e280383e41ca9f31dc0a33b87ed76 WHIRLPOOL 990a45739689db80bbeed43b0fd3a4ce4d0563ea833361b9112e750782313f19e638c4bfbd455f5dd1882d64c724dcf0213701322029c2c9f98f624863c744f3 DIST runc-1.0.0_rc2_p20170222.tar.gz 576999 SHA256 1ee6491b9c14e0ce9e0546ed92e3eb4bdc60cf4b5e58b6de0455dbe3b03145cb SHA512 fe293057f55eee4f3821004af730ad57f512d610d7cf3693b26e69ffa068c8c28da5426b9f4988627c0803ecd1d46b6e427db8f1703649f5861859d61cd24bbd WHIRLPOOL 561c09ffc7d3e0f1dd73f3711adb85b74d5fea265181cdd1535a83d23a164c1e4cb884053c0b46c968b0b582feeb2ccc9eb99e3e086b1fcbcce0813f172c +DIST runc-1.0.0_rc3.tar.gz 453694 SHA256 77dc6c48704da4005896acf369d0ee306f8af684c54a815f589fd87043221380 SHA512 298a176db119a02c1dbe5c095897f34955d6d0d7ea3cb21496258a23225bae35603a818c13f7adc4be1c1f4e2b3a8a540fb2fc1b2828a59f29a53e3c8b13c354 WHIRLPOOL 649aba93a24eff37042cc08d55cff0d97d6e4fe6b2c35053b36a4a186040e8772b8f63be488f3cb8d75e7daa61193669a79b2ed1f04a13ae47695c98dccb17ec diff --git a/app-emulation/runc/metadata.xml b/app-emulation/runc/metadata.xml index 5a682ed8ba1..91b38bdea9d 100644 --- a/app-emulation/runc/metadata.xml +++ b/app-emulation/runc/metadata.xml @@ -18,6 +18,9 @@ Manuel Rüger + + Enable support for ambient capabilities set (Requires Linux kernel 4.3 or later). + Enable AppArmor support. diff --git a/app-emulation/runc/runc-1.0.0_rc3.ebuild b/app-emulation/runc/runc-1.0.0_rc3.ebuild new file mode 100644 index 000..ed12e14ff1b --- /dev/null +++ b/app-emulation/runc/runc-1.0.0_rc3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN="github.com/opencontainers/${PN}/..." + +if [[ ${PV} == * ]]; then + inherit golang-build golang-vcs +else + MY_PV="${PV/_/-}" + EGIT_COMMIT="v${MY_PV}" + RUNC_COMMIT="75f8da7" # Change this when you update the ebuild + SRC_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~ppc64" + inherit golang-build golang-vcs-snapshot +fi + +DESCRIPTION="runc container cli tools" +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/docker-runc +" + +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="${S}"\ + emake BUILDTAGS="${options[*]}" \ + COMMIT="${RUNC_COMMIT}" -C src/${EGO_PN%/*} +} + +src_install() { + pushd src/${EGO_PN%/*} || die + dobin runc + dodoc README.md PRINCIPLES.md + popd || die + +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 560045ab1d5f620332ce23122e6e7ec0f32fc94a Author: Manuel Rüger gentoo org> AuthorDate: Fri Feb 24 10:27:03 2017 + Commit: Manuel Rüger gentoo org> CommitDate: Fri Feb 24 10:27:03 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=560045ab app-emulation/runc: Add blocker on app-emulation/docker-runc Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-emulation/runc/runc-1.0.0_rc2-r2.ebuild| 1 + app-emulation/runc/runc-1.0.0_rc2_p20170222.ebuild | 1 + app-emulation/runc/runc-.ebuild| 5 +++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app-emulation/runc/runc-1.0.0_rc2-r2.ebuild b/app-emulation/runc/runc-1.0.0_rc2-r2.ebuild index d00b1236e6..986bc4219b 100644 --- a/app-emulation/runc/runc-1.0.0_rc2-r2.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc2-r2.ebuild @@ -26,6 +26,7 @@ IUSE="apparmor hardened +seccomp" RDEPEND=" apparmor? ( sys-libs/libapparmor ) seccomp? ( sys-libs/libseccomp ) + !app-emulation/docker-runc " S=${WORKDIR}/${P}/src/${EGO_PN} diff --git a/app-emulation/runc/runc-1.0.0_rc2_p20170222.ebuild b/app-emulation/runc/runc-1.0.0_rc2_p20170222.ebuild index b68956acd4..1baca3 100644 --- a/app-emulation/runc/runc-1.0.0_rc2_p20170222.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc2_p20170222.ebuild @@ -26,6 +26,7 @@ IUSE="apparmor hardened +seccomp" RDEPEND=" apparmor? ( sys-libs/libapparmor ) seccomp? ( sys-libs/libseccomp ) + !app-emulation/docker-runc " S=${WORKDIR}/${P}/src/${EGO_PN} diff --git a/app-emulation/runc/runc-.ebuild b/app-emulation/runc/runc-.ebuild index a57511f78f..f186801bbb 100644 --- a/app-emulation/runc/runc-.ebuild +++ b/app-emulation/runc/runc-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -24,7 +24,8 @@ SLOT="0" IUSE="+seccomp" DEPEND=">=dev-lang/go-1.4:=" -RDEPEND="seccomp? ( sys-libs/libseccomp )" +RDEPEND="seccomp? ( sys-libs/libseccomp ) + !app-emulation/docker-runc" src_compile() { # Taken from app-emulation/docker-1.7.0-r1
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 866f01620fd9cfeacec777e62187bb9e41c30a07 Author: Manuel Rüger gentoo org> AuthorDate: Thu Feb 23 14:57:50 2017 + Commit: Manuel Rüger gentoo org> CommitDate: Thu Feb 23 14:59:02 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=866f0162 app-emulation/runc: Add new snapshot Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-emulation/runc/Manifest| 1 + app-emulation/runc/runc-1.0.0_rc2_p20170222.ebuild | 57 ++ 2 files changed, 58 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 9c9a5c0937..7f07698075 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1 +1,2 @@ DIST runc-1.0.0_rc2.tar.gz 550449 SHA256 638742c48426b9a3281aeb619e27513d972de228bdbd43b478baea99c186d491 SHA512 83a3d45efbb86d3d583b96062202b9e60121d250af2c0dd37d07fda574b642aa6f05e29cac6644ad3d624647400db694082e280383e41ca9f31dc0a33b87ed76 WHIRLPOOL 990a45739689db80bbeed43b0fd3a4ce4d0563ea833361b9112e750782313f19e638c4bfbd455f5dd1882d64c724dcf0213701322029c2c9f98f624863c744f3 +DIST runc-1.0.0_rc2_p20170222.tar.gz 576999 SHA256 1ee6491b9c14e0ce9e0546ed92e3eb4bdc60cf4b5e58b6de0455dbe3b03145cb SHA512 fe293057f55eee4f3821004af730ad57f512d610d7cf3693b26e69ffa068c8c28da5426b9f4988627c0803ecd1d46b6e427db8f1703649f5861859d61cd24bbd WHIRLPOOL 561c09ffc7d3e0f1dd73f3711adb85b74d5fea265181cdd1535a83d23a164c1e4cb884053c0b46c968b0b582feeb2ccc9eb99e3e086b1fcbcce0813f172c diff --git a/app-emulation/runc/runc-1.0.0_rc2_p20170222.ebuild b/app-emulation/runc/runc-1.0.0_rc2_p20170222.ebuild new file mode 100644 index 00..b68956acd4 --- /dev/null +++ b/app-emulation/runc/runc-1.0.0_rc2_p20170222.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +EGO_PN="github.com/opencontainers/${PN}" + +if [[ ${PV} == * ]]; then + inherit golang-vcs +else + MY_PV="${PV/_/-}" + EGIT_COMMIT="bd2f9c52cd3b766d993924ae6eba72b82998f3bd" + RUNC_COMMIT="bd2f9c" # Change this when you update the ebuild + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~ppc64" + inherit golang-vcs-snapshot +fi + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="apparmor hardened +seccomp" + +RDEPEND=" + apparmor? ( sys-libs/libapparmor ) + seccomp? ( sys-libs/libseccomp ) +" + +S=${WORKDIR}/${P}/src/${EGO_PN} + +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 +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: b957c6bcb4ec8cd6fca134a865fc77ea2c05fe9e Author: Manuel Rüger gentoo org> AuthorDate: Mon Feb 6 14:30:53 2017 + Commit: Manuel Rüger gentoo org> CommitDate: Mon Feb 6 14:30:53 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b957c6bc app-emulation/runc: Remove old Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-emulation/runc/Manifest | 1 - app-emulation/runc/runc-0.1.0.ebuild | 48 2 files changed, 49 deletions(-) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 988e8c5..9c9a5c0 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,2 +1 @@ -DIST runc-0.1.0.tar.gz 496358 SHA256 681d6d89541ae2e06757f999a242a1f97bbcb1ad6e10f4cdee287ec4a9d2bff9 SHA512 8a9ff02b0161eda0a730194b0fbf7ad76e8f379992e74061ef49302da3492fd0c53f06db9153ded4d934d67bbf6f4291d6154254f1b924ef73c97c44cd14ffcf WHIRLPOOL 81f488a4f1e23e8704a9fa8404965b2f12f74a875ba8e67dc15de93f43b075dc538cd0d89c7a1187cb74ac6320317b5985855945fb8bf8f749d6736df47b844a DIST runc-1.0.0_rc2.tar.gz 550449 SHA256 638742c48426b9a3281aeb619e27513d972de228bdbd43b478baea99c186d491 SHA512 83a3d45efbb86d3d583b96062202b9e60121d250af2c0dd37d07fda574b642aa6f05e29cac6644ad3d624647400db694082e280383e41ca9f31dc0a33b87ed76 WHIRLPOOL 990a45739689db80bbeed43b0fd3a4ce4d0563ea833361b9112e750782313f19e638c4bfbd455f5dd1882d64c724dcf0213701322029c2c9f98f624863c744f3 diff --git a/app-emulation/runc/runc-0.1.0.ebuild b/app-emulation/runc/runc-0.1.0.ebuild deleted file mode 100644 index dc7f125.. --- a/app-emulation/runc/runc-0.1.0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -inherit eutils multilib - -DESCRIPTION="runc container cli tools" -HOMEPAGE="http://runc.io"; - -GITHUB_URI="github.com/opencontainers/runc" - -if [[ ${PV} == ** ]]; then - EGIT_REPO_URI="git://${GITHUB_URI}.git" - inherit git-r3 -else - SRC_URI="https://${GITHUB_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64" -fi - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="+seccomp" - -DEPEND=">=dev-lang/go-1.4:=" -RDEPEND="seccomp? ( sys-libs/libseccomp )" - -src_compile() { - # Taken from app-emulation/docker-1.7.0-r1 - export CGO_CFLAGS="-I${ROOT}/usr/include" - export CGO_LDFLAGS="-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 seccomp "seccomp") ) - - emake BUILDTAGS="${options[@]}" -} - -src_install() { - dobin runc -}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 6c46e50b00df4d172c161899aba692b1cafa2ef6 Author: Aaron Bauman gentoo org> AuthorDate: Thu Jan 12 11:16:20 2017 + Commit: Aaron Bauman gentoo org> CommitDate: Thu Jan 12 11:16:20 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c46e50b app-emulation/runc: amd64 stable wrt bug #605378 Package-Manager: portage-2.3.0 app-emulation/runc/runc-1.0.0_rc2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-1.0.0_rc2-r2.ebuild b/app-emulation/runc/runc-1.0.0_rc2-r2.ebuild index 4f5cf2f..d00b123 100644 --- a/app-emulation/runc/runc-1.0.0_rc2-r2.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc2-r2.ebuild @@ -12,7 +12,7 @@ else EGIT_COMMIT="v${MY_PV}" RUNC_COMMIT="c91b5be" # Change this when you update the ebuild SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc64" + KEYWORDS="amd64 ~ppc64" inherit golang-vcs-snapshot fi
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: b39d8b73fb08f25c3280f496686b47e81defb616 Author: Manuel Rüger gentoo org> AuthorDate: Wed Jan 11 11:35:42 2017 + Commit: Manuel Rüger gentoo org> CommitDate: Wed Jan 11 11:35:42 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b39d8b73 app-emulation/runc: Remove old Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-emulation/runc/Manifest | 1 - app-emulation/runc/runc-0.1.1.ebuild| 55 app-emulation/runc/runc-1.0.0_rc2-r1.ebuild | 57 - 3 files changed, 113 deletions(-) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 4d3e3e0..988e8c5 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,3 +1,2 @@ DIST runc-0.1.0.tar.gz 496358 SHA256 681d6d89541ae2e06757f999a242a1f97bbcb1ad6e10f4cdee287ec4a9d2bff9 SHA512 8a9ff02b0161eda0a730194b0fbf7ad76e8f379992e74061ef49302da3492fd0c53f06db9153ded4d934d67bbf6f4291d6154254f1b924ef73c97c44cd14ffcf WHIRLPOOL 81f488a4f1e23e8704a9fa8404965b2f12f74a875ba8e67dc15de93f43b075dc538cd0d89c7a1187cb74ac6320317b5985855945fb8bf8f749d6736df47b844a -DIST runc-0.1.1.tar.gz 496416 SHA256 f9955daed1e73e842b2f28a258fba51f4e72a6b4b64cc3fc06415481d55ce000 SHA512 074482636fd2342c490c450d7a379cd14cd6c7b1ec6109cf729c4b451cc8cfb0e6b286d0df8e0cc0dba7b24d63d12bd5978013e08301a785db5e4280c595fdaa WHIRLPOOL f605e70d2bea88b5ba10f6375543824167509630cc3ed839575d5e0d3b05bb07edcac8fcee168aa3ae89adaf0ccf5ab816a201b27022ddcf31fd0218bd59c357 DIST runc-1.0.0_rc2.tar.gz 550449 SHA256 638742c48426b9a3281aeb619e27513d972de228bdbd43b478baea99c186d491 SHA512 83a3d45efbb86d3d583b96062202b9e60121d250af2c0dd37d07fda574b642aa6f05e29cac6644ad3d624647400db694082e280383e41ca9f31dc0a33b87ed76 WHIRLPOOL 990a45739689db80bbeed43b0fd3a4ce4d0563ea833361b9112e750782313f19e638c4bfbd455f5dd1882d64c724dcf0213701322029c2c9f98f624863c744f3 diff --git a/app-emulation/runc/runc-0.1.1.ebuild b/app-emulation/runc/runc-0.1.1.ebuild deleted file mode 100644 index 38f97f1.. --- a/app-emulation/runc/runc-0.1.1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 -EGO_PN="github.com/opencontainers/${PN}" - -if [[ ${PV} == * ]]; then - inherit golang-vcs -else - MY_PV="${PV/_/-}" - EGIT_COMMIT="v${MY_PV}" - SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" - inherit golang-vcs-snapshot -fi - -DESCRIPTION="runc container cli tools" -HOMEPAGE="http://runc.io"; - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="apparmor +seccomp" - -DEPEND="" -RDEPEND=" - apparmor? ( sys-libs/libapparmor ) - seccomp? ( sys-libs/libseccomp ) -" - -S=${WORKDIR}/${P}/src/${EGO_PN} - -src_compile() { - # Taken from app-emulation/docker-1.7.0-r1 - export CGO_CFLAGS="-I${ROOT}/usr/include" - export CGO_LDFLAGS="-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[*]}" -} - -src_install() { - dobin runc -} diff --git a/app-emulation/runc/runc-1.0.0_rc2-r1.ebuild b/app-emulation/runc/runc-1.0.0_rc2-r1.ebuild deleted file mode 100644 index a9fdebe.. --- a/app-emulation/runc/runc-1.0.0_rc2-r1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 -EGO_PN="github.com/opencontainers/${PN}" - -if [[ ${PV} == * ]]; then - inherit golang-vcs -else - MY_PV="${PV/_/-}" - EGIT_COMMIT="v${MY_PV}" - RUNC_COMMIT="c91b5be" # Change this when you update the ebuild - SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc64" - inherit golang-vcs-snapshot -fi - -DESCRIPTION="runc container cli tools" -HOMEPAGE="http://runc.io"; - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="apparmor hardened +seccomp" - -RDEPEND=" - apparmor? ( sys-libs/libapparmor ) - seccomp? ( sys-libs/libseccomp ) -" - -S=${WORKDIR}/${P}/src/${EGO_PN} - -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:
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/files/, app-emulation/runc/
commit: 8bd76a7d71bd8549706fe1bf2ba60a7cbe972fab Author: Manuel Rüger gentoo org> AuthorDate: Wed Jan 11 11:34:13 2017 + Commit: Manuel Rüger gentoo org> CommitDate: Wed Jan 11 11:35:03 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bd76a7d app-emulation/runc: Apply fix for CVE-2016-9962 Package-Manager: Portage-2.3.3, Repoman-2.3.1 .../files/runc-1.0.0_rc2-init-non-dumpable.patch | 108 + app-emulation/runc/runc-1.0.0_rc2-r2.ebuild| 59 +++ 2 files changed, 167 insertions(+) diff --git a/app-emulation/runc/files/runc-1.0.0_rc2-init-non-dumpable.patch b/app-emulation/runc/files/runc-1.0.0_rc2-init-non-dumpable.patch new file mode 100644 index ..486835a --- /dev/null +++ b/app-emulation/runc/files/runc-1.0.0_rc2-init-non-dumpable.patch @@ -0,0 +1,108 @@ +From 50a19c6ff828c58e5dab13830bd3dacde268afe5 Mon Sep 17 00:00:00 2001 +From: Michael Crosby +Date: Wed, 7 Dec 2016 15:05:51 -0800 +Subject: [PATCH] Set init processes as non-dumpable + +This sets the init processes that join and setup the container's +namespaces as non-dumpable before they setns to the container's pid (or +any other ) namespace. + +This settings is automatically reset to the default after the Exec in +the container so that it does not change functionality for the +applications that are running inside, just our init processes. + +This prevents parent processes, the pid 1 of the container, to ptrace +the init process before it drops caps and other sets LSMs. + +This patch also ensures that the stateDirFD being used is still closed +prior to exec, even though it is set as O_CLOEXEC, because of the order +in the kernel. + +https://github.com/torvalds/linux/blob/v4.9/fs/exec.c#L1290-L1318 + +The order during the exec syscall is that the process is set back to +dumpable before O_CLOEXEC are processed. + +Signed-off-by: Michael Crosby +--- + libcontainer/init_linux.go | 3 ++- + libcontainer/nsenter/nsexec.c | 5 + + libcontainer/setns_init_linux.go| 7 ++- + libcontainer/standard_init_linux.go | 3 +++ + 4 files changed, 16 insertions(+), 2 deletions(-) + +diff --git a/libcontainer/init_linux.go b/libcontainer/init_linux.go +index b1e6762..4043d51 100644 +--- a/libcontainer/init_linux.go b/libcontainer/init_linux.go +@@ -77,7 +77,8 @@ func newContainerInit(t initType, pipe *os.File, stateDirFD int) (initer, error) + switch t { + case initSetns: + return &linuxSetnsInit{ +- config: config, ++ config: config, ++ stateDirFD: stateDirFD, + }, nil + case initStandard: + return &linuxStandardInit{ +diff --git a/libcontainer/nsenter/nsexec.c b/libcontainer/nsenter/nsexec.c +index b93f827..4b5398b 100644 +--- a/libcontainer/nsenter/nsexec.c b/libcontainer/nsenter/nsexec.c +@@ -408,6 +408,11 @@ void nsexec(void) + if (pipenum == -1) + return; + ++ /* make the process non-dumpable */ ++ if (prctl(PR_SET_DUMPABLE, 0, 0, 0, 0) != 0) { ++ bail("failed to set process as non-dumpable"); ++ } ++ + /* Parse all of the netlink configuration. */ + nl_parse(pipenum, &config); + +diff --git a/libcontainer/setns_init_linux.go b/libcontainer/setns_init_linux.go +index 2a8f345..7f5f182 100644 +--- a/libcontainer/setns_init_linux.go b/libcontainer/setns_init_linux.go +@@ -5,6 +5,7 @@ package libcontainer + import ( + "fmt" + "os" ++ "syscall" + + "github.com/opencontainers/runc/libcontainer/apparmor" + "github.com/opencontainers/runc/libcontainer/keys" +@@ -16,7 +17,8 @@ import ( + // linuxSetnsInit performs the container's initialization for running a new process + // inside an existing container. + type linuxSetnsInit struct { +- config *initConfig ++ config *initConfig ++ stateDirFD int + } + + func (l *linuxSetnsInit) getSessionRingName() string { +@@ -49,5 +51,8 @@ func (l *linuxSetnsInit) Init() error { + if err := label.SetProcessLabel(l.config.ProcessLabel); err != nil { + return err + } ++ // close the statedir fd before exec because the kernel resets dumpable in the wrong order ++ // https://github.com/torvalds/linux/blob/v4.9/fs/exec.c#L1290-L1318 ++ syscall.Close(l.stateDirFD) + return system.Execv(l.config.Args[0], l.config.Args[0:], os.Environ()) + } +diff --git a/libcontainer/standard_init_linux.go b/libcontainer/standard_init_linux.go +index 2104f1a..6a65154 100644 +--- a/libcontainer/standard_init_linux.go b/libcontainer/standard_init_linux.go +@@ -171,6 +171,9 @@ func (l *linuxStandardInit) Init() error { + return newSystemErrorWithCause(err, "init seccomp") + } + } ++ // close the statedir fd before exec because the kernel resets dumpable in the wrong order ++ // https
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 51f681ebd2c95b657d26fdfb0f3ec59aa383b9da Author: Manuel Rüger gentoo org> AuthorDate: Sun Dec 18 01:03:31 2016 + Commit: Manuel Rüger gentoo org> CommitDate: Sun Dec 18 01:06:31 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51f681eb app-emulation/runc: Add myself as maintainer Package-Manager: portage-2.3.3 app-emulation/runc/metadata.xml | 4 1 file changed, 4 insertions(+) diff --git a/app-emulation/runc/metadata.xml b/app-emulation/runc/metadata.xml index f69f23e..5a682ed 100644 --- a/app-emulation/runc/metadata.xml +++ b/app-emulation/runc/metadata.xml @@ -13,6 +13,10 @@ willi...@gentoo.org William Hubbs + + mr...@gentoo.org + Manuel Rüger + Enable AppArmor support.
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 20b74d2af4c5e129a48457725567547d72d54024 Author: Manuel Rüger gentoo org> AuthorDate: Sun Dec 18 01:04:38 2016 + Commit: Manuel Rüger gentoo org> CommitDate: Sun Dec 18 01:06:34 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20b74d2a app-emulation/runc: Remove old Package-Manager: portage-2.3.3 app-emulation/runc/Manifest | 2 -- app-emulation/runc/runc-0.0.2.ebuild | 49 app-emulation/runc/runc-0.0.5.ebuild | 52 - app-emulation/runc/runc-1.0.0_rc2.ebuild | 56 4 files changed, 159 deletions(-) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 9c0b7dc..4d3e3e0 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,5 +1,3 @@ -DIST runc-0.0.2.tar.gz 370712 SHA256 3d0aa68ebb1622853d0bbed432ebd4b6c9ef210881ac74f3a695b4e914d246dc SHA512 e0a44d5dd8a1b8eaeaf7d466cebc7dc8beaa26f49bd0e76d3a955cef9c5c266d2afe6652f28fa905a408b5b93966f52e345112fa7aef373216561ad7069181c5 WHIRLPOOL e7ed1ee3d159a81fb0b2b0f5fac9a9a66116035babc88f6f266a6c8455953ce372e93351baf7c621c42ab8c5907961fd899b1d158e7f7b1335f83fcef7252c71 -DIST runc-0.0.5.tar.gz 441874 SHA256 e80323412883e4afcfcf8e1b2eaefdcb74632628d02fd7f48618caf78e5e4aa0 SHA512 625d67ec02e23c66a3d1a97113a0c58f3f200404866839556bc3cd5b3e34342230b8091613d17ef4a38d05ca51df586cd7366dc6bddeeddd6b69bb9a2ae7efda WHIRLPOOL 862b08621b67fc57286940ad5e20557d90cfef63aae5be0a90fc6f5b764d032b187ba5ad5dcb1fa99fb5ec59d6217941aa19ca9048637bd02b64e52c8cecdce6 DIST runc-0.1.0.tar.gz 496358 SHA256 681d6d89541ae2e06757f999a242a1f97bbcb1ad6e10f4cdee287ec4a9d2bff9 SHA512 8a9ff02b0161eda0a730194b0fbf7ad76e8f379992e74061ef49302da3492fd0c53f06db9153ded4d934d67bbf6f4291d6154254f1b924ef73c97c44cd14ffcf WHIRLPOOL 81f488a4f1e23e8704a9fa8404965b2f12f74a875ba8e67dc15de93f43b075dc538cd0d89c7a1187cb74ac6320317b5985855945fb8bf8f749d6736df47b844a DIST runc-0.1.1.tar.gz 496416 SHA256 f9955daed1e73e842b2f28a258fba51f4e72a6b4b64cc3fc06415481d55ce000 SHA512 074482636fd2342c490c450d7a379cd14cd6c7b1ec6109cf729c4b451cc8cfb0e6b286d0df8e0cc0dba7b24d63d12bd5978013e08301a785db5e4280c595fdaa WHIRLPOOL f605e70d2bea88b5ba10f6375543824167509630cc3ed839575d5e0d3b05bb07edcac8fcee168aa3ae89adaf0ccf5ab816a201b27022ddcf31fd0218bd59c357 DIST runc-1.0.0_rc2.tar.gz 550449 SHA256 638742c48426b9a3281aeb619e27513d972de228bdbd43b478baea99c186d491 SHA512 83a3d45efbb86d3d583b96062202b9e60121d250af2c0dd37d07fda574b642aa6f05e29cac6644ad3d624647400db694082e280383e41ca9f31dc0a33b87ed76 WHIRLPOOL 990a45739689db80bbeed43b0fd3a4ce4d0563ea833361b9112e750782313f19e638c4bfbd455f5dd1882d64c724dcf0213701322029c2c9f98f624863c744f3 diff --git a/app-emulation/runc/runc-0.0.2.ebuild b/app-emulation/runc/runc-0.0.2.ebuild deleted file mode 100644 index f5bb49f.. --- a/app-emulation/runc/runc-0.0.2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -DESCRIPTION="runc container cli tools" -HOMEPAGE="http://runc.io"; - -GITHUB_URI="github.com/opencontainers/runc" - -if [[ ${PV} == ** ]]; then - EGIT_REPO_URI="git://${GITHUB_URI}.git" - inherit git-r3 -else - SRC_URI="https://${GITHUB_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -inherit multilib - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="" - -DEPEND=">=dev-lang/go-1.4:=" -RDEPEND="" - -src_prepare() { - epatch_user -} - -src_compile() { - # Taken from app-emulation/docker-1.7.0-r1 - export CGO_CFLAGS="-I${ROOT}/usr/include" - export CGO_LDFLAGS="-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" - - make -} - -src_install() { - dobin runc -} diff --git a/app-emulation/runc/runc-0.0.5.ebuild b/app-emulation/runc/runc-0.0.5.ebuild deleted file mode 100644 index 5cd3836.. --- a/app-emulation/runc/runc-0.0.5.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils multilib - -DESCRIPTION="runc container cli tools" -HOMEPAGE="http://runc.io"; - -GITHUB_URI="github.com/opencontainers/runc" - -if [[ ${PV} == ** ]]; then - EGIT_REPO_URI="git://${GITHUB_URI}.git" - inherit git-r3 -else - SRC_URI="https://${GITHUB_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="+seccomp" - -DEPEND=">=dev-lang/go-1.4:=" -RDEPEND="seccomp? ( sys-libs/libseccomp )" - -src_prepare() { - epatch_user -} - -src_compile() { - # Taken from app-emulation/docker-1
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: c884a9f6edaf89c4096258468fa2dfe3fe471bcc Author: William Hubbs gentoo org> AuthorDate: Sat Nov 26 05:45:18 2016 + Commit: William Hubbs gentoo org> CommitDate: Sat Nov 26 05:45:18 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c884a9f6 app-emulation/runc: add myself as a maintainer Package-Manager: portage-2.3.0 app-emulation/runc/metadata.xml | 4 1 file changed, 4 insertions(+) diff --git a/app-emulation/runc/metadata.xml b/app-emulation/runc/metadata.xml index 5dc82f3..f69f23e 100644 --- a/app-emulation/runc/metadata.xml +++ b/app-emulation/runc/metadata.xml @@ -9,6 +9,10 @@ car...@gentoo.org Doug Goldstein + + willi...@gentoo.org + William Hubbs + Enable AppArmor support.
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: beea75c4951aa78427db7289cfa858a6fe20cd35 Author: William Hubbs gentoo org> AuthorDate: Sat Nov 19 21:37:00 2016 + Commit: William Hubbs gentoo org> CommitDate: Sat Nov 19 21:37:00 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=beea75c4 Revert "app-emulation/runc: remove unstable versions" This reverts commit 9cd25c21392af7f1e5d127acddb3dab73e5a4227. We need these until I look at containerd app-emulation/runc/Manifest | 3 ++ app-emulation/runc/runc-0.0.2.ebuild | 49 app-emulation/runc/runc-0.0.5.ebuild | 52 ++ app-emulation/runc/runc-0.1.1.ebuild | 55 4 files changed, 159 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 988e8c5..9c0b7dc 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,2 +1,5 @@ +DIST runc-0.0.2.tar.gz 370712 SHA256 3d0aa68ebb1622853d0bbed432ebd4b6c9ef210881ac74f3a695b4e914d246dc SHA512 e0a44d5dd8a1b8eaeaf7d466cebc7dc8beaa26f49bd0e76d3a955cef9c5c266d2afe6652f28fa905a408b5b93966f52e345112fa7aef373216561ad7069181c5 WHIRLPOOL e7ed1ee3d159a81fb0b2b0f5fac9a9a66116035babc88f6f266a6c8455953ce372e93351baf7c621c42ab8c5907961fd899b1d158e7f7b1335f83fcef7252c71 +DIST runc-0.0.5.tar.gz 441874 SHA256 e80323412883e4afcfcf8e1b2eaefdcb74632628d02fd7f48618caf78e5e4aa0 SHA512 625d67ec02e23c66a3d1a97113a0c58f3f200404866839556bc3cd5b3e34342230b8091613d17ef4a38d05ca51df586cd7366dc6bddeeddd6b69bb9a2ae7efda WHIRLPOOL 862b08621b67fc57286940ad5e20557d90cfef63aae5be0a90fc6f5b764d032b187ba5ad5dcb1fa99fb5ec59d6217941aa19ca9048637bd02b64e52c8cecdce6 DIST runc-0.1.0.tar.gz 496358 SHA256 681d6d89541ae2e06757f999a242a1f97bbcb1ad6e10f4cdee287ec4a9d2bff9 SHA512 8a9ff02b0161eda0a730194b0fbf7ad76e8f379992e74061ef49302da3492fd0c53f06db9153ded4d934d67bbf6f4291d6154254f1b924ef73c97c44cd14ffcf WHIRLPOOL 81f488a4f1e23e8704a9fa8404965b2f12f74a875ba8e67dc15de93f43b075dc538cd0d89c7a1187cb74ac6320317b5985855945fb8bf8f749d6736df47b844a +DIST runc-0.1.1.tar.gz 496416 SHA256 f9955daed1e73e842b2f28a258fba51f4e72a6b4b64cc3fc06415481d55ce000 SHA512 074482636fd2342c490c450d7a379cd14cd6c7b1ec6109cf729c4b451cc8cfb0e6b286d0df8e0cc0dba7b24d63d12bd5978013e08301a785db5e4280c595fdaa WHIRLPOOL f605e70d2bea88b5ba10f6375543824167509630cc3ed839575d5e0d3b05bb07edcac8fcee168aa3ae89adaf0ccf5ab816a201b27022ddcf31fd0218bd59c357 DIST runc-1.0.0_rc2.tar.gz 550449 SHA256 638742c48426b9a3281aeb619e27513d972de228bdbd43b478baea99c186d491 SHA512 83a3d45efbb86d3d583b96062202b9e60121d250af2c0dd37d07fda574b642aa6f05e29cac6644ad3d624647400db694082e280383e41ca9f31dc0a33b87ed76 WHIRLPOOL 990a45739689db80bbeed43b0fd3a4ce4d0563ea833361b9112e750782313f19e638c4bfbd455f5dd1882d64c724dcf0213701322029c2c9f98f624863c744f3 diff --git a/app-emulation/runc/runc-0.0.2.ebuild b/app-emulation/runc/runc-0.0.2.ebuild new file mode 100644 index ..f5bb49f --- /dev/null +++ b/app-emulation/runc/runc-0.0.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; + +GITHUB_URI="github.com/opencontainers/runc" + +if [[ ${PV} == ** ]]; then + EGIT_REPO_URI="git://${GITHUB_URI}.git" + inherit git-r3 +else + SRC_URI="https://${GITHUB_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +inherit multilib + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +DEPEND=">=dev-lang/go-1.4:=" +RDEPEND="" + +src_prepare() { + epatch_user +} + +src_compile() { + # Taken from app-emulation/docker-1.7.0-r1 + export CGO_CFLAGS="-I${ROOT}/usr/include" + export CGO_LDFLAGS="-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" + + make +} + +src_install() { + dobin runc +} diff --git a/app-emulation/runc/runc-0.0.5.ebuild b/app-emulation/runc/runc-0.0.5.ebuild new file mode 100644 index ..5cd3836 --- /dev/null +++ b/app-emulation/runc/runc-0.0.5.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; + +GITHUB_URI="github.com/opencontainers/runc" + +if [[ ${PV} == ** ]]; then + EGIT_REPO_URI="git://${GITHUB_URI}.git" + inherit git-r3 +else + SRC_URI="https://${GITHUB_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="+seccomp" + +DEPEND=">=dev-lang/go-1.4:=" +RDEPEND="seccomp? ( sys-libs/libseccomp )" + +src_prepare()
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 9cd25c21392af7f1e5d127acddb3dab73e5a4227 Author: William Hubbs gentoo org> AuthorDate: Sat Nov 19 19:48:17 2016 + Commit: William Hubbs gentoo org> CommitDate: Sat Nov 19 19:48:44 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cd25c21 app-emulation/runc: remove unstable versions Package-Manager: portage-2.3.0 app-emulation/runc/Manifest | 3 -- app-emulation/runc/runc-0.0.2.ebuild | 49 app-emulation/runc/runc-0.0.5.ebuild | 52 -- app-emulation/runc/runc-0.1.1.ebuild | 55 4 files changed, 159 deletions(-) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 9c0b7dc..988e8c5 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,5 +1,2 @@ -DIST runc-0.0.2.tar.gz 370712 SHA256 3d0aa68ebb1622853d0bbed432ebd4b6c9ef210881ac74f3a695b4e914d246dc SHA512 e0a44d5dd8a1b8eaeaf7d466cebc7dc8beaa26f49bd0e76d3a955cef9c5c266d2afe6652f28fa905a408b5b93966f52e345112fa7aef373216561ad7069181c5 WHIRLPOOL e7ed1ee3d159a81fb0b2b0f5fac9a9a66116035babc88f6f266a6c8455953ce372e93351baf7c621c42ab8c5907961fd899b1d158e7f7b1335f83fcef7252c71 -DIST runc-0.0.5.tar.gz 441874 SHA256 e80323412883e4afcfcf8e1b2eaefdcb74632628d02fd7f48618caf78e5e4aa0 SHA512 625d67ec02e23c66a3d1a97113a0c58f3f200404866839556bc3cd5b3e34342230b8091613d17ef4a38d05ca51df586cd7366dc6bddeeddd6b69bb9a2ae7efda WHIRLPOOL 862b08621b67fc57286940ad5e20557d90cfef63aae5be0a90fc6f5b764d032b187ba5ad5dcb1fa99fb5ec59d6217941aa19ca9048637bd02b64e52c8cecdce6 DIST runc-0.1.0.tar.gz 496358 SHA256 681d6d89541ae2e06757f999a242a1f97bbcb1ad6e10f4cdee287ec4a9d2bff9 SHA512 8a9ff02b0161eda0a730194b0fbf7ad76e8f379992e74061ef49302da3492fd0c53f06db9153ded4d934d67bbf6f4291d6154254f1b924ef73c97c44cd14ffcf WHIRLPOOL 81f488a4f1e23e8704a9fa8404965b2f12f74a875ba8e67dc15de93f43b075dc538cd0d89c7a1187cb74ac6320317b5985855945fb8bf8f749d6736df47b844a -DIST runc-0.1.1.tar.gz 496416 SHA256 f9955daed1e73e842b2f28a258fba51f4e72a6b4b64cc3fc06415481d55ce000 SHA512 074482636fd2342c490c450d7a379cd14cd6c7b1ec6109cf729c4b451cc8cfb0e6b286d0df8e0cc0dba7b24d63d12bd5978013e08301a785db5e4280c595fdaa WHIRLPOOL f605e70d2bea88b5ba10f6375543824167509630cc3ed839575d5e0d3b05bb07edcac8fcee168aa3ae89adaf0ccf5ab816a201b27022ddcf31fd0218bd59c357 DIST runc-1.0.0_rc2.tar.gz 550449 SHA256 638742c48426b9a3281aeb619e27513d972de228bdbd43b478baea99c186d491 SHA512 83a3d45efbb86d3d583b96062202b9e60121d250af2c0dd37d07fda574b642aa6f05e29cac6644ad3d624647400db694082e280383e41ca9f31dc0a33b87ed76 WHIRLPOOL 990a45739689db80bbeed43b0fd3a4ce4d0563ea833361b9112e750782313f19e638c4bfbd455f5dd1882d64c724dcf0213701322029c2c9f98f624863c744f3 diff --git a/app-emulation/runc/runc-0.0.2.ebuild b/app-emulation/runc/runc-0.0.2.ebuild deleted file mode 100644 index f5bb49f.. --- a/app-emulation/runc/runc-0.0.2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -DESCRIPTION="runc container cli tools" -HOMEPAGE="http://runc.io"; - -GITHUB_URI="github.com/opencontainers/runc" - -if [[ ${PV} == ** ]]; then - EGIT_REPO_URI="git://${GITHUB_URI}.git" - inherit git-r3 -else - SRC_URI="https://${GITHUB_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -inherit multilib - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="" - -DEPEND=">=dev-lang/go-1.4:=" -RDEPEND="" - -src_prepare() { - epatch_user -} - -src_compile() { - # Taken from app-emulation/docker-1.7.0-r1 - export CGO_CFLAGS="-I${ROOT}/usr/include" - export CGO_LDFLAGS="-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" - - make -} - -src_install() { - dobin runc -} diff --git a/app-emulation/runc/runc-0.0.5.ebuild b/app-emulation/runc/runc-0.0.5.ebuild deleted file mode 100644 index 5cd3836.. --- a/app-emulation/runc/runc-0.0.5.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils multilib - -DESCRIPTION="runc container cli tools" -HOMEPAGE="http://runc.io"; - -GITHUB_URI="github.com/opencontainers/runc" - -if [[ ${PV} == ** ]]; then - EGIT_REPO_URI="git://${GITHUB_URI}.git" - inherit git-r3 -else - SRC_URI="https://${GITHUB_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="+seccomp" - -DEPEND=">=dev-lang/go-1.4:=" -RDEPEND="seccomp? ( sys-libs/libseccomp )" - -src_prepare() { - epatch_user -} - -src_compile() { - # Taken from app-emula
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 29bfd92e85389870daafed52c1d3fdb0919a6a41 Author: William Hubbs gentoo org> AuthorDate: Fri Nov 18 17:35:20 2016 + Commit: William Hubbs gentoo org> CommitDate: Fri Nov 18 17:35:39 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29bfd92e app-emulation/runc: 1.0.0_rc2-r1 revbump to add commit to version output Package-Manager: portage-2.3.0 app-emulation/runc/runc-1.0.0_rc2-r1.ebuild | 57 + 1 file changed, 57 insertions(+) diff --git a/app-emulation/runc/runc-1.0.0_rc2-r1.ebuild b/app-emulation/runc/runc-1.0.0_rc2-r1.ebuild new file mode 100644 index ..a9fdebe --- /dev/null +++ b/app-emulation/runc/runc-1.0.0_rc2-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +EGO_PN="github.com/opencontainers/${PN}" + +if [[ ${PV} == * ]]; then + inherit golang-vcs +else + MY_PV="${PV/_/-}" + EGIT_COMMIT="v${MY_PV}" + RUNC_COMMIT="c91b5be" # Change this when you update the ebuild + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~ppc64" + inherit golang-vcs-snapshot +fi + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="apparmor hardened +seccomp" + +RDEPEND=" + apparmor? ( sys-libs/libapparmor ) + seccomp? ( sys-libs/libseccomp ) +" + +S=${WORKDIR}/${P}/src/${EGO_PN} + +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 +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 3766a80791217dd04646e4c4a4f8da0c43546e26 Author: William Hubbs gentoo org> AuthorDate: Wed Nov 9 19:23:38 2016 + Commit: William Hubbs gentoo org> CommitDate: Wed Nov 9 19:25:27 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3766a807 app-emulation/runc: 1.0.0_rc2 Add hardened support Package-Manager: portage-2.3.0 app-emulation/runc/runc-1.0.0_rc2.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app-emulation/runc/runc-1.0.0_rc2.ebuild b/app-emulation/runc/runc-1.0.0_rc2.ebuild index 0844ed4..da27cda 100644 --- a/app-emulation/runc/runc-1.0.0_rc2.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc2.ebuild @@ -20,7 +20,7 @@ HOMEPAGE="http://runc.io"; LICENSE="Apache-2.0" SLOT="0" -IUSE="apparmor +seccomp" +IUSE="apparmor hardened +seccomp" DEPEND="" RDEPEND=" @@ -33,7 +33,8 @@ S=${WORKDIR}/${P}/src/${EGO_PN} src_compile() { # Taken from app-emulation/docker-1.7.0-r1 export CGO_CFLAGS="-I${ROOT}/usr/include" - export CGO_LDFLAGS="-L${ROOT}/usr/$(get_libdir)" + export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '') + -L${ROOT}/usr/$(get_libdir)" # Setup GOPATH so things build rm -rf .gopath
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 0829c3abba0f6496a53a35ce0a0083e212ba4b17 Author: William Hubbs gentoo org> AuthorDate: Wed Nov 9 18:26:04 2016 + Commit: William Hubbs gentoo org> CommitDate: Wed Nov 9 18:36:44 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0829c3ab app-emulation/runc: remove old release candidate Package-Manager: portage-2.3.0 app-emulation/runc/Manifest | 1 - app-emulation/runc/runc-1.0.0_rc1.ebuild | 55 2 files changed, 56 deletions(-) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 2a19b10..9c0b7dc 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -2,5 +2,4 @@ DIST runc-0.0.2.tar.gz 370712 SHA256 3d0aa68ebb1622853d0bbed432ebd4b6c9ef210881a DIST runc-0.0.5.tar.gz 441874 SHA256 e80323412883e4afcfcf8e1b2eaefdcb74632628d02fd7f48618caf78e5e4aa0 SHA512 625d67ec02e23c66a3d1a97113a0c58f3f200404866839556bc3cd5b3e34342230b8091613d17ef4a38d05ca51df586cd7366dc6bddeeddd6b69bb9a2ae7efda WHIRLPOOL 862b08621b67fc57286940ad5e20557d90cfef63aae5be0a90fc6f5b764d032b187ba5ad5dcb1fa99fb5ec59d6217941aa19ca9048637bd02b64e52c8cecdce6 DIST runc-0.1.0.tar.gz 496358 SHA256 681d6d89541ae2e06757f999a242a1f97bbcb1ad6e10f4cdee287ec4a9d2bff9 SHA512 8a9ff02b0161eda0a730194b0fbf7ad76e8f379992e74061ef49302da3492fd0c53f06db9153ded4d934d67bbf6f4291d6154254f1b924ef73c97c44cd14ffcf WHIRLPOOL 81f488a4f1e23e8704a9fa8404965b2f12f74a875ba8e67dc15de93f43b075dc538cd0d89c7a1187cb74ac6320317b5985855945fb8bf8f749d6736df47b844a DIST runc-0.1.1.tar.gz 496416 SHA256 f9955daed1e73e842b2f28a258fba51f4e72a6b4b64cc3fc06415481d55ce000 SHA512 074482636fd2342c490c450d7a379cd14cd6c7b1ec6109cf729c4b451cc8cfb0e6b286d0df8e0cc0dba7b24d63d12bd5978013e08301a785db5e4280c595fdaa WHIRLPOOL f605e70d2bea88b5ba10f6375543824167509630cc3ed839575d5e0d3b05bb07edcac8fcee168aa3ae89adaf0ccf5ab816a201b27022ddcf31fd0218bd59c357 -DIST runc-1.0.0_rc1.tar.gz 532162 SHA256 77f9d4df1657fecc939be0261fcd34d5b22c02b8a49abad23fac33b4059a SHA512 88210bd7c2114f08f24bdf71e2d1b449b422edc7f6be069079d5e25bae909b3c3de069159185bb543181575bfe281b08d2430d2470430d84fb8f7e832b0f0a6e WHIRLPOOL 0b027a7b1d52c8d2d399252ecf3ec931e51c5e42fed9d20e846c61c240de4554f9fcd2d0fb7e132a561ff9fab63b66b24bede0d2d000d1ec08cddecba267902d DIST runc-1.0.0_rc2.tar.gz 550449 SHA256 638742c48426b9a3281aeb619e27513d972de228bdbd43b478baea99c186d491 SHA512 83a3d45efbb86d3d583b96062202b9e60121d250af2c0dd37d07fda574b642aa6f05e29cac6644ad3d624647400db694082e280383e41ca9f31dc0a33b87ed76 WHIRLPOOL 990a45739689db80bbeed43b0fd3a4ce4d0563ea833361b9112e750782313f19e638c4bfbd455f5dd1882d64c724dcf0213701322029c2c9f98f624863c744f3 diff --git a/app-emulation/runc/runc-1.0.0_rc1.ebuild b/app-emulation/runc/runc-1.0.0_rc1.ebuild deleted file mode 100644 index 0844ed4.. --- a/app-emulation/runc/runc-1.0.0_rc1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 -EGO_PN="github.com/opencontainers/${PN}" - -if [[ ${PV} == * ]]; then - inherit golang-vcs -else - MY_PV="${PV/_/-}" - EGIT_COMMIT="v${MY_PV}" - SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc64" - inherit golang-vcs-snapshot -fi - -DESCRIPTION="runc container cli tools" -HOMEPAGE="http://runc.io"; - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="apparmor +seccomp" - -DEPEND="" -RDEPEND=" - apparmor? ( sys-libs/libapparmor ) - seccomp? ( sys-libs/libseccomp ) -" - -S=${WORKDIR}/${P}/src/${EGO_PN} - -src_compile() { - # Taken from app-emulation/docker-1.7.0-r1 - export CGO_CFLAGS="-I${ROOT}/usr/include" - export CGO_LDFLAGS="-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[*]}" -} - -src_install() { - dobin runc -}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 1cf4a3a9cfdf248822b8ffa730737523745c7f96 Author: William Hubbs gentoo org> AuthorDate: Tue Oct 4 22:55:51 2016 + Commit: William Hubbs gentoo org> CommitDate: Tue Oct 4 23:03:52 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cf4a3a9 app-emulation/runc: 1.0.0_rc2 version bump Package-Manager: portage-2.3.0 app-emulation/runc/Manifest | 1 + app-emulation/runc/runc-1.0.0_rc2.ebuild | 55 2 files changed, 56 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 5a88d7d..2a19b10 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -3,3 +3,4 @@ DIST runc-0.0.5.tar.gz 441874 SHA256 e80323412883e4afcfcf8e1b2eaefdcb74632628d02 DIST runc-0.1.0.tar.gz 496358 SHA256 681d6d89541ae2e06757f999a242a1f97bbcb1ad6e10f4cdee287ec4a9d2bff9 SHA512 8a9ff02b0161eda0a730194b0fbf7ad76e8f379992e74061ef49302da3492fd0c53f06db9153ded4d934d67bbf6f4291d6154254f1b924ef73c97c44cd14ffcf WHIRLPOOL 81f488a4f1e23e8704a9fa8404965b2f12f74a875ba8e67dc15de93f43b075dc538cd0d89c7a1187cb74ac6320317b5985855945fb8bf8f749d6736df47b844a DIST runc-0.1.1.tar.gz 496416 SHA256 f9955daed1e73e842b2f28a258fba51f4e72a6b4b64cc3fc06415481d55ce000 SHA512 074482636fd2342c490c450d7a379cd14cd6c7b1ec6109cf729c4b451cc8cfb0e6b286d0df8e0cc0dba7b24d63d12bd5978013e08301a785db5e4280c595fdaa WHIRLPOOL f605e70d2bea88b5ba10f6375543824167509630cc3ed839575d5e0d3b05bb07edcac8fcee168aa3ae89adaf0ccf5ab816a201b27022ddcf31fd0218bd59c357 DIST runc-1.0.0_rc1.tar.gz 532162 SHA256 77f9d4df1657fecc939be0261fcd34d5b22c02b8a49abad23fac33b4059a SHA512 88210bd7c2114f08f24bdf71e2d1b449b422edc7f6be069079d5e25bae909b3c3de069159185bb543181575bfe281b08d2430d2470430d84fb8f7e832b0f0a6e WHIRLPOOL 0b027a7b1d52c8d2d399252ecf3ec931e51c5e42fed9d20e846c61c240de4554f9fcd2d0fb7e132a561ff9fab63b66b24bede0d2d000d1ec08cddecba267902d +DIST runc-1.0.0_rc2.tar.gz 550449 SHA256 638742c48426b9a3281aeb619e27513d972de228bdbd43b478baea99c186d491 SHA512 83a3d45efbb86d3d583b96062202b9e60121d250af2c0dd37d07fda574b642aa6f05e29cac6644ad3d624647400db694082e280383e41ca9f31dc0a33b87ed76 WHIRLPOOL 990a45739689db80bbeed43b0fd3a4ce4d0563ea833361b9112e750782313f19e638c4bfbd455f5dd1882d64c724dcf0213701322029c2c9f98f624863c744f3 diff --git a/app-emulation/runc/runc-1.0.0_rc2.ebuild b/app-emulation/runc/runc-1.0.0_rc2.ebuild new file mode 100644 index ..0844ed4 --- /dev/null +++ b/app-emulation/runc/runc-1.0.0_rc2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +EGO_PN="github.com/opencontainers/${PN}" + +if [[ ${PV} == * ]]; then + inherit golang-vcs +else + MY_PV="${PV/_/-}" + EGIT_COMMIT="v${MY_PV}" + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~ppc64" + inherit golang-vcs-snapshot +fi + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="apparmor +seccomp" + +DEPEND="" +RDEPEND=" + apparmor? ( sys-libs/libapparmor ) + seccomp? ( sys-libs/libseccomp ) +" + +S=${WORKDIR}/${P}/src/${EGO_PN} + +src_compile() { + # Taken from app-emulation/docker-1.7.0-r1 + export CGO_CFLAGS="-I${ROOT}/usr/include" + export CGO_LDFLAGS="-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[*]}" +} + +src_install() { + dobin runc +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: b65c5ac42ae5f446d281d652408920b4e7ab90d5 Author: Anthony G. Basile gentoo org> AuthorDate: Mon Jul 11 19:51:00 2016 + Commit: Anthony G. Basile gentoo org> CommitDate: Mon Jul 11 19:51:00 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b65c5ac4 app-emulation/runc: keyword ~ppc64 Package-Manager: portage-2.2.28 app-emulation/runc/runc-1.0.0_rc1.ebuild | 2 +- app-emulation/runc/runc-.ebuild | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app-emulation/runc/runc-1.0.0_rc1.ebuild b/app-emulation/runc/runc-1.0.0_rc1.ebuild index 38f97f1..0844ed4 100644 --- a/app-emulation/runc/runc-1.0.0_rc1.ebuild +++ b/app-emulation/runc/runc-1.0.0_rc1.ebuild @@ -11,7 +11,7 @@ else MY_PV="${PV/_/-}" EGIT_COMMIT="v${MY_PV}" SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~ppc64" inherit golang-vcs-snapshot fi diff --git a/app-emulation/runc/runc-.ebuild b/app-emulation/runc/runc-.ebuild index ac34b8e..a57511f 100644 --- a/app-emulation/runc/runc-.ebuild +++ b/app-emulation/runc/runc-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -16,7 +16,7 @@ if [[ ${PV} == ** ]]; then inherit git-r3 else SRC_URI="https://${GITHUB_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~ppc64" fi LICENSE="Apache-2.0"
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 9a6c8d2eee29f1171f450bf3b254eab7f8686c0b Author: William Hubbs gentoo org> AuthorDate: Thu Jun 23 18:26:57 2016 + Commit: William Hubbs gentoo org> CommitDate: Thu Jun 23 19:33:14 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a6c8d2e app-emulation/runc: Add 0.1.1 to the tree for containerd-0.2.2 Package-Manager: portage-2.2.28 app-emulation/runc/Manifest | 1 + app-emulation/runc/runc-0.1.1.ebuild | 55 2 files changed, 56 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index b912f10..5a88d7d 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,4 +1,5 @@ DIST runc-0.0.2.tar.gz 370712 SHA256 3d0aa68ebb1622853d0bbed432ebd4b6c9ef210881ac74f3a695b4e914d246dc SHA512 e0a44d5dd8a1b8eaeaf7d466cebc7dc8beaa26f49bd0e76d3a955cef9c5c266d2afe6652f28fa905a408b5b93966f52e345112fa7aef373216561ad7069181c5 WHIRLPOOL e7ed1ee3d159a81fb0b2b0f5fac9a9a66116035babc88f6f266a6c8455953ce372e93351baf7c621c42ab8c5907961fd899b1d158e7f7b1335f83fcef7252c71 DIST runc-0.0.5.tar.gz 441874 SHA256 e80323412883e4afcfcf8e1b2eaefdcb74632628d02fd7f48618caf78e5e4aa0 SHA512 625d67ec02e23c66a3d1a97113a0c58f3f200404866839556bc3cd5b3e34342230b8091613d17ef4a38d05ca51df586cd7366dc6bddeeddd6b69bb9a2ae7efda WHIRLPOOL 862b08621b67fc57286940ad5e20557d90cfef63aae5be0a90fc6f5b764d032b187ba5ad5dcb1fa99fb5ec59d6217941aa19ca9048637bd02b64e52c8cecdce6 DIST runc-0.1.0.tar.gz 496358 SHA256 681d6d89541ae2e06757f999a242a1f97bbcb1ad6e10f4cdee287ec4a9d2bff9 SHA512 8a9ff02b0161eda0a730194b0fbf7ad76e8f379992e74061ef49302da3492fd0c53f06db9153ded4d934d67bbf6f4291d6154254f1b924ef73c97c44cd14ffcf WHIRLPOOL 81f488a4f1e23e8704a9fa8404965b2f12f74a875ba8e67dc15de93f43b075dc538cd0d89c7a1187cb74ac6320317b5985855945fb8bf8f749d6736df47b844a +DIST runc-0.1.1.tar.gz 496416 SHA256 f9955daed1e73e842b2f28a258fba51f4e72a6b4b64cc3fc06415481d55ce000 SHA512 074482636fd2342c490c450d7a379cd14cd6c7b1ec6109cf729c4b451cc8cfb0e6b286d0df8e0cc0dba7b24d63d12bd5978013e08301a785db5e4280c595fdaa WHIRLPOOL f605e70d2bea88b5ba10f6375543824167509630cc3ed839575d5e0d3b05bb07edcac8fcee168aa3ae89adaf0ccf5ab816a201b27022ddcf31fd0218bd59c357 DIST runc-1.0.0_rc1.tar.gz 532162 SHA256 77f9d4df1657fecc939be0261fcd34d5b22c02b8a49abad23fac33b4059a SHA512 88210bd7c2114f08f24bdf71e2d1b449b422edc7f6be069079d5e25bae909b3c3de069159185bb543181575bfe281b08d2430d2470430d84fb8f7e832b0f0a6e WHIRLPOOL 0b027a7b1d52c8d2d399252ecf3ec931e51c5e42fed9d20e846c61c240de4554f9fcd2d0fb7e132a561ff9fab63b66b24bede0d2d000d1ec08cddecba267902d diff --git a/app-emulation/runc/runc-0.1.1.ebuild b/app-emulation/runc/runc-0.1.1.ebuild new file mode 100644 index 000..38f97f1 --- /dev/null +++ b/app-emulation/runc/runc-0.1.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +EGO_PN="github.com/opencontainers/${PN}" + +if [[ ${PV} == * ]]; then + inherit golang-vcs +else + MY_PV="${PV/_/-}" + EGIT_COMMIT="v${MY_PV}" + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + inherit golang-vcs-snapshot +fi + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="apparmor +seccomp" + +DEPEND="" +RDEPEND=" + apparmor? ( sys-libs/libapparmor ) + seccomp? ( sys-libs/libseccomp ) +" + +S=${WORKDIR}/${P}/src/${EGO_PN} + +src_compile() { + # Taken from app-emulation/docker-1.7.0-r1 + export CGO_CFLAGS="-I${ROOT}/usr/include" + export CGO_LDFLAGS="-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[*]}" +} + +src_install() { + dobin runc +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: d349ec10adde03c9c8466d807dc169901ae26ed9 Author: William Hubbs gentoo org> AuthorDate: Mon Jun 20 15:56:02 2016 + Commit: William Hubbs gentoo org> CommitDate: Mon Jun 20 15:59:37 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d349ec10 app-emulation/runc: version bump to 1.0.0_rc1 Package-Manager: portage-2.2.28 app-emulation/runc/Manifest | 1 + app-emulation/runc/metadata.xml | 5 +++ app-emulation/runc/runc-1.0.0_rc1.ebuild | 55 3 files changed, 61 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 5dc68ef..b912f10 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,3 +1,4 @@ DIST runc-0.0.2.tar.gz 370712 SHA256 3d0aa68ebb1622853d0bbed432ebd4b6c9ef210881ac74f3a695b4e914d246dc SHA512 e0a44d5dd8a1b8eaeaf7d466cebc7dc8beaa26f49bd0e76d3a955cef9c5c266d2afe6652f28fa905a408b5b93966f52e345112fa7aef373216561ad7069181c5 WHIRLPOOL e7ed1ee3d159a81fb0b2b0f5fac9a9a66116035babc88f6f266a6c8455953ce372e93351baf7c621c42ab8c5907961fd899b1d158e7f7b1335f83fcef7252c71 DIST runc-0.0.5.tar.gz 441874 SHA256 e80323412883e4afcfcf8e1b2eaefdcb74632628d02fd7f48618caf78e5e4aa0 SHA512 625d67ec02e23c66a3d1a97113a0c58f3f200404866839556bc3cd5b3e34342230b8091613d17ef4a38d05ca51df586cd7366dc6bddeeddd6b69bb9a2ae7efda WHIRLPOOL 862b08621b67fc57286940ad5e20557d90cfef63aae5be0a90fc6f5b764d032b187ba5ad5dcb1fa99fb5ec59d6217941aa19ca9048637bd02b64e52c8cecdce6 DIST runc-0.1.0.tar.gz 496358 SHA256 681d6d89541ae2e06757f999a242a1f97bbcb1ad6e10f4cdee287ec4a9d2bff9 SHA512 8a9ff02b0161eda0a730194b0fbf7ad76e8f379992e74061ef49302da3492fd0c53f06db9153ded4d934d67bbf6f4291d6154254f1b924ef73c97c44cd14ffcf WHIRLPOOL 81f488a4f1e23e8704a9fa8404965b2f12f74a875ba8e67dc15de93f43b075dc538cd0d89c7a1187cb74ac6320317b5985855945fb8bf8f749d6736df47b844a +DIST runc-1.0.0_rc1.tar.gz 532162 SHA256 77f9d4df1657fecc939be0261fcd34d5b22c02b8a49abad23fac33b4059a SHA512 88210bd7c2114f08f24bdf71e2d1b449b422edc7f6be069079d5e25bae909b3c3de069159185bb543181575bfe281b08d2430d2470430d84fb8f7e832b0f0a6e WHIRLPOOL 0b027a7b1d52c8d2d399252ecf3ec931e51c5e42fed9d20e846c61c240de4554f9fcd2d0fb7e132a561ff9fab63b66b24bede0d2d000d1ec08cddecba267902d diff --git a/app-emulation/runc/metadata.xml b/app-emulation/runc/metadata.xml index 826b17b..5dc82f3 100644 --- a/app-emulation/runc/metadata.xml +++ b/app-emulation/runc/metadata.xml @@ -9,6 +9,11 @@ car...@gentoo.org Doug Goldstein + + + Enable AppArmor support. + + opencontainers/runc diff --git a/app-emulation/runc/runc-1.0.0_rc1.ebuild b/app-emulation/runc/runc-1.0.0_rc1.ebuild new file mode 100644 index 000..38f97f1 --- /dev/null +++ b/app-emulation/runc/runc-1.0.0_rc1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +EGO_PN="github.com/opencontainers/${PN}" + +if [[ ${PV} == * ]]; then + inherit golang-vcs +else + MY_PV="${PV/_/-}" + EGIT_COMMIT="v${MY_PV}" + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + inherit golang-vcs-snapshot +fi + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="apparmor +seccomp" + +DEPEND="" +RDEPEND=" + apparmor? ( sys-libs/libapparmor ) + seccomp? ( sys-libs/libseccomp ) +" + +S=${WORKDIR}/${P}/src/${EGO_PN} + +src_compile() { + # Taken from app-emulation/docker-1.7.0-r1 + export CGO_CFLAGS="-I${ROOT}/usr/include" + export CGO_LDFLAGS="-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[*]}" +} + +src_install() { + dobin runc +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: bacd778c47a76852bf47a1fc1690fc6f2fb206d1 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Apr 27 08:24:03 2016 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Apr 27 08:24:03 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bacd778c app-emulation/runc: amd64 stable wrt bug #581236 Package-Manager: portage-2.2.26 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> app-emulation/runc/runc-0.1.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/runc/runc-0.1.0.ebuild b/app-emulation/runc/runc-0.1.0.ebuild index ac34b8e..dc7f125 100644 --- a/app-emulation/runc/runc-0.1.0.ebuild +++ b/app-emulation/runc/runc-0.1.0.ebuild @@ -16,7 +16,7 @@ if [[ ${PV} == ** ]]; then inherit git-r3 else SRC_URI="https://${GITHUB_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" + KEYWORDS="amd64" fi LICENSE="Apache-2.0"
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 076b7f339a643b58b7e2a748242a9b0798076593 Author: Doug Goldstein gentoo org> AuthorDate: Tue Apr 19 23:14:47 2016 + Commit: Doug Goldstein gentoo org> CommitDate: Tue Apr 19 23:15:27 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=076b7f33 app-emulation/runc: version bump Package-Manager: portage-2.2.26 Signed-off-by: Doug Goldstein gentoo.org> app-emulation/runc/Manifest | 1 + app-emulation/runc/runc-0.1.0.ebuild | 48 app-emulation/runc/runc-.ebuild | 48 3 files changed, 97 insertions(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 3733259..5dc68ef 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1,2 +1,3 @@ DIST runc-0.0.2.tar.gz 370712 SHA256 3d0aa68ebb1622853d0bbed432ebd4b6c9ef210881ac74f3a695b4e914d246dc SHA512 e0a44d5dd8a1b8eaeaf7d466cebc7dc8beaa26f49bd0e76d3a955cef9c5c266d2afe6652f28fa905a408b5b93966f52e345112fa7aef373216561ad7069181c5 WHIRLPOOL e7ed1ee3d159a81fb0b2b0f5fac9a9a66116035babc88f6f266a6c8455953ce372e93351baf7c621c42ab8c5907961fd899b1d158e7f7b1335f83fcef7252c71 DIST runc-0.0.5.tar.gz 441874 SHA256 e80323412883e4afcfcf8e1b2eaefdcb74632628d02fd7f48618caf78e5e4aa0 SHA512 625d67ec02e23c66a3d1a97113a0c58f3f200404866839556bc3cd5b3e34342230b8091613d17ef4a38d05ca51df586cd7366dc6bddeeddd6b69bb9a2ae7efda WHIRLPOOL 862b08621b67fc57286940ad5e20557d90cfef63aae5be0a90fc6f5b764d032b187ba5ad5dcb1fa99fb5ec59d6217941aa19ca9048637bd02b64e52c8cecdce6 +DIST runc-0.1.0.tar.gz 496358 SHA256 681d6d89541ae2e06757f999a242a1f97bbcb1ad6e10f4cdee287ec4a9d2bff9 SHA512 8a9ff02b0161eda0a730194b0fbf7ad76e8f379992e74061ef49302da3492fd0c53f06db9153ded4d934d67bbf6f4291d6154254f1b924ef73c97c44cd14ffcf WHIRLPOOL 81f488a4f1e23e8704a9fa8404965b2f12f74a875ba8e67dc15de93f43b075dc538cd0d89c7a1187cb74ac6320317b5985855945fb8bf8f749d6736df47b844a diff --git a/app-emulation/runc/runc-0.1.0.ebuild b/app-emulation/runc/runc-0.1.0.ebuild new file mode 100644 index 000..ac34b8e --- /dev/null +++ b/app-emulation/runc/runc-0.1.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils multilib + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; + +GITHUB_URI="github.com/opencontainers/runc" + +if [[ ${PV} == ** ]]; then + EGIT_REPO_URI="git://${GITHUB_URI}.git" + inherit git-r3 +else + SRC_URI="https://${GITHUB_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="+seccomp" + +DEPEND=">=dev-lang/go-1.4:=" +RDEPEND="seccomp? ( sys-libs/libseccomp )" + +src_compile() { + # Taken from app-emulation/docker-1.7.0-r1 + export CGO_CFLAGS="-I${ROOT}/usr/include" + export CGO_LDFLAGS="-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 seccomp "seccomp") ) + + emake BUILDTAGS="${options[@]}" +} + +src_install() { + dobin runc +} diff --git a/app-emulation/runc/runc-.ebuild b/app-emulation/runc/runc-.ebuild new file mode 100644 index 000..ac34b8e --- /dev/null +++ b/app-emulation/runc/runc-.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils multilib + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; + +GITHUB_URI="github.com/opencontainers/runc" + +if [[ ${PV} == ** ]]; then + EGIT_REPO_URI="git://${GITHUB_URI}.git" + inherit git-r3 +else + SRC_URI="https://${GITHUB_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="+seccomp" + +DEPEND=">=dev-lang/go-1.4:=" +RDEPEND="seccomp? ( sys-libs/libseccomp )" + +src_compile() { + # Taken from app-emulation/docker-1.7.0-r1 + export CGO_CFLAGS="-I${ROOT}/usr/include" + export CGO_LDFLAGS="-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 seccomp "seccomp") ) + + emake BUILDTAGS="${options[@]}" +} + +src_install() { + dobin runc +}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: e4c7a0eb60f6a7b3567e9143b1f5e1fe0ac22d12 Author: Robin H. Johnson gentoo org> AuthorDate: Mon Dec 7 18:18:40 2015 + Commit: Robin H. Johnson gentoo org> CommitDate: Mon Dec 7 18:18:40 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4c7a0eb app-emulation/runc: fix Manifest. Package-Manager: portage-2.2.24 app-emulation/runc/Manifest | 1 + 1 file changed, 1 insertion(+) diff --git a/app-emulation/runc/Manifest b/app-emulation/runc/Manifest index 1494296..3733259 100644 --- a/app-emulation/runc/Manifest +++ b/app-emulation/runc/Manifest @@ -1 +1,2 @@ DIST runc-0.0.2.tar.gz 370712 SHA256 3d0aa68ebb1622853d0bbed432ebd4b6c9ef210881ac74f3a695b4e914d246dc SHA512 e0a44d5dd8a1b8eaeaf7d466cebc7dc8beaa26f49bd0e76d3a955cef9c5c266d2afe6652f28fa905a408b5b93966f52e345112fa7aef373216561ad7069181c5 WHIRLPOOL e7ed1ee3d159a81fb0b2b0f5fac9a9a66116035babc88f6f266a6c8455953ce372e93351baf7c621c42ab8c5907961fd899b1d158e7f7b1335f83fcef7252c71 +DIST runc-0.0.5.tar.gz 441874 SHA256 e80323412883e4afcfcf8e1b2eaefdcb74632628d02fd7f48618caf78e5e4aa0 SHA512 625d67ec02e23c66a3d1a97113a0c58f3f200404866839556bc3cd5b3e34342230b8091613d17ef4a38d05ca51df586cd7366dc6bddeeddd6b69bb9a2ae7efda WHIRLPOOL 862b08621b67fc57286940ad5e20557d90cfef63aae5be0a90fc6f5b764d032b187ba5ad5dcb1fa99fb5ec59d6217941aa19ca9048637bd02b64e52c8cecdce6
[gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
commit: 37c1ec7ef31a51206421f03a2df489ec7d7ca244 Author: Doug Goldstein gentoo org> AuthorDate: Mon Dec 7 05:14:50 2015 + Commit: Doug Goldstein gentoo org> CommitDate: Mon Dec 7 05:15:22 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37c1ec7e app-emulation/runc: version bump bump to latest upstream release. Signed-off-by: Doug Goldstein gentoo.org> app-emulation/runc/runc-0.0.5.ebuild | 52 1 file changed, 52 insertions(+) diff --git a/app-emulation/runc/runc-0.0.5.ebuild b/app-emulation/runc/runc-0.0.5.ebuild new file mode 100644 index 000..5cd3836 --- /dev/null +++ b/app-emulation/runc/runc-0.0.5.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib + +DESCRIPTION="runc container cli tools" +HOMEPAGE="http://runc.io"; + +GITHUB_URI="github.com/opencontainers/runc" + +if [[ ${PV} == ** ]]; then + EGIT_REPO_URI="git://${GITHUB_URI}.git" + inherit git-r3 +else + SRC_URI="https://${GITHUB_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="+seccomp" + +DEPEND=">=dev-lang/go-1.4:=" +RDEPEND="seccomp? ( sys-libs/libseccomp )" + +src_prepare() { + epatch_user +} + +src_compile() { + # Taken from app-emulation/docker-1.7.0-r1 + export CGO_CFLAGS="-I${ROOT}/usr/include" + export CGO_LDFLAGS="-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 seccomp "seccomp") ) + + emake BUILDTAGS="${options[@]}" +} + +src_install() { + dobin runc +}