3 Commits

Author SHA1 Message Date
Jindrich Novy 8e0fa76c6f conmon-2.2.1-1.el9
- update to https://github.com/containers/conmon/releases/tag/v2.2.1
- enable RELRO
- Related: RHEL-111919

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
2026-02-12 20:18:47 +01:00
Jindrich Novy 272aa3e9f8 conmon-2.2.0-2.el9
- update to https://github.com/containers/conmon/releases/tag/v2.2.0
- Resolves: RHEL-147114

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
2026-02-05 15:10:33 +01:00
Jindrich Novy 1ac50b04ec conmon-2.1.13-1.el9
- update to https://github.com/containers/conmon/releases/tag/v2.1.13
- Resolves: RHEL-80820

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
2025-02-26 12:56:28 +01:00
2 changed files with 55 additions and 32 deletions
+54 -31
View File
@@ -1,53 +1,62 @@
%global with_check 0 %global with_debug 1
# https://github.com/containers/conmon %if 0%{?with_debug}
%global import_path github.com/containers/%{name} %global _find_debuginfo_dwz_opts %{nil}
%global git0 https://%{import_path} %global _dwz_low_mem_die_limit 0
%global commit0 e8896631295ccb0bfdda4284f1751be19b483264 %else
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global debug_package %{nil}
%endif
%if %{defined rhel}
%bcond_with docs
%else
%bcond_without docs
%endif
Name: conmon Name: conmon
Epoch: 3 Epoch: 3
Version: 2.1.12 Version: 2.2.1
License: Apache-2.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: OCI container runtime monitor Summary: OCI container runtime monitor
License: ASL 2.0 URL: https://github.com/containers/%{name}
URL: %{git0} # Tarball fetched from upstream
%if 0%{?branch:1} Source0: %{url}/archive/v%{version}.tar.gz
Source0: https://%{import_path}/tarball/%{commit0}/%{branch}-%{shortcommit0}.tar.gz %if %{with docs}
%else BuildRequires: go-md2man
Source0: https://%{import_path}/archive/%{commit0}/%{name}-%{version}-%{shortcommit0}.tar.gz
%endif %endif
# https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures
#ExclusiveArch: %%{go_arches}
# still use arch exclude as the macro above still refers %%{ix86} in RHEL8.4:
# https://bugzilla.redhat.com/show_bug.cgi?id=1905383
ExcludeArch: %{ix86}
BuildRequires: gcc BuildRequires: gcc
BuildRequires: git BuildRequires: git-core
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: systemd-devel
BuildRequires: golang >= 1.12.12-4
BuildRequires: /usr/bin/go-md2man
BuildRequires: libseccomp-devel BuildRequires: libseccomp-devel
BuildRequires: pkgconfig
BuildRequires: systemd-devel
BuildRequires: systemd-libs
BuildRequires: make
Requires: glib2
Requires: systemd-libs
Requires: libseccomp
%description %description
%{summary}. %{summary}.
%prep %prep
%if 0%{?branch:1} %autosetup -Sgit %{name}-%{version}
%autosetup -Sgit -n containers-%{name}-%{shortcommit0} sed -i 's/install.bin: bin\/conmon/install.bin:/' Makefile
%else
%autosetup -Sgit -n %{name}-%{commit0}
%endif
%build %build
export CFLAGS="%{optflags} -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" %{__make} DEBUGFLAG="-g" LDFLAGS="-Wl,-z,relro -Wl,-z,now" bin/conmon
export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
%{__make} all %if %{with docs}
%{__make} GOMD2MAN=go-md2man -C docs
%endif
%install %install
%{__make} PREFIX=%{buildroot}%{_prefix} install %{__make} PREFIX=%{buildroot}%{_prefix} install.bin
%if %{with docs}
%{__make} PREFIX=%{buildroot}%{_prefix} -C docs install
%endif
#define license tag if not already defined #define license tag if not already defined
%{!?_licensedir:%global license %doc} %{!?_licensedir:%global license %doc}
@@ -56,9 +65,23 @@ export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
%license LICENSE %license LICENSE
%doc README.md %doc README.md
%{_bindir}/%{name} %{_bindir}/%{name}
%if %{with docs}
%{_mandir}/man8/* %{_mandir}/man8/*
%endif
%changelog %changelog
* Thu Feb 12 2026 Jindrich Novy <jnovy@redhat.com> - 3:2.2.1-1
- update to https://github.com/containers/conmon/releases/tag/v2.2.1
- Related: RHEL-111919
* Thu Feb 05 2026 Jindrich Novy <jnovy@redhat.com> - 3:2.2.0-2
- update to https://github.com/containers/conmon/releases/tag/v2.2.0
- Resolves: RHEL-147114
* Wed Feb 26 2025 Jindrich Novy <jnovy@redhat.com> - 3:2.1.13-1
- update to https://github.com/containers/conmon/releases/tag/v2.1.13
- Resolves: RHEL-80820
* Wed May 29 2024 Jindrich Novy <jnovy@redhat.com> - 3:2.1.12-1 * Wed May 29 2024 Jindrich Novy <jnovy@redhat.com> - 3:2.1.12-1
- update to https://github.com/containers/conmon/releases/tag/v2.1.12 - update to https://github.com/containers/conmon/releases/tag/v2.1.12
- Related: RHEL-27608 - Related: RHEL-27608
+1 -1
View File
@@ -1 +1 @@
SHA512 (conmon-2.1.12-e889663.tar.gz) = 8e77b9532a882d212e8e62fb4101aea1c6cc7d3ae943415451bb6f59492e7e816abd5479032c12f042688191dcde56a2aa18c287455b3d112db1fbdb22556c9b SHA512 (v2.2.1.tar.gz) = 52513fc25b0db0b7c9c99aa63f6be4c495add350b9269fad67136f728d3399dbb54c5fa526d52c158c67956ded8980f1cc3624fc531a152b16c09caa3399be3b