diff options
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/conmon/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/conmon/conmon-2.0.19.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/app-emulation/conmon/Manifest b/app-emulation/conmon/Manifest index 68dec7d5ece8..12713bf16a5a 100644 --- a/app-emulation/conmon/Manifest +++ b/app-emulation/conmon/Manifest @@ -1,3 +1,4 @@ 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 +DIST conmon-2.0.19.tar.gz 64578 BLAKE2B 60ae41063525b7b64e6c501f61f4938093517974096e79fdc99648a52871b9ee8f635cda704ed32a1aa7a725812c8637ec7f424581fb68c26aaf2eddc11160a8 SHA512 7a68ebfaeee146282694db893d8981c60f29e5ba7d2e0569eda248eaa39ba628b4eb46ca93d9f608764f1af89e1294acf63c5ebc52a88ee07f8fe57a76ea9f1c diff --git a/app-emulation/conmon/conmon-2.0.19.ebuild b/app-emulation/conmon/conmon-2.0.19.ebuild new file mode 100644 index 000000000000..5a10a5b8cba6 --- /dev/null +++ b/app-emulation/conmon/conmon-2.0.19.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="25585dd8e8ebff68baa00f695115eff4191ca1f9" +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 +} |