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
4 changed files with 20 additions and 106 deletions
-89
View File
@@ -1,89 +0,0 @@
---
# See the documentation for more information:
# https://packit.dev/docs/configuration/
downstream_package_name: conmon
upstream_tag_template: v{version}
packages:
conmon-fedora:
pkg_tool: fedpkg
specfile_path: rpm/conmon.spec
conmon-centos:
pkg_tool: centpkg
specfile_path: rpm/conmon.spec
conmon-rhel:
specfile_path: rpm/conmon.spec
jobs:
- job: copr_build
trigger: pull_request
packages: [conmon-fedora]
notifications: &copr_build_failure_notification
failure_comment:
message: "Ephemeral COPR build failed. @containers/packit-build please check."
enable_net: true
targets:
- fedora-all-aarch64
- fedora-all-x86_64
- fedora-eln-aarch64
- fedora-eln-x86_64
- job: copr_build
trigger: pull_request
packages: [conmon-centos]
notifications: *copr_build_failure_notification
enable_net: true
targets:
- centos-stream-10-aarch64
- centos-stream-10-x86_64
- centos-stream-9-aarch64
- centos-stream-9-x86_64
- job: copr_build
trigger: pull_request
packages: [conmon-rhel]
notifications: *copr_build_failure_notification
enable_net: true
targets:
- epel-9-aarch64
- epel-9-x86_64
# Run on commit to main branch
- job: copr_build
trigger: commit
notifications:
failure_comment:
message: "podman-next COPR build failed. @containers/packit-build please check."
branch: main
owner: rhcontainerbot
project: podman-next
enable_net: true
# Downstream sync for Fedora
- job: propose_downstream
trigger: release
packages: [conmon-fedora]
update_release: false
dist_git_branches:
- fedora-all
# Downstream sync for CentOS Stream
- job: propose_downstream
trigger: release
packages: [conmon-centos]
update_release: false
dist_git_branches:
- c10s
- job: koji_build
trigger: commit
packages: [conmon-fedora]
dist_git_branches:
- fedora-all
- job: bodhi_update
trigger: commit
packages: [conmon-fedora]
dist_git_branches:
- fedora-branched # rawhide updates are created automatically
-3
View File
@@ -1,3 +0,0 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 1.14.0.post1.dev10+g291d7454f.
+19 -13
View File
@@ -21,7 +21,7 @@ Epoch: 2
%endif
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,8 +70,19 @@ sed -i 's/install.bin: bin\/conmon/install.bin:/' Makefile
%endif
%changelog
* Thu Feb 12 2026 Packit <hello@packit.dev> - 2:2.2.1-1
- Update to version 2.2.1
* 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
+1 -1
View File
@@ -1 +1 @@
SHA512 (v2.2.0.tar.gz) = 8a14d47be06f3b768118216afc7b9cf5da65c19d896f55febe92250cf9f7aa7c9b8c58736f0a52d44c2ff9f4a6bc99fa3f9ffe22a7905d332b2fd816b3a2e2c9
SHA512 (v2.2.1.tar.gz) = 52513fc25b0db0b7c9c99aa63f6be4c495add350b9269fad67136f728d3399dbb54c5fa526d52c158c67956ded8980f1cc3624fc531a152b16c09caa3399be3b