public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/containerd/
Date: Thu, 24 Sep 2020 00:09:30 +0000 (UTC)	[thread overview]
Message-ID: <1600905497.d8f66e21fb1d3b1ff2af0f82942eac7ea1ab6598.gyakovlev@gentoo> (raw)

commit:     d8f66e21fb1d3b1ff2af0f82942eac7ea1ab6598
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 23 22:47:17 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=d8f66e21

app-emulation/containerd: add 1.3.7

docker 19.03 requires this version, not 1.4.1

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 app-emulation/containerd/Manifest                |  1 +
 app-emulation/containerd/containerd-1.3.7.ebuild | 84 ++++++++++++++++++++++++
 2 files changed, 85 insertions(+)

diff --git a/app-emulation/containerd/Manifest b/app-emulation/containerd/Manifest
index 0008c98ed50..a8de7f5f778 100644
--- a/app-emulation/containerd/Manifest
+++ b/app-emulation/containerd/Manifest
@@ -7,4 +7,5 @@ DIST containerd-1.3.0.tar.gz 5697153 BLAKE2B c334cfd2aa11dd430c74bc9f3fe6f31d83f
 DIST containerd-1.3.1.tar.gz 5703741 BLAKE2B 6eae3fe9714128e7a5378484115378629baf6c4f7ef4b795e625cc1fbc05323a123c2337c5b203a2c3c3b34486c81f7e5b3ad200c000c961931fc99347ef4513 SHA512 4991286d1a8a221dad24121c5e6cd31a00685d91e652546d0d97745624486450bc05ff4f889f2975c178c4c175fedd7b15f89121a7ce4e6687919aabd04501b4
 DIST containerd-1.3.2.tar.gz 5704320 BLAKE2B 32ea22ff445cc66f4c8db8abdbaaa7fa0c8c620b294bda54f2319045af1925398057ba1a5cb5c265cfc73bcff5b49943013b517ecb3bd05f4504920c4a8d6f29 SHA512 768a19eb0829e196a61ddedaa11b0d6691caf8f9cc590a3e47ac77c1acad62e64b7a55017a1a6cccfcb87785a083d5ce131048b0e39e48c65e6cd5922382fc3c
 DIST containerd-1.3.4.tar.gz 5700890 BLAKE2B 9d5642399eafbf3df25d2bdb6ffeb8e98362e9f2c6cdcd7a64fff12bad40f58fa97451228a607def408cc8a8cfbfce67c47fcfdf86865d8086d0b7aad7595d5a SHA512 b186d5aef3e5a0d35c12dcc3cfa5d48a9602f6278c4650942859a1ab6abd1299d33a1bc623376955a834a2626491196b604591d92a05d39745dfc33ff51ad5aa
+DIST containerd-1.3.7.tar.gz 5709989 BLAKE2B 0cfa6f5bcd41c1591e64f41dbba2720bed5f25d61625b6d09be19df56fe74b61532b627c35a830e1e4937333f790f7ff8a5fad18b8869a679a6fec18daf238d3 SHA512 7c6de27b6529e3fb3f924ec67a260a51bc45186d69baa4cae6720a08e5c3b74aeb43d236c0a4739f297b2863233bde7d2246a597c9e17713c48bec767c6bbfee
 DIST containerd-1.4.1.tar.gz 6168048 BLAKE2B f050808d77c66caead8acba595b1cf91d7f386a77aae84d08840f458ba8141bb0e8763222f37b4295d2afedd5eb2fc311e8a69f6c01a08740ad27d2e7380b61f SHA512 e16196db59ba71cfd7e5515b8d2bc6336503e996419182274dfc5ac9caca901cf712f465698e9ff667747959faf93cdf66fe652c47a83a6ead6f6a3a22add43b

diff --git a/app-emulation/containerd/containerd-1.3.7.ebuild b/app-emulation/containerd/containerd-1.3.7.ebuild
new file mode 100644
index 00000000000..9a7b8db286a
--- /dev/null
+++ b/app-emulation/containerd/containerd-1.3.7.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# update on bump, look for https://github.com/docker\
+# docker-ce/blob/<docker ver OR branch>/components/engine/hack/dockerfile/install/containerd.installer
+CONTAINERD_COMMIT="8fba4e9a7d01810a393d5d25a3621dc101981175"
+EGO_PN="github.com/containerd/${PN}"
+
+inherit golang-vcs-snapshot toolchain-funcs
+
+DESCRIPTION="A daemon to control runC"
+HOMEPAGE="https://containerd.io/"
+SRC_URI="https://github.com/containerd/${PN}/archive/${CONTAINERD_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="apparmor btrfs device-mapper +cri hardened +seccomp selinux test"
+
+DEPEND="
+	btrfs? ( sys-fs/btrfs-progs )
+	seccomp? ( sys-libs/libseccomp )
+"
+
+RDEPEND="
+	${DEPEND}
+	~app-emulation/runc-1.0.0_rc10
+"
+
+BDEPEND="
+	dev-go/go-md2man
+	virtual/pkgconfig
+	test? ( "${RDEPEND}" )
+"
+
+# tests require root or docker
+# upstream does not recommend stripping binary
+RESTRICT+=" strip test"
+
+S="${WORKDIR}/${P}/src/${EGO_PN}"
+
+src_prepare() {
+	default
+	sed -i -e "s/git describe --match.*$/echo ${PV})/"\
+		-e "s/git rev-parse HEAD.*$/echo ${CONTAINERD_COMMIT})/"\
+		-e "s/-s -w//" \
+		Makefile || die
+}
+
+src_compile() {
+	local options=(
+		$(usev apparmor)
+		$(usex btrfs "" "no_btrfs")
+		$(usex cri "" "no_cri")
+		$(usex device-mapper "" "no_devmapper")
+		$(usev seccomp)
+		$(usev selinux)
+	)
+
+	myemakeargs=(
+		BUILDTAGS="${options[*]}"
+		DESTDIR="${ED}"
+		LDFLAGS=$(usex hardened '-extldflags -fno-PIC' '')
+	)
+
+	export GOPATH="${WORKDIR}/${P}" # ${PWD}/vendor
+	export GOFLAGS="-v -x -mod=vendor"
+	emake "${myemakeargs[@]}" all man
+}
+
+src_install() {
+	dobin bin/*
+	doman man/*
+	newinitd "${FILESDIR}"/${PN}.initd-r1 "${PN}"
+	keepdir /var/lib/containerd
+
+	# we already installed manpages, remove markdown source
+	# before installing docs directory
+	rm -rf docs/man || die
+	local DOCS=( README.md PLUGINS.md docs/. )
+	einstalldocs
+}


             reply	other threads:[~2020-09-24  0:09 UTC|newest]

Thread overview: 151+ 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-01 12:39 [gentoo-commits] repo/gentoo:master commit in: app-emulation/containerd/ Georgy Yakovlev
2021-10-06 17:53 William Hubbs
2021-10-06 17:24 William Hubbs
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 21:00 William Hubbs
2021-10-05 20:18 William Hubbs
2021-10-05 19:13 William Hubbs
2021-10-05 18:57 William Hubbs
2021-08-13  2:09 Yixun Lan
2021-07-26 21:25 Georgy Yakovlev
2021-07-26 21:25 Georgy Yakovlev
2021-07-26  2:14 Sam James
2021-07-24 17:20 Sam James
2021-07-23 18:00 Sam James
2021-07-23 17:58 Sam James
2021-07-20  2:44 Georgy Yakovlev
2021-07-20  2:44 Georgy Yakovlev
2021-07-11  8:59 Georgy Yakovlev
2021-06-14  0:31 Georgy Yakovlev
2021-06-13 22:38 Sam James
2021-06-13 18:45 William Hubbs
2021-06-11 16:27 William Hubbs
2021-06-11  1:00 Georgy Yakovlev
2021-06-10 21:53 William Hubbs
2021-06-02  0:00 Georgy Yakovlev
2021-05-25 23:30 Georgy Yakovlev
2021-05-25 23:27 Georgy Yakovlev
2021-05-16 12:45 Sam James
2021-05-13 10:50 Georgy Yakovlev
2021-04-28 16:44 Mikle Kolyada
2021-03-09 16:26 William Hubbs
2021-03-08 19:47 William Hubbs
2021-01-13 15:12 Sam James
2021-01-12 22:46 Sam James
2021-01-04 23:57 William Hubbs
2021-01-04 23:10 William Hubbs
2020-12-02 20:38 Georgy Yakovlev
2020-12-02 20:38 Georgy Yakovlev
2020-12-02 20:38 Georgy Yakovlev
2020-12-02 19:56 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-08-31 21:03 Thomas Deutschmann
2020-04-16 22:14 William Hubbs
2020-03-15  3:06 William Hubbs
2020-03-04 17:54 William Hubbs
2020-02-13 16:47 Mikle Kolyada
2020-02-06  3:22 William Hubbs
2020-01-19 19:36 William Hubbs
2019-11-24  0:53 Aaron Bauman
2019-11-20 22:19 Manuel Rüger
2019-11-20 22:19 Manuel Rüger
2019-09-27 12:21 Manuel Rüger
2019-09-27 12:21 Manuel Rüger
2019-07-04 15:41 Manuel Rüger
2019-07-04 15:35 Manuel Rüger
2019-04-23 12:42 Manuel Rüger
2019-04-11 10:01 Manuel Rüger
2019-03-28 16:15 Manuel Rüger
2019-03-28 14:44 Manuel Rüger
2019-03-28 14:20 Manuel Rüger
2019-03-01 13:42 Manuel Rüger
2019-02-14 13:16 Manuel Rüger
2019-02-11 17:55 Manuel Rüger
2019-02-07 12:01 Manuel Rüger
2019-01-09 15:45 Manuel Rüger
2018-12-11  8:07 Manuel Rüger
2018-10-28 16:19 Manuel Rüger
2018-09-26 11:22 Manuel Rüger
2018-09-26 11:22 Manuel Rüger
2018-09-07  6:19 Manuel Rüger
2018-07-24 11:47 Manuel Rüger
2018-07-19 15:31 Manuel Rüger
2018-07-18 14:26 Manuel Rüger
2018-07-12 12:19 Manuel Rüger
2018-06-04 19:25 Mart Raudsepp
2018-06-04 19:25 Mart Raudsepp
2018-05-15 13:05 Manuel Rüger
2018-05-15 12:16 Manuel Rüger
2018-05-15 12:16 Manuel Rüger
2018-04-24 22:47 Manuel Rüger
2018-04-10  1:13 Manuel Rüger
2018-04-03  6:23 Manuel Rüger
2018-04-03  6:22 Manuel Rüger
2018-03-19 22:52 Manuel Rüger
2018-02-15  0:58 Manuel Rüger
2018-01-18 14:04 Manuel Rüger
2018-01-18 12:56 Manuel Rüger
2018-01-02 13:05 Manuel Rüger
2018-01-02 13:05 Manuel Rüger
2017-12-06 18:50 Manuel Rüger
2017-12-06 18:50 Manuel Rüger
2017-12-01 14:16 Manuel Rüger
2017-11-22 14:49 Manuel Rüger
2017-11-22 14:49 Manuel Rüger
2017-11-13 19:50 Manuel Rüger
2017-11-05 20:50 Manuel Rüger
2017-11-03 14:27 Manuel Rüger
2017-11-03 14:27 Manuel Rüger
2017-11-03 14:27 Manuel Rüger
2017-11-03 14:22 Manuel Rüger
2017-09-25 14:11 Manuel Rüger
2017-08-21 10:13 Manuel Rüger
2017-07-16 11:48 Manuel Rüger
2017-07-03 17:48 Manuel Rüger
2017-06-28 11:24 Manuel Rüger
2017-06-20 12:53 Pacho Ramos
2017-05-11 15:39 Manuel Rüger
2017-05-09 11:51 Manuel Rüger
2017-04-25 19:07 William Hubbs
2017-04-25 19:07 William Hubbs
2017-04-21 19:01 William Hubbs
2017-04-21 17:52 William Hubbs
2017-04-21 17:52 William Hubbs
2017-04-21 12:59 William Hubbs
2017-04-15 20:54 Manuel Rüger
2017-04-06 17:08 Manuel Rüger
2017-04-05 10:54 Michael Weber
2017-04-05 10:21 Michael Weber
2017-03-28 23:28 Manuel Rüger
2017-03-06 13:22 Manuel Rüger
2017-03-06 13:22 Manuel Rüger
2017-02-24 11:30 Manuel Rüger
2017-02-06 14:31 Manuel Rüger
2017-01-17 11:24 Agostino Sarubbo
2016-12-18  1:06 Manuel Rüger
2016-12-16 22:47 Manuel Rüger
2016-11-09 19:47 William Hubbs
2016-11-09 19:47 William Hubbs
2016-11-09 19:02 Manuel Rüger
2016-11-09 19:02 Manuel Rüger
2016-11-09 18:04 Manuel Rüger
2016-11-09 16:58 Manuel Rüger
2016-11-09 16:53 Manuel Rüger
2016-10-04 23:04 William Hubbs
2016-08-18 17:41 William Hubbs
2016-08-18 17:41 William Hubbs
2016-07-11 19:51 Anthony G. Basile
2016-06-24 17:04 William Hubbs
2016-06-23 19:45 William Hubbs
2016-06-23 19:45 William Hubbs
2016-04-27  8:24 Agostino Sarubbo
2016-04-26 18:11 Kacper Kowalik
2016-04-17 16:36 Kacper Kowalik

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.d8f66e21fb1d3b1ff2af0f82942eac7ea1ab6598.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