Compare commits

...

2 Commits

6 changed files with 89 additions and 18 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/opentelemetry-collector-0.102.1.tar.gz
SOURCES/redhat-opentelemetry-collector-0.127.0.tar.gz

View File

@ -0,0 +1 @@
415496ae1a06c1c5ca1fd7ff2d546e76abc46567 SOURCES/redhat-opentelemetry-collector-0.127.0.tar.gz

View File

@ -1,6 +1,6 @@
%global goipath github.com/os-observability/redhat-opentelemetry-collector
Version: 0.102.1
Version: 0.127.0
ExcludeArch: %{ix86} s390 ppc ppc64
%gometa
@ -12,20 +12,22 @@ Collector with the supported components for a Red Hat build of OpenTelemetry}
%global godocs README.md
Name: opentelemetry-collector
Release: 5%{?dist}
Release: 2%{?dist}
Summary: Red Hat build of OpenTelemetry
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
Source0: redhat-%{name}-%{version}.tar.gz
Source1: otel_collector_journald.te
BuildRequires: systemd
BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
BuildRequires: binutils
BuildRequires: git
BuildRequires: policycoreutils, checkpolicy, selinux-policy-devel
BuildRequires: policycoreutils, checkpolicy, selinux-policy-devel
Requires(pre): shadow-utils
Requires(pre): util-linux
Requires(pre): /usr/sbin/useradd, /usr/bin/getent
Requires(postun): /usr/sbin/userdel
@ -69,7 +71,9 @@ install -m 0755 -p ./opentelemetry-collector-with-options %{buildroot}%{_bindir}
/usr/bin/getent passwd observability > /dev/null || /usr/sbin/useradd -r -M -s /sbin/nologin -g observability -G systemd-journal observability
%postun
/usr/sbin/userdel observability
if [ $1 -eq 0 ]; then
/usr/sbin/userdel observability
fi
%post
semodule -i %{_datadir}/selinux/packages/otel_collector_journald.pp
@ -102,11 +106,84 @@ fi
%{_bindir}/*
%changelog
* Mon Sep 09 2024 Major Hayden <major@redhat.com> - 0.102.1-5
- Rebuilt for C10S/RHEL 10
* Mon Aug 11 2025 Kseniia Nivnia <knivnia@redhat.com> - 0.127.0-2
- Bump revision
- Go version update to v1.24.4
- Update addresses CVE-2025-4673
Resolves: RHEL-105058
* Mon Aug 19 2024 Felix Kolwa <fkolwa@redhat.com> - 0.102.1-4
- include aarch64 build target
* Tue Jun 10 2025 Kseniia Nivnia <knivnia@redhat.com> - 0.127.0-1
- Collector version update
- Go version update to v1.23.9
- Update addresses CVE-2025-22871
Resolves: RHEL-90050
* Wed Mar 26 2025 Conor Cowman <ccowman@redhat.com> - 0.107.0-8
- Bump revision
- Update golang-jwt v5.2.1 to v5.2.2
- Update addresses CVE-2025-30204
Resolves: RHEL-85033
* Fri Mar 21 2025 Conor Cowman <ccowman@redhat.com> - 0.107.0-7
- Bump revision
- Update go-jose v4.0.2 to v4.0.5
- Update testify v1.9.0 to v1.10.0
- Update addresses CVE-2025-27144
Resolves: RHEL-82967
* Fri Mar 21 2025 Conor Cowman <ccowman@redhat.com> - 0.107.0-6
- Bump revision
- Update expr v1.16.9 to v1.17.0
- Remove explicit go toolchain dependency
- Update addresses CVE-2025-29786
Resolves: RHEL-83841
* Fri Mar 14 2025 Conor Cowman <ccowman@redhat.com> - 0.107.0-5
- Bump revision
- Update Golang v1.22.11 to v1.23.0
- Add toolchain go1.23.7
- Update x/oauth2 v0.22.0 to v0.27.0
- Update addresses CVE-2025-22868
Resolves: RHEL-81359
* Thu Mar 06 2025 Conor Cowman <ccowman@redhat.com> - 0.107.0-4
- Bump revision
- Add runtime requirements for shadow-utils and util-linux to ensure successful creation of observability user on installation
- Modify post-uninstallation stage to only delete delete the observability user on full uninstallation to prevent the user being deleted during upgrades
Resolves: RHEL-81967
* Wed Feb 12 2025 Conor Cowman <ccowman@redhat.com> - 0.107.0-3
- Bump revision
- Update tarball golang from 1.21.0 to 1.22.11
- Update addresses CVE-2024-45336
Resolves: RHEL-79113
* Tue Feb 11 2025 Kseniia Nivnia <knivnia@redhat.com> - 0.107.0-2
- Bump revision
- Update tarball name to match upstream
- Upgrade the following tarball dependencies:
- x/sys v0.23.0 to v0.29.0
- x/crypto v0.26.0 to v0.32.0
- x/net v0.28.0 to v0.33.0
- x/sync v0.8.0 to v0.10.0
- x/term v0.23.0 to v0.28.0
- x/text v0.17.0 to v0.21.0
- Update addresses the following CVEs:
- CVE-2024-45338
- CVE-2024-45337
* Mon Sep 23 2024 Felix Kolwa <fkolwa@redhat.com> - 0.107.0-1
- Version bump to 0.107.0
- Reset release to 1
- Update addresses the following CVEs:
- CVE-2024-34155
- CVE-2024-34156
- CVE-2024-42368
* Thu Sep 12 2024 Felix Kolwa <fkolwa@redhat.com> - 0.102.1-4
- Fix SELinux policy resource names
- Use sources for SELinux resources in spec file
- Bump revision
* Mon Aug 19 2024 Pavol Loffay <ploffay@redhat.com> - 0.102.1-4
- Added support for aarch64
* Thu Aug 01 2024 Benedikt Bongartz <bongartz@redhat.com> - 0.102.1-3
- Add default selinux policy for journald receiver
- Bump revision
@ -124,4 +201,4 @@ fi
- add opentelemetry collector default config
- add microshift manifests
* Thu Feb 1 21:59:10 CET 2024 Nina Olear <nolear@redhat.com> - 0.93.4
- First package for Copr
- First package for Copr

View File

@ -1,6 +0,0 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1 +0,0 @@
SHA512 (opentelemetry-collector-0.102.1.tar.gz) = 0bad66a38ed7fecd38457191961bbf49075b0ffe4848b46ce56e967389046dfba8ada9a911535822078d90a4ddd2e0a32979f2554bddcf20727984d0fc5b2e03