From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B89311382C5 for ; Tue, 27 Feb 2018 22:10:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB5CAE0819; Tue, 27 Feb 2018 22:10:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AB7B3E0819 for ; Tue, 27 Feb 2018 22:10:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4770B335C0C for ; Tue, 27 Feb 2018 22:10:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7331D1EA for ; Tue, 27 Feb 2018 22:10:16 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1519769392.9289c0b32921eb6a77af50e065855b86abfc11f3.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/runc/Manifest app-emulation/runc/runc-1.0.0_rc5.ebuild X-VCS-Directories: app-emulation/runc/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 9289c0b32921eb6a77af50e065855b86abfc11f3 X-VCS-Branch: master Date: Tue, 27 Feb 2018 22:10:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5d23edb9-7e51-45fc-9dfd-d0e2302a6f5b X-Archives-Hash: 50dae3acdce27a3437063b6c63e48bff commit: 9289c0b32921eb6a77af50e065855b86abfc11f3 Author: Manuel Rüger gentoo org> AuthorDate: Tue Feb 27 22:09:52 2018 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Tue Feb 27 22:09:52 2018 +0000 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 00000000000..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} == *9999 ]]; 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 +}