From 1bc53bf39caea7d7048606957aceb1aa8ee801c5 Mon Sep 17 00:00:00 2001 From: Jeremi Piotrowski Date: Fri, 20 Aug 2021 09:14:05 +0000 Subject: [PATCH] app-emulation/docker-runc: remove old version Signed-off-by: Jeremi Piotrowski --- .../app-emulation/docker-runc/Manifest | 3 +- .../docker-runc-1.0.0_rc2_p136-r1.ebuild | 71 ------------------- 2 files changed, 1 insertion(+), 73 deletions(-) delete mode 100644 sdk_container/src/third_party/coreos-overlay/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p136-r1.ebuild diff --git a/sdk_container/src/third_party/coreos-overlay/app-emulation/docker-runc/Manifest b/sdk_container/src/third_party/coreos-overlay/app-emulation/docker-runc/Manifest index 402961379e..2ef7877802 100644 --- a/sdk_container/src/third_party/coreos-overlay/app-emulation/docker-runc/Manifest +++ b/sdk_container/src/third_party/coreos-overlay/app-emulation/docker-runc/Manifest @@ -1,2 +1 @@ -DIST docker-runc-1.0.0_rc2_p136.tar.gz 561705 BLAKE2B 4dd5dc689db1ac632bf10a5060f5681c7e44716caf8d3730683aad9df29c7b2628fa9e7253d86d87e9dfd7d27b545713154fa0f2984ca52908b16ab089be5646 SHA512 6052b95042082c3345caf25d3646f47b82c151ff3aca2ca4510dbf72ee80056d8c4077f2a1b48a9f4178c41185835ff51461e52ad47969534ea6febf7cac74f1 -DIST docker-runc-1.0.1.tar.gz 2374642 BLAKE2B 1346add899bf74ad05c6bf62e8580549b2ba0f7d5963c17537f4317652806c72161ab040690fc656c0e21a4f8edb9723d8590639e455471e0e16b4753f16d4fe SHA512 a37b35e46861c34b311d101a9942782664edab1bd32533a1e3d7d6f8a22f25aa1f021352101633622807e0beceba9227dac4d93ed6ab27d969cc8796efc2b808 +DIST docker-runc-1.0.1.tar.gz 2374642 BLAKE2B 1346add899bf74ad05c6bf62e8580549b2ba0f7d5963c17537f4317652806c72161ab040690fc656c0e21a4f8edb9723d8590639e455471e0e16b4753f16d4fe SHA512 a37b35e46861c34b311d101a9942782664edab1bd32533a1e3d7d6f8a22f25aa1f021352101633622807e0beceba9227dac4d93ed6ab27d969cc8796efc2b808 \ No newline at end of file diff --git a/sdk_container/src/third_party/coreos-overlay/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p136-r1.ebuild b/sdk_container/src/third_party/coreos-overlay/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p136-r1.ebuild deleted file mode 100644 index 1910170a79..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p136-r1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -GITHUB_URI="github.com/docker/runc" -COREOS_GO_PACKAGE="${GITHUB_URI}" -COREOS_GO_VERSION="go1.7" -# the commit of runc that docker uses. -# see https://github.com/moby/moby/blob/v17.03.2-ce/hack/dockerfile/binaries-commits#L6 -# Note: this commit is only really present in the `docker/runc` repository. -# Update the patch number when this commit is changed (i.e. the _p in the ebuild). -# The patch version is arbitrarily the number of commits since the tag version -# spcified in the ebuild name. For example: -# $ git log --oneline v1.0.0-rc2..${COMMIT_ID} | wc -l -COMMIT_ID="54296cf40ad8143b62dbcaa1d90e520a2136ddfe" - -inherit eutils flag-o-matic coreos-go vcs-snapshot - -SRC_URI="https://${GITHUB_URI}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" -KEYWORDS="amd64 arm64" - -DESCRIPTION="runc container cli tools (docker fork)" -HOMEPAGE="http://runc.io" - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="apparmor hardened +seccomp selinux" - -RDEPEND=" - apparmor? ( sys-libs/libapparmor ) - seccomp? ( sys-libs/libseccomp ) -" - -S=${WORKDIR}/${P}/src/${COREOS_GO_PACKAGE} - -RESTRICT="test" - -src_unpack() { - mkdir -p "${S}" - tar --strip-components=1 -C "${S}" -xf "${DISTDIR}/${A}" -} - -PATCHES=( - "${FILESDIR}/${PN}-1.0.0_rc2-mount-propagation.patch" - "${FILESDIR}/0001-nsenter-clone-proc-self-exe-to-avoid-exposing-host-b.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)" - - # build up optional flags - local options=( - $(usex apparmor 'apparmor') - $(usex seccomp 'seccomp') - $(usex selinux 'selinux') - ) - - # CoreOS: Don't try to install dependencies. - sed -i 's/go build -i /go build /' Makefile - - emake BUILDTAGS="${options[*]}" \ - COMMIT="${COMMIT_ID}" -} - -src_install() { - dobin runc -}