diff --git a/.gitignore b/.gitignore index 302a9d3..643f820 100644 --- a/.gitignore +++ b/.gitignore @@ -77,3 +77,13 @@ abrt-1.1.13.tar.gz /abrt-2.14.6.tar.gz /abrt-2.15.0.tar.gz /abrt-2.15.1.tar.gz +/abrt-2.16.0.tar.gz +/abrt-2.16.1.tar.gz +/abrt-2.17.0.tar.gz +/abrt-2.17.1.tar.gz +/abrt-2.17.2.tar.gz +/abrt-2.17.4.tar.gz +/abrt-2.17.5.tar.gz +/abrt-2.17.6.tar.gz +/abrt-2.17.7.tar.gz +/abrt-2.17.8.tar.gz diff --git a/abrt.spec b/abrt.spec index a700fbc..3bdd3fe 100644 --- a/abrt.spec +++ b/abrt.spec @@ -9,6 +9,13 @@ %bcond_with python3 %endif +%if 0%{?fedora} >= 41 || 0%{?rhel} >= 10 +%bcond_with container_handler +%else +%bcond_without container_handler +%endif + + %if 0%{?rhel}%{?suse_version} %bcond_with bodhi %else @@ -22,7 +29,7 @@ %bcond_without retrace # rpmbuild --define 'desktopvendor mystring' -%if "x%{desktopvendor}" == "x" +%if "x%{?desktopvendor}" == "x" %define desktopvendor %(source /etc/os-release; echo ${ID}) %endif @@ -43,23 +50,23 @@ %define docdirversion -%{version} %endif -%define libreport_ver 2.14.0 +%define glib_ver 2.73.3 +%define libreport_ver 2.17.13 %define satyr_ver 0.24 Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.15.1 -Release: 1%{?dist} -License: GPLv2+ +Version: 2.17.8 +Release: 2%{?dist} +License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz - BuildRequires: git-core BuildRequires: %{dbus_devel} BuildRequires: hostname BuildRequires: gtk3-devel -BuildRequires: glib2-devel >= 2.43.4 -BuildRequires: rpm-devel >= 4.6 +BuildRequires: glib2-devel >= %{glib_ver} +BuildRequires: rpm-devel >= 6.0.0 BuildRequires: desktop-file-utils BuildRequires: libnotify-devel #why? BuildRequires: file-devel @@ -68,7 +75,7 @@ BuildRequires: gettext BuildRequires: libxml2-devel BuildRequires: intltool BuildRequires: libtool -BuildRequires: libsoup-devel +BuildRequires: libsoup3-devel BuildRequires: asciidoc BuildRequires: doxygen BuildRequires: xmlto @@ -76,15 +83,13 @@ BuildRequires: libreport-devel >= %{libreport_ver} BuildRequires: satyr-devel >= %{satyr_ver} BuildRequires: augeas BuildRequires: libselinux-devel +# Required for the %%{_unitdir} and %%{_tmpfilesdir} macros. +BuildRequires: systemd-rpm-macros %if %{with python3} BuildRequires: python3-devel BuildRequires: python3-systemd BuildRequires: python3-argcomplete BuildRequires: python3-dbus - -# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Appendix/#_byte_compilation_reproducibility -%global py_reproducible_pyc_path %{buildroot}%{python3_sitelib} -BuildRequires: /usr/bin/marshalparser %endif Requires: libreport >= %{libreport_ver} @@ -113,6 +118,11 @@ Requires: libreport-plugin-systemd-journal %endif # to fix upgrade path abrt-plugin-sosreport was removed in 2.14.5 version. Obsoletes: abrt-plugin-sosreport < 2.14.5 +# fros was retired 2025-07, and was initially added to comps to support +# abrt-desktop, so let's obsolete it here +Obsoletes: fros < 1.1-42 +Obsoletes: fros-gnome < 1.1-42 +Obsoletes: fros-recordmydesktop < 1.1-42 #gui BuildRequires: libreport-gtk-devel >= %{libreport_ver} @@ -193,11 +203,9 @@ Summary: %{name}'s C/C++ addon Requires: cpio Requires: gdb-headless Requires: elfutils +# Required for local retracing with GDB. +Requires: elfutils-debuginfod-client %if 0%{!?rhel:1} -%if %{with retrace} -# abrt-action-perform-ccpp-analysis wants to run analyze_RetraceServer: -Requires: %{name}-retrace-client -%endif %endif Requires: %{name} = %{version}-%{release} Requires: abrt-libs = %{version}-%{release} @@ -205,6 +213,7 @@ Requires: abrt-libs = %{version}-%{release} Requires: python3-libreport %endif Obsoletes: abrt-addon-coredump-helper <= 2.12.2 +Obsoletes: abrt-retrace-client <= 2.15.1 %description addon-ccpp @@ -218,20 +227,6 @@ Requires: abrt-libs = %{version}-%{release} %description addon-upload-watch This package contains hook for uploaded problems. -%if %{with retrace} -%package retrace-client -Summary: %{name}'s retrace client -Requires: %{name} = %{version}-%{release} -Requires: xz -Requires: tar -Requires: p11-kit-trust -Requires: libsoup - -%description retrace-client -This package contains the client application for Retrace server -which is able to analyze C/C++ crashes remotely. -%endif - %package addon-kerneloops Summary: %{name}'s kerneloops addon Requires: curl @@ -259,7 +254,11 @@ log. Summary: %{name}'s vmcore addon Requires: %{name} = %{version}-%{release} Requires: abrt-addon-kerneloops +# On riscv64, kexec-tools does not compile: +# "configure: error: unsupported architecture riscv64" +%ifnarch riscv64 Requires: kexec-tools +%endif %if %{with python3} Requires: python3-abrt Requires: python3-augeas @@ -286,6 +285,7 @@ This package contains plugin for collecting kernel oopses from pstore storage. %package plugin-bodhi Summary: %{name}'s bodhi plugin Requires: %{name} = %{version}-%{release} +Requires: abrt-libs = %{version}-%{release} Obsoletes: libreport-plugin-bodhi <= 2.0.10 Provides: libreport-plugin-bodhi = %{version}-%{release} @@ -305,6 +305,7 @@ Requires: python3-abrt This package contains python 3 hook and python analyzer plugin for handling uncaught exception in python 3 programs. +%if %{with container_handler} %package -n python3-abrt-container-addon Summary: %{name}'s container addon for catching Python 3 exceptions BuildArch: noarch @@ -316,6 +317,8 @@ This package contains python 3 hook and handling uncaught exception in python 3 programs in container. %endif +%endif + %package plugin-machine-id Summary: %{name}'s plugin to generate machine_id based off dmidecode Requires: %{name} = %{version}-%{release} @@ -357,9 +360,6 @@ Requires: python3-abrt-addon %endif Requires: abrt-addon-xorg %if ! 0%{?rhel} -%if %{with retrace} -Requires: abrt-retrace-client -%endif %if %{with bodhi} Requires: abrt-plugin-bodhi %endif @@ -397,9 +397,6 @@ Requires: gdb-headless Requires: abrt-gui Requires: gnome-abrt %if ! 0%{?rhel} -%if %{with retrace} -Requires: abrt-retrace-client -%endif %if %{with bodhi} Requires: abrt-plugin-bodhi %endif @@ -477,6 +474,12 @@ to the shell %global __scm_apply_git(qp:m:) %{__git} am --exclude doc/design --exclude doc/project/abrt.tex %autosetup -S git -p 0 +# Create a sysusers.d config file +#uidgid pair 173:173 reserved in setup rhbz#670231 +%global abrt_gid_uid 173 +cat >abrt.sysusers.conf </dev/null || groupadd -f -g %{abrt_gid_uid} --system abrt -getent passwd abrt >/dev/null || useradd --system -g abrt -u %{abrt_gid_uid} -d /etc/abrt -s /sbin/nologin abrt -exit 0 - %post # $1 == 1 if install; 2 if upgrade %systemd_post abrtd.service @@ -759,6 +760,7 @@ killall abrt-dbus >/dev/null 2>&1 || : %{_mandir}/man5/abrt-action-save-package-data.conf.5* %{_mandir}/man5/gpg_keys.conf.5* %{_mandir}/man8/abrtd.8* +%{_sysusersdir}/abrt.conf %files libs %{_libdir}/libabrt.so.* @@ -807,25 +809,20 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/%{name}/plugins/CCpp.conf %{_mandir}/man5/abrt-CCpp.conf.5* %{_libexecdir}/abrt-gdb-exploitable +%{_libexecdir}/abrt-action-coredump %config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_journal_ccpp_format.conf %{_unitdir}/abrt-journal-core.service %{_journalcatalogdir}/abrt_ccpp.catalog %dir %{_localstatedir}/lib/abrt -# attr(2755) ~= SETGID -%attr(2755, abrt, abrt) %{_libexecdir}/abrt-action-install-debuginfo-to-abrt-cache - %{_bindir}/abrt-action-analyze-c %{_bindir}/abrt-action-trim-files -%{_bindir}/abrt-action-analyze-core %{_bindir}/abrt-action-analyze-vulnerability -%{_bindir}/abrt-action-install-debuginfo %{_bindir}/abrt-action-generate-backtrace %{_bindir}/abrt-action-generate-core-backtrace %{_bindir}/abrt-action-analyze-backtrace %{_bindir}/abrt-action-list-dsos -%{_bindir}/abrt-action-perform-ccpp-analysis %{_bindir}/abrt-action-analyze-ccpp-local %{_bindir}/abrt-dump-journal-core %config(noreplace) %{_sysconfdir}/libreport/events.d/ccpp_event.conf @@ -836,7 +833,6 @@ killall abrt-dbus >/dev/null 2>&1 || : %{_mandir}/man5/vimrc_event.conf.5* %{_datadir}/libreport/events/analyze_CCpp.xml %{_datadir}/libreport/events/analyze_LocalGDB.xml -%{_datadir}/libreport/events/analyze_RetraceServer.xml %{_datadir}/libreport/events/collect_xsession_errors.xml %{_datadir}/libreport/events/collect_GConf.xml %{_datadir}/libreport/events/collect_vimrc_user.xml @@ -848,11 +844,8 @@ killall abrt-dbus >/dev/null 2>&1 || : %{_mandir}/man*/abrt-action-generate-core-backtrace.* %{_mandir}/man*/abrt-action-analyze-backtrace.* %{_mandir}/man*/abrt-action-list-dsos.* -%{_mandir}/man*/abrt-action-install-debuginfo.* %{_mandir}/man*/abrt-action-analyze-ccpp-local.* -%{_mandir}/man*/abrt-action-analyze-core.* %{_mandir}/man*/abrt-action-analyze-vulnerability.* -%{_mandir}/man*/abrt-action-perform-ccpp-analysis.* %{_mandir}/man1/abrt-dump-journal-core.1* %files addon-upload-watch @@ -861,14 +854,6 @@ killall abrt-dbus >/dev/null 2>&1 || : %{_mandir}/man*/abrt-upload-watch.* -%if %{with retrace} -%files retrace-client -%{_bindir}/abrt-retrace-client -%{_mandir}/man1/abrt-retrace-client.1* -%config(noreplace) %{_sysconfdir}/libreport/events.d/ccpp_retrace_event.conf -%{_mandir}/man5/ccpp_retrace_event.conf.5* -%endif - %files addon-kerneloops %config(noreplace) %{_sysconfdir}/libreport/events.d/koops_event.conf %{_journalcatalogdir}/abrt_koops.catalog @@ -936,12 +921,15 @@ killall abrt-dbus >/dev/null 2>&1 || : %{python3_sitelib}/abrt_exception_handler3.py %{python3_sitelib}/__pycache__/abrt_exception_handler3.* +%if %{with container_handler} %files -n python3-abrt-container-addon %{python3_sitelib}/abrt3_container.pth %{python3_sitelib}/abrt_exception_handler3_container.py %{python3_sitelib}/__pycache__/abrt_exception_handler3_container.* %endif +%endif + %files plugin-machine-id %config(noreplace) %{_sysconfdir}/libreport/events.d/machine-id_event.conf %{_libexecdir}/abrt-action-generate-machine-id @@ -950,7 +938,6 @@ killall abrt-dbus >/dev/null 2>&1 || : %files tui %if %{with python3} -%config(noreplace) %{_sysconfdir}/bash_completion.d/abrt.bash_completion %{_bindir}/abrt %{_bindir}/abrt-cli %{python3_sitelib}/abrtcli/ @@ -1007,6 +994,112 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 2.17.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Thu Dec 04 2025 Michal Srb - 2.17.8-1 +- a-a-save-container-data: validate input +- Resolves: CVE-2025-12744 + +* Thu Oct 02 2025 Michal Srb - 2.17.7-1 +- Update to upstream release 2.17.7 +- Fix reading gpg keys with RPM 6.0.0 (rhbz#2396899) + +* Fri Sep 19 2025 Python Maint - 2.17.6-10 +- Rebuilt for Python 3.14.0rc3 bytecode + +* Fri Aug 15 2025 Python Maint - 2.17.6-9 +- Rebuilt for Python 3.14.0rc2 bytecode + +* Fri Aug 01 2025 Adam Williamson - 2.17.6-8 +- Obsolete fros packages + +* Wed Jul 23 2025 Fedora Release Engineering - 2.17.6-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Tue Jun 03 2025 Python Maint - 2.17.6-6 +- Rebuilt for Python 3.14 + +* Thu Jan 23 2025 Zbigniew Jędrzejewski-Szmek - 2.17.6-5 +- Add sysusers.d config file to allow rpm to create users/groups automatically + +* Thu Jan 16 2025 Fedora Release Engineering - 2.17.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Wed Nov 20 2024 David Abdurachmanov - 2.17.6-3 +- Disable Requires for kexec-tools on riscv64 (not supported) + +* Wed Sep 11 2024 Neal Gompa - 2.17.6-2 +- Drop container handler (rhbz#2295150) + +* Sun Sep 01 2024 Michal Srb - 2.17.6-1 +- Update to upstream release 2.17.6 +- Fix reading signature information from RPM headers (rhbz#2307278) + +* Wed Jul 17 2024 Fedora Release Engineering - 2.17.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sun Jun 09 2024 Python Maint - 2.17.5-2 +- Rebuilt for Python 3.13 + +* Mon Feb 19 2024 Michal Srb - 2.17.5-1 +- Update to upstream release 2.17.5 + +* Mon Feb 12 2024 Michal Srb - 2.17.4-1 +- Update to upstream release 2.17.4 + +* Sun Feb 04 2024 Michal Srb - 2.17.2-1 +- Update to upstream release 2.17.2 + +* Mon Jan 22 2024 Fedora Release Engineering - 2.17.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 2.17.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jul 19 2023 Fedora Release Engineering - 2.17.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jul 01 2023 Python Maint - 2.17.1-2 +- Rebuilt for Python 3.12 + +* Fri Jun 30 2023 Michal Srb - 2.17.1-1 +- Update to upstream release 2.17.1 + +* Wed Jun 28 2023 Python Maint - 2.17.0-2 +- Rebuilt for Python 3.12 + +* Mon May 22 2023 Matěj Grabovský - 2.17.0-1 +- Update to upstream release 2.17.0 +- Bump rpm-devel dependency to 4.18 + +* Thu Mar 30 2023 Michal Srb - 2.16.1-1 +- Update to upstream release 2.16.1 + +* Wed Jan 18 2023 Fedora Release Engineering - 2.16.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Mon Oct 24 2022 Michal Srb - 2.16.0-1 +- Update to upstream release 2.16.0 + +* Wed Oct 19 2022 Michal Srb - 2.15.1-6 +- abrt-journal: First seek the journal tail and then set filters +- Resolves: rhbz#2128662 + +* Wed Oct 12 2022 Michal Srb - 2.15.1-5 +- abrt-journal: call sd_journal_get_fd() right after sd_journal_open() +- Resolves: rhbz#2128662 + +* Wed Jul 20 2022 Fedora Release Engineering - 2.15.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jun 16 2022 Michal Srb - 2.15.1-3 +- Fix FTBFS +- Resolves: rhbz#2093924 + +* Wed Jun 15 2022 Python Maint - 2.15.1-2 +- Rebuilt for Python 3.11 + * Thu Mar 10 2022 Michal Srb - 2.15.1-1 - Update to 2.15.1 diff --git a/gating.yaml b/gating.yaml index db67165..f075ad7 100644 --- a/gating.yaml +++ b/gating.yaml @@ -4,9 +4,6 @@ product_versions: decision_context: bodhi_update_push_testing subject_type: koji_build rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} --- !Policy @@ -15,7 +12,4 @@ product_versions: decision_context: bodhi_update_push_stable subject_type: koji_build rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} diff --git a/sources b/sources index d9aac56..4e58c99 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.15.1.tar.gz) = 745c513969b78ee7c76c310a8c2fc0bafd1e50375130fa773ad950bf123ee50cfa237da9b331f2c0af2851b35b162cbc908f2e00d59283867ed8ffd72236d0ea +SHA512 (abrt-2.17.8.tar.gz) = 90b74229412e0186bfa109ee940a60c9f3c0f7ce8c1216acad6f05619a1bb591e7f0bae87363143a05034312c9f14fe5ace341b84f680780ceb93a1e624705b3