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: Tue, 20 Jul 2021 02:44:07 +0000 (UTC)	[thread overview]
Message-ID: <1626749034.3844230e77f39931083e7dfa33452666d6fd7452.gyakovlev@gentoo> (raw)

commit:     3844230e77f39931083e7dfa33452666d6fd7452
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 20 02:41:18 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Jul 20 02:43:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3844230e

app-emulation/containerd: add 1.5.4

Bug: https://bugs.gentoo.org/802948
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

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

diff --git a/app-emulation/containerd/Manifest b/app-emulation/containerd/Manifest
index 5e37778447d..99e74a98cf1 100644
--- a/app-emulation/containerd/Manifest
+++ b/app-emulation/containerd/Manifest
@@ -1,4 +1,5 @@
 DIST containerd-1.4.6.tar.gz 6266709 BLAKE2B 3187ff003da7c1d6023ff9516c7aa510de49ad1188750b9cb782feae638ef1c4c74834f62344324eec8983feb6e881013b56ceb112e91ca0995878b08f20d69f SHA512 4693e67d17a21fe9413add39173981f484c461c7e228b05a8a886052bc445617116808db6321a134bcfdf853f382a6f228e979669588a375b434d1425853b143
 DIST containerd-1.4.8.tar.gz 6400374 BLAKE2B def2d6e47d550d641888289943fee5c860a5523b1b4e347efafbf43a8dbf9d86bbcef0f4286efdf2591a42faf75aa2dc0acad11f2cfcdd99c7e3e89fcd13fa22 SHA512 3c4c52a7a1b3fb76f7837ef7260024e25df14e86ccaea351a0811dd9b7335eddc94019e3fb7e6acb4a41a3dee9c18387d0b44ea406c3534c64e8a4b3dee6a45b
 DIST containerd-1.5.2.tar.gz 7667262 BLAKE2B 52f61a7d5a423e1e0fbada6084dacf1df49e3e16af034bd35914b35bed4d27f334f0b07e87681d1353eb7da05a301625326adc841be7a2900aea0640a0441f26 SHA512 e4f03e77f2d8f823680629efc8cf41db70a656edf46807dca69652e6500dc51b0ceb0fd174768a8a5069c8af3e78853c20d214d135e36d4f3559399894e2cdf1
+DIST containerd-1.5.4.tar.gz 7675134 BLAKE2B b50061655b0b78a9f4c8bf7355213d02517c5a15e3ff2a623e59ffcde8e7f59ef39aafaf9790f7d977b285eac4d38338505920cdd032d975c50d42605e7157a5 SHA512 91d2fce2dc218070078f0e9e8141d091eca9f23c0b1ff244180260f214a46cdd66ba5c89472b40c0875cbd25580e19765bb030abf2ad749cfd4eea712dacadc1
 DIST containerd-man-1.5.2.tar.xz 7424 BLAKE2B 647e61a88c81ebb3087026adb0201b4a71c4e0fe763a37b8d146b3964d9d59aa47ea96d5c5069b7637251fe1fbe5ecc63d72a802673b526b5496d02b2ff5842c SHA512 32ac9e9a91bbea24bbdb63220efc6082bb5dd1db956b558942f5b3b9aa758b9c1c5e8a5eb5e3d950be6de25bc03b20d420a566ecdaa859a8e72e3e2564a9ab84

diff --git a/app-emulation/containerd/containerd-1.5.4.ebuild b/app-emulation/containerd/containerd-1.5.4.ebuild
new file mode 100644
index 00000000000..88783770efe
--- /dev/null
+++ b/app-emulation/containerd/containerd-1.5.4.ebuild
@@ -0,0 +1,84 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module systemd toolchain-funcs
+
+DESCRIPTION="A daemon to control runC"
+HOMEPAGE="https://containerd.io/"
+SRC_URI="https://github.com/containerd/containerd/archive/v${PV}.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 )
+"
+
+# recommended version of runc is found in script/setup/runc-version
+RDEPEND="
+	${DEPEND}
+	~app-emulation/runc-1.0.0
+"
+
+BDEPEND="
+	dev-go/go-md2man
+	virtual/pkgconfig
+"
+
+# tests require root or docker
+# upstream does not recommend stripping binary
+RESTRICT+=" strip test"
+
+src_prepare() {
+	default
+	sed -i \
+		-e "s/-s -w//" \
+		Makefile || die
+	sed -i \
+		-e "s:/usr/local:/usr:" \
+		containerd.service || 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[*]}"
+		GO_BUILD_FLAGS="-mod vendor"
+		LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')"
+		REVISION=69107e47a62e1d690afa2b9b1d43f8ece3ff4483
+		VERSION=v${PV}
+	)
+	
+	# race condition in man target https://bugs.gentoo.org/765100
+	# we need to explicitly specify GOFLAGS for "go run" to use vendor source
+	GOFLAGS="-v -x -mod=vendor" emake "${myemakeargs[@]}" man -j1 #nowarn
+	emake "${myemakeargs[@]}" all
+
+}
+
+src_install() {
+	dobin bin/*
+	doman man/*
+	newinitd "${FILESDIR}"/${PN}.initd "${PN}"
+	systemd_dounit containerd.service
+	keepdir /var/lib/containerd
+
+	# we already installed manpages, remove markdown source
+	# before installing docs directory
+	rm -r docs/man || die
+
+	local DOCS=( ADOPTERS.md README.md RELEASES.md ROADMAP.md SCOPE.md docs/. )
+	einstalldocs
+}


             reply	other threads:[~2021-07-20  2:44 UTC|newest]

Thread overview: 151+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-20  2:44 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-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-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=1626749034.3844230e77f39931083e7dfa33452666d6fd7452.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