app-emulation/conmon: Bump to version 2.0.11
authorZac Medico <zmedico@gentoo.org>
Thu, 5 Mar 2020 05:11:00 +0000 (21:11 -0800)
committerZac Medico <zmedico@gentoo.org>
Thu, 5 Mar 2020 05:17:23 +0000 (21:17 -0800)
Package-Manager: Portage-2.3.92, Repoman-2.3.20
Signed-off-by: Zac Medico <zmedico@gentoo.org>
app-emulation/conmon/Manifest
app-emulation/conmon/conmon-2.0.11.ebuild [new file with mode: 0644]

index 4308dc8eed5da4684bf93ca0ad66c6fef52ba2c8..8819117aa20ae2677a4ce7a06790f6d8a8c65029 100644 (file)
@@ -1,4 +1,5 @@
 DIST conmon-2.0.1.tar.gz 52250 BLAKE2B 59d0786975d0332ce2eb68024bbfe4c3275388d1e12561a279918fb4d2fdc2c8fd24d5872b724ccbc32722b50debf2de5c9e904aa26e25c3363f0418f5f74f8d SHA512 ba7ccdb61b6092987a3fe0fbcf76c11edaf4e15e4af4d831a8e5fdd58202a81be4d9ddf5c1d71eba5824b284f3b4416a65864e19d65dec4dfd511210c75480b1
 DIST conmon-2.0.10.tar.gz 54124 BLAKE2B 0f7b3a3a488fdcf4978c9c69bbb1649b7bca2935c824d0169bb4b6ce5a97d788e2016ed3018beac98ad31723656cca3124c3014f115ce600a4ba4c3c9c02badc SHA512 50145a0e00a595213cf5db684bb51633d8129a770cbd2aca49207b3d6b8b97090b6e6eb52b3f4664978d48c6b404be369bb7d8d5e6ce26b362c377a30ddc0411
+DIST conmon-2.0.11.tar.gz 58791 BLAKE2B a2b9e06041e0455d1445974b76d87e96fc6e248053ca52d48625e635ff709e180d1f9cc96cbcae9896261cf9b7401f1f10749b161451c4aa1bff4ec2d89118d0 SHA512 6ec1f14e1d0216305cc5f866566804204233239b6b428d040385e38b7c9f0d1160bb3af4ec31a441171934358f7f4b315b127507d54bc180e765846ed7b2588e
 DIST conmon-2.0.2.tar.gz 52364 BLAKE2B 6acf8265c28da6fedf43ea585a773a213bf7405fcd0b53a1b91c6eca314dde19e59e5883994d1d90a68b5cdc267d97587b7461d3f71da65055e52896a444cfc0 SHA512 f325906b0a9d884e84cb899e4eb2843f1f6a08fa03d255c7ebd4c1c47f7192defc98698c09c5ef428c31d1ccf21dc813f86fd3213e73ceb4d4ee8b2cbc4e7e89
 DIST conmon-2.0.9.tar.gz 54056 BLAKE2B 8f27c13d23237d35576e037b8bd1654a019452af139f774e82a04c3272bd858cf806ac1288bc1bb7f313d6e071923103c37bfc5d911ab124e383622f8057197c SHA512 904275d6e116c15e1c373c7ee5d7d9f2cdb671f86c364bab24eb688cd618afacfd63ca5076fd5a67869b97cdbb226df8fac15f390a384e125d9007c0052ed847
diff --git a/app-emulation/conmon/conmon-2.0.11.ebuild b/app-emulation/conmon/conmon-2.0.11.ebuild
new file mode 100644 (file)
index 0000000..f0d0a61
--- /dev/null
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGIT_COMMIT="ff9d97a08d7a4b58267ac03719786e4e7258cecf"
+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
+}