1 |
commit: 213f3e0302c22114f459422293caa1ef07abe9e0 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 7 03:56:08 2021 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 7 03:56:08 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=213f3e03 |
7 |
|
8 |
app-emulation/conmon: Bump to version 2.0.31 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
app-emulation/conmon/Manifest | 1 + |
14 |
app-emulation/conmon/conmon-2.0.31.ebuild | 48 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 49 insertions(+) |
16 |
|
17 |
diff --git a/app-emulation/conmon/Manifest b/app-emulation/conmon/Manifest |
18 |
index dd4deb4aa86c..c3866731eab9 100644 |
19 |
--- a/app-emulation/conmon/Manifest |
20 |
+++ b/app-emulation/conmon/Manifest |
21 |
@@ -1 +1,2 @@ |
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 |
|
25 |
diff --git a/app-emulation/conmon/conmon-2.0.31.ebuild b/app-emulation/conmon/conmon-2.0.31.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..0f5ca7319b06 |
28 |
--- /dev/null |
29 |
+++ b/app-emulation/conmon/conmon-2.0.31.ebuild |
30 |
@@ -0,0 +1,48 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit toolchain-funcs |
37 |
+ |
38 |
+DESCRIPTION="An OCI container runtime monitor" |
39 |
+HOMEPAGE="https://github.com/containers/conmon" |
40 |
+SRC_URI="https://github.com/containers/conmon/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="Apache-2.0" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm64 ~ppc64" |
45 |
+IUSE="systemd" |
46 |
+RESTRICT="test" |
47 |
+ |
48 |
+RDEPEND="dev-libs/glib:= |
49 |
+ systemd? ( sys-apps/systemd:= )" |
50 |
+DEPEND="${RDEPEND} |
51 |
+ dev-go/go-md2man" |
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 |
+ sed -e 's|make -C tools|$(MAKE) -C tools|' -i Makefile || die |
62 |
+ sed -e 's|^GOMD2MAN = .*|GOMD2MAN = go-md2man|' -i docs/Makefile || die |
63 |
+} |
64 |
+ |
65 |
+src_compile() { |
66 |
+ tc-export CC |
67 |
+ emake GIT_COMMIT="v${PV}" \ |
68 |
+ all |
69 |
+} |
70 |
+ |
71 |
+src_install() { |
72 |
+ emake DESTDIR="${D}" \ |
73 |
+ PREFIX="${EPREFIX}/usr" \ |
74 |
+ install |
75 |
+ dodir /usr/libexec/podman |
76 |
+ ln "${ED}/usr/"{bin,libexec/podman}/conmon || die |
77 |
+ dodoc README.md |
78 |
+} |