diff options
author | Zac Medico <zmedico@gentoo.org> | 2021-02-25 13:38:46 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2021-02-25 13:40:33 -0800 |
commit | 1dfe29ffb1c8643b74b6cdad5218f6ac2bd6a96b (patch) | |
tree | bb525e384f8ec712b2588313cc66c673eee9e19b /app-emulation/conmon | |
parent | app-emulation/slirp4netns: Remove old version 1.1.4 (diff) | |
download | gentoo-1dfe29ffb1c8643b74b6cdad5218f6ac2bd6a96b.tar.gz gentoo-1dfe29ffb1c8643b74b6cdad5218f6ac2bd6a96b.tar.bz2 gentoo-1dfe29ffb1c8643b74b6cdad5218f6ac2bd6a96b.zip |
app-emulation/conmon: Bump to version 2.0.26
Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-emulation/conmon')
-rw-r--r-- | app-emulation/conmon/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/conmon/conmon-2.0.26.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/app-emulation/conmon/Manifest b/app-emulation/conmon/Manifest index b88f13d27b26..7b8007e8115c 100644 --- a/app-emulation/conmon/Manifest +++ b/app-emulation/conmon/Manifest @@ -1,2 +1,3 @@ DIST conmon-2.0.20.tar.gz 64716 BLAKE2B d7eb464f5be0b117824571134f08077955f56e1637dd2cbc6b70413dc9a6f109a1b9b207f5523103f205659ac20cc65f5f2340475d771fdf4b852d6895887975 SHA512 b719e41e1ead0d38c0874a30901c5660dc8612dc7aa1c025068480846a1e458a744b55bb8d5d74d2c2ce38fdbbe03505fce216a2f2c0748740983e3272a82f0e DIST conmon-2.0.22.tar.gz 103371 BLAKE2B f509ba800c847886ec2350e141d2b965ff1cc09822467718fb0d94acdabdc86c6f40dff9428679e4c4171ac6a522b3ba7622d66ebd8108be1a68cbf7418d5c09 SHA512 819e1d9279c1a22388220d710b975cdeb3c0b56413afb177afe1c96b649e2dce496d5f51fe4094f572111f771102ccd0ae86f1776e99fedb2e76e6e9130c2d5c +DIST conmon-2.0.26.tar.gz 104681 BLAKE2B fc8369258a414d3a169b64019199c604d1d8bded70d5a38230f243053dcf09c6f9aee931b328913e6cbbe3c495aab4894647897f40f537a79eb587ecee58517a SHA512 5cbb66053fb48b514f93b3be4d4ac428f9eea8a3e1452b4df232250e9cd01202ecb7477c05e1e4dfb21595f2d1881be35cdea9b23f43c02bb7c0e67a3161396e diff --git a/app-emulation/conmon/conmon-2.0.26.ebuild b/app-emulation/conmon/conmon-2.0.26.ebuild new file mode 100644 index 000000000000..e2e8f1c90b90 --- /dev/null +++ b/app-emulation/conmon/conmon-2.0.26.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +EGIT_COMMIT="0e155c83aa739ef0a0540ec9f9d265f57f68038b" +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 ~arm64" +IUSE="systemd" +RESTRICT="test" + +RDEPEND="dev-libs/glib:= + systemd? ( sys-apps/systemd:= )" +DEPEND="${RDEPEND} + dev-go/go-md2man" + +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 + sed -e 's|make -C tools|$(MAKE) -C tools|' -i Makefile || die + sed -e 's|^GOMD2MAN = .*|GOMD2MAN = go-md2man|' -i docs/Makefile || die +} + +src_compile() { + tc-export CC + 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 +} |