summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2020-06-19 19:40:44 -0700
committerZac Medico <zmedico@gentoo.org>2020-06-19 19:40:44 -0700
commit93d0a60dd9a0dd581753c20ce6fa83eaae53930d (patch)
tree30142efe491866042c24315ee727a4e2bcab3f63 /app-emulation
parentdev-perl/Clipboard: Bump to version 0.260.0 (diff)
downloadgentoo-93d0a60dd9a0dd581753c20ce6fa83eaae53930d.tar.gz
gentoo-93d0a60dd9a0dd581753c20ce6fa83eaae53930d.tar.bz2
gentoo-93d0a60dd9a0dd581753c20ce6fa83eaae53930d.zip
app-emulation/conmon: Bump to version 2.0.18
Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/conmon/Manifest1
-rw-r--r--app-emulation/conmon/conmon-2.0.18.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/app-emulation/conmon/Manifest b/app-emulation/conmon/Manifest
index 42c8976b868..68dec7d5ece 100644
--- a/app-emulation/conmon/Manifest
+++ b/app-emulation/conmon/Manifest
@@ -1,2 +1,3 @@
DIST conmon-2.0.15.tar.gz 61983 BLAKE2B c29de3c9df41b9f27fc2a0f0ac64c1ce27e5dbb21c9a74b060516692a910be4370f7cc4b6225e0243b809fd36848515b28017cb1766cc032a48d7e14b9a72726 SHA512 8310236045d8678bdd07bfd5a56f7ad1e9a01019e27ed8d24dcb83b4489240adce9e118a4fccb6cb0c0f3c31a0272d75bdafba9c50130903d87b7cb68288b470
DIST conmon-2.0.16.tar.gz 62372 BLAKE2B 0f02689e6ca25ee2f8cdf649f60ed70ac25648dd35af765a5fd97573dd9c176d115b97cea0ea10521f055a92f0775430113f53724fc772d62630dc7daa05b4a7 SHA512 8f44b2426e3fdbb6ca0279b35262f5584c44898843daf6b64d54c3a87dcdfaf9a7283ad38973e6e0f7333ec37236ef7de1de03a3006f5f2593fdb8aff70e5e6c
+DIST conmon-2.0.18.tar.gz 63721 BLAKE2B 68b698687931bae0945d90f3c11025e1228e12d5dfba9dc9227e4d962234e50e9d775d1def0e5de1f55dbddf476449b131e4e17f83a9834fa472662a7d58ffac SHA512 1ab3e9675f16cd50e9f0fe83d473e8a91828485078add4eeb6bfb600cf3b8d0809f742a79f260aa793914e484f4f4d6c6ab287e0faa3a50f4d2a1da94a855248
diff --git a/app-emulation/conmon/conmon-2.0.18.ebuild b/app-emulation/conmon/conmon-2.0.18.ebuild
new file mode 100644
index 00000000000..ae692f5f220
--- /dev/null
+++ b/app-emulation/conmon/conmon-2.0.18.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGIT_COMMIT="7b3e303be8f1aea7e0d4a784c8e64a75c14756a4"
+DESCRIPTION="An OCI container runtime monitor"
+HOMEPAGE="https://github.com/containers/conmon"
+SRC_URI="https://github.com/containers/conmon/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="systemd"
+RESTRICT="test"
+
+RDEPEND="dev-libs/glib:=
+ systemd? ( sys-apps/systemd:= )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
+
+src_prepare() {
+ default
+
+ if ! use systemd; then
+ sed -e 's| $(PKG_CONFIG) --exists libsystemd-journal | false |' \
+ -e 's| $(PKG_CONFIG) --exists libsystemd | false |' \
+ -i Makefile || die
+ fi
+}
+
+src_compile() {
+ emake GIT_COMMIT="${EGIT_COMMIT}" \
+ all
+}
+
+src_install() {
+ emake DESTDIR="${D}" \
+ PREFIX="/usr" \
+ install
+ dodir /usr/libexec/podman
+ ln "${ED}/usr/"{bin,libexec/podman}/conmon || die
+ dodoc README.md
+}