3 Commits

Author SHA1 Message Date
Jindrich Novy fafd0b1bef conmon-2.2.1-3.el10
- pass %%{optflags} and %%{build_ldflags} to enable stack protector
  and FORTIFY_SOURCE hardening flags
- Resolves: RHEL-152224

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
2026-02-27 08:28:47 +01:00
Jindrich Novy 6d49e1f164 conmon-2.2.1-2.el10
- use proper macros in spec file and simplify
- Related: RHEL-111917

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
2026-02-16 11:30:05 +01:00
Jindrich Novy ba7b5c8d05 conmon-2.2.1-1.el10
- update to https://github.com/containers/conmon/releases/tag/v2.2.1
- enable RELRO
- Related: RHEL-122178

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
2026-02-12 20:25:12 +01:00
2 changed files with 22 additions and 13 deletions
+21 -12
View File
@@ -19,9 +19,9 @@ Epoch: 3
%else
Epoch: 2
%endif
Version: 2.2.0
Version: 2.2.1
License: Apache-2.0
Release: 1%{?dist}
Release: 3%{?dist}
Summary: OCI container runtime monitor
URL: https://github.com/containers/%{name}
# Tarball fetched from upstream
@@ -31,12 +31,10 @@ BuildRequires: go-md2man
%endif
BuildRequires: gcc
BuildRequires: git-core
BuildRequires: glib2-devel
BuildRequires: libseccomp-devel
BuildRequires: pkgconfig
BuildRequires: systemd-devel
BuildRequires: systemd-libs
BuildRequires: make
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libseccomp)
Requires: glib2
Requires: systemd-libs
Requires: libseccomp
@@ -49,10 +47,10 @@ Requires: libseccomp
sed -i 's/install.bin: bin\/conmon/install.bin:/' Makefile
%build
%{__make} DEBUGFLAG="-g" bin/conmon
%make_build bin/conmon CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}"
%if %{with docs}
%{__make} GOMD2MAN=go-md2man -C docs
%make_build GOMD2MAN=go-md2man -C docs
%endif
%install
@@ -62,9 +60,6 @@ sed -i 's/install.bin: bin\/conmon/install.bin:/' Makefile
%{__make} PREFIX=%{buildroot}%{_prefix} -C docs install
%endif
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
%files
%license LICENSE
%doc README.md
@@ -75,6 +70,20 @@ sed -i 's/install.bin: bin\/conmon/install.bin:/' Makefile
%endif
%changelog
* Fri Feb 27 2026 Jindrich Novy <jnovy@redhat.com> - 2:2.2.1-3
- pass %%{optflags} and %%{build_ldflags} to enable stack protector
and FORTIFY_SOURCE hardening flags
- Resolves: RHEL-152224
* Mon Feb 16 2026 Jindrich Novy <jnovy@redhat.com> - 2:2.2.1-2
- use proper macros in spec file and simplify
- Related: RHEL-111917
* Thu Feb 12 2026 Jindrich Novy <jnovy@redhat.com> - 2:2.2.1-1
- update to https://github.com/containers/conmon/releases/tag/v2.2.1
- enable RELRO
- Related: RHEL-122178
* Tue Feb 03 2026 Jindrich Novy <jnovy@redhat.com> - 2:2.2.0-1
- update to https://github.com/containers/conmon/releases/tag/v2.2.0
- Related: RHEL-122178
+1 -1
View File
@@ -1 +1 @@
SHA512 (v2.2.0.tar.gz) = 8a14d47be06f3b768118216afc7b9cf5da65c19d896f55febe92250cf9f7aa7c9b8c58736f0a52d44c2ff9f4a6bc99fa3f9ffe22a7905d332b2fd816b3a2e2c9
SHA512 (v2.2.1.tar.gz) = 52513fc25b0db0b7c9c99aa63f6be4c495add350b9269fad67136f728d3399dbb54c5fa526d52c158c67956ded8980f1cc3624fc531a152b16c09caa3399be3b