Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-containers/conmon/
Date: Fri, 04 Feb 2022 18:23:51
Message-Id: 1643998962.77bb29019583f38144e435bd8e3051a97e874a3b.zmedico@gentoo
1 commit: 77bb29019583f38144e435bd8e3051a97e874a3b
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 4 18:22:42 2022 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 4 18:22:42 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77bb2901
7
8 app-containers/conmon: Bump to version 2.1.0
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 app-containers/conmon/Manifest | 1 +
14 app-containers/conmon/conmon-2.1.0.ebuild | 49 +++++++++++++++++++++++++++++++
15 2 files changed, 50 insertions(+)
16
17 diff --git a/app-containers/conmon/Manifest b/app-containers/conmon/Manifest
18 index c3866731eab9..9f788b077ab6 100644
19 --- a/app-containers/conmon/Manifest
20 +++ b/app-containers/conmon/Manifest
21 @@ -1,2 +1,3 @@
22 DIST conmon-2.0.30.tar.gz 161285 BLAKE2B c4e01759d819d3dff94b9ae09caa72b6f664e49d907d3a1be9fb4a0e1f782fad29a7cd7c89703e861f4aa6d7955996386f81460f19f22be2889c4f88c34536cb SHA512 2451e441913925f8423385b83e97630e980948a9bd57ae8800889016c4412a26bed598825d3c034c3edcecbab66c38417f55ad3866d3c2c98cada6acce2b2d16
23 DIST conmon-2.0.31.tar.gz 158184 BLAKE2B b14bae77a18cc352bc9583604544b4e7ffe4bd8a77e5c3185c897c11819bba227edcbd84b559d998a2b5648ca371f0e98e4d9cd15951a953cbe05a9c9ae9d434 SHA512 ff879fcd5a3b7de8ee6ff9de2a13d0afc36fdb392390278b26ee179be26ff375ddce4f5ae24e3e88b737f63202af64b49e82b2ffbfc0de8bfd14690dac523747
24 +DIST conmon-2.1.0.tar.gz 159045 BLAKE2B a39b7620091ca17f4d91a26e040f886293688562cba1827cc09c1da1c1401ad78cbb16420c9df8a055ab5ca3eb2933aec6ac1b9fbb1eea10f33b1b0d76c5dd54 SHA512 0f27a1b048c2dcafb40cd67f80c2a5d7e92f5beb849174233dc10e2db42b4ea8b89f27c901d3f38cf1d412ed875c5521e07140038e859fb54bcc554cb9197e74
25
26 diff --git a/app-containers/conmon/conmon-2.1.0.ebuild b/app-containers/conmon/conmon-2.1.0.ebuild
27 new file mode 100644
28 index 000000000000..ac41e5569b88
29 --- /dev/null
30 +++ b/app-containers/conmon/conmon-2.1.0.ebuild
31 @@ -0,0 +1,49 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit toolchain-funcs
38 +
39 +DESCRIPTION="An OCI container runtime monitor"
40 +HOMEPAGE="https://github.com/containers/conmon"
41 +SRC_URI="https://github.com/containers/conmon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm64 ~ppc64"
46 +IUSE="systemd"
47 +RESTRICT="test"
48 +
49 +RDEPEND="dev-libs/glib:=
50 + sys-libs/libseccomp
51 + systemd? ( sys-apps/systemd:= )"
52 +DEPEND="${RDEPEND}
53 + dev-go/go-md2man"
54 +
55 +src_prepare() {
56 + default
57 +
58 + if ! use systemd; then
59 + sed -e 's| $(PKG_CONFIG) --exists libsystemd-journal | false |' \
60 + -e 's| $(PKG_CONFIG) --exists libsystemd | false |' \
61 + -i Makefile || die
62 + fi
63 + sed -e 's|make -C tools|$(MAKE) -C tools|' -i Makefile || die
64 + sed -e 's|^GOMD2MAN = .*|GOMD2MAN = go-md2man|' -i docs/Makefile || die
65 +}
66 +
67 +src_compile() {
68 + tc-export CC
69 + emake GIT_COMMIT="v${PV}" \
70 + all
71 +}
72 +
73 +src_install() {
74 + emake DESTDIR="${D}" \
75 + PREFIX="${EPREFIX}/usr" \
76 + install
77 + dodir /usr/libexec/podman
78 + ln "${ED}/usr/"{bin,libexec/podman}/conmon || die
79 + dodoc README.md
80 +}