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-emulation/conmon/
Date: Mon, 28 Dec 2020 23:29:13
Message-Id: 1609198113.5b4dd2b3692c0d6d0b4d62c19110414b841b0b09.zmedico@gentoo
1 commit: 5b4dd2b3692c0d6d0b4d62c19110414b841b0b09
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 28 23:28:33 2020 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 28 23:28:33 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b4dd2b3
7
8 app-emulation/conmon: Bump to version 2.0.22
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 app-emulation/conmon/Manifest | 1 +
14 app-emulation/conmon/conmon-2.0.22.ebuild | 45 +++++++++++++++++++++++++++++++
15 2 files changed, 46 insertions(+)
16
17 diff --git a/app-emulation/conmon/Manifest b/app-emulation/conmon/Manifest
18 index 15b98a0d987..b88f13d27b2 100644
19 --- a/app-emulation/conmon/Manifest
20 +++ b/app-emulation/conmon/Manifest
21 @@ -1 +1,2 @@
22 DIST conmon-2.0.20.tar.gz 64716 BLAKE2B d7eb464f5be0b117824571134f08077955f56e1637dd2cbc6b70413dc9a6f109a1b9b207f5523103f205659ac20cc65f5f2340475d771fdf4b852d6895887975 SHA512 b719e41e1ead0d38c0874a30901c5660dc8612dc7aa1c025068480846a1e458a744b55bb8d5d74d2c2ce38fdbbe03505fce216a2f2c0748740983e3272a82f0e
23 +DIST conmon-2.0.22.tar.gz 103371 BLAKE2B f509ba800c847886ec2350e141d2b965ff1cc09822467718fb0d94acdabdc86c6f40dff9428679e4c4171ac6a522b3ba7622d66ebd8108be1a68cbf7418d5c09 SHA512 819e1d9279c1a22388220d710b975cdeb3c0b56413afb177afe1c96b649e2dce496d5f51fe4094f572111f771102ccd0ae86f1776e99fedb2e76e6e9130c2d5c
24
25 diff --git a/app-emulation/conmon/conmon-2.0.22.ebuild b/app-emulation/conmon/conmon-2.0.22.ebuild
26 new file mode 100644
27 index 00000000000..967a5d5432e
28 --- /dev/null
29 +++ b/app-emulation/conmon/conmon-2.0.22.ebuild
30 @@ -0,0 +1,45 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +EGIT_COMMIT="9c34a8663b85e479e0c083801e89a2b2835228ed"
37 +DESCRIPTION="An OCI container runtime monitor"
38 +HOMEPAGE="https://github.com/containers/conmon"
39 +SRC_URI="https://github.com/containers/conmon/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
40 +
41 +LICENSE="Apache-2.0"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~arm64"
44 +IUSE="systemd"
45 +RESTRICT="test"
46 +
47 +RDEPEND="dev-libs/glib:=
48 + systemd? ( sys-apps/systemd:= )"
49 +DEPEND="${RDEPEND}"
50 +
51 +S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
52 +
53 +src_prepare() {
54 + default
55 +
56 + if ! use systemd; then
57 + sed -e 's| $(PKG_CONFIG) --exists libsystemd-journal | false |' \
58 + -e 's| $(PKG_CONFIG) --exists libsystemd | false |' \
59 + -i Makefile || die
60 + fi
61 +}
62 +
63 +src_compile() {
64 + emake GIT_COMMIT="${EGIT_COMMIT}" \
65 + all
66 +}
67 +
68 +src_install() {
69 + emake DESTDIR="${D}" \
70 + PREFIX="/usr" \
71 + install
72 + dodir /usr/libexec/podman
73 + ln "${ED}/usr/"{bin,libexec/podman}/conmon || die
74 + dodoc README.md
75 +}