Compare commits
10 Commits
2f48eaac6a
...
71af47ba78
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
71af47ba78 | ||
|
|
5f80356d27 | ||
|
|
6f85f0f4e8 | ||
|
|
112ea3fc15 | ||
|
|
18281b6cf8 | ||
|
|
736bcfefdd | ||
|
|
26e16c9813 | ||
|
|
dc7f2837c2 | ||
|
|
79835b3174 | ||
|
|
ce4586dfc5 |
BIN
conmon-bdb4f6e.tar.gz
Normal file
BIN
conmon-bdb4f6e.tar.gz
Normal file
Binary file not shown.
56
conmon.spec
Normal file
56
conmon.spec
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
Name: conmon
|
||||||
|
Epoch: 2
|
||||||
|
Version: 2.1.0
|
||||||
|
Release: 1
|
||||||
|
Summary: Monitoring program for OCI container
|
||||||
|
License: ASL 2.0
|
||||||
|
URL: https://github.com/containers/conmon
|
||||||
|
Source0: https://github.com/containers/conmon/archive/bdb4f6e56cd193d40b75ffc9725d4b74a18cb33c/conmon-bdb4f6e.tar.gz
|
||||||
|
Source1: https://github.com/cpuguy83/go-md2man/archive/v1.0.10.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: glib2-devel gcc git libseccomp-devel systemd-devel systemd-libs make golang
|
||||||
|
Requires: glib2 systemd-libs libseccomp
|
||||||
|
|
||||||
|
%description
|
||||||
|
Conmon is a monitoring program and communication tool between a container manager (like podman or CRI-O)
|
||||||
|
and an OCI runtime (like runc or crun) for a single container.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n conmon-bdb4f6e56cd193d40b75ffc9725d4b74a18cb33c -p1
|
||||||
|
|
||||||
|
tar -xf %SOURCE1
|
||||||
|
|
||||||
|
%build
|
||||||
|
GO_MD2MAN_PATH="$(pwd)%{_bindir}"
|
||||||
|
mkdir -p _build/bin $GO_MD2MAN_PATH
|
||||||
|
cd go-md2man-*
|
||||||
|
go build -mod=vendor -o ../_build/bin/go-md2man .
|
||||||
|
cp ../_build/bin/go-md2man $GO_MD2MAN_PATH/go-md2man
|
||||||
|
export PATH=$GO_MD2MAN_PATH:$PATH
|
||||||
|
cd -
|
||||||
|
export CFLAGS="${RPM_OPT_FLAGS}"
|
||||||
|
export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
|
||||||
|
%make_build all
|
||||||
|
|
||||||
|
%install
|
||||||
|
make PREFIX=%{buildroot}%{_prefix} install install.crio
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/conmon
|
||||||
|
%{_libexecdir}/crio/conmon
|
||||||
|
%{_mandir}/man8/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Mar 16 2022 liukuo <liukuo@kylinos.cn> - 2:2.1.0-1
|
||||||
|
- Upgrade version to 2.1.0
|
||||||
|
|
||||||
|
* Thu Sep 09 2021 lingsheng <lingsheng@huawei.com> - 2:2.0.2-4
|
||||||
|
- Set CFLAGS to build debug related rpm
|
||||||
|
|
||||||
|
* Mon May 31 2021 baizhonggui <baizhonggui@huawei.com> - 2:2.0.2-3
|
||||||
|
- Add gcc in BuildRequires
|
||||||
|
|
||||||
|
* Mon Dec 23 2019 shijian <shijian16@huawei.com> - 2:2.0.2-2
|
||||||
|
- Package init
|
||||||
4
conmon.yaml
Normal file
4
conmon.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: containers/conmon
|
||||||
|
tag_prefix: ^v
|
||||||
|
seperator: .
|
||||||
BIN
v1.0.10.tar.gz
Normal file
BIN
v1.0.10.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user