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