1 |
commit: 0663f0de098247b86dd2d16f79bd89f45e3bd1b4 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 1 05:22:41 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 1 06:07:45 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0663f0de |
7 |
|
8 |
app-emulation/conmon: add package |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.13 |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
app-emulation/conmon/Manifest | 1 + |
14 |
app-emulation/conmon/conmon-0.2.0.ebuild | 41 ++++++++++++++++++++++++++++++++ |
15 |
app-emulation/conmon/metadata.xml | 11 +++++++++ |
16 |
3 files changed, 53 insertions(+) |
17 |
|
18 |
diff --git a/app-emulation/conmon/Manifest b/app-emulation/conmon/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..8b116b37d32 |
21 |
--- /dev/null |
22 |
+++ b/app-emulation/conmon/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST conmon-0.2.0.tar.gz 48349 BLAKE2B f61d1750437102c3772669ac8cff75204bf6811a221212cb7127a439b57b70afacb460f4128413e242ccceb0fe44c417dcd0a7f08536f272131704f3a6cbd599 SHA512 81b6eb88a473c6b4e349e18ba48682dd15f5f1ad841d2ca6bead8b5f9b418dd20832a855a1c8d81ac77562d00cb6e5852aab4f6f4ce15f099ca63a0a3f432ec8 |
25 |
|
26 |
diff --git a/app-emulation/conmon/conmon-0.2.0.ebuild b/app-emulation/conmon/conmon-0.2.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..b529698cd21 |
29 |
--- /dev/null |
30 |
+++ b/app-emulation/conmon/conmon-0.2.0.ebuild |
31 |
@@ -0,0 +1,41 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+KEYWORDS="~amd64" |
38 |
+DESCRIPTION="An OCI container runtime monitor" |
39 |
+HOMEPAGE="https://github.com/containers/conmon" |
40 |
+LICENSE="Apache-2.0" |
41 |
+SLOT="0" |
42 |
+IUSE="systemd" |
43 |
+EGIT_COMMIT="59952292a3b07ac125575024ae21956efe0ecdfb" |
44 |
+SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+RDEPEND="dev-libs/glib:= |
46 |
+ systemd? ( sys-apps/systemd:= )" |
47 |
+DEPEND="${RDEPEND}" |
48 |
+ |
49 |
+src_prepare() { |
50 |
+ default |
51 |
+ |
52 |
+ if ! use systemd; then |
53 |
+ sed -e 's| pkg-config --exists libsystemd-journal | false |' \ |
54 |
+ -e 's| pkg-config --exists libsystemd | false |' \ |
55 |
+ -i Makefile || die |
56 |
+ fi |
57 |
+} |
58 |
+ |
59 |
+src_compile() { |
60 |
+ emake GIT_COMMIT="${EGIT_COMMIT}" \ |
61 |
+ all |
62 |
+} |
63 |
+ |
64 |
+src_install() { |
65 |
+ emake DESTDIR="${D}" \ |
66 |
+ PREFIX="${ED}/usr" \ |
67 |
+ install |
68 |
+ mv "${ED}/usr/libexec"/{crio,podman} || die |
69 |
+ dodir /usr/bin |
70 |
+ ln "${ED}/usr/"{libexec/podman,bin}/conmon || die |
71 |
+ dodoc README.md |
72 |
+} |
73 |
|
74 |
diff --git a/app-emulation/conmon/metadata.xml b/app-emulation/conmon/metadata.xml |
75 |
new file mode 100644 |
76 |
index 00000000000..15f05bae08e |
77 |
--- /dev/null |
78 |
+++ b/app-emulation/conmon/metadata.xml |
79 |
@@ -0,0 +1,11 @@ |
80 |
+<?xml version="1.0" encoding="UTF-8"?> |
81 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
82 |
+<pkgmetadata> |
83 |
+ <maintainer type="person"> |
84 |
+ <email>zmedico@g.o</email> |
85 |
+ <name>Zac Medico</name> |
86 |
+ </maintainer> |
87 |
+ <upstream> |
88 |
+ <remote-id type="github">containers/conmon</remote-id> |
89 |
+ </upstream> |
90 |
+</pkgmetadata> |