From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
Date: Thu, 24 Sep 2020 00:09:30 +0000 (UTC) [thread overview]
Message-ID: <1600905497.185566bdd2dcc39e874bb4ecb6b844732434262f.gyakovlev@gentoo> (raw)
commit: 185566bdd2dcc39e874bb4ecb6b844732434262f
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 23 23:23:11 2020 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Wed Sep 23 23:58:17 2020 +0000
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 <gyakovlev <AT> 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 00000000000..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/<docker ver OR branch>/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
+}
next reply other threads:[~2020-09-24 0:09 UTC|newest]
Thread overview: 92+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-24 0:09 Georgy Yakovlev [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-12-19 22:09 [gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/ William Hubbs
2021-12-14 8:55 Georgy Yakovlev
2021-10-06 16:49 William Hubbs
2021-10-06 1:19 Georgy Yakovlev
2021-10-06 1:19 Georgy Yakovlev
2021-10-06 1:16 William Hubbs
2021-10-05 20:44 William Hubbs
2021-10-05 19:09 William Hubbs
2021-08-13 2:09 Yixun Lan
2021-07-26 21:25 Georgy Yakovlev
2021-07-26 2:14 Sam James
2021-07-24 17:20 Sam James
2021-07-23 17:58 Sam James
2021-07-20 2:44 Georgy Yakovlev
2021-06-14 0:31 Georgy Yakovlev
2021-06-13 22:38 Sam James
2021-06-11 16:27 William Hubbs
2021-06-11 1:00 Georgy Yakovlev
2021-06-10 21:53 William Hubbs
2021-05-16 12:45 Sam James
2021-05-13 10:43 Georgy Yakovlev
2021-05-13 10:43 Georgy Yakovlev
2021-04-28 16:44 Mikle Kolyada
2021-03-06 20:13 William Hubbs
2021-01-04 23:10 William Hubbs
2020-11-10 21:33 Georgy Yakovlev
2020-11-10 21:33 Georgy Yakovlev
2020-10-18 0:48 Georgy Yakovlev
2020-10-18 0:48 Georgy Yakovlev
2020-10-18 0:48 Georgy Yakovlev
2020-09-24 0:09 Georgy Yakovlev
2020-09-23 15:26 William Hubbs
2020-09-22 23:18 Georgy Yakovlev
2020-08-31 21:03 Thomas Deutschmann
2020-04-04 7:06 Robin H. Johnson
2020-03-15 3:51 Thomas Deutschmann
2020-03-14 22:53 William Hubbs
2020-03-14 22:49 William Hubbs
2020-03-04 17:07 William Hubbs
2020-02-06 5:06 William Hubbs
2019-10-07 9:23 Manuel Rüger
2019-10-07 9:23 Manuel Rüger
2019-06-04 16:58 Manuel Rüger
2019-04-26 10:40 Manuel Rüger
2019-04-23 12:42 Manuel Rüger
2019-03-29 14:35 Manuel Rüger
2019-03-28 14:41 Manuel Rüger
2019-03-28 14:41 Manuel Rüger
2019-03-01 13:42 Manuel Rüger
2019-02-11 19:33 Manuel Rüger
2019-02-11 19:33 Manuel Rüger
2019-02-11 19:33 Manuel Rüger
2019-02-11 17:45 Manuel Rüger
2019-02-11 17:45 Manuel Rüger
2019-01-10 13:14 Manuel Rüger
2018-12-11 10:11 Manuel Rüger
2018-11-25 14:27 Manuel Rüger
2018-07-19 15:31 Manuel Rüger
2018-07-19 13:29 Manuel Rüger
2018-06-04 19:25 Mart Raudsepp
2018-05-15 12:16 Manuel Rüger
2018-04-10 1:13 Manuel Rüger
2018-04-06 22:03 Manuel Rüger
2018-03-10 21:09 Doug Goldstein
2018-02-27 22:10 Manuel Rüger
2018-02-13 14:22 Manuel Rüger
2018-02-13 14:22 Manuel Rüger
2017-11-05 20:51 Manuel Rüger
2017-10-12 19:01 Manuel Rüger
2017-03-28 1:04 Manuel Rüger
2017-02-24 10:27 Manuel Rüger
2017-02-23 14:59 Manuel Rüger
2017-02-06 14:31 Manuel Rüger
2017-01-12 11:16 Aaron Bauman
2017-01-11 11:36 Manuel Rüger
2016-12-18 1:06 Manuel Rüger
2016-12-18 1:06 Manuel Rüger
2016-11-26 5:46 William Hubbs
2016-11-19 22:00 William Hubbs
2016-11-19 19:49 William Hubbs
2016-11-18 17:35 William Hubbs
2016-11-09 19:25 William Hubbs
2016-11-09 18:38 William Hubbs
2016-10-04 23:04 William Hubbs
2016-07-11 19:47 Anthony G. Basile
2016-06-23 19:45 William Hubbs
2016-06-20 16:09 William Hubbs
2016-04-27 8:24 Agostino Sarubbo
2016-04-19 23:15 Doug Goldstein
2015-12-07 18:18 Robin H. Johnson
2015-12-07 5:16 Doug Goldstein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1600905497.185566bdd2dcc39e874bb4ecb6b844732434262f.gyakovlev@gentoo \
--to=gyakovlev@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox