8f9a28
# http://fedoraproject.org/wiki/Packaging:Guidelines#PIE
8f9a28
# http://fedoraproject.org/wiki/Hardened_Packages
8f9a28
%global _hardened_build 1
8f9a28
8f9a28
%if 0%{?fedora} || 0%{?rhel} > 7
8f9a28
# Enable python3 build by default
8f9a28
%bcond_without python3
8f9a28
%else
8f9a28
%bcond_with python3
8f9a28
%endif
8f9a28
8f9a28
%if 0%{?rhel} > 7 || 0%{?fedora} > 28
8f9a28
# Disable python2 build by default
8f9a28
%bcond_with python2
8f9a28
%else
8f9a28
%bcond_without python2
8f9a28
%endif
8f9a28
8f9a28
%if 0%{?rhel}%{?suse_version}
8f9a28
    %bcond_with bodhi
8f9a28
%else
8f9a28
    %bcond_without bodhi
8f9a28
%endif
8f9a28
8f9a28
# build abrt-atomic subpackage
8f9a28
%bcond_without atomic
8f9a28
8f9a28
# rpmbuild --define 'desktopvendor mystring'
8f9a28
%if "x%{desktopvendor}" == "x"
8f9a28
    %define desktopvendor %(source /etc/os-release; echo ${ID})
8f9a28
%endif
8f9a28
8f9a28
%if 0%{?suse_version}
8f9a28
%define dbus_devel dbus-1-devel
8f9a28
%define libjson_devel libjson-devel
8f9a28
%define nss_devel mozilla-nss-devel
8f9a28
%define shadow_utils pwdutils
8f9a28
%else
8f9a28
%define dbus_devel dbus-devel
8f9a28
%define libjson_devel json-c-devel
8f9a28
%define nss_devel nss-devel
8f9a28
%define shadow_utils shadow-utils
8f9a28
%endif
8f9a28
8f9a28
# do not append package version to doc directory of subpackages in F20 and later; rhbz#993656
8f9a28
%if "%{_pkgdocdir}" == "%{_docdir}/%{name}"
8f9a28
    %define docdirversion %{nil}
8f9a28
%else
8f9a28
    %define docdirversion -%{version}
8f9a28
%endif
8f9a28
8f9a28
%define libreport_ver 2.9.3
8f9a28
%define satyr_ver 0.24
8f9a28
8f9a28
Summary: Automatic bug detection and reporting tool
8f9a28
Name: abrt
8f9a28
Version: 2.10.9
554eee
Release: 24%{?dist}
8f9a28
License: GPLv2+
8f9a28
URL: https://abrt.readthedocs.org/
8f9a28
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
8f9a28
8f9a28
Patch0001: 0001-Remove-dependency-on-deprecated-nss-pem.patch
8f9a28
#Patch0002: 0002-testsuite-add-test-for-core-template-substitution.patch
8f9a28
Patch0003: 0003-ccpp-add-h-and-e-parameter-into-abrt-hook-ccpp.patch
8f9a28
#Patch0004: 0004-spec-remove-duplicated-python3-devel.patch
8f9a28
#Patch0005: 0005-spec-Switch-hardcoded-python3-shebangs-into-the-__py.patch
8f9a28
#Patch0006: 0006-spec-sed-abrt-action-find-bodhi-update-only-if-with-.patch
8f9a28
#Patch0007: 0007-Sed-shebang-only-if-have_kexec_tools-1-in-some-tools.patch
8f9a28
#Patch0008: 0008-spec-switch-Python-tests-to-use-__python3.patch
8f9a28
Patch0009: 0009-lib-Correct-the-syntax-for-gdb-backtrace-command.patch
8f9a28
#git format-patch 7e9e07dc -N --start-number 10 --topo-order
8f9a28
#Patch0010: 0010-testsuite-fix-path-for-augeas-in-ccpp-plugin-hook.patch
8f9a28
#Patch0011: 0011-testsuite-Remove-abrt-Python2-packages.patch
8f9a28
#Patch0012: 0012-testsuite-Force-grep-to-process-binary-files.patch
8f9a28
#Patch0013: 0013-testsuite-Force-grep-to-process-binary-files-2.patch
8f9a28
#Patch0014: 0014-testsuite-Disable-Python2-integration-tests.patch
8f9a28
#Patch0015: 0015-testsuite-Migrate-integeration-tests-to-Python3.patch
8f9a28
#Patch0016: 0016-testsuite-Open-files-in-binary-mode.patch
8f9a28
#Patch0017: 0017-testsuite-Test-Python3-with-dbus-configuration.patch
8f9a28
#Patch0018: 0018-testsuite-Migrate-helper-scripts-in-tests-to-Python3.patch
8f9a28
#Patch0019: 0019-testsuite-Fix-for-tests-incorrectly-marked-as-failed.patch
8f9a28
#Patch0020: 0020-revert-spec-disable-addon-vmcore-on-aarch64.patch
8f9a28
#Patch0021: 0021-spec-turn-on-enable-native-unwinder-aarch64.patch
8f9a28
#git format-patch b13f52bd5 -N --start-number 21 --topo-order
8f9a28
#Patch0022: 0022-spec-Set-PYTHON-to-python3-during-install.patch
8f9a28
#Patch0023: 0023-spec-Remove-forgotten-have_kexec_tools-check.patch
8f9a28
Patch0024: 0024-dbus-Add-configuration-for-Python3.patch
8f9a28
Patch0025: 0025-daemon-Fix-double-closed-fd-race-condition.patch
8f9a28
#git format-patch 1725bd258 -N --start-number 26 --topo-order
3cec62
Patch0026: 0026-cli-list-show-a-hint-about-creating-a-case-in-RHTS.patch
3cec62
Patch0027: 0027-cli-mark-the-suggestion-text-for-translation.patch
3cec62
Patch0028: 0028-cli-get-list-of-possible-workflows-for-problem_data_.patch
8f9a28
#Patch0029: 0029-spec-Add-explicit-package-version-requirement-of-abr.patch
8f9a28
#git format-patch 2.10.9-10.el8 -N --start-number 30 --topo-order
8f9a28
#Patch030: 0030-testsuite-dbus-element-handling-Use-external-script.patch
8f9a28
#Patch031: 0031-testsuite-reporter-upload-ssh-keys-Don-t-test-curl-o.patch
8f9a28
#Patch032: 0032-testsuite-abrt-action-ureport-Port-fakefaf-to-Python.patch
8f9a28
#Patch033: 0033-testsuite-bugzilla-private-reports-Port-pyserve-to-P.patch
8f9a28
#Patch034: 0034-testsuite-ureport-attachments-Port-pyserve-to-Python.patch
8f9a28
#Patch035: 0035-testsuite-upload-ftp-Drop-in-tree-copy-of-pyftpdlib.patch
8f9a28
#Patch036: 0036-testsuite-rhts-test-Port-pyserve-to-Python-3.patch
8f9a28
#Patch037: 0037-testsuite-dumpdir_completeness-Batch-import-keys.patch
8f9a28
#Patch038: 0038-testsuite-Add-initial-test-order-for-RHEL-8.patch
8f9a28
#Patch039: 0039-testsuite-bugzilla-bt-reattach-Port-pyserve-to-Pytho.patch
8f9a28
#Patch040: 0040-testsuite-reporter-mantisbt-Port-pyserve-to-Python3.patch
8f9a28
#Patch041: 0041-testsuite-reporter-mantisbt-Fix-query-header.patch
8f9a28
#Patch042: 0042-testsuite-abrt-action-ureport-Fix-fakefaf.py.patch
8f9a28
#Patch043: 0043-testsuite-aux-Remove-Python-3-related-packages.patch
8f9a28
#Patch044: 0044-aux-lib.sh-add-generate_python3_segfault.patch
8f9a28
#Patch045: 0045-dont-blame-interpret-switch-to-generate_python3_segf.patch
8f9a28
#Patch046: 0046-duptest-core_backtrace-use-python3-on-rhel8.patch
8f9a28
#Patch047: 0047-ureport-auth-modify-a-pattern-to-match-error-message.patch
8f9a28
#Patch048: 0048-testsuite-Add-abrt-auto-reporting-sanity-authenticat.patch
8f9a28
#Patch049: 0049-runtests-new-test-for-PrivateReports.patch
8f9a28
#Patch050: 0050-dumpoops-make-sure-hostname-matches-in-oops_full_hos.patch
8f9a28
#Patch051: 0051-oops-processing-fixed-oops1.test-handling.-reworked-.patch
8f9a28
#Patch052: 0052-meaningful-logs-check-relative-counts-of-lines-inste.patch
8f9a28
#Patch053: 0053-non-fatal-mce-prepare-oops1.test-from-template-befor.patch
8f9a28
#Patch054: 0054-oops-processing-fix-for-rhel-8.patch
8f9a28
#Patch055: 0055-dumpoops-remove-sed-of-file-not-existing-and-not-nee.patch
8f9a28
Patch056: 0056-a-a-list-dsos-Fix-decoding-of-strings-from-rpm.patch
8f9a28
#git format-patch 2.10.9-11.el8 -N --start-number 57 --topo-order
8f9a28
Patch057: 0057-a-a-save-package-data-Use-regexps-to-match-interpret.patch
8f9a28
Patch058: 0058-harvest_vmcore-Fix-missing-argument-error-during-del.patch
8f9a28
#git format-patch 2.10.9-12.el8 -N --start-number 59 --topo-order
8e2d79
#Patch059: 0059-abrtd-infinite-event-loop-remove-unnecesary-from-REs.patch
8e2d79
#Patch060: 0060-spec-Revert-libreport-dependency-change.patch
8e2d79
#Patch061: 0061-Revert-spec-Revert-libreport-dependency-change.patch
8e2d79
#Patch062: 0062-spec-Revert-libreport-dependency-change.patch
8e2d79
#Patch063: 0063-spec-Don-t-build-with-RHTS-bits-on-CentOS.patch
8e2d79
#Patch064: 0064-dont-blame-interpret-Rename-and-redo.patch
8e2d79
#Patch065: 0065-tests-aux-lib-Add-remove_problem_directory.patch
8e2d79
Patch066: 0066-cli-Add-a-shebang.patch
8e2d79
Patch067: 0067-shellcheck-Use-.-instead-of-legacy-backticked.patch
8e2d79
Patch068: 0068-shellcheck-Suppress-shellcheck-warning-SC1090.patch
8e2d79
Patch069: 0069-shellcheck-Check-exit-code-directly-with-if-mycmd.patch
8e2d79
Patch070: 0070-shellcheck-Use-command-instead-of-type.patch
8e2d79
#git format-patch 2.10.9-13.el8 --no-numbered --start-number=71 --topo-order
8e2d79
Patch071: 0071-plugin-general-from-sos-has-been-split-into-two-new-.patch
8e2d79
#git format-patch 2.10.9-14.el8 --no-numbered --start-number=72 --topo-order
8e2d79
Patch072: 0072-sos-use-services-instead-of-startup.patch
8e2d79
#git format-patch 2.10.9-16.el8 --no-numbered --start-number=73 --topo-order
8e2d79
#Patch0073: 0073-setgid-instead-of-setuid-the-abrt-action-install-deb.patch
8e2d79
#Patch0074: 0074-remove-old-transition-postscriptlet.patch
8e2d79
#Patch0075: 0075-make-sure-that-former-caches-are-group-writable.patch
8e2d79
#Patch0076: 0076-abrt-action-install-debuginfo-Fix-variable-reference.patch
8e2d79
#Patch0077: 0077-Revert-abrt-action-install-debuginfo-Fix-variable-re.patch
8e2d79
#Patch0078: 0078-Revert-make-sure-that-former-caches-are-group-writab.patch
8e2d79
#Patch0079: 0079-Revert-remove-old-transition-postscriptlet.patch
8e2d79
#Patch0080: 0080-Revert-setgid-instead-of-setuid-the-abrt-action-inst.patch
8e2d79
#Patch0081: 0081-Revert-a-a-install-debuginfo-Clean-cache-if-we-need-.patch
8e2d79
Patch0082: 0082-setgid-instead-of-setuid-the-abrt-action-install-deb.patch
8e2d79
Patch0083: 0083-remove-old-transition-postscriptlet.patch
8e2d79
Patch0084: 0084-make-sure-that-former-caches-are-group-writable.patch
8e2d79
Patch0085: 0085-abrt-action-install-debuginfo-Fix-variable-reference.patch
8e2d79
Patch0086: 0086-plugins-sosreport_event-Rename-nfsserver-plugin.patch
eacc09
# git format-patch 2.10.9-19.el8 --no-numbered --start-number=87 --topo-order
eacc09
Patch0087: 0087-plugins-abrt-action-install-debuginfo-Fix-reference.patch
583ece
Patch0090: 0090-skip-journal-reporting.patch
554eee
# rhbz#2137499: Update sosreport command line call.
3cec62
Patch0091: 0091-plugins-Update-sosreport-event.patch
554eee
# git format-patch -1 a58e1fb2 --start-number=92
554eee
Patch0092: 0092-abrt-dump-oops-Fix-vmcore-call-trace-parsing.patch
8f9a28
8f9a28
# autogen.sh is need to regenerate all the Makefile files
8f9a28
Patch1000: 1000-Add-autogen.sh.patch
8f9a28
8f9a28
BuildRequires: %{dbus_devel}
8f9a28
BuildRequires: gtk3-devel
8f9a28
BuildRequires: glib2-devel >= 2.43
8f9a28
BuildRequires: rpm-devel >= 4.6
8f9a28
BuildRequires: desktop-file-utils
8f9a28
BuildRequires: libnotify-devel
8f9a28
#why? BuildRequires: file-devel
8f9a28
BuildRequires: gettext
8f9a28
BuildRequires: libxml2-devel
8f9a28
BuildRequires: intltool
8f9a28
BuildRequires: libtool
8f9a28
BuildRequires: %{nss_devel}
8f9a28
BuildRequires: asciidoc
8f9a28
BuildRequires: doxygen
8f9a28
BuildRequires: xmlto
8f9a28
BuildRequires: libreport-devel >= %{libreport_ver}
8f9a28
BuildRequires: satyr-devel >= %{satyr_ver}
8f9a28
BuildRequires: augeas
8f9a28
BuildRequires: libselinux-devel
8f9a28
BuildRequires: sed
8f9a28
%if %{with python2}
8f9a28
BuildRequires: python2-devel
8f9a28
BuildRequires: python2-systemd
8f9a28
BuildRequires: python2-argcomplete
8f9a28
BuildRequires: python2-argh
8f9a28
BuildRequires: python2-humanize
8f9a28
%endif # with python2
8f9a28
%if %{with python3}
8f9a28
BuildRequires: python3-devel
8f9a28
BuildRequires: python3-systemd
8f9a28
BuildRequires: python3-argcomplete
8f9a28
BuildRequires: python3-argh
8f9a28
BuildRequires: python3-humanize
8f9a28
%endif # with python3
8f9a28
BuildRequires: git
8f9a28
8f9a28
Requires: libreport >= %{libreport_ver}
8f9a28
Requires: satyr >= %{satyr_ver}
8f9a28
# these only exist on suse
8f9a28
%if 0%{?suse_version}
8f9a28
BuildRequires: dbus-1-glib-devel
8f9a28
Requires: dbus-1-glib
8f9a28
%endif
8f9a28
8f9a28
%{?systemd_requires}
8f9a28
Requires: systemd
8f9a28
Requires: %{name}-libs = %{version}-%{release}
8f9a28
Requires: python3-%{name} = %{version}-%{release}
8f9a28
Requires(pre): %{shadow_utils}
8f9a28
%if %{with python2}
8f9a28
Requires: python2-augeas
8f9a28
Requires: python2-dbus
8f9a28
%endif # with python2
8f9a28
%if %{with python3}
8f9a28
Requires: python3-augeas
8f9a28
Requires: python3-dbus
8f9a28
%endif # with python3
8f9a28
%ifarch aarch64 i686 x86_64
8f9a28
Requires: dmidecode
8f9a28
%endif
8f9a28
Requires: libreport-plugin-ureport
8f9a28
%if 0%{?rhel}
8f9a28
Requires: libreport-plugin-rhtsupport
8f9a28
%endif
8f9a28
%if 0%{?fedora}
8f9a28
Requires: libreport-plugin-systemd-journal
8f9a28
%endif
8f9a28
8f9a28
#gui
8f9a28
BuildRequires: libreport-gtk-devel >= %{libreport_ver}
8f9a28
BuildRequires: gsettings-desktop-schemas-devel >= 3.15
8f9a28
#addon-ccpp
8f9a28
BuildRequires: gdb-headless
8f9a28
BuildRequires: libcap-devel
8f9a28
#addon-kerneloops
8f9a28
BuildRequires: systemd-devel
8f9a28
BuildRequires: %{libjson_devel}
8f9a28
%if %{with bodhi}
8f9a28
# plugin-bodhi
8f9a28
BuildRequires: libreport-web-devel >= %{libreport_ver}
8f9a28
%endif
8f9a28
#desktop
8f9a28
#Default config of addon-ccpp requires gdb
8f9a28
BuildRequires: gdb-headless
8f9a28
#dbus
8f9a28
BuildRequires: polkit-devel
8f9a28
%if %{with python2}
8f9a28
#python2-abrt
8f9a28
BuildRequires: python2-sphinx
8f9a28
BuildRequires: python2-libreport
8f9a28
#python2-abrt-doc
8f9a28
BuildRequires: python2-devel
8f9a28
%endif # with python2
8f9a28
%if %{with python3}
8f9a28
#python3-abrt
8f9a28
BuildRequires: python3-nose
8f9a28
BuildRequires: python3-sphinx
8f9a28
BuildRequires: python3-libreport
8f9a28
#python3-abrt-doc
8f9a28
BuildRequires: python3-devel
8f9a28
%endif # with python3
8f9a28
8f9a28
%description
8f9a28
%{name} is a tool to help users to detect defects in applications and
8f9a28
to create a bug report with all information needed by maintainer to fix it.
8f9a28
It uses plugin system to extend its functionality.
8f9a28
8f9a28
%package libs
8f9a28
Summary: Libraries for %{name}
8f9a28
8f9a28
%description libs
8f9a28
Libraries for %{name}.
8f9a28
8f9a28
%package devel
8f9a28
Summary: Development libraries for %{name}
8f9a28
Requires: abrt-libs = %{version}-%{release}
8f9a28
8f9a28
%description devel
8f9a28
Development libraries and headers for %{name}.
8f9a28
8f9a28
%package gui-libs
8f9a28
Summary: Libraries for %{name}-gui
8f9a28
Requires: %{name}-libs = %{version}-%{release}
8f9a28
8f9a28
%description gui-libs
8f9a28
Libraries for %{name}-gui.
8f9a28
8f9a28
%package gui-devel
8f9a28
Summary: Development libraries for %{name}-gui
8f9a28
Requires: abrt-gui-libs = %{version}-%{release}
8f9a28
8f9a28
%description gui-devel
8f9a28
Development libraries and headers for %{name}-gui.
8f9a28
8f9a28
%package gui
8f9a28
Summary: %{name}'s gui
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
Requires: %{name}-dbus = %{version}-%{release}
8f9a28
Requires: gnome-abrt
8f9a28
Requires: gsettings-desktop-schemas >= 3.15
8f9a28
# we used to have abrt-applet, now abrt-gui includes it:
8f9a28
Provides: abrt-applet = %{version}-%{release}
8f9a28
Obsoletes: abrt-applet < 0.0.5
8f9a28
Conflicts: abrt-applet < 0.0.5
8f9a28
Requires: abrt-libs = %{version}-%{release}
8f9a28
Requires: abrt-gui-libs = %{version}-%{release}
8f9a28
8f9a28
%description gui
8f9a28
GTK+ wizard for convenient bug reporting.
8f9a28
8f9a28
%package addon-coredump-helper
8f9a28
Summary: %{name}'s /proc/sys/kernel/core_pattern helper
8f9a28
Requires: abrt-libs = %{version}-%{release}
8f9a28
8f9a28
%description addon-coredump-helper
8f9a28
This package contains hook for C/C++ crashed programs.
8f9a28
8f9a28
%package addon-ccpp
8f9a28
Summary: %{name}'s C/C++ addon
8f9a28
Requires: cpio
8f9a28
Requires: gdb-headless
8f9a28
Requires: elfutils
8f9a28
%if 0%{!?rhel:1}
8f9a28
# abrt-action-perform-ccpp-analysis wants to run analyze_RetraceServer:
8f9a28
Requires: %{name}-retrace-client
8f9a28
%endif
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
Requires: %{name}-addon-coredump-helper = %{version}-%{release}
8f9a28
Requires: abrt-libs = %{version}-%{release}
8f9a28
%if %{with python2}
8f9a28
Requires: python2-libreport
8f9a28
%endif # with python2
8f9a28
%if %{with python3}
8f9a28
Requires: python3-libreport
8f9a28
%endif # with python3
8f9a28
Requires: rpm >= 4.14.2-11
8f9a28
8f9a28
%description addon-ccpp
8f9a28
This package contains %{name}'s C/C++ analyzer plugin.
8f9a28
8f9a28
%package addon-upload-watch
8f9a28
Summary: %{name}'s upload addon
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
Requires: abrt-libs = %{version}-%{release}
8f9a28
8f9a28
%description addon-upload-watch
8f9a28
This package contains hook for uploaded problems.
8f9a28
8f9a28
%package retrace-client
8f9a28
Summary: %{name}'s retrace client
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
Requires: xz
8f9a28
Requires: tar
8f9a28
Requires: p11-kit-trust
8f9a28
8f9a28
%description retrace-client
8f9a28
This package contains the client application for Retrace server
8f9a28
which is able to analyze C/C++ crashes remotely.
8f9a28
8f9a28
%package addon-kerneloops
8f9a28
Summary: %{name}'s kerneloops addon
8f9a28
Requires: curl
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
%if 0%{!?rhel:1}
8f9a28
Requires: libreport-plugin-kerneloops >= %{libreport_ver}
8f9a28
%endif
8f9a28
Requires: abrt-libs = %{version}-%{release}
8f9a28
8f9a28
%description addon-kerneloops
8f9a28
This package contains plugin for collecting kernel crash information from
8f9a28
system log.
8f9a28
8f9a28
%package addon-xorg
8f9a28
Summary: %{name}'s Xorg addon
8f9a28
Requires: curl
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
Requires: abrt-libs = %{version}-%{release}
8f9a28
8f9a28
%description addon-xorg
8f9a28
This package contains plugin for collecting Xorg crash information from Xorg
8f9a28
log.
8f9a28
8f9a28
%package addon-vmcore
8f9a28
Summary: %{name}'s vmcore addon
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
Requires: abrt-addon-kerneloops
8f9a28
Requires: kexec-tools
8f9a28
%if %{with python2}
8f9a28
Requires: python2-abrt
8f9a28
Requires: python2-augeas
8f9a28
%endif # with python2
8f9a28
%if %{with python3}
8f9a28
Requires: python3-abrt
8f9a28
Requires: python3-augeas
8f9a28
%endif # with python3
8f9a28
Requires: util-linux
8f9a28
8f9a28
%description addon-vmcore
8f9a28
This package contains plugin for collecting kernel crash information from
8f9a28
vmcore files.
8f9a28
8f9a28
%package addon-pstoreoops
8f9a28
Summary: %{name}'s pstore oops addon
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
Requires: abrt-libs = %{version}-%{release}
8f9a28
Requires: abrt-addon-kerneloops
8f9a28
Obsoletes: abrt-addon-uefioops
8f9a28
8f9a28
%description addon-pstoreoops
8f9a28
This package contains plugin for collecting kernel oopses from pstore storage.
8f9a28
8f9a28
%if %{with bodhi}
8f9a28
%package plugin-bodhi
8f9a28
Summary: %{name}'s bodhi plugin
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
Obsoletes: libreport-plugin-bodhi > 0.0.1
8f9a28
Provides: libreport-plugin-bodhi = %{version}-%{release}
8f9a28
8f9a28
%description plugin-bodhi
8f9a28
Search for a new updates in bodhi server.
8f9a28
%endif
8f9a28
8f9a28
%if %{with python2}
8f9a28
%package -n python2-abrt-addon
8f9a28
Summary: %{name}'s addon for catching and analyzing Python exceptions
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
Requires: python2-systemd
8f9a28
Requires: python2-abrt
8f9a28
# Remove before F30
8f9a28
Provides: abrt-addon-python = %{version}-%{release}
8f9a28
Provides: abrt-addon-python%{?_isa} = %{version}-%{release}
8f9a28
Obsoletes: abrt-addon-python < 2.10.4
8f9a28
8f9a28
%description -n python2-abrt-addon
8f9a28
This package contains python hook and python analyzer plugin for handling
8f9a28
uncaught exception in python programs.
8f9a28
8f9a28
%package -n python2-abrt-container-addon
8f9a28
Summary: %{name}'s container addon for catching Python 2 exceptions
8f9a28
Conflicts: python2-abrt-addon
8f9a28
Requires: container-exception-logger
8f9a28
8f9a28
%description -n python2-abrt-container-addon
8f9a28
This package contains python 2 hook and handling uncaught exception in python 2
8f9a28
programs in container.
8f9a28
%endif # with python2
8f9a28
8f9a28
%if %{with python3}
8f9a28
%package -n python3-abrt-addon
8f9a28
Summary: %{name}'s addon for catching and analyzing Python 3 exceptions
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
Requires: python3-systemd
8f9a28
Requires: python3-abrt
8f9a28
# Remove before F30
8f9a28
Provides: abrt-addon-python3 = %{version}-%{release}
8f9a28
Provides: abrt-addon-python3%{?_isa} = %{version}-%{release}
8f9a28
Obsoletes: abrt-addon-python3 < 2.10.4
8f9a28
8f9a28
%description -n python3-abrt-addon
8f9a28
This package contains python 3 hook and python analyzer plugin for handling
8f9a28
uncaught exception in python 3 programs.
8f9a28
8f9a28
%package -n python3-abrt-container-addon
8f9a28
Summary: %{name}'s container addon for catching Python 3 exceptions
8f9a28
Conflicts: python3-abrt-addon
8f9a28
Requires: container-exception-logger
8f9a28
8f9a28
%description -n python3-abrt-container-addon
8f9a28
This package contains python 3 hook and handling uncaught exception in python 3
8f9a28
programs in container.
8f9a28
%endif # with python3
8f9a28
8f9a28
%package plugin-sosreport
8f9a28
Summary: %{name}'s plugin for building automatic sosreports
8f9a28
Requires: sos
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
8f9a28
%description plugin-sosreport
8f9a28
This package contains a configuration snippet to enable automatic generation
8f9a28
of sosreports for abrt events.
8f9a28
8f9a28
%package plugin-machine-id
8f9a28
Summary: %{name}'s plugin to generate machine_id based off dmidecode
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
8f9a28
%description plugin-machine-id
8f9a28
This package contains a configuration snippet to enable automatic generation
8f9a28
of machine_id for abrt events.
8f9a28
8f9a28
%package tui
8f9a28
Summary: %{name}'s command line interface
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
Requires: libreport-cli >= %{libreport_ver}
8f9a28
Requires: abrt-libs = %{version}-%{release}
8f9a28
Requires: abrt-dbus
8f9a28
8f9a28
%description tui
8f9a28
This package contains a simple command line client for processing abrt reports
8f9a28
in command line environment.
8f9a28
8f9a28
%if %{with python3}
8f9a28
%package cli-ng
8f9a28
Summary: %{name}'s improved command line interface
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
Requires: libreport-cli >= %{libreport_ver}
8f9a28
Requires: abrt-libs = %{version}-%{release}
8f9a28
Requires: abrt-dbus
8f9a28
Requires: python3-abrt
8f9a28
Requires: abrt-addon-ccpp
8f9a28
Requires: python3-argh
8f9a28
Requires: python3-argcomplete
8f9a28
Requires: python3-humanize
8f9a28
8f9a28
%description cli-ng
8f9a28
New generation command line interface for ABRT
8f9a28
%endif # with python3
8f9a28
8f9a28
%package cli
8f9a28
Summary: Virtual package to make easy default installation on non-graphical environments
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
Requires: abrt-tui
8f9a28
Requires: abrt-addon-kerneloops
8f9a28
Requires: abrt-addon-pstoreoops
8f9a28
Requires: abrt-addon-vmcore
8f9a28
Requires: abrt-addon-ccpp
8f9a28
%if %{with python2}
8f9a28
Requires: python2-abrt-addon
8f9a28
%endif # with python2
8f9a28
%if %{with python3}
8f9a28
Requires: python3-abrt-addon
8f9a28
%endif # with python3
8f9a28
Requires: abrt-addon-xorg
8f9a28
%if 0%{?rhel}
8f9a28
Requires: libreport-rhel >= %{libreport_ver}
8f9a28
Requires: libreport-plugin-rhtsupport >= %{libreport_ver}
8f9a28
%else
8f9a28
Requires: abrt-retrace-client
8f9a28
%if %{with bodhi}
8f9a28
Requires: abrt-plugin-bodhi
8f9a28
%endif
8f9a28
%if 0%{!?suse_version:1}
8f9a28
Requires: libreport-plugin-bugzilla >= %{libreport_ver}
8f9a28
%endif
8f9a28
Requires: libreport-plugin-logger >= %{libreport_ver}
8f9a28
Requires: libreport-plugin-ureport >= %{libreport_ver}
8f9a28
%if 0%{?fedora}
8f9a28
Requires: libreport-fedora >= %{libreport_ver}
8f9a28
%endif
8f9a28
%endif
8f9a28
8f9a28
%description cli
8f9a28
Virtual package to install all necessary packages for usage from command line
8f9a28
environment.
8f9a28
8f9a28
%package desktop
8f9a28
Summary: Virtual package to make easy default installation on desktop environments
8f9a28
# This package gets installed when anything requests bug-buddy -
8f9a28
# happens when users upgrade Fn to Fn+1;
8f9a28
# or if user just wants "typical desktop installation".
8f9a28
# Installing abrt-desktop should result in the abrt which works without
8f9a28
# any tweaking in abrt.conf (IOW: all plugins mentioned there must be installed)
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
Requires: abrt-addon-kerneloops
8f9a28
Requires: abrt-addon-pstoreoops
8f9a28
Requires: abrt-addon-vmcore
8f9a28
Requires: abrt-addon-ccpp
8f9a28
%if %{with python2}
8f9a28
Requires: python2-abrt-addon
8f9a28
%endif # with python2
8f9a28
%if %{with python3}
8f9a28
Requires: python3-abrt-addon
8f9a28
%endif # with python3
8f9a28
Requires: abrt-addon-xorg
8f9a28
Requires: gdb-headless
8f9a28
Requires: abrt-gui
8f9a28
Requires: gnome-abrt
8f9a28
%if 0%{?rhel}
8f9a28
Requires: libreport-rhel >= %{libreport_ver}
8f9a28
Requires: libreport-plugin-rhtsupport >= %{libreport_ver}
8f9a28
%else
8f9a28
Requires: abrt-retrace-client
8f9a28
%if %{with bodhi}
8f9a28
Requires: abrt-plugin-bodhi
8f9a28
%endif
8f9a28
%if 0%{!?suse_version:1}
8f9a28
Requires: libreport-plugin-bugzilla >= %{libreport_ver}
8f9a28
%endif
8f9a28
Requires: libreport-plugin-logger >= %{libreport_ver}
8f9a28
Requires: libreport-plugin-ureport >= %{libreport_ver}
8f9a28
%if 0%{?fedora}
8f9a28
Requires: libreport-fedora >= %{libreport_ver}
8f9a28
%endif
8f9a28
%endif
8f9a28
#Requires: abrt-plugin-firefox
8f9a28
Provides: bug-buddy = %{version}-%{release}
8f9a28
8f9a28
%description desktop
8f9a28
Virtual package to install all necessary packages for usage from desktop
8f9a28
environment.
8f9a28
8f9a28
%if %{with atomic}
8f9a28
%package atomic
8f9a28
Summary: Package to make easy default installation on Atomic hosts.
8f9a28
Requires: %{name}-addon-coredump-helper = %{version}-%{release}
8f9a28
Requires: %{name}-libs = %{version}-%{release}
8f9a28
Conflicts: %{name}-addon-ccpp
8f9a28
8f9a28
%description atomic
8f9a28
Package to install all necessary packages for usage from Atomic
8f9a28
hosts.
8f9a28
%endif
8f9a28
8f9a28
%package dbus
8f9a28
Summary: ABRT DBus service
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
Requires: abrt-libs = %{version}-%{release}
8f9a28
8f9a28
%description dbus
8f9a28
ABRT DBus service which provides org.freedesktop.problems API on dbus and
8f9a28
uses PolicyKit to authorize to access the problem data.
8f9a28
8f9a28
%if %{with python2}
8f9a28
%package -n python2-abrt
8f9a28
Summary: ABRT Python API
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
Requires: %{name}-libs = %{version}-%{release}
8f9a28
Requires: %{name}-dbus = %{version}-%{release}
8f9a28
Requires: python2-dbus
8f9a28
Requires: python2-libreport
8f9a28
%if 0%{?rhel:%{rhel} == 7}
8f9a28
Requires: python-gobject-base
8f9a28
%else
8f9a28
Requires: python2-gobject-base
8f9a28
%endif
8f9a28
%{?python_provide:%python_provide python2-abrt}
8f9a28
# Remove before F30
8f9a28
Provides: %{name}-python = %{version}-%{release}
8f9a28
Provides: %{name}-python%{?_isa} = %{version}-%{release}
8f9a28
Obsoletes: %{name}-python < 2.10.4
8f9a28
8f9a28
%description -n python2-abrt
8f9a28
High-level API for querying, creating and manipulating
8f9a28
problems handled by ABRT in Python.
8f9a28
8f9a28
%package -n python2-abrt-doc
8f9a28
Summary: ABRT Python API Documentation
8f9a28
BuildArch: noarch
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
Requires: python2-abrt = %{version}-%{release}
8f9a28
# Remove before F30
8f9a28
Provides: %{name}-python-doc = %{version}-%{release}
8f9a28
Obsoletes: %{name}-python-doc < 2.10.4
8f9a28
8f9a28
%description -n python2-abrt-doc
8f9a28
Examples and documentation for ABRT Python API.
8f9a28
%endif # with python2
8f9a28
8f9a28
%if %{with python3}
8f9a28
%package -n python3-abrt
8f9a28
Summary: ABRT Python 3 API
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
Requires: %{name}-libs = %{version}-%{release}
8f9a28
Requires: %{name}-dbus = %{version}-%{release}
8f9a28
Requires: python3-dbus
8f9a28
Requires: python3-libreport
8f9a28
%{?python_provide:%python_provide python3-abrt}
8f9a28
# Remove before F30
8f9a28
Provides: %{name}-python3 = %{version}-%{release}
8f9a28
Provides: %{name}-python3%{?_isa} = %{version}-%{release}
8f9a28
Obsoletes: %{name}-python3 < 2.10.4
8f9a28
Requires: python3-gobject-base
8f9a28
8f9a28
%description -n python3-abrt
8f9a28
High-level API for querying, creating and manipulating
8f9a28
problems handled by ABRT in Python 3.
8f9a28
8f9a28
%package -n python3-abrt-doc
8f9a28
Summary: ABRT Python API Documentation
8f9a28
BuildArch: noarch
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
Requires: python3-%{name} = %{version}-%{release}
8f9a28
# Remove before F30
8f9a28
Provides: %{name}-python3-doc = %{version}-%{release}
8f9a28
Obsoletes: %{name}-python3-doc < 2.10.4
8f9a28
8f9a28
%description -n python3-abrt-doc
8f9a28
Examples and documentation for ABRT Python 3 API.
8f9a28
%endif # with python3
8f9a28
8f9a28
%package console-notification
8f9a28
Summary: ABRT console notification script
8f9a28
Requires: %{name} = %{version}-%{release}
8f9a28
Requires: %{name}-cli = %{version}-%{release}
8f9a28
8f9a28
%description console-notification
8f9a28
A small script which prints a count of detected problems when someone logs in
8f9a28
to the shell
8f9a28
8f9a28
%prep
8f9a28
# http://www.rpm.org/wiki/PackagerDocs/Autosetup
8f9a28
# Default '__scm_apply_git' is 'git apply && git commit' but this workflow
8f9a28
# doesn't allow us to create a new file within a patch, so we have to use
8f9a28
# 'git am' (see /usr/lib/rpm/macros for more details)
8f9a28
#%%define __scm_apply_git(qp:m:) %{__git} am --exclude doc/design --exclude doc/project/abrt.tex
8f9a28
%define __scm_apply_git(qp:m:) %{__git} am
8f9a28
%autosetup -S git
8f9a28
8f9a28
%build
8f9a28
export PYTHON_NOSE="%{__python3} -m nose"
8f9a28
./autogen.sh
8f9a28
autoconf
8f9a28
8f9a28
%define var_base_dir spool
8f9a28
8f9a28
CFLAGS="%{optflags} -Werror" %configure \
8f9a28
%if %{without python2}
8f9a28
        --without-python2 \
8f9a28
%endif # with python2
8f9a28
%if %{without python3}
8f9a28
        --without-python3 \
8f9a28
%endif # with python3
8f9a28
%if %{without bodhi}
8f9a28
        --without-bodhi \
8f9a28
%endif
8f9a28
%if %{without atomic}
8f9a28
        --without-atomic \
8f9a28
%endif
8f9a28
%if 0%{?rhel}
8f9a28
        --enable-suggest-autoreporting \
3cec62
        --enable-authenticated-autoreporting \
8f9a28
%endif
8f9a28
%ifnarch %{arm}
8f9a28
        --enable-native-unwinder \
8f9a28
%endif
8f9a28
        --with-defaultdumplocation=/var/%{var_base_dir}/abrt \
8f9a28
        --enable-doxygen-docs \
8f9a28
        --enable-dump-time-unwind \
8f9a28
        --disable-silent-rules
8f9a28
8f9a28
make %{?_smp_mflags}
8f9a28
8f9a28
%install
8f9a28
make install DESTDIR=$RPM_BUILD_ROOT \
8f9a28
             PYTHON=%{__python3} \
8f9a28
             mandir=%{_mandir} \
8f9a28
             dbusabrtdocdir=%{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/
8f9a28
8f9a28
%find_lang %{name}
8f9a28
8f9a28
# Switch hardcoded python3 shebangs into the %%{__python3} macro
8f9a28
sed -i '1s=^#!/usr/bin/python3\($\|\s\)=#!%{__python3}\1=' \
8f9a28
    %{buildroot}%{_sbindir}/abrt-harvest-pstoreoops \
8f9a28
    %{buildroot}%{_bindir}/abrt \
8f9a28
    %{buildroot}%{_bindir}/abrt-handle-upload \
8f9a28
    %{buildroot}%{_bindir}/abrt-action-analyze-core \
8f9a28
%if %{with bodhi}
8f9a28
    %{buildroot}%{_bindir}/abrt-action-find-bodhi-update \
8f9a28
%endif
8f9a28
    %{buildroot}%{_bindir}/abrt-action-install-debuginfo \
8f9a28
    %{buildroot}%{_bindir}/abrt-action-list-dsos \
8f9a28
    %{buildroot}%{_bindir}/abrt-action-notify \
8f9a28
    %{buildroot}%{_bindir}/abrt-action-perform-ccpp-analysis \
8f9a28
    %{buildroot}%{_libexecdir}/abrt-action-generate-machine-id \
8f9a28
    %{buildroot}%{_libexecdir}/abrt-action-ureport \
8f9a28
    %{buildroot}%{_libexecdir}/abrt-gdb-exploitable \
8f9a28
    %{buildroot}%{_sbindir}/abrt-harvest-vmcore \
8f9a28
    %{buildroot}%{_bindir}/abrt-action-analyze-vmcore \
8f9a28
    %{buildroot}%{_bindir}/abrt-action-check-oops-for-alt-component \
8f9a28
    %{buildroot}%{_bindir}/abrt-action-check-oops-for-hw-error \
8f9a28
8f9a28
# Remove byte-compiled python files generated by automake.
8f9a28
# automake uses system's python for all *.py files, even
8f9a28
# for those which needs to be byte-compiled with different
8f9a28
# version (python2/python3).
8f9a28
# rpm can do this work and use the appropriate python version.
8f9a28
find $RPM_BUILD_ROOT -name "*.py[co]" -delete
8f9a28
8f9a28
# remove all .la and .a files
8f9a28
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
8f9a28
mkdir -p $RPM_BUILD_ROOT/var/cache/abrt-di
8f9a28
mkdir -p $RPM_BUILD_ROOT/var/run/abrt
8f9a28
mkdir -p $RPM_BUILD_ROOT/var/%{var_base_dir}/abrt
8f9a28
mkdir -p $RPM_BUILD_ROOT/var/spool/abrt-upload
8f9a28
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/abrt
8f9a28
8f9a28
desktop-file-install \
8f9a28
        --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
8f9a28
        src/applet/abrt-applet.desktop
8f9a28
8f9a28
ln -sf %{_datadir}/applications/abrt-applet.desktop ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/
8f9a28
8f9a28
# After everything is installed, remove info dir
8f9a28
rm -f %{buildroot}%{_infodir}/dir
8f9a28
8f9a28
%check
8f9a28
make check|| {
8f9a28
    # find and print the logs of failed test
8f9a28
    # do not cat tests/testsuite.log because it contains a lot of bloat
8f9a28
    find tests/testsuite.dir -name "testsuite.log" -print -exec cat '{}' \;
8f9a28
    exit 1
8f9a28
}
8f9a28
8f9a28
%pre
8f9a28
#uidgid pair 173:173 reserved in setup rhbz#670231
8f9a28
%define abrt_gid_uid 173
8f9a28
getent group abrt >/dev/null || groupadd -f -g %{abrt_gid_uid} --system abrt
8f9a28
getent passwd abrt >/dev/null || useradd --system -g abrt -u %{abrt_gid_uid} -d /etc/abrt -s /sbin/nologin abrt
8f9a28
exit 0
8f9a28
8f9a28
%post
8f9a28
# $1 == 1 if install; 2 if upgrade
8f9a28
%systemd_post abrtd.service
8f9a28
8f9a28
%post addon-ccpp
8f9a28
%systemd_post abrt-ccpp.service
8e2d79
# migration from 2.14.1.18
8e2d79
if [ ! -e "%{_localstatedir}/cache/abrt-di/.migration-group-add" ]; then
8e2d79
  chmod -R g+w %{_localstatedir}/cache/abrt-di
8e2d79
  touch "%{_localstatedir}/cache/abrt-di/.migration-group-add"
8e2d79
fi
8e2d79
8f9a28
%systemd_post abrt-journal-core.service
8f9a28
%journal_catalog_update
8f9a28
8f9a28
%post addon-kerneloops
8f9a28
%systemd_post abrt-oops.service
8f9a28
%journal_catalog_update
8f9a28
8f9a28
%post addon-xorg
8f9a28
%systemd_post abrt-xorg.service
8f9a28
%journal_catalog_update
8f9a28
8f9a28
%if %{with python2}
8f9a28
%post -n python2-abrt-addon
8f9a28
%journal_catalog_update
8f9a28
%endif # with python2
8f9a28
8f9a28
%if %{with python3}
8f9a28
%post -n python3-abrt-addon
8f9a28
%journal_catalog_update
8f9a28
%endif # with python3
8f9a28
8f9a28
%post addon-vmcore
8f9a28
%systemd_post abrt-vmcore.service
8f9a28
%journal_catalog_update
8f9a28
8f9a28
%post addon-pstoreoops
8f9a28
%systemd_post abrt-pstoreoops.service
8f9a28
8f9a28
%post addon-upload-watch
8f9a28
%systemd_post abrt-upload-watch.service
8f9a28
8f9a28
%preun
8f9a28
%systemd_preun abrtd.service
8f9a28
8f9a28
%preun addon-ccpp
8f9a28
%systemd_preun abrt-ccpp.service
8f9a28
%systemd_preun abrt-journal-core.service
8f9a28
8f9a28
%preun addon-kerneloops
8f9a28
%systemd_preun abrt-oops.service
8f9a28
8f9a28
%preun addon-xorg
8f9a28
%systemd_preun abrt-xorg.service
8f9a28
8f9a28
%preun addon-vmcore
8f9a28
%systemd_preun abrt-vmcore.service
8f9a28
8f9a28
%preun addon-pstoreoops
8f9a28
%systemd_preun abrt-pstoreoops.service
8f9a28
8f9a28
%preun addon-upload-watch
8f9a28
%systemd_preun abrt-upload-watch.service
8f9a28
8f9a28
%postun
8f9a28
%systemd_postun_with_restart abrtd.service
8f9a28
8f9a28
%postun addon-ccpp
8f9a28
%systemd_postun_with_restart abrt-ccpp.service
8f9a28
%systemd_postun_with_restart abrt-journal-core.service
8f9a28
8f9a28
%postun addon-kerneloops
8f9a28
%systemd_postun_with_restart abrt-oops.service
8f9a28
8f9a28
%postun addon-xorg
8f9a28
%systemd_postun_with_restart abrt-xorg.service
8f9a28
8f9a28
%postun addon-vmcore
8f9a28
%systemd_postun_with_restart abrt-vmcore.service
8f9a28
8f9a28
%postun addon-pstoreoops
8f9a28
%systemd_postun_with_restart abrt-pstoreoops.service
8f9a28
8f9a28
%postun addon-upload-watch
8f9a28
%systemd_postun_with_restart abrt-upload-watch.service
8f9a28
8f9a28
%post gui
8f9a28
# update icon cache
8f9a28
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
8f9a28
8f9a28
%if %{with atomic}
8f9a28
%post atomic
8f9a28
if [ -f /etc/abrt/plugins/CCpp.conf ]; then
8f9a28
    mv /etc/abrt/plugins/CCpp.conf /etc/abrt/plugins/CCpp.conf.rpmsave.atomic || exit 1;
8f9a28
fi
8f9a28
ln -sf /etc/abrt/plugins/CCpp_Atomic.conf /etc/abrt/plugins/CCpp.conf
8f9a28
if [ -f /usr/share/abrt/conf.d/plugins/CCpp.conf ]; then
8f9a28
    mv /usr/share/abrt/conf.d/plugins/CCpp.conf /usr/share/abrt/conf.d/plugins/CCpp.conf.rpmsave.atomic || exit 1;
8f9a28
fi
8f9a28
ln -sf /usr/share/abrt/conf.d/plugins/CCpp_Atomic.conf /usr/share/abrt/conf.d/plugins/CCpp.conf
8f9a28
%systemd_post abrt-coredump-helper.service
8f9a28
8f9a28
%preun atomic
8f9a28
if [ -L /etc/abrt/plugins/CCpp.conf ]; then
8f9a28
    rm /etc/abrt/plugins/CCpp.conf
8f9a28
fi
8f9a28
if [ -L /usr/share/abrt/conf.d/plugins/CCpp.conf ]; then
8f9a28
    rm /usr/share/abrt/conf.d/plugins/CCpp.conf
8f9a28
fi
8f9a28
if [ -f /etc/abrt/plugins/CCpp.conf.rpmsave.atomic ]; then
8f9a28
    mv /etc/abrt/plugins/CCpp.conf.rpmsave.atomic /etc/abrt/plugins/CCpp.conf || exit 1
8f9a28
fi
8f9a28
if [ -f  /usr/share/abrt/conf.d/plugins/CCpp.conf.rpmsave.atomic ]; then
8f9a28
    mv /usr/share/abrt/conf.d/plugins/CCpp.conf.rpmsave.atomic /usr/share/abrt/conf.d/plugins/CCpp.conf || exit 1
8f9a28
fi
8f9a28
8f9a28
%postun atomic
8f9a28
%systemd_postun_with_restart abrt-coredump-helper.service
8f9a28
%endif # with atomic
8f9a28
8f9a28
%if 0%{?fedora} > 27 || 0%{?rhel} > 7
8f9a28
# ldconfigi and gtk-update-icon-cache is not needed
8f9a28
%else
8f9a28
%post libs -p /sbin/ldconfig
8f9a28
8f9a28
%postun libs -p /sbin/ldconfig
8f9a28
8f9a28
%post gui-libs -p /sbin/ldconfig
8f9a28
8f9a28
%postun gui-libs -p /sbin/ldconfig
8f9a28
8f9a28
%postun gui
8f9a28
if [ $1 -eq 0 ] ; then
8f9a28
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
8f9a28
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
8f9a28
fi
8f9a28
%endif
8f9a28
8f9a28
%posttrans
8f9a28
# update the old problem dirs to contain "type" element
8f9a28
service abrtd condrestart >/dev/null 2>&1 || :
8f9a28
8f9a28
%posttrans addon-ccpp
8f9a28
# Migrate from abrt-ccpp.service to abrt-journal-core.service
8f9a28
# 'systemctl preset abrt-ccpp.service abrt-journal-core.service'
8f9a28
# is done only for installation by %systemd_post macro but not for package
8f9a28
# upgrade. Following lines affect changes in Fedora preset files in case of
8f9a28
# package upgrade and also starts abrt-journal-core.service and stops
8f9a28
# abrt-ccpp.service if abrt-ccpp.service is running.
8f9a28
# All this has to be done only once because some users want to use
8f9a28
# abrt-ccpp.service instead of the default abrt-journal-core.service.
8f9a28
# Hence we introduced a %{_localstatedir}/lib/abrt/abrt-migrated file to
8f9a28
# mark the migration was done.
8f9a28
if test ! -f %{_localstatedir}/lib/abrt/abrt-migrated ; then
8f9a28
    systemctl --no-reload preset abrt-ccpp.service >/dev/null 2>&1 || : 
8f9a28
    systemctl --no-reload preset abrt-journal-core.service >/dev/null 2>&1 || :
8f9a28
    if service abrt-ccpp status >/dev/null 2>&1 ; then
8f9a28
        systemctl stop abrt-ccpp >/dev/null 2>&1 || :
8f9a28
        systemctl start abrt-journal-core >/dev/null 2>&1 || :
8f9a28
    fi
8f9a28
    touch %{_localstatedir}/lib/abrt/abrt-migrated
8f9a28
fi
8f9a28
systemctl try-restart abrt-journal-core >/dev/null 2>&1 || :
8f9a28
systemctl try-restart abrt-ccpp >/dev/null 2>&1 || :
8f9a28
# Regenerate core_bactraces because of missing crash threads
8f9a28
abrtdir=$(grep "DumpLocation" /etc/abrt/abrt.conf | cut -d'=' -f2 | tr -d ' ')
8f9a28
if test -d "$abrtdir"; then
8f9a28
    for DD in `find "$abrtdir" -mindepth 1 -maxdepth 1 -type d`
8f9a28
    do
8f9a28
        if test -f "$DD/analyzer" && grep -q "^CCpp$" "$DD/analyzer"; then
8f9a28
            /usr/bin/abrt-action-generate-core-backtrace -d "$DD" -- >/dev/null 2>&1 || :
8f9a28
            test -f "$DD/core_backtrace" && chown `stat --format=%U:abrt $DD` "$DD/core_backtrace" || :
8f9a28
        fi
8f9a28
    done
8f9a28
fi
8f9a28
8f9a28
%posttrans addon-kerneloops
8f9a28
service abrt-oops condrestart >/dev/null 2>&1 || :
8f9a28
8f9a28
%posttrans addon-xorg
8f9a28
service abrt-xorg condrestart >/dev/null 2>&1 || :
8f9a28
8f9a28
%posttrans addon-vmcore
8f9a28
service abrt-vmcore condrestart >/dev/null 2>&1 || :
8f9a28
# Copy the configuration file to plugin's directory
8f9a28
test -f /etc/abrt/abrt-harvest-vmcore.conf && {
8f9a28
    echo "Moving /etc/abrt/abrt-harvest-vmcore.conf to /etc/abrt/plugins/vmcore.conf"
8f9a28
    mv -b /etc/abrt/abrt-harvest-vmcore.conf /etc/abrt/plugins/vmcore.conf
8f9a28
}
8f9a28
exit 0
8f9a28
8f9a28
%posttrans addon-pstoreoops
8f9a28
service abrt-pstoreoops condrestart >/dev/null 2>&1 || :
8f9a28
8f9a28
%if 0%{?fedora} > 27
8f9a28
# gtk-update-icon-cache is not needed
8f9a28
%else
8f9a28
%posttrans gui
8f9a28
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
8f9a28
%endif
8f9a28
8f9a28
%posttrans dbus
8f9a28
# Force abrt-dbus to restart like we do with the other services
8f9a28
killall abrt-dbus >/dev/null 2>&1 || :
8f9a28
8f9a28
%files -f %{name}.lang
8f9a28
%doc README.md COPYING
8f9a28
%{_unitdir}/abrtd.service
8f9a28
%{_tmpfilesdir}/abrt.conf
8f9a28
%{_sbindir}/abrtd
8f9a28
%{_sbindir}/abrt-server
8f9a28
%{_sbindir}/abrt-auto-reporting
8f9a28
%{_libexecdir}/abrt-handle-event
8f9a28
%{_libexecdir}/abrt-action-ureport
8f9a28
%{_libexecdir}/abrt-action-save-container-data
8f9a28
%{_bindir}/abrt-handle-upload
8f9a28
%{_bindir}/abrt-action-notify
8f9a28
%{_mandir}/man1/abrt-action-notify.1*
8f9a28
%{_bindir}/abrt-action-save-package-data
8f9a28
%{_bindir}/abrt-watch-log
8f9a28
%{_bindir}/abrt-action-analyze-python
8f9a28
%{_bindir}/abrt-action-analyze-xorg
8f9a28
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.problems.daemon.conf
8f9a28
%config(noreplace) %{_sysconfdir}/%{name}/abrt-action-save-package-data.conf
8f9a28
%{_datadir}/%{name}/conf.d/abrt-action-save-package-data.conf
8f9a28
%config(noreplace) %{_sysconfdir}/%{name}/plugins/xorg.conf
8f9a28
%{_datadir}/%{name}/conf.d/plugins/xorg.conf
8f9a28
%{_mandir}/man5/abrt-xorg.conf.5*
8f9a28
%config(noreplace) %{_sysconfdir}/%{name}/gpg_keys.conf
8f9a28
%{_datadir}/%{name}/conf.d/gpg_keys.conf
8f9a28
%{_mandir}/man5/gpg_keys.conf.5*
8f9a28
%config(noreplace) %{_sysconfdir}/libreport/events.d/abrt_event.conf
8f9a28
%{_mandir}/man5/abrt_event.conf.5*
8f9a28
%config(noreplace) %{_sysconfdir}/libreport/events.d/smart_event.conf
8f9a28
%{_mandir}/man5/smart_event.conf.5*
8f9a28
%dir %attr(0751, root, abrt) %{_localstatedir}/%{var_base_dir}/%{name}
8f9a28
%dir %attr(0700, abrt, abrt) %{_localstatedir}/spool/%{name}-upload
8f9a28
# abrtd runs as root
8f9a28
%ghost %dir %attr(0755, root, root) %{_localstatedir}/run/%{name}
8f9a28
%ghost %attr(0666, -, -) %{_localstatedir}/run/%{name}/abrt.socket
8f9a28
%ghost %attr(0644, -, -) %{_localstatedir}/run/%{name}/abrtd.pid
8f9a28
8f9a28
%{_mandir}/man1/abrt-handle-upload.1*
8f9a28
%{_mandir}/man1/abrt-server.1*
8f9a28
%{_mandir}/man1/abrt-action-save-package-data.1*
8f9a28
%{_mandir}/man1/abrt-watch-log.1*
8f9a28
%{_mandir}/man1/abrt-action-analyze-python.1*
8f9a28
%{_mandir}/man1/abrt-action-analyze-xorg.1*
8f9a28
%{_mandir}/man1/abrt-auto-reporting.1*
8f9a28
%{_mandir}/man8/abrtd.8*
8f9a28
%{_mandir}/man5/abrt-action-save-package-data.conf.5*
8f9a28
# {_mandir}/man5/pyhook.conf.5*
8f9a28
8f9a28
%files libs
8f9a28
%{_libdir}/libabrt.so.*
8f9a28
%config(noreplace) %{_sysconfdir}/%{name}/abrt.conf
8f9a28
%{_datadir}/%{name}/conf.d/abrt.conf
8f9a28
%{_mandir}/man5/abrt.conf.5*
8f9a28
%dir %{_sysconfdir}/%{name}
8f9a28
%dir %{_sysconfdir}/%{name}/plugins
8f9a28
%dir %{_datadir}/%{name}
8f9a28
%dir %{_datadir}/%{name}/conf.d
8f9a28
%dir %{_datadir}/%{name}/conf.d/plugins
8f9a28
8f9a28
# filesystem package should own /usr/share/augeas/lenses directory
8f9a28
%{_datadir}/augeas/lenses/abrt.aug
8f9a28
8f9a28
%files devel
8f9a28
# The complex pattern below (instead of simlpy *) excludes Makefile{.am,.in}:
8f9a28
%doc apidoc/html/*.{html,png,css,js}
8f9a28
%{_includedir}/abrt/abrt-dbus.h
8f9a28
%{_includedir}/abrt/hooklib.h
8f9a28
%{_includedir}/abrt/libabrt.h
8f9a28
%{_includedir}/abrt/problem_api.h
8f9a28
%{_libdir}/libabrt.so
8f9a28
%{_libdir}/pkgconfig/abrt.pc
8f9a28
8f9a28
%files gui-libs
8f9a28
%{_libdir}/libabrt_gui.so.*
8f9a28
8f9a28
%files gui-devel
8f9a28
%{_includedir}/abrt/abrt-config-widget.h
8f9a28
%{_includedir}/abrt/system-config-abrt.h
8f9a28
%{_libdir}/libabrt_gui.so
8f9a28
%{_libdir}/pkgconfig/abrt_gui.pc
8f9a28
8f9a28
%files gui
8f9a28
%dir %{_datadir}/%{name}
8f9a28
# all glade, gtkbuilder and py files for gui
8f9a28
%{_datadir}/icons/hicolor/*/apps/*
8f9a28
%{_datadir}/icons/hicolor/*/status/*
8f9a28
%{_datadir}/%{name}/icons/hicolor/*/status/*
8f9a28
%{_datadir}/%{name}/ui/*
8f9a28
%{_bindir}/abrt-applet
8f9a28
%{_bindir}/system-config-abrt
8f9a28
#%%{_bindir}/test-report
8f9a28
%{_datadir}/applications/abrt-applet.desktop
8f9a28
%config(noreplace) %{_sysconfdir}/xdg/autostart/abrt-applet.desktop
8f9a28
%{_mandir}/man1/abrt-applet.1*
8f9a28
%{_mandir}/man1/system-config-abrt.1*
8f9a28
8f9a28
%files addon-coredump-helper
8f9a28
%{_libexecdir}/abrt-hook-ccpp
8f9a28
%{_sbindir}/abrt-install-ccpp-hook
8f9a28
8f9a28
%files addon-ccpp
8f9a28
%dir %attr(0775, abrt, abrt) %{_localstatedir}/cache/abrt-di
8f9a28
%config(noreplace) %{_sysconfdir}/%{name}/plugins/CCpp.conf
8f9a28
%{_datadir}/%{name}/conf.d/plugins/CCpp.conf
8f9a28
%{_mandir}/man5/abrt-CCpp.conf.5*
8f9a28
%{_libexecdir}/abrt-gdb-exploitable
8f9a28
%{_journalcatalogdir}/abrt_ccpp.catalog
8f9a28
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_ccpp_format.conf
8f9a28
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_journal_ccpp_format.conf
8f9a28
%{_unitdir}/abrt-ccpp.service
8f9a28
%{_unitdir}/abrt-journal-core.service
8f9a28
8f9a28
%dir %{_localstatedir}/lib/abrt
8f9a28
8e2d79
# attr(2755) ~= SETGID
8e2d79
%attr(2755, abrt, abrt) %{_libexecdir}/abrt-action-install-debuginfo-to-abrt-cache
8f9a28
8f9a28
%{_bindir}/abrt-action-analyze-c
8f9a28
%{_bindir}/abrt-action-trim-files
8f9a28
%{_bindir}/abrt-action-analyze-core
8f9a28
%{_bindir}/abrt-action-analyze-vulnerability
8f9a28
%{_bindir}/abrt-action-install-debuginfo
8f9a28
%{_bindir}/abrt-action-generate-backtrace
8f9a28
%{_bindir}/abrt-action-generate-core-backtrace
8f9a28
%{_bindir}/abrt-action-analyze-backtrace
8f9a28
%{_bindir}/abrt-action-list-dsos
8f9a28
%{_bindir}/abrt-action-perform-ccpp-analysis
8f9a28
%{_bindir}/abrt-action-analyze-ccpp-local
8f9a28
%{_bindir}/abrt-dump-journal-core
8f9a28
%config(noreplace) %{_sysconfdir}/libreport/events.d/ccpp_event.conf
8f9a28
%{_mandir}/man5/ccpp_event.conf.5*
8f9a28
%config(noreplace) %{_sysconfdir}/libreport/events.d/gconf_event.conf
8f9a28
%{_mandir}/man5/gconf_event.conf.5*
8f9a28
%config(noreplace) %{_sysconfdir}/libreport/events.d/vimrc_event.conf
8f9a28
%{_mandir}/man5/vimrc_event.conf.5*
8f9a28
%{_datadir}/libreport/events/analyze_CCpp.xml
8f9a28
%{_datadir}/libreport/events/analyze_LocalGDB.xml
8f9a28
%{_datadir}/libreport/events/collect_xsession_errors.xml
8f9a28
%{_datadir}/libreport/events/collect_GConf.xml
8f9a28
%{_datadir}/libreport/events/collect_vimrc_user.xml
8f9a28
%{_datadir}/libreport/events/collect_vimrc_system.xml
8f9a28
%{_datadir}/libreport/events/post_report.xml
8f9a28
%{_mandir}/man*/abrt-action-analyze-c.*
8f9a28
%{_mandir}/man*/abrt-action-trim-files.*
8f9a28
%{_mandir}/man*/abrt-action-generate-backtrace.*
8f9a28
%{_mandir}/man*/abrt-action-generate-core-backtrace.*
8f9a28
%{_mandir}/man*/abrt-action-analyze-backtrace.*
8f9a28
%{_mandir}/man*/abrt-action-list-dsos.*
8f9a28
%{_mandir}/man*/abrt-install-ccpp-hook.*
8f9a28
%{_mandir}/man*/abrt-action-install-debuginfo.*
8f9a28
%{_mandir}/man*/abrt-action-analyze-ccpp-local.*
8f9a28
%{_mandir}/man*/abrt-action-analyze-core.*
8f9a28
%{_mandir}/man*/abrt-action-analyze-vulnerability.*
8f9a28
%{_mandir}/man*/abrt-action-perform-ccpp-analysis.*
8f9a28
%{_mandir}/man1/abrt-dump-journal-core.1*
8f9a28
8f9a28
%files addon-upload-watch
8f9a28
%{_sbindir}/abrt-upload-watch
8f9a28
%{_unitdir}/abrt-upload-watch.service
8f9a28
%{_mandir}/man*/abrt-upload-watch.*
8f9a28
8f9a28
8f9a28
%files retrace-client
8f9a28
%{_bindir}/abrt-retrace-client
8f9a28
%{_mandir}/man1/abrt-retrace-client.1*
8f9a28
%config(noreplace) %{_sysconfdir}/libreport/events.d/ccpp_retrace_event.conf
8f9a28
%{_mandir}/man5/ccpp_retrace_event.conf.5*
8f9a28
%{_datadir}/libreport/events/analyze_RetraceServer.xml
8f9a28
8f9a28
%files addon-kerneloops
8f9a28
%config(noreplace) %{_sysconfdir}/libreport/events.d/koops_event.conf
8f9a28
%{_journalcatalogdir}/abrt_koops.catalog
8f9a28
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_koops_format.conf
8f9a28
%{_mandir}/man5/koops_event.conf.5*
8f9a28
%config(noreplace) %{_sysconfdir}/%{name}/plugins/oops.conf
8f9a28
%{_datadir}/%{name}/conf.d/plugins/oops.conf
8f9a28
%{_unitdir}/abrt-oops.service
8f9a28
8f9a28
%dir %{_localstatedir}/lib/abrt
8f9a28
8f9a28
%{_bindir}/abrt-dump-oops
8f9a28
%{_bindir}/abrt-dump-journal-oops
8f9a28
%{_bindir}/abrt-action-analyze-oops
8f9a28
%{_mandir}/man1/abrt-dump-oops.1*
8f9a28
%{_mandir}/man1/abrt-dump-journal-oops.1*
8f9a28
%{_mandir}/man1/abrt-action-analyze-oops.1*
8f9a28
%{_mandir}/man5/abrt-oops.conf.5*
8f9a28
8f9a28
%files addon-xorg
8f9a28
%config(noreplace) %{_sysconfdir}/libreport/events.d/xorg_event.conf
8f9a28
%{_journalcatalogdir}/abrt_xorg.catalog
8f9a28
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_xorg_format.conf
8f9a28
%{_mandir}/man5/xorg_event.conf.5*
8f9a28
%{_unitdir}/abrt-xorg.service
8f9a28
%{_bindir}/abrt-dump-xorg
8f9a28
%{_bindir}/abrt-dump-journal-xorg
8f9a28
%{_mandir}/man1/abrt-dump-xorg.1*
8f9a28
%{_mandir}/man1/abrt-dump-journal-xorg.1*
8f9a28
8f9a28
%files addon-vmcore
8f9a28
%config(noreplace) %{_sysconfdir}/libreport/events.d/vmcore_event.conf
8f9a28
%{_mandir}/man5/vmcore_event.conf.5*
8f9a28
%config(noreplace) %{_sysconfdir}/%{name}/plugins/vmcore.conf
8f9a28
%{_datadir}/%{name}/conf.d/plugins/vmcore.conf
8f9a28
%{_datadir}/libreport/events/analyze_VMcore.xml
8f9a28
%{_unitdir}/abrt-vmcore.service
8f9a28
%{_sbindir}/abrt-harvest-vmcore
8f9a28
%{_bindir}/abrt-action-analyze-vmcore
8f9a28
%{_bindir}/abrt-action-check-oops-for-alt-component
8f9a28
%{_bindir}/abrt-action-check-oops-for-hw-error
8f9a28
%{_mandir}/man1/abrt-harvest-vmcore.1*
8f9a28
%{_mandir}/man5/abrt-vmcore.conf.5*
8f9a28
%{_mandir}/man1/abrt-action-analyze-vmcore.1*
8f9a28
%{_mandir}/man1/abrt-action-check-oops-for-hw-error.1*
8f9a28
%{_journalcatalogdir}/abrt_vmcore.catalog
8f9a28
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_vmcore_format.conf
8f9a28
8f9a28
%files addon-pstoreoops
8f9a28
%{_unitdir}/abrt-pstoreoops.service
8f9a28
%{_sbindir}/abrt-harvest-pstoreoops
8f9a28
%{_bindir}/abrt-merge-pstoreoops
8f9a28
%{_mandir}/man1/abrt-harvest-pstoreoops.1*
8f9a28
%{_mandir}/man1/abrt-merge-pstoreoops.1*
8f9a28
8f9a28
%if %{with python2}
8f9a28
%files -n python2-abrt-addon
8f9a28
%config(noreplace) %{_sysconfdir}/%{name}/plugins/python.conf
8f9a28
%{_datadir}/%{name}/conf.d/plugins/python.conf
8f9a28
%{_mandir}/man5/abrt-python.conf.5*
8f9a28
%config(noreplace) %{_sysconfdir}/libreport/events.d/python_event.conf
8f9a28
%{_journalcatalogdir}/abrt_python.catalog
8f9a28
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_python_format.conf
8f9a28
%{_mandir}/man5/python_event.conf.5*
8f9a28
%{python_sitearch}/abrt.pth
8f9a28
%{python_sitearch}/abrt_exception_handler.*
8f9a28
8f9a28
%files -n python2-abrt-container-addon
8f9a28
%{python_sitearch}/abrt_container.pth
8f9a28
%{python_sitearch}/abrt_exception_handler_container.*
8f9a28
%endif # with python2
8f9a28
8f9a28
%if %{with python3}
8f9a28
%files -n python3-abrt-addon
8f9a28
%config(noreplace) %{_sysconfdir}/%{name}/plugins/python3.conf
8f9a28
%{_datadir}/%{name}/conf.d/plugins/python3.conf
8f9a28
%{_mandir}/man5/abrt-python3.conf.5*
8f9a28
%config(noreplace) %{_sysconfdir}/libreport/events.d/python3_event.conf
8f9a28
%{_journalcatalogdir}/abrt_python3.catalog
8f9a28
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_python3_format.conf
8f9a28
%{_mandir}/man5/python3_event.conf.5*
8f9a28
%{python3_sitearch}/abrt3.pth
8f9a28
%{python3_sitearch}/abrt_exception_handler3.py
8f9a28
%{python3_sitearch}/__pycache__/abrt_exception_handler3.*
8f9a28
8f9a28
%files -n python3-abrt-container-addon
8f9a28
%{python3_sitearch}/abrt3_container.pth
8f9a28
%{python3_sitearch}/abrt_exception_handler3_container.py
8f9a28
%{python3_sitearch}/__pycache__/abrt_exception_handler3_container.*
8f9a28
%endif # with python3
8f9a28
8f9a28
%files plugin-sosreport
8f9a28
%defattr(-,root,root,-)
8f9a28
%config(noreplace) %{_sysconfdir}/libreport/events.d/sosreport_event.conf
8f9a28
8f9a28
%files plugin-machine-id
8f9a28
%defattr(-,root,root,-)
8f9a28
%config(noreplace) %{_sysconfdir}/libreport/events.d/machine-id_event.conf
8f9a28
%{_libexecdir}/abrt-action-generate-machine-id
8f9a28
8f9a28
%files cli
8f9a28
8f9a28
%files tui
8f9a28
%{_bindir}/abrt-cli
8f9a28
%{_mandir}/man1/abrt-cli.1*
8f9a28
8f9a28
%if %{with python3}
8f9a28
%files cli-ng
8f9a28
%config(noreplace) %{_sysconfdir}/bash_completion.d/abrt.bash_completion
8f9a28
%{_bindir}/abrt
8f9a28
%{python3_sitearch}/abrtcli/
8f9a28
%{_mandir}/man1/abrt.1*
8f9a28
%endif # with python3
8f9a28
8f9a28
%files desktop
8f9a28
8f9a28
%if %{with atomic}
8f9a28
%files atomic
8f9a28
%config(noreplace) %{_sysconfdir}/%{name}/plugins/CCpp_Atomic.conf
8f9a28
%{_unitdir}/abrt-coredump-helper.service
8f9a28
%{_datadir}/%{name}/conf.d/plugins/CCpp_Atomic.conf
8f9a28
%config(noreplace) %{_sysconfdir}/%{name}/abrt-action-save-package-data.conf
8f9a28
%{_bindir}/abrt-action-save-package-data
8f9a28
%{_mandir}/man1/abrt-action-save-package-data.1*
8f9a28
%{_mandir}/man5/abrt-action-save-package-data.conf.5*
8f9a28
%endif
8f9a28
8f9a28
%if %{with bodhi}
8f9a28
%files plugin-bodhi
8f9a28
%{_bindir}/abrt-bodhi
8f9a28
%{_bindir}/abrt-action-find-bodhi-update
8f9a28
%config(noreplace) %{_sysconfdir}/libreport/events.d/bodhi_event.conf
8f9a28
%{_datadir}/libreport/events/analyze_BodhiUpdates.xml
8f9a28
%{_mandir}/man1/abrt-bodhi.1*
8f9a28
%{_mandir}/man1/abrt-action-find-bodhi-update.1*
8f9a28
%endif
8f9a28
8f9a28
%files dbus
8f9a28
%{_sbindir}/abrt-dbus
8f9a28
%{_sbindir}/abrt-configuration
8f9a28
%{_mandir}/man8/abrt-dbus.8*
8f9a28
%{_mandir}/man8/abrt-configuration.8*
8f9a28
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/dbus-abrt.conf
8f9a28
%{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.xml
8f9a28
%{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.Entry.xml
8f9a28
%{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.Session.xml
8f9a28
%{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.Task.xml
8f9a28
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.xml
8f9a28
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.abrt.xml
8f9a28
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.ccpp.xml
8f9a28
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.oops.xml
8f9a28
%if %{with python2}
8f9a28
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.python.xml
8f9a28
%endif # with python2
8f9a28
%if %{with python3}
8f9a28
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.python3.xml
8f9a28
%endif # with python3
8f9a28
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.vmcore.xml
8f9a28
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.xorg.xml
8f9a28
%{_datadir}/dbus-1/system-services/org.freedesktop.problems.service
8f9a28
%{_datadir}/dbus-1/system-services/com.redhat.problems.configuration.service
8f9a28
%{_datadir}/polkit-1/actions/abrt_polkit.policy
8f9a28
%dir %{_defaultdocdir}/%{name}-dbus%{docdirversion}/
8f9a28
%dir %{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/
8f9a28
%{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/*.html
8f9a28
%{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/*.css
8f9a28
%config(noreplace) %{_sysconfdir}/libreport/events.d/abrt_dbus_event.conf
8f9a28
8f9a28
%if %{with python2}
8f9a28
%files -n python2-abrt
8f9a28
%{python_sitearch}/problem/
8f9a28
%{_mandir}/man5/abrt-python.5*
8f9a28
8f9a28
%files -n python2-abrt-doc
8f9a28
%{python_sitelib}/problem_examples
8f9a28
%endif # with python2
8f9a28
8f9a28
%if %{with python3}
8f9a28
%files -n python3-abrt
8f9a28
%{python3_sitearch}/problem/
8f9a28
%{_mandir}/man5/abrt-python3.5*
8f9a28
8f9a28
%files -n python3-abrt-doc
8f9a28
%{python3_sitelib}/problem_examples
8f9a28
%endif # with python3
8f9a28
8f9a28
%files console-notification
8f9a28
%config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh
8f9a28
8f9a28
%changelog
554eee
* Thu Feb 16 2023 Matěj Grabovský <mgrabovs@redhat.com> - 2.10.9-24
554eee
- Revert part of patch for rhbz#2137499
554eee
- Resolves: rhbz#2137499
554eee
554eee
* Fri Feb 3 2023 Michal Fabík <mfabik@redhat.com> - 2.10.9-23
554eee
- Fix vmcore call trace parsing in kernel versions >=4.10
554eee
- Resolves: rhbz#1993225
554eee
3cec62
* Tue Jan 31 2023 Matěj Grabovský <mgrabovs@redhat.com> - 2.10.9-22
3cec62
- Update sos report command line
3cec62
- Resolves: rhbz#2137499
3cec62
583ece
* Wed Mar 31 2021 Michal Srb <michal@redhat.com> - 2.10.9-21
583ece
- Do not report problems to journal as we don't ship the journal reporter
583ece
- Resolves: rhbz#1844739
583ece
eacc09
* Wed Aug 19 2020 - Ernestas Kulik <ekulik@redhat.com> - 2.10.9-20
eacc09
- Something something patch for rhbz#1835388
eacc09
8e2d79
* Tue Jun 30 2020 - Ernestas Kulik <ekulik@redhat.com> - 2.10.9-19
8e2d79
- Add another patch for #1846272
8e2d79
8e2d79
* Mon Jun 29 2020 - Michal Židek <mzidek@redhat.com> - 2.10.9-18
8e2d79
- Resolves: rhbz#1835388
8e2d79
- This is seccond commit to fix som mess with one missing patch and synchronize
8e2d79
  the internal gitlab patch numbers with this spec file
8e2d79
8e2d79
* Wed Jun 24 2020 - Michal Židek <mzidek@redhat.com> - 2.10.9-17
8e2d79
- Resolves: rhbz#1835388
8e2d79
8e2d79
* Mon Jun 22 2020 - Ernestas Kulik <ekulik@redhat.com> - 2.10.9-16
8e2d79
- Add another patch for #1846272
8e2d79
8e2d79
* Thu Jun 11 2020 Ernestas Kulik <ekulik@redhat.com> - 2.10.9-15
8e2d79
- Remove unintended line change in abrt_event.conf
8e2d79
8e2d79
* Thu Jun 11 2020 Ernestas Kulik <ekulik@redhat.com> - 2.10.9-14
8e2d79
- Add patch for #1846272
8e2d79
8e2d79
* Wed Jun 10 2020 Michal Židek <mzidek@redhat.com> - 2.10.9-13
8e2d79
- Resolves: rhbz#1658685
8e2d79
- shellcheck: Use command instead of type
8e2d79
- shellcheck: Check exit code directly with if mycmd
8e2d79
- shellcheck: Suppress shellcheck warning SC1090
8e2d79
- shellcheck: Use $(...) instead of legacy backticked
8e2d79
- cli: Add a shebang
8e2d79
8f9a28
* Wed Mar 11 2020 Ernestas Kulik <ekulik@redhat.com> - 2.10.9-12
8f9a28
- Fix #1798494, #1805728, #1809949
8f9a28
8f9a28
* Tue Jul 16 2019 Michal Fabik <mfabik@redhat.com> - 2.10.9-11
8f9a28
- a-a-list-dsos: Fix decoding of strings from rpm
8f9a28
Resolves: rhbz#1694970
8f9a28
8f9a28
* Fri Dec 7 2018 Martin Kutlak <mkutlak@redhat.com> - 2.10.9-10
8f9a28
- spec: Add-explicit-package-version-requirement-of-abrt-libs
8f9a28
- cli: get list of possible workflows for problem_data_t
8f9a28
- cli: mark the suggestion text for translation
8f9a28
- cli list: show a hint about creating a case in RHTS
8f9a28
Resolves: #1649753
8f9a28
8f9a28
* Fri Nov 30 2018 Martin Kutlak <mkutlak@redhat.com> - 2.10.9-9
8f9a28
- spec: turn on --enable-native-unwinder aarch64
8f9a28
- spec: enable addon-vmcore on aarch64
8f9a28
- daemon: Fix double closed fd race condition
8f9a28
- dbus: Add configuration for Python3
8f9a28
- Add autogen.sh
8f9a28
- Resolves: #1646569, #1651676, #1650619, #1650622, #1652676
8f9a28
8f9a28
* Tue Nov 20 2018 Martin Kutlak <mkutlak@redhat.com> - 2.10.9-8
8f9a28
- lib: Correct the syntax for gdb backtrace command
8f9a28
- Resolves: #1623960
8f9a28
8f9a28
* Tue Aug 14 2018 Petr Viktorin <pviktori@redhat.com> - 2.10.9-7
8f9a28
- Switch Python tests to use %%{__python3}
8f9a28
- Resolves: #1615505
8f9a28
8f9a28
* Fri Jun 15 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.9-6
8f9a28
- Switch hardcoded python3 shebangs into the %%{__python3}
8f9a28
8f9a28
* Fri Jun 15 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.9-5
8f9a28
- Set PYTHON to python3 during install
8f9a28
8f9a28
* Fri Jun 15 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.9-4
8f9a28
- ccpp: add %h and %e parameter into abrt-hook-ccpp
8f9a28
- Resovles: #1587891
8f9a28
8f9a28
* Thu May 24 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.9-3
8f9a28
- Remove dependency on deprecated nss-pem
8f9a28
- Resovles: #1578427
8f9a28
8f9a28
* Fri Apr 27 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.9-2
8f9a28
- fix python requires in spec file
8f9a28
8f9a28
* Fri Apr 27 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.9-1
8f9a28
- build: conditionalize the Python2 and Python3
8f9a28
- cli-ng,hooks,python-problem: Allow python to be optional at build time
8f9a28
- spec: fix ambiguous Python 2 dependency declarations
8f9a28
- plugins: a-a-g-machine-id use dmidecode command
8f9a28
- spec: use dmidecode instead of python3-dmidecode
8f9a28
- hooks: use container-exception-logger tool
8f9a28
- spec: container python hooks require cel
8f9a28
- hooks: do not write any additional logs
8f9a28
- a-a-s-package-data: add python3.7 to known Interpreters
8f9a28
- autogen: ignore abrt's python packages
8f9a28
- correctly parse buildrequires from spec file
8f9a28
8f9a28
* Wed Mar 21 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.8-1
8f9a28
- Translation updates
8f9a28
- spec: use Python3 as default in abrt-cli-ng
8f9a28
- cli-ng: use Python3 as default
8f9a28
- Add a new element 'interpreter' for python problems
8f9a28
- retrace-client: Require nss-pem
8f9a28
8f9a28
* Mon Feb 26 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.7-1
8f9a28
- Translation updates
8f9a28
- hooks: introduce docker hook for Python2
8f9a28
- hook: add type to Python3 container exception handler
8f9a28
- spec: introduce docker hook for Python2
8f9a28
- Add ABRT hexa stickers
8f9a28
- a-container-logger: workaround permission issue in minishift
8f9a28
8f9a28
* Mon Feb 19 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.6-1
8f9a28
- Translation updates
8f9a28
- hooks: introduce docker hook for Python3
8f9a28
- spec: introduce Python3 hook for container
8f9a28
- Remove deprecated is_error macro
8f9a28
- ldconfig is not needed in rawhide
8f9a28
- remove python_sitearch macro
8f9a28
- remove python_site macro
8f9a28
- move BuildRequires to top
8f9a28
- remove systemd-units and replace it with systemd macro
8f9a28
- remove init.d services
8f9a28
- a-h-event: Do not deduplicate different containers
8f9a28
- rpm: include epocho in package element if > 0
8f9a28
8f9a28
* Thu Nov 02 2017 Julius Milan <jmilan@redhat.com> 2.10.5-1
8f9a28
- Translation updates
8f9a28
- a-action-ureport: add option 'ProcessUnpackaged'
8f9a28
- spec: change dependency on python{2,3}-gobject
8f9a28
- applet: Additional changes to allow optional polkit
8f9a28
- doc: remove obsolete doxygen tags
8f9a28
- dbus: Additional changes to allow optional polkit
8f9a28
- cli-ng: Explicitly state python version in shebangs
8f9a28
- spec: rename python binary packages
8f9a28
- a-d-journal-core: Save mountinfo from journal
8f9a28
- a-d-journal-core: Save container cmdline
8f9a28
- logging: rename omitted log() to log_warning()
8f9a28
8f9a28
* Mon Aug 28 2017 Matej Habrnal <mhabrnal@redhat.com> 2.10.4-1
8f9a28
- Translation updates
8f9a28
- logging: rename log() to log_warning()
8f9a28
- Quick hack to fix build with rpm >= 4.14
8f9a28
- tests: Crash different binary in infinite event loop
8f9a28
- tests: Revert not sufficient fix
8f9a28
- tests: Reflect field changes in reporter-s-journal
8f9a28
- tests: Get docker-inspect while container is running
8f9a28
- cli,dbus: Allow polkit to be optional at build time
8f9a28
- spec: add dependency for python{3}-gobject
8f9a28
- a-d-journal-core: fix bad condition in creating reason msg
8f9a28
- a-d-journal-core: use pid of crashed process in dumpdir name
8f9a28
- changelog: update CHANGELOG.md
8f9a28
8f9a28
* Thu Jun 15 2017 Martin Kutlak <mkutlak@redhat.com> 2.10.3-1
8f9a28
- Translation updates
8f9a28
- applet: add a default action to a notification
8f9a28
- spec: require libreport-plugin-systemd-journal on Fedoras
8f9a28
- changing load location from bin to libexec
8f9a28
- changing location of abrt-action-save-container-data from bin to libexec
8f9a28
- koops: Improve not-reportable for oopses with taint flags
8f9a28
- This fixes #1173
8f9a28
- python: provide more information about exception
8f9a28
- abrt-journal: adapt to suspicious blacklist addition
8f9a28
- koops: add suspicious strings blacklist
8f9a28
- build: fix changelog adding in release target
8f9a28
- changelog: update CHANGELOG.md
8f9a28
8f9a28
* Tue Apr 25 2017 Matej Habrnal <mhabrnal@redhat.com> 2.10.2-1
8f9a28
- Translation updates
8f9a28
- spec: introduce migration to abrt-journal-core
8f9a28
- abrt_event: Save cpuinfo in problem directories
8f9a28
- koops: Improve fatal MCE check when dumping backtrace
8f9a28
- lib: typo in header
8f9a28
- Spelling fixes
8f9a28
- Python 3.6 invalid escape sequence deprecation fix
8f9a28
- koops_event: add check to restrict reporting of MCEs
8f9a28
8f9a28
* Thu Mar 16 2017 Matej Habrnal <mhabrnal@redhat.com> 2.10.1-1
8f9a28
- changelog: update CHANGELOG.md
8f9a28
- build: create tarball in release-* target
8f9a28
- spec: sosreport is not a package
8f9a28
- Fix Typo
8f9a28
- bodhi: Remove dependency on hawkey
8f9a28
- spec: Remove dependency on hawkey
8f9a28
- build: do not upload tarball to fedorahosted.org
8f9a28
- spec: do not use fedorahosted.org as source
8f9a28
- spec: install new plugins
8f9a28
- plugins: introduce Machine ID and SOS report
8f9a28
- Update CHANGELOG.md
8f9a28
- build: fix generating list of dependences in autogen.sh
8f9a28
- spec: start abrt-journal-core instead of abrt-ccpp
8f9a28
- build: fix scratch-build target
8f9a28
- a-a-ureport: fix calling of run_event_on_problem_dir
8f9a28
- spec: if using systemd, default to os-release ID for desktopvendor
8f9a28
- kernel: modify suspicious string "invalid opcode:"
8f9a28
- daemon: Allow rpm to be optional at build time
8f9a28
- spec: allow any compression of man pages
8f9a28
- spec: remove defattr
8f9a28
- spec: remove cleaning buildroot
8f9a28
- spec: use versioned provides
8f9a28
- spec: remove changelog entries older than 2 years
8f9a28
- remove Buildroot and Groups tags
8f9a28
- spec: recommend libreport-plugin-systemd-journal on Fedoras
8f9a28
- doc: document selinux change needed for automatic deletion of reports
8f9a28
- ccpp: tell gdb to analyze saved binary image
8f9a28
8f9a28
* Sat Dec 03 2016 Jakub Filak <jakub@thefilaks.net> 2.10.0-1
8f9a28
- Translation updates
8f9a28
- spec: bump required libreport and satyr versions
8f9a28
- build: make the release-* targets smarter
8f9a28
- Add CHANGELOG.md
8f9a28
- a-a-notify: set env var before run report_systemd-journal event
8f9a28
- use run_event_on_problem_dir() helper for running events
8f9a28
- notify: do not require package element
8f9a28
- spec: add catalog_journal_ccpp_format.conf file
8f9a28
- reporter-s-journal: add formatting file for abrt-journal-core analyser
8f9a28
- cli-ng: fix --fmt parameter
8f9a28
- python: create analyzer element in dumpdir
8f9a28
- abrt-action-list-dsos: fix typo in vendor variable name
8f9a28
- cli-ng: chown problem before reporting
8f9a28
- lib: stop printing out a debug message 'adding: '
8f9a28
- cli: print out the not-reportable reason
8f9a28
- cli: configure libreport to ignore not-reportable
8f9a28
- cli-ng: force reporting even if not-reportable
8f9a28
- cli-ng: introduce verbose argument
8f9a28
- Import GObject from gi.repository
8f9a28
- ccpp: configure package repositories for correct OS
8f9a28
- a-a-s-c-data: adapt to current docker
8f9a28
- daemon: don't drop problems from unknown containers
8f9a28
- a-a-s-c-data: correct detection of container type
8f9a28
- spec: install Bodhi event files
8f9a28
- bodhi: factor out Bodhi updates lookup into a solo event
8f9a28
- problems2: update the documentation
8f9a28
- a-a-analyze-python: create exception_type element
8f9a28
- a-a-analyze-xorg: create crash_function into dump dir
8f9a28
- koops: create crash_function element
8f9a28
- a-a-analyze-python: create crash_function element
8f9a28
- a-a-analyze-c: create crash_function element
8f9a28
- spec: add formatting files for reporter-systemd-journal
8f9a28
- reporter-systemd-journal: add formatting files
8f9a28
- vmcore: /var/tmp/abrt is no longer a dump location
8f9a28
- events: add event report_systemd-journal to all addons
8f9a28
- abrt-action-notify: notify to systemd journal
8f9a28
- spec: add abrt's catalog source files
8f9a28
- journal-catalog: add abrt's catalog source files
8f9a28
- ccpp: retain partial core_backtrace upon error
8f9a28
- ccpp: log waitpid errors
8f9a28
- ccpp: inform users about not supported unwinding
8f9a28
- ccpp: close stdin when we can let the process die
8f9a28
- daemon: properly shutdown socket connection
8f9a28
- daemon: close forgotten FD to /proc/[pid]
8f9a28
- ccpp: pass proc pid FD instead of pid to *_at fns
8f9a28
- ccpp+daemon: pass valid params to dd_open_item()
8f9a28
- python: remove unused functions from sysexcept hook
8f9a28
- build: add gettext-devel to sysdeps
8f9a28
- spec: add libcap-devel to BRs of addon-ccpp
8f9a28
- ccpp: avoid running elfutils under root
8f9a28
- Add abrt-action-analyze-vulnerability to .gitignore
8f9a28
- build: autoge.sh without args configures for debugging
8f9a28
- conf: increase MaxCrashReportsSize to 5GiB
8f9a28
- ccpp: fast dumping and abrt core limit
8f9a28
- CI: make debugging easier with more log messages
8f9a28
- doc: add a guide for ABRT hackers
8f9a28
- vmcore: fix an undefined variable on error path
8f9a28
- vmcore: read kdump.conf from an arbitrary location
8f9a28
- ccpp: use libreport 'at' functions
8f9a28
- ccpp: use abort() to exit in debug mode
8f9a28
- python2: stop generating dso_list in the process
8f9a28
- python: stop collecting ENVIRON in the process
8f9a28
- abrtd: details of processes from different PID NS
8f9a28
- abrtd: save interesting process details
8f9a28
- a-a-s-package-data: add python3.6 to known Interpreters
8f9a28
- spec: update gdb Requires
8f9a28
- tree-wide: make path to GDB configurable
8f9a28
- a-a-ureport: print out exit codes in verbose mode
8f9a28
- daemon: stop replacing analyzer with type
8f9a28
8f9a28
* Fri Sep 09 2016 Jakub Filak <jfilak@redhat.com> 2.9.0-1
8f9a28
- spec: install abrt_dbus_event.conf
8f9a28
- dbus: use Problems2 API in abrt-dbus
8f9a28
- dbus: Problems2 API implementation
8f9a28
- spec: install Problems2 interfaces
8f9a28
- dbus-doc: rewrite the XML to Problems2
8f9a28
- Fix memory leaks
8f9a28
- lib: introdcue a function checking post-create name
8f9a28
- abrtd: change HTTP response code for duplicate problems to 303
8f9a28
- autogen: fix typo in usage help string
8f9a28
- daemon: send base names from abrt-server to abrtd
8f9a28
- lib: normalize slashes of configured paths
8f9a28
- lib: make configuration paths alterable at runtime
8f9a28
- Add generated CCpp.conf to .gitignore
8f9a28
- abrt-bodhi: use CCpp PackageManager configuration directive from configure
8f9a28
- cli: introduce unsafe reporting for not-reporable problems
8f9a28
- handle-event: stop creating post-create lock
8f9a28
- daemon: trigger dump location cleanup after detection
8f9a28
- hook-ccpp: dump own core file in debug mode
8f9a28
8f9a28
* Mon Jul 18 2016 Matej Habrnal <mhabrnal@redhat.com> 2.8.2-1
8f9a28
- Translation updates
8f9a28
- abrt-hook-ccpp: Fix mismatching argument
8f9a28
- Allow selinux to be optional at build time
8f9a28
- vmcore: use findmnt to get mountpoint
8f9a28
- spec: add utils-linux to vmcore's Require
8f9a28
- vmcore: fix finding partitions by UUID and LABEL
8f9a28
- a-a-install-debuginfo: Exception may not have an argument errno
8f9a28
- koops: do not assume version has 3 levels
8f9a28
- Add ARM specific oops backtrace processing.
8f9a28
- examples: add oops-kernel-panic-hung-tasks-arm
8f9a28
- Add oops processing for kernel panics caused by hung tasks.
8f9a28
- abrt-hook-ccpp: save get_fsuid() return values in int variables
8f9a28
8f9a28
* Wed May 25 2016 Matej Habrnal <mhabrnal@redhat.com> 2.8.1-1
8f9a28
- a-dump-journal-xorg: allow *libexec/X* to be executable element
8f9a28
- a-dump-journal-xorg: add '_COMM=gnome-shell' to journal filter
8f9a28
- build: update pkg names for systemd
8f9a28
- a-d-journal-core: save core dump bytes from the journal field
8f9a28
- a-d-journal-core: support lz4 compressed core dump files
8f9a28
- a-a-install-debuginfo: do not try to split None
8f9a28
- doc: improve documentation of AllowedGroups, AllowedUsers and IgnoredPaths
8f9a28
- testcase: add serial field to uReport check
8f9a28
- a-a-install-debuginfo: correct handling of DebuginfoLocation
8f9a28
- a-a-s-container-data: update docker container ID parser
8f9a28
- abrt-hook-ccpp: drop saving of container env vars
8f9a28
- a-console-notification: do not leak variables
8f9a28
- a-retrace-client: format security
8f9a28
- daemon: avoid infinite crash loops
8f9a28
- spec: drop abrt-action-save-kernel-data bits
8f9a28
- spec: README -> README.md
8f9a28
- Add basic documentation
8f9a28
- a-a-install-debuginfo: fix BrokenPipe error
8f9a28
- a-a-install-debuginfo: make tmpdir variable global
8f9a28
- python3 addon: workaround a bug in traceback
8f9a28
- CCpp: turn off compat cores
8f9a28
- a-a-save-package-data: blacklist /usr/lib(64)/firefox/plugin-container
8f9a28
- Fix minor typo: possition -> position
8f9a28
- translations: add missing new line
8f9a28
- Translation updates
8f9a28
- translations: update zanata configuration
8f9a28
- ccpp: drop %e from the core_pattern
8f9a28
- Save Vendor and GPG Fingerprint
8f9a28
8f9a28
* Wed Feb 03 2016 Matej Habrnal <mhabrnal@redhat.com> 2.8.0-1
8f9a28
- a-a-save-package-data: do not blacklist firefox
8f9a28
8f9a28
* Tue Feb 02 2016 Matej Habrnal <mhabrnal@redhat.com> 2.7.2-1
8f9a28
- ccpp: bug fix - undefined variables
8f9a28
- a-a-c-o-f-hw-error: fix unicode error
8f9a28
- ccpp: use error_msg_ignore_crash() instead of error_msg()
8f9a28
- ccpp: add AllowedUsers and AllowedGroups feature
8f9a28
- doc: fix formatting in abrt.conf man page
8f9a28
- ccpp: use executable name from pid
8f9a28
- a-a-c-o-f-hw-error: do not crash on invalid unicode
8f9a28
- Use %s instead of %d.
8f9a28
- configui: link GUI library with libabrt.so
8f9a28
- Do not include system libabrt.h
8f9a28
- ccpp: unify log message of ignored crashes
8f9a28
- ccpp: add IgnoredPath option
8f9a28
- lib: check_recent_crash_file do not produce error_msg
8f9a28
8f9a28
* Mon Nov 23 2015 Jakub Filak <jfilak@redhat.com> 2.7.1-1
8f9a28
- spec: switch owner of the dump location to 'root'
8f9a28
- abrtd: switch owner of the dump location to 'root'
8f9a28
- lib: add convenient wrappers for ensuring writable dir
8f9a28
- ccpp: save abrt core files only to new files
8f9a28
- ccpp: ignore crashes of ABRT binaries if DebugLevel == 0
8f9a28
- conf: introduce DebugLevel
8f9a28
- a-a-i-d-to-abrt-cache: make own random temporary directory
8f9a28
- update .gitignore
8f9a28
- ccpp: make crashes of processes with locked memory not-reportable
8f9a28
- a-a-s-p-data: fix segfault if GPGKeysDir isn't configured
8f9a28
- a-dump-journal-xorg: make journal filter configurable
8f9a28
- doc: a-a-analyze-xorg fix path to conf file
8f9a28
- abrt-journal: use GList instead of char** in abrt_journal_set_journal_filter()
8f9a28
- xorg: introduce tool abrt-dump-journal-xorg
8f9a28
- abrt-xorg.service: change due to abrt-dump-journal-xorg
8f9a28
- journal: add function abrt_journal_get_next_log_line
8f9a28
- spec: add abrt-dump-journal-xorg to spec file
8f9a28
- xorg: rewrite skip_pfx() function to work with journal msgs
8f9a28
- xorg: introduce library xorg-utils
8f9a28
- dbus: ensure expected bytes width of DBus numbers
8f9a28
- a-d-journal-core: set root owner for created dump directory
8f9a28
- doc: add missing man page for abrt-dump-journal-core
8f9a28
- spec: add missing man page for abrt-dump-journal-core
8f9a28
8f9a28
* Thu Oct 15 2015 Matej Habrnal <mhabrnal@redhat.com> 2.7.0-1
8f9a28
- abrt-python: add problem.chown
8f9a28
- a-a-a-ccpp-local don't delete build_ids
8f9a28
- update .gitignore
8f9a28
- spec: add cli-ng
8f9a28
- cli-ng: initial
8f9a28
8f9a28
* Thu Oct 15 2015 Matej Habrnal <mhabrnal@redhat.com> 2.6.3-1
8f9a28
- bodhi: introduce wrapper for 'reporter-bugzilla -h' and 'abrt-bodhi'
8f9a28
- remove random code example from abrt-server
8f9a28
- spec: introduce abrt-action-find-bodhi-update
8f9a28
- api: fix pths -> paths rename
8f9a28
- handle-event: remove obsolete workaround
8f9a28
- remove 'not needed' code
8f9a28
- events: fix example wording
8f9a28
- doc: change /var/tmp/abrt to /var/spool/abrt
8f9a28
- doc: actualize core_pattern content in documentation
8f9a28
- doc: fix default DumpLocation in abrt.conf man page
8f9a28
- events: improve example
8f9a28
- events: comments not needed anymore
8f9a28
- abrt-retrace-client: use atoll for _size conversion
8f9a28
- abrt-dump-xorg: support Xorg log backtraces prefixed by (EE)
8f9a28
- runtests: more verbose fail in get_crash_path
8f9a28
- ureport-auth: force cp/mv when restoring configuration
8f9a28
- runtests: stick to new BZ password rules
8f9a28
- bodhi: fix typo in error messages
8f9a28
- bodhi: fix a segfault when testing an os-release opt for 'rawhide'
8f9a28
- doc: actualize the abrt-bodhi man page
8f9a28
- autogen: use dnf instead of yum to install dependencies
8f9a28
- bodhi: add parsing of error responses
8f9a28
- bodhi: add ignoring of Rawhide
8f9a28
- ccpp: do not break the reporting if a-bodhi fails
8f9a28
- spec: add hawkey to BRs of abrt-bodhi
8f9a28
- introduce bodhi2 to abrt-bodhi
8f9a28
- a-handle-upload: pass bytes to file.write()
8f9a28
- upload a problem data in the EVENT 'notify'
8f9a28
- turn off several post-create scripts for remote problems
8f9a28
- convert all 'ex.message' stmts to 'str(ex)'
8f9a28
- cli: don't start reporting of not-reportable problems
8f9a28
- a-a-s-p-d: add bash on the package blacklist
8f9a28
- correct usage of abrt-gdb-exploitable
8f9a28
- testsutie: first wait_for_hooks, then get_crash_path
8f9a28
- ccpp: use global TID
8f9a28
- ccpp: fix comment related to 'MakeCompatCore' option in CCpp.conf
8f9a28
- cli: fix testing of DBus API return codes
8f9a28
- dbus-api: unify reporting of errors
8f9a28
- doc: fix related to conditional compilation of man page
8f9a28
- abrt-auto-reporting: fix related to conditional compilation
8f9a28
- vmcore: read vmcore by chunks
8f9a28
- pass encoded Unicode to hashlib.sha1.update()
8f9a28
- abrt-merge-pstoreoops: merge files in descending order
8f9a28
- use gettext instead of lgettext in all python scripts
8f9a28
- gitignore: add a generated man page source file
8f9a28
8f9a28
* Fri Jul 17 2015 Jakub Filak <jfilak@redhat.com> 2.6.2-1
8f9a28
- applet: do not crash if the new problem has no command_line
8f9a28
- ccpp: do not crash if generate_core_backtrace fails
8f9a28
- abrt: Fixup component of select kernel backtraces
8f9a28
- abrtd: de-prioritize post-create event scripts
8f9a28
- spec: switch python Requires to python3
8f9a28
- switch all python scripts to python3
8f9a28
- spec: drop abrt-addon-python requires
8f9a28
- a-dump-oops: allow update the problem, if more then one oops found
8f9a28
- cli: use internal command impl in the command process
8f9a28
- cli: remove useless code from print_crash()
8f9a28
- cli: enable authetication for all commands
8f9a28
8f9a28
* Thu Jul 02 2015 Matej Habrnal <mhabrnal@redhat.com> 2.6.1-1
8f9a28
- dbus: keep the polkit authorization for all clients
8f9a28
- cli: enable polkit authentication on command line
8f9a28
- spec: --enable-dump-time-unwind by default
8f9a28
- ccpp: use TID to find crash thread
8f9a28
- spec: remove PyGObject from all Requires
8f9a28
- spec: update version of gdb because of -ascending
8f9a28
- lib: make it easier to find the backtrace of th crash thread
8f9a28
- ccpp: save TID in the file 'tid'
8f9a28
- ccpp: get TID from correct cmd line argument
8f9a28
- configui: add option always generate backtrace locally
8f9a28
- a-a-p-ccpp-analysis: use ask_yes_no_save_result instead of ask_yes_no_yesforever
8f9a28
- spec: use more appropriate url
8f9a28
- spec: abrt requires libreport-plugin-rhtsupport on rhel
8f9a28
- sosreport: add processor information to sosreport
8f9a28
- doc: update abrt-cli man page
8f9a28
8f9a28
* Tue Jun 09 2015 Jakub Filak <jfilak@redhat.com> 2.6.0-1
8f9a28
- spec: add abrt-dbus to Rs of abrt-python
8f9a28
- vmcore: use libreport dd API in the harvestor
8f9a28
- ccpp: don't save the system logs by default
8f9a28
- cli: exit with the number of unreported problems
8f9a28
- spec: restart abrt-dbus in posttrans
8f9a28
- cli: chown before reporting
8f9a28
- hooks: use root for owner of all dump directories
8f9a28
- ccpp: do not unlink failed and big user cores
8f9a28
- ccpp: include the system logs only with root's coredumps
8f9a28
- koops: don't save dmesg if kernel.dmesg_restrict=1
8f9a28
- daemon, dbus: allow only root to create CCpp, Koops, vmcore and xorg
8f9a28
- daemon: allow only root user to trigger the post-create
8f9a28
- daemon: harden against race conditions in DELETE
8f9a28
- ccpp: revert the UID/GID changes if user core fails
8f9a28
- a-a-i-d-t-a-cache: sanitize umask
8f9a28
- a-a-i-d-t-a-cache: sanitize arguments
8f9a28
- dbus: report invalid element names
8f9a28
- dbus: avoid race-conditions in tests for dum dir availability
8f9a28
- dbus: process only valid sub-directories of the dump location
8f9a28
- lib: add functions validating dump dir
8f9a28
- daemon: use libreport's function checking file name
8f9a28
- configure: move the default dump location to /var/spool
8f9a28
- ccpp: avoid overriding system files by coredump
8f9a28
- spec: add libselinux-devel to BRs
8f9a28
- ccpp: emulate selinux for creation of compat cores
8f9a28
- ccpp: harden dealing with UID/GID
8f9a28
- ccpp: do not use value of /proc/PID/cwd for chdir
8f9a28
- ccpp: do not override existing files by compat cores
8f9a28
- ccpp: stop reading hs_error.log from /tmp
8f9a28
- ccpp: fix symlink race conditions
8f9a28
- turn off exploring crashed process's root directories
8f9a28
- abrt-python: add proper PYTHONPATH to test shellscripts
8f9a28
- abrt-python: unify unknown problem type handling
8f9a28
- abrt-python: add not_reportable properties
8f9a28
- spec: remove analyzer to type conversion
8f9a28
- abrt-python: add Python3 problem type
8f9a28
- abrt-python: add id, short_id and path to problem
8f9a28
- abrt-python: add Problem.prefetch_data function
8f9a28
- abrt-python: handle reconnection gracefully
8f9a28
- config UI: Automatic reporting from GSettings
8f9a28
- doc, polkit: Spelling/grammar fixes
8f9a28
- applet: fix problem info double free
8f9a28
- a-a-s-p-d: add new known interpreter to conf file
8f9a28
- config UI: enable options without config files
8f9a28
- config UI: read glade from a local file first
8f9a28
- applet: migrate Autoreporting options to GSettings
8f9a28
- abrt-action-list-dsos: do not decode not existing object
8f9a28
- spec: add AUTHENTICATED_AUTOREPORTING conditional
8f9a28
- abrt-auto-reporting: require rhtsupport.conf file only on RHEL
8f9a28
- lib: add new kernel taint flags
8f9a28
- spec: add a dependency on abrt-dbus to abrt-cli
8f9a28
- cli: do not exit with segfault if dbus fails
8f9a28
- applet: switch to D-Bus methods
8f9a28
- upload: validate and sanitize uploaded dump directories
8f9a28
8f9a28
* Thu Apr 09 2015 Jakub Filak <jfilak@redhat.com> 2.5.1-1
8f9a28
- Translation updates
8f9a28
- problem: use 'type' element instead of 'analyzer'
8f9a28
- cli-status: don't return 0 if there is a problem older than limit
8f9a28
- journal-oops: add an argument accepting journal directory
8f9a28
- journal: open journal files from directory
8f9a28
- lib: don't expect kernel's version '2.6.*' or '3.*.*'
8f9a28
- cli: use the DBus methods for getting problem information
8f9a28
- libabrt: add wrappers TestElemeExists and GetInfo for one element
8f9a28
- dbus: add new method to test existence of an element
8f9a28
- libabrt: add new function fetching full problem data over DBus
8f9a28
- applet: use a shared function for getting problems over DBus
8f9a28
- vmcore: generate 'reason' file in all cases
8f9a28
- applet: Fix trivial indentation bug
8f9a28
- applet: Don't show report button for unpackaged programs
8f9a28
- applet: fix freeing of the notify problem list
8f9a28
- applet: get the list of problems through D-Bus service
8f9a28
- doc: D-Bus api: make desc of DeleteProblem clearer
8f9a28
8f9a28
* Wed Mar 18 2015 Jakub Filak <jfilak@redhat.com> 2.5.0-1
8f9a28
- applet: cast to correct type to fix a warrning
8f9a28
- applet: Use new problem_create_app_from_env() helper
8f9a28
- doc: add documentation for GetProblemData
8f9a28
- dbus: add a new method GetProblemData
8f9a28
- abrt_event: run save package data event even if component exists
8f9a28
- a-a-s-container-data: add a new argument --root
8f9a28
- spec: add a-a-s-package-data to abrt-atomic
8f9a28
- a-a-s-kernel-data: add --root argument
8f9a28
- journal-oops: add an argument similar to '--merge'
8f9a28
- spec: let configure generate the spec file
8f9a28
- ccpp: create the dump location from standalone hook
8f9a28
- retrace-client: stop failing on SSL2
8f9a28
- spec: changes for Atomic hosts
8f9a28
- add stuff necessary for Project Atomic
8f9a28
- Python 3 fixes
8f9a28
- ccpp: add support for multiple pkg mngrs
8f9a28
- Python 3 compatibility
8f9a28
- Revert "dbus: Allow admins to load problems without a password"
8f9a28
- dbus: Allow admins to load problems without a password
8f9a28
- abrtd: Don't allow users to list problems "by hand"
8f9a28
- spec: Don't allow users to list problems "by hand"
8f9a28
- spec: abrt-python requires libreport-python to build
8f9a28
8f9a28
* Fri Feb 20 2015 Jakub Filak <jfilak@redhat.com> 2.4.0-1
8f9a28
- spec: factor out core_pattern helper from addon-ccpp
8f9a28
- ccpp: standalone hook
8f9a28
- ccpp: save package data from hook in case of crash in container
8f9a28
- a-a-s-package-data: save data from artifical chroots
8f9a28
- spec: install containers tools
8f9a28
- containers: add utility collecting containers info
8f9a28
- ccpp: add support for containers
8f9a28
- spec: install the daemon's D-Bus configuration file
8f9a28
- daemon: add configuration enabling our name on the System bus
8f9a28
- daemon: get rid of own main loop
8f9a28
- init: set Type of abrtd.service to dbus
8f9a28
- applet: Use libreport's helper to find applications
8f9a28
- applet: Remove unused build information
8f9a28
- build: Fix pkg-config warning related to abrt.pc
8f9a28
- applet: Fix a massive leak in the app detection code
8f9a28
- applet: Remove left-over code from the systray icon
8f9a28
- applet: Use the easy way to detect empty lists
8f9a28
- applet: Fix a number of "problems" memory leaks
8f9a28
- applet: Make problem_info_t refcounted
8f9a28
- applet: If gnome-abrt isn't there, don't offer to report
8f9a28
- applet: Fix multiple notifications for the same problem
8f9a28
- applet: Always defer auto-reporting without a network
8f9a28
- applet: Don't ignore foreign problems if an admin
8f9a28
- applet: Rename problem variable to "pi"
8f9a28
- applet: Remove unused "flags" parameters
8f9a28
- applet: Completely ignore incomplete problems
8f9a28
- applet: Don't ignore repeat problems in the same app
8f9a28
- applet: Fix warning when crash doesn't happen in app
8f9a28
- applet: Remove unused functions
8f9a28
- applet: Remove unused flags
8f9a28
- applet: Rewrite notifications
8f9a28
- applet: Don't run full reports from the applet
8f9a28
- applet: Simplify "report" action
8f9a28
- applet: Add helper to guess .desktop for a cmdline
8f9a28
- applet: Get more details from the crash report
8f9a28
- applet: Ignore other people's problems for non-admins
8f9a28
- applet: Remove handling of "ignored" crashes
8f9a28
- applet: Remove specific persistent notifications handling
8f9a28
- applet: Rename applet to match gnome-abrt
8f9a28
- applet: Initialise libnotify on startup
8f9a28
- applet: Use g_new0() instead of xzalloc()
8f9a28
- applet: Use g_strdup_printf()/g_strdup()
8f9a28
- applet: Move variable inside block where it's used
8f9a28
- daemon: process unpackaged by default
8f9a28
- spec: fix abrt-applet requires
8f9a28
- applet: Fix memory leak in fork_exec_gui()
8f9a28
- applet: Detect whether gnome-abrt is available
8f9a28
- applet: Use GUI_EXECUTABLE macro
8f9a28
- autogen: move configure to the default case
8f9a28
- applet: Use GIO to launch gnome-abrt
8f9a28
- applet: Fix typo in "Oterwise"
8f9a28
- applet: Use symbolic icon instead of abrt's in notifications
8f9a28
- applet: Add some debug to new_dir_exists()
8f9a28
- applet: Require at least libnotify 0.7
8f9a28
- applet: Fix typo in "cuurent"
8f9a28
- applet: Don't defer sending out uReports
8f9a28
- applet: Use G_SOURCE_REMOVE in timeout callback
8f9a28
- spec: Bump required glib2 version
8f9a28
- applet: Use g_bus_own_name() for single-instance
8f9a28
- applet: Remove status icon
8f9a28
- applet: Use GDBus to filter crash signals
8f9a28
- applet: Remove XSMP support
8f9a28
- build: Launch configure after autogen.sh
8f9a28
- make: make some python depencies optional
8f9a28
- configure: fix typos
8f9a28
- configure: check for python-sphinx and nose
8f9a28
- spec: add gsettings-desktop-schemas to the build requires
8f9a28
- core: use updated dump_fd_info()
8f9a28
- switch from 'analyzer' to 'type'
8f9a28
- spec: install abrt-dump-journal-core stuff
8f9a28
- init: add abrt-journal-core service
8f9a28
- introduce abrt-dump-journal-core
8f9a28
- applet: Remove the automatic crash reporting message dialog
8f9a28
- applet: Remove pre-glib 2.32 code
8f9a28
- applet: Remove pointless custom signal handling
8f9a28
- applet: Use GNetworkMonitor instead of NM directly
8f9a28
- applet: Use GSettings to check whether to send uReports
8f9a28
- Rewrite journalctl invocations: replace grep/tail pipeline with journalctl builtins.
8f9a28
- Don't slurp unbounded amounts of data when invoking journalctl. Fixes #887.
8f9a28
- console-notifications: add timeout
8f9a28
- cli-status: use will_python_exception
8f9a28
- ccpp-hook: move utility functions to hooklib
8f9a28
- ccpp-hook: move /proc/[pid]/ utils to libreport
8f9a28
- abrt-journal: add functions for reading/saving journald state
8f9a28
- Do not use 'bool' in OPT_BOOL() macro : it expects 'int'
8f9a28
- daemon: Own a D-Bus name
8f9a28
- zanata: add gettext mappings
8f9a28
- auto-reporting: add options to specify auth type
8f9a28
- translations: move from transifex to zanata
8f9a28
- spec: add missing augeas dependency
8f9a28
- Only analyze vulnerabilities when coredump present
8f9a28
- abrt-install-ccpp-hook check configuration
8f9a28
- UUID from core backtrace if coredump is missing
8f9a28
- Create core backtrace in unwind hook
8f9a28
- abrt-hook-ccpp: minor refactoring
8f9a28
- vmcore: remove original vmcore file in the last step
8f9a28
- vmcore: catch IOErrors and OSErrors
8f9a28
- python: load the configuration from correct file
8f9a28
- Remove garbage from ccpp_event.conf
8f9a28
- spec: update the required gdb version
8f9a28
- gdb: make gdb aware of the abrt's debuginfo dir
8f9a28
- Revert "gdb: disable loading of auto-loaded files"
8f9a28
- spec: update the URL
8f9a28
- koops: improve 'reason' text for page faults
8f9a28
- sos: use all valuable plugins
8f9a28
- a-a-g-machine-id: do not print any error from the event handler
8f9a28
- a-a-g-machine-id: omit trailing new-line for one-liners only
8f9a28
- a-a-g-machine-id: suppress its failures in abrt_event.conf
8f9a28
- a-a-g-machine-id: add systemd's machine id
8f9a28
- applet: ensure writable dump directory before reporting
8f9a28
- make ABRT quieter
8f9a28
- journal-oops: use the length result of sd_journal_get_data()
8f9a28
- console-notifications: skip non-interactive shells
8f9a28
- applet: don't show duphash instead of component
8f9a28
- ureport: attach contact email if configured
8f9a28
- console-notifications: use return instead of exit
8f9a28
- Translation updates
8f9a28
- a-a-s-p-d: add firefox on the package blacklist