diff --git a/.fmf/version b/.fmf/version deleted file mode 100644 index d00491f..0000000 --- a/.fmf/version +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/.gitignore b/.gitignore index 56386dd..bbf2a56 100644 --- a/.gitignore +++ b/.gitignore @@ -1,33 +1 @@ -/libreport-2.9.3.tar.gz -/libreport-2.9.4.tar.gz -/libreport-2.9.5.tar.gz -/libreport-2.9.6.tar.gz -/libreport-2.9.7.tar.gz -/libreport-2.10.0.tar.gz -/libreport-2.10.1.tar.gz -/libreport-2.11.0.tar.gz -/libreport-2.11.1.tar.gz -/libreport-2.11.2.tar.gz -/libreport-2.11.3.tar.gz -/libreport-2.12.0.tar.gz -/libreport-2.13.0.tar.gz -/libreport-2.13.1.tar.gz -/libreport-2.14.0.tar.gz -/libreport-2.15.1.tar.gz -/libreport-2.15.2.tar.gz -/libreport-2.16.0.tar.gz -/libreport-2.17.0.tar.gz -/libreport-2.17.1.tar.gz -/libreport-2.17.2.tar.gz -/libreport-2.17.3.tar.gz -/libreport-2.17.4.tar.gz -/libreport-2.17.5.tar.gz -/libreport-2.17.6.tar.gz -/libreport-2.17.7.tar.gz -/libreport-2.17.8.tar.gz -/libreport-2.17.9.tar.gz -/libreport-2.17.10.tar.gz -/libreport-2.17.11.tar.gz -/libreport-2.17.13.tar.gz -/libreport-2.17.14.tar.gz -/libreport-2.17.15.tar.gz +/libreport-2.*.tar.gz diff --git a/.packit.yml b/.packit.yml deleted file mode 100644 index 115dab4..0000000 --- a/.packit.yml +++ /dev/null @@ -1,21 +0,0 @@ -specfile_path: libreport.spec -synced_files: -- .packit.yml -- libreport.spec -upstream_package_name: libreport -upstream_project_url: https://github.com/abrt/libreport -downstream_package_name: libreport - -# No extra dependencies are necessary to build the SRPM. -srpm_build_deps: [] - -jobs: -- job: propose_downstream - trigger: release - metadata: - dist_git_branch: fedora-all -- job: copr_build - trigger: pull_request - metadata: - targets: - - fedora-all diff --git a/801.patch b/801.patch deleted file mode 100644 index 8f784ff..0000000 --- a/801.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 9be0010e109d307921a049d10078813423227582 Mon Sep 17 00:00:00 2001 -From: Nicolas Iooss -Date: Fri, 15 Dec 2023 18:03:33 +0100 -Subject: [PATCH] Fix compatibility with libxml2 2.12 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Since libxml2 2.12, xmlNodePtr is no longer included by libxml/encoding.h. -This leads to build errors such as: - - CC reporter_mantisbt-reporter-mantisbt.o - In file included from reporter-mantisbt.c:22: - mantisbt.h:48:5: error: unknown type name ‘xmlNodePtr’ - 48 | xmlNodePtr sr_root; - | ^~~~~~~~~~ - mantisbt.h:49:5: error: unknown type name ‘xmlNodePtr’ - 49 | xmlNodePtr sr_body; - | ^~~~~~~~~~ - mantisbt.h:50:5: error: unknown type name ‘xmlNodePtr’ - 50 | xmlNodePtr sr_method; - | ^~~~~~~~~~ - -Fix this by including libxml/tree.h. - -Signed-off-by: Nicolas Iooss ---- - src/plugins/mantisbt.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/plugins/mantisbt.h b/src/plugins/mantisbt.h -index 1feaf8f88..6979e7244 100644 ---- a/src/plugins/mantisbt.h -+++ b/src/plugins/mantisbt.h -@@ -25,6 +25,7 @@ extern "C" { - #endif - - #include -+#include - #include "problem_report.h" - - #define SOAP_STRING "ns2:string" diff --git a/README.packit b/README.packit deleted file mode 100644 index f592284..0000000 --- a/README.packit +++ /dev/null @@ -1,3 +0,0 @@ -This repository is maintained by packit. -https://packit.dev/ -The file was generated using packit 0.91.0.post1.dev4+ge6fd4a25. diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..c6e1729 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,70 @@ +#! /bin/sh + +print_help() +{ +cat << EOH +Prepares the source tree for configuration + +Usage: + autogen.sh [sydeps [--install]] + +Options: + + sysdeps prints out all dependencies + --install install all dependencies ('sudo yum install \$DEPS') + +EOH +} + +build_depslist() +{ + DEPS_LIST=`grep "^\(Build\)\?Requires:" *.spec.in | grep -v "%{name}" | tr -s " " | tr "," "\n" | cut -f2 -d " " | grep -v "^libreport" | sort -u | tr "\n" " "` +} + +case "$1" in + "--help"|"-h") + print_help + exit 0 + ;; + "sysdeps") + build_depslist + + if [ "$2" == "--install" ]; then + set -x verbose + sudo yum install $DEPS_LIST + set +x verbose + else + echo $DEPS_LIST + fi + exit 0 + ;; + *) + echo "Running gen-version" + ./gen-version + + mkdir -p m4 + echo "Creating m4/aclocal.m4 ..." + test -r m4/aclocal.m4 || touch m4/aclocal.m4 + + echo "Running autopoint" + autopoint --force || exit 1 + + echo "Running intltoolize..." + intltoolize --force --copy --automake || exit 1 + + echo "Running aclocal..." + aclocal || exit 1 + + echo "Running libtoolize..." + libtoolize || exit 1 + + echo "Running autoheader..." + autoheader || return 1 + + echo "Running autoconf..." + autoconf --force || exit 1 + + echo "Running automake..." + automake --add-missing --force --copy || exit 1 + ;; +esac diff --git a/gating.yaml b/gating.yaml deleted file mode 100644 index f075ad7..0000000 --- a/gating.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- !Policy -product_versions: - - fedora-* -decision_context: bodhi_update_push_testing -subject_type: koji_build -rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} - ---- !Policy -product_versions: - - fedora-* -decision_context: bodhi_update_push_stable -subject_type: koji_build -rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} diff --git a/libreport-c89-2.patch b/libreport-c89-2.patch deleted file mode 100644 index 7b9b9d6..0000000 --- a/libreport-c89-2.patch +++ /dev/null @@ -1,46 +0,0 @@ -problem_item_get_size expects unsigned long * argument in problem_data.at test - -Otherwise, the test fails to build on i686 with GCC 14. - -Submitted upstream: - -diff --git a/tests/problem_data.at b/tests/problem_data.at -index 4d8bf0075c0a8b91..db67a76732d48663 100644 ---- a/tests/problem_data.at -+++ b/tests/problem_data.at -@@ -89,7 +89,7 @@ int main(int argc, char **argv) - struct problem_item *itm = problem_data_add_ext(data, "1", "foo", CD_FLAG_TXT | CD_FLAG_ISNOTEDITABLE, PROBLEM_ITEM_UNINITIALIZED_SIZE); - const size_t old_size = strlen(itm->content); - { -- size_t current_size = PROBLEM_ITEM_UNINITIALIZED_SIZE; -+ unsigned long current_size = PROBLEM_ITEM_UNINITIALIZED_SIZE; - assert(problem_item_get_size(itm, ¤t_size) == 0); - assert(current_size != PROBLEM_ITEM_UNINITIALIZED_SIZE); - assert(current_size == old_size); -@@ -97,7 +97,7 @@ int main(int argc, char **argv) - { - g_free(itm->content); - itm->content = NULL; -- size_t current_size = PROBLEM_ITEM_UNINITIALIZED_SIZE; -+ unsigned long current_size = PROBLEM_ITEM_UNINITIALIZED_SIZE; - assert(problem_item_get_size(itm, ¤t_size) == 0); - assert(current_size != PROBLEM_ITEM_UNINITIALIZED_SIZE); - assert(current_size == old_size); -@@ -120,7 +120,7 @@ int main(int argc, char **argv) - struct problem_item *itm = problem_data_add_ext(data, "2", flnm, CD_FLAG_BIN, PROBLEM_ITEM_UNINITIALIZED_SIZE); - - { -- size_t current_size = PROBLEM_ITEM_UNINITIALIZED_SIZE; -+ unsigned long current_size = PROBLEM_ITEM_UNINITIALIZED_SIZE; - assert(problem_item_get_size(itm, ¤t_size) == 0); - assert(current_size != PROBLEM_ITEM_UNINITIALIZED_SIZE); - assert(current_size == old_size); -@@ -129,7 +129,7 @@ int main(int argc, char **argv) - close(flds); - unlink(flnm); - assert(stat(flnm, &buf) != 0); -- size_t current_size = PROBLEM_ITEM_UNINITIALIZED_SIZE; -+ unsigned long current_size = PROBLEM_ITEM_UNINITIALIZED_SIZE; - assert(problem_item_get_size(itm, ¤t_size) == 0); - assert(current_size != PROBLEM_ITEM_UNINITIALIZED_SIZE); - assert(current_size == old_size); diff --git a/libreport-c89.patch b/libreport-c89.patch deleted file mode 100644 index 3f1770d..0000000 --- a/libreport-c89.patch +++ /dev/null @@ -1,28 +0,0 @@ -Remove incorrect casts from tests/string_list.at - -The list_order argument already has the correct pointer type const -char * const * (after array-to-pointer decay). - -Submitted upstream: - -diff --git a/tests/string_list.at b/tests/string_list.at -index 6af162a2f8da3919..2118298da4de0ec3 100644 ---- a/tests/string_list.at -+++ b/tests/string_list.at -@@ -22,13 +22,13 @@ int main(void) - NULL - }; - -- int index = libreport_index_of_string_in_list(FILENAME_REASON, (char**) list_order); -+ int index = libreport_index_of_string_in_list(FILENAME_REASON, list_order); - assert(index == 0); - -- index = libreport_index_of_string_in_list(FILENAME_COUNT, (char**) list_order); -+ index = libreport_index_of_string_in_list(FILENAME_COUNT, list_order); - assert(index == 5); - -- index = libreport_index_of_string_in_list("other", (char**) list_order); -+ index = libreport_index_of_string_in_list("other", list_order); - assert(index < 0); - - return 0; diff --git a/libreport.spec b/libreport.spec index a4f068e..5d16169 100644 --- a/libreport.spec +++ b/libreport.spec @@ -1,68 +1,60 @@ -%if 0%{?suse_version} - %bcond_with bugzilla +%{!?python_site: %define python_site %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")} +# platform-dependent +%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - %define dbus_devel dbus-1-devel - %define libjson_devel libjson-devel -%else - %bcond_without bugzilla - - %define dbus_devel dbus-devel - %define libjson_devel json-c-devel -%endif - -%define glib_ver 2.43.4 +%define satyr_ver 0.21 Summary: Generic library for reporting various problems Name: libreport -Version: 2.17.15 -Release: 9%{?dist} -License: GPL-2.0-or-later +Version: 2.8.0 +Release: 1%{?dist} +License: GPLv2+ +Group: System Environment/Libraries URL: https://abrt.readthedocs.org/ -Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz -BuildRequires: %{dbus_devel} +Source: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz +Source1: autogen.sh + +# git format-patch %%{Version} -N -M --topo-order +# i=0; for p in `ls 0*.patch`; do printf "Patch%04d: %s\n" $i $p; ((i++)); done + +# git is need for '%%autosetup -S git' which automatically applies all the +# patches above. Please, be aware that the patches must be generated +# by 'git format-patch' +BuildRequires: git + +BuildRequires: dbus-devel BuildRequires: gtk3-devel BuildRequires: curl-devel BuildRequires: desktop-file-utils +BuildRequires: python-devel BuildRequires: python3-devel BuildRequires: gettext BuildRequires: libxml2-devel +BuildRequires: libtar-devel BuildRequires: intltool BuildRequires: libtool -BuildRequires: make +BuildRequires: nss-devel BuildRequires: texinfo BuildRequires: asciidoc BuildRequires: xmlto BuildRequires: newt-devel -BuildRequires: satyr-devel >= 0.38 -BuildRequires: glib2-devel >= %{glib_ver} -BuildRequires: git-core +BuildRequires: libproxy-devel +BuildRequires: satyr-devel >= %{satyr_ver} -%if 0%{?fedora} >= 24 || 0%{?rhel} > 7 -# A test case uses zh_CN locale to verify XML event translations BuildRequires: glibc-all-langpacks -%endif - -%if %{with bugzilla} BuildRequires: xmlrpc-c-devel -%endif BuildRequires: doxygen BuildRequires: systemd-devel BuildRequires: augeas-devel BuildRequires: augeas -BuildRequires: libarchive-devel +BuildRequires: xz +BuildRequires: lz4 Requires: libreport-filesystem = %{version}-%{release} -Requires: satyr%{?_isa} >= 0.38 -Requires: glib2%{?_isa} >= %{glib_ver} -Requires: libarchive%{?_isa} +Requires: satyr >= %{satyr_ver} +Requires: xz +Requires: lz4 -# Required for the temporary modularity hack, see below -%if 0%{?_module_build} -BuildRequires: sed -%endif - -Obsoletes: %{name}-compat < 2.13.2 -Obsoletes: %{name}-plugin-rhtsupport < 2.13.2 -Obsoletes: %{name}-rhel < 2.13.2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description Libraries providing API for reporting different problems in applications @@ -70,13 +62,14 @@ to different bug targets like Bugzilla, ftp, trac, etc... %package filesystem Summary: Filesystem layout for libreport -BuildArch: noarch +Group: Applications/File %description filesystem Filesystem layout for libreport %package devel Summary: Development libraries and headers for libreport +Group: Development/Libraries Requires: libreport = %{version}-%{release} %description devel @@ -84,6 +77,7 @@ Development libraries and headers for libreport %package web Summary: Library providing network API for libreport +Group: System Environment/Libraries Requires: libreport = %{version}-%{release} %description web @@ -91,34 +85,41 @@ Library providing network API for libreport %package web-devel Summary: Development headers for libreport-web +Group: Development/Libraries Requires: libreport-web = %{version}-%{release} %description web-devel Development headers for libreport-web -%package -n python3-libreport -Summary: Python 3 bindings for report-libs -%if 0%{?_module_build} -# This is required for F26 Boltron (the modular release) -# Different parts of libreport are shipped with different -# modules with different dist tags; we need to weaken the -# strict NVR dependency to make it work. Temporary and -# limited to F26 Boltron. -%global distfreerelease %(echo %{release}|sed 's/%{?dist}$//'||echo 0) -Requires: libreport >= %{version}-%{distfreerelease} -%else +%package python +Summary: Python bindings for report-libs +# Is group correct here? - +Group: System Environment/Libraries Requires: libreport = %{version}-%{release} +Requires: dnf +Provides: report = 0:0.23-1 +Obsoletes: report < 0:0.23-1 +# in report the rhtsupport is in the main package, so we need to install it too +# report is only in RHEL6, we do not need to carry the dependency to newer RHELs +%if 0%{?rhel} == 6 +Requires: libreport-plugin-rhtsupport = %{version}-%{release} %endif -Requires: python3-dnf -Requires: python3-requests -Requires: python3-urllib3 -%{?python_provide:%python_provide python3-libreport} -%description -n python3-libreport +%description python +Python bindings for report-libs. + +%package python3 +Summary: Python 3 bindings for report-libs +Group: System Environment/Libraries +Requires: libreport = %{version}-%{release} +Requires: dnf + +%description python3 Python 3 bindings for report-libs. %package cli Summary: %{name}'s command line interface +Group: User Interface/Desktops Requires: %{name} = %{version}-%{release} %description cli @@ -127,6 +128,7 @@ with problem dump reports %package newt Summary: %{name}'s newt interface +Group: User Interface/Desktops Requires: %{name} = %{version}-%{release} Provides: report-newt = 0:0.23-1 Obsoletes: report-newt < 0:0.23-1 @@ -137,8 +139,10 @@ bugs %package gtk Summary: GTK front-end for libreport +Group: User Interface/Desktops Requires: libreport = %{version}-%{release} Requires: libreport-plugin-reportuploader = %{version}-%{release} +Requires: fros >= 1.1-2 Provides: report-gtk = 0:0.23-1 Obsoletes: report-gtk < 0:0.23-1 @@ -147,6 +151,7 @@ Applications for reporting bugs using libreport backend %package gtk-devel Summary: Development libraries and headers for libreport +Group: Development/Libraries Requires: libreport-gtk = %{version}-%{release} %description gtk-devel @@ -154,6 +159,7 @@ Development libraries and headers for libreport-gtk %package plugin-kerneloops Summary: %{name}'s kerneloops reporter plugin +Group: System Environment/Libraries Requires: curl Requires: %{name} = %{version}-%{release} Requires: libreport-web = %{version}-%{release} @@ -164,47 +170,34 @@ server, usually to kerneloops.org. %package plugin-logger Summary: %{name}'s logger reporter plugin +Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} %description plugin-logger The simple reporter plugin which writes a report to a specified file. -%package plugin-systemd-journal -Summary: %{name}'s systemd journal reporter plugin -Requires: %{name} = %{version}-%{release} - -%description plugin-systemd-journal -The simple reporter plugin which writes a report to the systemd journal. - %package plugin-mailx Summary: %{name}'s mailx reporter plugin +Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} -Requires: /usr/bin/mailx +Requires: mailx %description plugin-mailx The simple reporter plugin which sends a report via mailx to a specified email address. -%if %{with bugzilla} %package plugin-bugzilla Summary: %{name}'s bugzilla plugin +Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} Requires: libreport-web = %{version}-%{release} -Requires: python3-libreport = %{version}-%{release} -%if 0%{?fedora} >= 38 -Requires: python3-satyr -Suggests: python3-pytest -Suggests: python3-vcrpy -%endif - - %description plugin-bugzilla Plugin to report bugs into the bugzilla. -%endif %package plugin-mantisbt Summary: %{name}'s mantisbt plugin +Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} Requires: libreport-web = %{version}-%{release} @@ -213,6 +206,7 @@ Plugin to report bugs into the mantisbt. %package centos Summary: %{name}'s CentOS Bug Tracker workflow +Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} Requires: libreport-web = %{version}-%{release} Requires: libreport-plugin-mantisbt = %{version}-%{release} @@ -222,24 +216,52 @@ Workflows to report issues into the CentOS Bug Tracker. %package plugin-ureport Summary: %{name}'s micro report plugin -BuildRequires: %{libjson_devel} +BuildRequires: json-c-devel +Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} Requires: libreport-web = %{version}-%{release} +%if 0%{?rhel} +Requires: python-rhsm +%endif %description plugin-ureport Uploads micro-report to abrt server +%package plugin-rhtsupport +Summary: %{name}'s RHTSupport plugin +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} +Requires: libreport-web = %{version}-%{release} +%if 0%{?rhel} +Requires: redhat-access-insights +%endif + +%description plugin-rhtsupport +Plugin to report bugs into RH support system. + +%package compat +Summary: %{name}'s compat layer for obsoleted 'report' package +Group: System Environment/Libraries +Requires: libreport = %{version}-%{release} +Requires: %{name}-plugin-bugzilla = %{version}-%{release} +Requires: %{name}-plugin-rhtsupport = %{version}-%{release} + +%description compat +Provides 'report' command-line tool. + %package plugin-reportuploader Summary: %{name}'s reportuploader plugin +Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} Requires: libreport-web = %{version}-%{release} %description plugin-reportuploader Plugin to report bugs into anonymous FTP site associated with ticketing system. -%if 0%{?fedora} || 0%{?eln} +%if 0%{?fedora} %package fedora Summary: Default configuration for reporting bugs via Fedora infrastructure +Group: Applications/File Requires: %{name} = %{version}-%{release} %description fedora @@ -248,9 +270,20 @@ used to easily configure the reporting process for Fedora systems. Just install this package and you're done. %endif -%if 0%{?rhel} && ! 0%{?eln} +%if 0%{?rhel} +%package rhel +Summary: Default configuration for reporting bugs via Red Hat infrastructure +Group: Applications/File +Requires: %{name} = %{version}-%{release} + +%description rhel +Default configuration for reporting bugs via Red Hat infrastructure +used to easily configure the reporting process for Red Hat systems. Just +install this package and you're done. + %package rhel-bugzilla Summary: Default configuration for reporting bugs to Red Hat Bugzilla +Group: Applications/File Requires: %{name} = %{version}-%{release} Requires: libreport-plugin-bugzilla = %{version}-%{release} Requires: libreport-plugin-ureport = %{version}-%{release} @@ -262,6 +295,7 @@ and you're done. %package rhel-anaconda-bugzilla Summary: Default configuration for reporting anaconda bugs to Red Hat Bugzilla +Group: Applications/File Requires: %{name} = %{version}-%{release} Requires: libreport-plugin-bugzilla = %{version}-%{release} @@ -271,42 +305,43 @@ to easily configure the reporting process for Red Hat systems. Just install this package and you're done. %endif -%if %{with bugzilla} %package anaconda Summary: Default configuration for reporting anaconda bugs +Group: Applications/File Requires: %{name} = %{version}-%{release} Requires: libreport-plugin-reportuploader = %{version}-%{release} -%if ! 0%{?rhel} || 0%{?eln} +%if 0%{?rhel} +Requires: libreport-plugin-rhtsupport = %{version}-%{release} +%else Requires: libreport-plugin-bugzilla = %{version}-%{release} %endif %description anaconda Default configuration for reporting Anaconda problems or uploading the gathered data over ftp/scp... -%endif %prep -%autosetup +# http://www.rpm.org/wiki/PackagerDocs/Autosetup +# Default '__scm_apply_git' is 'git apply && git commit' but this workflow +# doesn't allow us to create a new file within a patch, so we have to use +# 'git am' (see /usr/lib/rpm/macros for more details) +%define __scm_apply_git(qp:m:) %{__git} am --exclude src/report-python/libreport-meh-test.py +#%%define __scm_apply_git(qp:m:) %%{__git} am --exclude libreport.spec.in --exclude .gitignore +%autosetup -S git -%build +# koji in f19 has new autotools, so we need to regenerate everything +cp %SOURCE1 %_builddir/%{name}-%{version} ./autogen.sh -%configure \ -%if %{without bugzilla} - --without-bugzilla \ -%endif - --enable-doxygen-docs \ - --disable-silent-rules - -%make_build +%build +# Commented because of deprecated GTK API +#CFLAGS="%%{optflags} -Werror" %%configure --disable-silent-rules +CFLAGS="%{optflags}" %configure --enable-doxygen-docs --disable-silent-rules +make %{?_smp_mflags} %install -%make_install \ -%if %{with python3} - PYTHON=%{__python3} \ -%endif - mandir=%{_mandir} - +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} %find_lang %{name} # Remove byte-compiled python files generated by automake. @@ -314,65 +349,63 @@ data over ftp/scp... # for those which needs to be byte-compiled with different # version (python2/python3). # rpm can do this work and use the appropriate python version. -find %{buildroot} -name "*.py[co]" -delete +find $RPM_BUILD_ROOT -name "*.py[co]" -delete # remove all .la and .a files -find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f -mkdir -p %{buildroot}/%{_initrddir} -mkdir -p %{buildroot}/%{_sysconfdir}/%{name}/events.d/ -mkdir -p %{buildroot}/%{_sysconfdir}/%{name}/events/ -mkdir -p %{buildroot}/%{_sysconfdir}/%{name}/workflows.d/ -mkdir -p %{buildroot}/%{_datadir}/%{name}/events/ -mkdir -p %{buildroot}/%{_datadir}/%{name}/workflows/ +find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f +mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/events.d/ +mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/events/ +mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/workflows.d/ +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}/events/ +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}/workflows/ # After everything is installed, remove info dir -rm -f %{buildroot}/%{_infodir}/dir +rm -f $RPM_BUILD_ROOT/%{_infodir}/dir # Remove unwanted Fedora specific workflow configuration files -%if ! 0%{?fedora} && ! 0%{?eln} -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraCCpp.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraKerneloops.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraPython.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraPython3.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraVmcore.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraXorg.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraLibreport.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraJava.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraJavaScript.xml -rm -f %{buildroot}/%{_sysconfdir}/libreport/workflows.d/report_fedora.conf -rm -f %{buildroot}%{_mandir}/man5/report_fedora.conf.5 -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_AnacondaFedora.xml +%if 0%{!?fedora:1} +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_FedoraCCpp.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_FedoraKerneloops.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_FedoraPython.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_FedoraPython3.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_FedoraVmcore.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_FedoraXorg.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_FedoraLibreport.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_FedoraJava.xml +rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/libreport/workflows.d/report_fedora.conf +rm -f $RPM_BUILD_ROOT%{_mandir}/man5/report_fedora.conf.5 +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_AnacondaFedora.xml %endif # Remove unwanted RHEL specific workflow configuration files -%if ! 0%{?rhel} || 0%{?eln} -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_uReport.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_AnacondaRHELBugzilla.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaCCpp.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaKerneloops.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaPython.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaVmcore.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaXorg.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaLibreport.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaJava.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaJavaScript.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataCCpp.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataKerneloops.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataPython.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDatavmcore.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataxorg.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataLibreport.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataJava.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataJavaScript.xml -rm -f %{buildroot}/%{_sysconfdir}/libreport/workflows.d/report_uReport.conf -rm -f %{buildroot}/%{_sysconfdir}/libreport/workflows.d/report_rhel_bugzilla.conf -rm -f %{buildroot}%{_mandir}/man5/report_uReport.conf.5 -rm -f %{buildroot}%{_mandir}/man5/report_rhel_bugzilla.conf.5 +%if 0%{!?rhel:1} +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELCCpp.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELKerneloops.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELPython.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELvmcore.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELxorg.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELLibreport.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELJava.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_uReport.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_AnacondaRHEL.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_AnacondaRHELBugzilla.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELBugzillaCCpp.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELBugzillaKerneloops.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELBugzillaPython.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELBugzillaVmcore.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELBugzillaXorg.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELBugzillaLibreport.xml +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELBugzillaJava.xml +rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/libreport/workflows.d/report_rhel.conf +rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/libreport/workflows.d/report_uReport.conf +rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/libreport/workflows.d/report_rhel_bugzilla.conf +rm -f $RPM_BUILD_ROOT%{_mandir}/man5/report_rhel.conf.5 +rm -f $RPM_BUILD_ROOT%{_mandir}/man5/report_uReport.conf.5 +rm -f $RPM_BUILD_ROOT%{_mandir}/man5/report_rhel_bugzilla.conf.5 %endif -%if 0%{?fedora} >= 38 - mv %{buildroot}/%{_bindir}/reporter-bugzilla-python %{buildroot}/%{_bindir}/reporter-bugzilla -%endif +%clean +rm -rf $RPM_BUILD_ROOT %check make check|| { @@ -382,16 +415,17 @@ make check|| { exit 1 } -%ldconfig_scriptlets -%ldconfig_scriptlets web -%if 0%{?rhel} && 0%{?rhel} <= 7 %post gtk -%{?ldconfig} +/sbin/ldconfig # update icon cache touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + %postun gtk -%{?ldconfig} +/sbin/ldconfig if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : @@ -400,39 +434,42 @@ fi %posttrans gtk gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -%endif + +%post web -p /sbin/ldconfig + + +%postun web -p /sbin/ldconfig + %files -f %{name}.lang -%doc README.md -%license COPYING +%defattr(-,root,root,-) +%doc README COPYING %config(noreplace) %{_sysconfdir}/%{name}/libreport.conf %config(noreplace) %{_sysconfdir}/%{name}/report_event.conf %config(noreplace) %{_sysconfdir}/%{name}/forbidden_words.conf %config(noreplace) %{_sysconfdir}/%{name}/ignored_words.conf -%config(noreplace) %{_sysconfdir}/%{name}/ignored_elements.conf %{_datadir}/%{name}/conf.d/libreport.conf %{_libdir}/libreport.so.* +%{_libdir}/libabrt_dbus.so.* %{_mandir}/man5/libreport.conf.5* %{_mandir}/man5/report_event.conf.5* %{_mandir}/man5/forbidden_words.conf.5* %{_mandir}/man5/ignored_words.conf.5* -%{_mandir}/man5/ignored_elements.conf.5* # filesystem package owns /usr/share/augeas/lenses directory %{_datadir}/augeas/lenses/libreport.aug %files filesystem +%defattr(-,root,root,-) %dir %{_sysconfdir}/%{name}/ %dir %{_sysconfdir}/%{name}/events.d/ %dir %{_sysconfdir}/%{name}/events/ %dir %{_sysconfdir}/%{name}/workflows.d/ -%dir %{_datadir}/%{name}/ -%dir %{_datadir}/%{name}/conf.d/ -%dir %{_datadir}/%{name}/conf.d/plugins/ %dir %{_datadir}/%{name}/events/ %dir %{_datadir}/%{name}/workflows/ %dir %{_sysconfdir}/%{name}/plugins/ %files devel +%defattr(-,root,root,-) # Public api headers: %doc apidoc/html/*.{html,png,css,js} %{_includedir}/libreport/libreport_types.h @@ -442,7 +479,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_includedir}/libreport/problem_data.h %{_includedir}/libreport/problem_report.h %{_includedir}/libreport/report.h -%{_includedir}/libreport/report_result.h %{_includedir}/libreport/run_event.h %{_includedir}/libreport/file_obj.h %{_includedir}/libreport/config_item_info.h @@ -454,49 +490,67 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_includedir}/libreport/reporters.h %{_includedir}/libreport/global_configuration.h # Private api headers: +%{_includedir}/libreport/internal_abrt_dbus.h %{_includedir}/libreport/internal_libreport.h %{_includedir}/libreport/xml_parser.h -%{_includedir}/libreport/helpers %{_libdir}/libreport.so +%{_libdir}/libabrt_dbus.so %{_libdir}/pkgconfig/libreport.pc %dir %{_includedir}/libreport %files web +%defattr(-,root,root,-) %{_libdir}/libreport-web.so.* %files web-devel +%defattr(-,root,root,-) %{_libdir}/libreport-web.so %{_includedir}/libreport/libreport_curl.h %{_libdir}/pkgconfig/libreport-web.pc -%files -n python3-libreport -%{python3_sitearch}/report/ -%{python3_sitearch}/reportclient/ +%files python +%defattr(-,root,root,-) +%{python_sitearch}/report/* +%{python_sitearch}/reportclient/* + +%files python3 +%defattr(-,root,root,-) +%{python3_sitearch}/report/* +%{python3_sitearch}/reportclient/* %files cli +%defattr(-,root,root,-) %{_bindir}/report-cli %{_mandir}/man1/report-cli.1.gz %files newt +%defattr(-,root,root,-) %{_bindir}/report-newt %{_mandir}/man1/report-newt.1.gz %files gtk +%defattr(-,root,root,-) %{_bindir}/report-gtk %{_libdir}/libreport-gtk.so.* +%config(noreplace) %{_sysconfdir}/libreport/events.d/emergencyanalysis_event.conf +%{_mandir}/man5/emergencyanalysis_event.conf.5.* +%{_datadir}/%{name}/events/report_EmergencyAnalysis.xml %{_mandir}/man1/report-gtk.1.gz %files gtk-devel +%defattr(-,root,root,-) %{_libdir}/libreport-gtk.so %{_includedir}/libreport/internal_libreport_gtk.h %{_libdir}/pkgconfig/libreport-gtk.pc %files plugin-kerneloops +%defattr(-,root,root,-) %{_datadir}/%{name}/events/report_Kerneloops.xml %{_mandir}/man*/reporter-kerneloops.* %{_bindir}/reporter-kerneloops %files plugin-logger +%defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/libreport/events/report_Logger.conf %{_mandir}/man5/report_Logger.conf.5.* %{_datadir}/%{name}/events/report_Logger.xml @@ -509,14 +563,12 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_bindir}/reporter-print %{_mandir}/man*/reporter-print.* -%files plugin-systemd-journal -%{_bindir}/reporter-systemd-journal -%{_mandir}/man*/reporter-systemd-journal.* - %files plugin-mailx +%defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf %{_datadir}/%{name}/conf.d/plugins/mailx.conf %{_datadir}/%{name}/events/report_Mailx.xml +%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.mailx.xml %{_datadir}/%{name}/workflows/workflow_Mailx.xml %{_datadir}/%{name}/workflows/workflow_MailxCCpp.xml %config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf @@ -528,31 +580,28 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_bindir}/reporter-mailx %files plugin-ureport +%defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/libreport/plugins/ureport.conf %{_datadir}/%{name}/conf.d/plugins/ureport.conf %{_bindir}/reporter-ureport %{_mandir}/man1/reporter-ureport.1.gz %{_mandir}/man5/ureport.conf.5.gz %{_datadir}/%{name}/events/report_uReport.xml -%if 0%{?rhel} && ! 0%{?eln} -%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uReport.conf -%{_datadir}/%{name}/workflows/workflow_uReport.xml -%{_mandir}/man5/report_uReport.conf.5.* -%endif +%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.ureport.xml -%if %{with bugzilla} %files plugin-bugzilla +%defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf %{_datadir}/%{name}/conf.d/plugins/bugzilla.conf %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format.conf %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup.conf %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_analyzer_libreport.conf -%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_analyzer_libreport.conf %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_kernel.conf %{_datadir}/%{name}/events/report_Bugzilla.xml %{_datadir}/%{name}/events/watch_Bugzilla.xml %config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf +%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.bugzilla.xml # FIXME: remove with the old gui %{_mandir}/man1/reporter-bugzilla.1.gz %{_mandir}/man5/report_Bugzilla.conf.5.* @@ -561,16 +610,11 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man5/bugzilla_format.conf.5.* %{_mandir}/man5/bugzilla_formatdup.conf.5.* %{_mandir}/man5/bugzilla_format_analyzer_libreport.conf.5.* -%{_mandir}/man5/bugzilla_formatdup_analyzer_libreport.conf.5.* %{_mandir}/man5/bugzilla_format_kernel.conf.5.* %{_bindir}/reporter-bugzilla -%if 0%{?fedora} < 38 -%{_bindir}/reporter-bugzilla-python -%endif - -%endif %files plugin-mantisbt +%defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/libreport/plugins/mantisbt.conf %{_datadir}/%{name}/conf.d/plugins/mantisbt.conf %config(noreplace) %{_sysconfdir}/libreport/plugins/mantisbt_format.conf @@ -594,7 +638,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/%{name}/workflows/workflow_CentOSXorg.xml %{_datadir}/%{name}/workflows/workflow_CentOSLibreport.xml %{_datadir}/%{name}/workflows/workflow_CentOSJava.xml -%{_datadir}/%{name}/workflows/workflow_CentOSJavaScript.xml %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_centos.conf %{_mandir}/man5/report_centos.conf.5.* %{_datadir}/%{name}/events/report_CentOSBugTracker.xml @@ -602,9 +645,27 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man5/report_CentOSBugTracker.conf.5.* # report_CentOSBugTracker events are shipped by libreport package %config(noreplace) %{_sysconfdir}/libreport/events.d/centos_report_event.conf -%{_mandir}/man5/centos_report_event.conf.5.gz +%{_mandir}/man5/centos_report_event.conf.5.* + +%files plugin-rhtsupport +%defattr(-,root,root,-) +%config(noreplace) %{_sysconfdir}/libreport/plugins/rhtsupport.conf +%{_datadir}/%{name}/conf.d/plugins/rhtsupport.conf +%{_datadir}/%{name}/events/report_RHTSupport.xml +%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.rhtsupport.xml +%config(noreplace) %{_sysconfdir}/libreport/events.d/rhtsupport_event.conf +%{_mandir}/man1/reporter-rhtsupport.1.gz +%{_mandir}/man5/rhtsupport.conf.5.* +%{_mandir}/man5/rhtsupport_event.conf.5.* +%{_bindir}/reporter-rhtsupport + +%files compat +%defattr(-,root,root,-) +%{_bindir}/report +%{_mandir}/man1/report.1.gz %files plugin-reportuploader +%defattr(-,root,root,-) %{_mandir}/man*/reporter-upload.* %{_mandir}/man5/uploader_event.conf.5.* %{_bindir}/reporter-upload @@ -613,15 +674,16 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/%{name}/workflows/workflow_Upload.xml %{_datadir}/%{name}/workflows/workflow_UploadCCpp.xml %config(noreplace) %{_sysconfdir}/libreport/plugins/upload.conf -%{_datadir}/%{name}/conf.d/plugins/upload.conf %{_mandir}/man5/upload.conf.5.* %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uploader.conf +%{_datadir}/%{name}/conf.d/plugins/upload.conf %{_mandir}/man5/report_uploader.conf.5.* %config(noreplace) %{_sysconfdir}/libreport/events/report_Uploader.conf %{_mandir}/man5/report_Uploader.conf.5.* -%if 0%{?fedora} || 0%{?eln} +%if 0%{?fedora} %files fedora +%defattr(-,root,root,-) %{_datadir}/%{name}/workflows/workflow_FedoraCCpp.xml %{_datadir}/%{name}/workflows/workflow_FedoraKerneloops.xml %{_datadir}/%{name}/workflows/workflow_FedoraPython.xml @@ -630,14 +692,28 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/%{name}/workflows/workflow_FedoraXorg.xml %{_datadir}/%{name}/workflows/workflow_FedoraLibreport.xml %{_datadir}/%{name}/workflows/workflow_FedoraJava.xml -%{_datadir}/%{name}/workflows/workflow_FedoraJavaScript.xml %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora.conf %{_mandir}/man5/report_fedora.conf.5.* %endif -%if %{with bugzilla} -%if 0%{?rhel} && ! 0%{?eln} +%if 0%{?rhel} +%files rhel +%defattr(-,root,root,-) +%{_datadir}/%{name}/workflows/workflow_RHELCCpp.xml +%{_datadir}/%{name}/workflows/workflow_RHELKerneloops.xml +%{_datadir}/%{name}/workflows/workflow_RHELPython.xml +%{_datadir}/%{name}/workflows/workflow_RHELvmcore.xml +%{_datadir}/%{name}/workflows/workflow_RHELxorg.xml +%{_datadir}/%{name}/workflows/workflow_RHELLibreport.xml +%{_datadir}/%{name}/workflows/workflow_RHELJava.xml +%{_datadir}/%{name}/workflows/workflow_uReport.xml +%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel.conf +%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uReport.conf +%{_mandir}/man5/report_rhel.conf.5.* +%{_mandir}/man5/report_uReport.conf.5.* + %files rhel-bugzilla +%defattr(-,root,root,-) %{_datadir}/%{name}/workflows/workflow_RHELBugzillaCCpp.xml %{_datadir}/%{name}/workflows/workflow_RHELBugzillaKerneloops.xml %{_datadir}/%{name}/workflows/workflow_RHELBugzillaPython.xml @@ -645,18 +721,22 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/%{name}/workflows/workflow_RHELBugzillaXorg.xml %{_datadir}/%{name}/workflows/workflow_RHELBugzillaLibreport.xml %{_datadir}/%{name}/workflows/workflow_RHELBugzillaJava.xml -%{_datadir}/%{name}/workflows/workflow_RHELBugzillaJavaScript.xml %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_bugzilla.conf %{_mandir}/man5/report_rhel_bugzilla.conf.5.* %files rhel-anaconda-bugzilla +%defattr(-,root,root,-) %{_datadir}/%{name}/workflows/workflow_AnacondaRHELBugzilla.xml %endif %files anaconda -%if 0%{?fedora} || 0%{?eln} +%defattr(-,root,root,-) +%if 0%{?fedora} %{_datadir}/%{name}/workflows/workflow_AnacondaFedora.xml %endif +%if 0%{?rhel} +%{_datadir}/%{name}/workflows/workflow_AnacondaRHEL.xml +%endif %{_datadir}/%{name}/workflows/workflow_AnacondaUpload.xml %config(noreplace) %{_sysconfdir}/libreport/workflows.d/anaconda_event.conf %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_anaconda_event.conf @@ -666,449 +746,975 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man5/bugzilla_anaconda_event.conf.5.* %{_mandir}/man5/bugzilla_format_anaconda.conf.5.* %{_mandir}/man5/bugzilla_formatdup_anaconda.conf.5.* -%endif + %changelog -* Fri Sep 19 2025 Python Maint - 2.17.15-9 -- Rebuilt for Python 3.14.0rc3 bytecode +* Fri Sep 09 2016 Jakub Filak 2.8.0-1 +- lib: fix a memory leak in create_dump_dir fn +- rhtsupport: fix a double free of config at exit +- debuginfo: dnf API logging workarounds list +- lib: don't warn when user word file doesn't exist +- lib: be able to define base conf dir at runtime +- wizard: use dnf instead of yum in add a screencast note +- problem_report: document resevered elements -* Fri Aug 15 2025 Python Maint - 2.17.15-8 -- Rebuilt for Python 3.14.0rc2 bytecode +* Tue Jul 19 2016 Fedora Release Engineering - 2.7.2-2 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages -* Thu Jul 24 2025 Fedora Release Engineering - 2.17.15-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild +* Mon Jul 18 2016 Matej Habrnal 2.7.2-1 +- Translation updates +- wizard: do not create reproducible if complex_detail == no +- include: save_user_settings function declaration isn’t a prototype +- Bugzilla: fix typo in comment don -> don't +- client-python: fix a typo in error check +- dd: do not log missing uid file when creating new dump dir +- build: update searched pkg names for systemd -* Mon Jun 02 2025 Python Maint - 2.17.15-6 -- Rebuilt for Python 3.14 +* Wed May 18 2016 Matej Habrnal 2.7.1-1 +- lib: add lz4 decompression +- lib: avoid the need to link against lzma +- all: format security +- lib: add cgroup namespace +- dd: introduce functions getting occurrence stamps +- dd: introduce dd_get_env_variable +- lib: add get env variable from a file +- RHTSupport: include count in Support cases +- lib: problem report API check fseek return code +- ignored words: remove 'kwallet_jwakely' which I added wrongly -* Mon Jan 20 2025 Fedora Release Engineering - 2.17.15-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild +* Fri Apr 08 2016 Matej Habrnal 2.7.0-1 +- ignored words: update ignored words +- mailx: use problem report api to define an emais' content +- augeas: trim spaces before key value +- spec: add workflows.d to filesystem package +- mailx: stop creating dead.letter on mailx failures +- workflows: add comments to ambiguous functions +- workflows: publish the function loading configuration +- augeas: exclude mantisbt format configurations +- reporter-mantisbt: add missing '=' to conf file +- curl: fix typo Ingoring -> Ignoring +- rhtsupport: attach all dump dir's element to a new case +- rhtsupport: add pkg_vendor, reproducer and reproducible to description +- report client: add silent mode to clean_up() +- doc: add documentation for requires-details attribute +- rhtsupport: Discourage users from reporting in non Red Hat stuff +- rhtsupport: Discourage users from opening one-shot crashes +- report-gtk: Require Reproducer for RHTSupport +- Add workflow for RHEL anonymous report +- spec: add workflow for RHEL anonymous report files +- wizard: fix the broken widget expansion +- dd: add documentation of dd_create_skeleton +- workflow: add extern C to the header file +- Fix minor typos +- Translation updates +- translations: update zanata configuration +- wizard: fix the broken "Show log" widget +- wizard: remove the code correcting Bugzilla groups -* Fri Jan 17 2025 Fedora Release Engineering - 2.17.15-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild +* Thu Feb 18 2016 Matej Habrnal 2.6.4-3 +- Translation updates +- wizard: fix the broken widget expansion -* Thu Jul 18 2024 Fedora Release Engineering - 2.17.15-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild +* Wed Feb 10 2016 Matej Habrnal 2.6.4-2 +- wizard: fix the broken "Show log" widget +- Resolves: #1303326 -* Fri Jun 07 2024 Python Maint - 2.17.15-2 -- Rebuilt for Python 3.13 +* Tue Feb 02 2016 Matej Habrnal 2.6.4-1 +- doc: add option -o and -O into reporter-ureport man page +- rhtsupport: use problme report API to create description +- bugzilla: make the event configurable +- report-gtk: offer users to create private ticket +- bugzilla|centos: declare 'restricted access' support +- dd: allow 1 and 2 letter long element names +- formatdup: more universal comment +- Refactoring conditional directives that break parts of statements. +- bugzilla: actualize man pages +- bugzilla: don't report private problem as comment +- uploader: move username and password to the advanced options +- uploader: allow empty username and password +- uploader: add possibility to set SSH keyfiles +- desktop-utils: deal with Destkop files without command line +- ureport: enable attaching of arbitrary values +- uploader: save remote name in reported_to +- curl: return URLs without userinfo -* Sun Feb 18 2024 Packit - 2.17.15-1 -- Release version 2.17.15 (Michal Srb) -- reporter-bugzilla: Make the supplementary bugs easily identifiable (Michal Srb) -- reporter-bugzilla: Fix formatting in the supplementary bugs (Michal Srb) -- reporter-bugzilla: Fix code comment (Michal Srb) +* Wed Nov 04 2015 Robert Kuska - 2.6.3-2 +- Rebuilt for Python3.5 rebuild -* Mon Feb 12 2024 Packit - 2.17.14-1 -- Release version 2.17.14 (Michal Srb) -- reporter-bugzilla: Reduce number of duplicate bug reports (Michal Srb) -- reporter-bugzilla: Fix config loading (Michal Srb) -- reporter-bugzilla: API key must consist of latin-1 characters (Michal Srb) -- reporter-bugzilla: Fix typo (Michal Srb) -- reporter-bugzilla: Fix creating binary attachments (Michal Srb) -- Update translations (mgrabovsky) +* Thu Oct 15 2015 Matej Habrnal 2.6.3-1 +- reporter-bugzilla: add parameter -p +- fix save users changes after reviewing dump dir files +- bugzilla: don't attach build_ids +- rewrite event rule parser +- ureport: improve curl's error messages +- curl: add posibility to use own Certificate Authority cert -* Sun Feb 04 2024 Packit - 2.17.13-1 -- Release version 2.17.13 (Michal Srb) -- Exclude coredump archives when creating a bug (Michal Srb) +* Tue Sep 15 2015 Matej Habrnal 2.6.2-5 +- bugzilla: put VARIANT_ID= to Whiteboard -* Thu Jan 25 2024 Fedora Release Engineering - 2.17.11-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild +* Wed Aug 26 2015 Matej Habrnal 2.6.2-4 +- add a helper for HTTP GET +- configure: use hex value for dump dir mode -* Sun Jan 21 2024 Florian Weimer - 2.17.11-5 -- Fix C compatibility issues in tests +* Fri Aug 14 2015 Matej Habrnal 2.6.2-3 +- don't warn about missing 'type' if the locking fails +- stop warning about corrupted mandatory files -* Sun Jan 21 2024 Fedora Release Engineering - 2.17.11-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild +* Wed Jul 22 2015 Matej Habrnal 2.6.2-2 +- Use a dgettext function returning strings instead of bytes -* Thu Jul 20 2023 Fedora Release Engineering - 2.17.11-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild +* Fri Jul 17 2015 Jakub Filak 2.6.2-1 +- avoid starvation in processes concurrently accessing a dump directory +- bugzilla: Add check for extra-cc file -* Sat Jul 01 2023 Python Maint - 2.17.11-2 -- Rebuilt for Python 3.12 +* Fri Jul 03 2015 Matej Habrnal 2.6.1-1 +- add functionality to use consumer certificate +- improve client.h documentation +- support new dump dir element 'tid' +- reportclient: minor python style fixes +- fix dnf logging +- don't log attempts to load non-existent files +- fix in dialog ask_yes_no_save_result -* Fri Jun 30 2023 Packit - 2.17.11-1 -- Release version 2.17.11 (Michal Srb) -- spec: Add missing requires for python3-libreport (Michal Srb) -- Build URL with urllib.parse.urljoin() (Michal Srb) -- Add XDG_ACTIVATION_TOKEN to the list of ignored words (Michal Srb) -- Attachments are minor updates in Bugzilla (Michal Srb) -- Retry Bugzilla search queries with delays (Michal Srb) -- Fix "NameError: name 'ticket' is not defined" exception (Michal Srb) -- Update translations (mgrabovsky) +* Wed Jun 17 2015 Fedora Release Engineering - 2.6.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild -* Thu Jun 15 2023 Python Maint - 2.17.10-2 -- Rebuilt for Python 3.12 +* Thu Jun 11 2015 Jakub Filak 2.6.0-2 +- remove pygobject3 from Requires of libreport-gtk +- Resolves: #1230420 -* Thu May 11 2023 Packit - 2.17.10-1 -- Release version 2.17.10 (Matěj Grabovský) -- reporter-upload: Fix a use-after-free error in string handling (Matěj Grabovský) -- Update translations (mgrabovsky) -- Update translations (mgrabovsky) +* Tue Jun 09 2015 Jakub Filak 2.6.0-1 +- harden the code against directory traversal, symbolic and hard link attacks +- fix a bug causing that the first value of AlwaysExcludedElements was ignored +- fix missing icon for the "Stop" button icon name +- switch the default dump dir mode to 0640 +- fix races in dump directory handling code +- improve development documentation +- translations updates -* Fri Mar 24 2023 Packit - 2.17.9-1 -- Release version 2.17.9 (Michal Srb) -- reporter-bugzilla: Fix string interpolation (Matěj Grabovský) -- reporter-bugzilla: Replace flags with just keyword arg (Michal Srb) -- reporter-bugzilla: Make sure that the creator of a bug is always in CC (Michal Srb) -- reporter-bugzilla: Don't fail if reported_to file doesn't exist (Michal Srb) -- reporter-bugzilla: Fix reporting when the bug already exists (Michal Srb) -- use $XDG_CONFIG_HOME to access user's configuration files (Yann Droneaud) -- Update translations (mgrabovsky) +* Wed May 20 2015 Matej Habrnal 2.5.1-2 +- reporter-mantisbt: switch from 'analyzer' to 'type' +- report client: provide cpio log when unpacking fails +- report client: check owner of /var/cache/abrt-di when unpacking fails +- reporter-mantisbt: add event for reporting AVCs +- translations updates +- bugzilla: Spell Bugzilla, not BZ in UI -* Fri Mar 03 2023 Packit - 2.17.8-1 -- Release version 2.17.8 (Michal Srb) -- Update changelog (Michal Srb) -- reporter-bugzilla: Fix KeyError when HOME env var is not set (Michal Srb) -- Update changelog (Michal Srb) -- reporter-bugzilla: Fix password prompt in client/server mode (Michal Srb) +* Thu Apr 09 2015 Jakub Filak 2.5.1-1 +- Translation updates +- problem_data: cache problem_item size -* Mon Feb 20 2023 Packit - 2.17.7-1 -- Release version 2.17.7 (Michal Srb) -- spec: Add disttag (Michal Srb) -- Update changelog (Michal Srb) -- Fix rpm -V issue with missing reporter-bugzilla-python in f38 (Michal Srb) -- Fix TypeError (Michal Srb) -- Update pot file (Matěj Grabovský) -- readme: Add diagram of related projects (Matěj Grabovský) -- Update translations (mgrabovsky) -- Use SPDX format for license field (Matěj Grabovský) -- ignored_words: Add KeyboardInterrupt (Michal Fabik) -- packit: Add dependencies for SRPM build (Matěj Grabovský) -- Update translations (mgrabovsky) +* Sat Mar 21 2015 Jakub Filak 2.5.0-2 +- remove libreport-python from libreport's Requires -* Thu Jan 19 2023 Fedora Release Engineering - 2.17.6-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild +* Wed Mar 18 2015 Jakub Filak 2.5.0-1 +- spec: require dnf instead of yum +- Port reportclient to python3 +- reportclient: introduce DNF debug info downloader +- Python 3 compatibility +- report-python: fix getVersion_fromOSRELEASE +- ignored words: ignore lxqt-openssh-askpass +- spec: don't pull libreport-python with libreport +- Resolves: #1156485, #1168494 -* Sun Nov 06 2022 Packit - 2.17.6-1 -- Release version 2.17.6 (Michal Srb) -- Update translations (mgrabovsky) -- Update changelog (Michal Srb) -- reporter-bugzilla: Fix TypeError (Michal Srb) +* Sat Feb 21 2015 Till Maas - 2.4.0-3 +- Rebuilt for Fedora 23 Change + https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code -* Mon Oct 24 2022 Michal Srb - 2.17.5-2 -- Fix dist-tag +* Fri Feb 20 2015 Jakub Filak 2.4.0-2 +- bump required satyr verion -* Mon Oct 24 2022 Packit - 2.17.5-1 -- Release version 2.17.5 (Michal Srb) -- Update changelog (Michal Srb) -- dump_dir.py: check that the filename doesn't start with "/" (Michal Srb) -- dump_dir.py: Don't pass libreport flags to open() (Michal Srb) -- reporter-bugzilla: Fix exceptions (Michal Srb) -- Update translations (mgrabovsky) +* Fri Feb 20 2015 Jakub Filak 2.4.0-1 +- introduce reporter-mantisbt +- introduce global configuration +- gui: try to reduce false positive sensitive words +- lib: add Problem Format API +- Resolves: #1168494 -* Wed Sep 14 2022 Packit - 2.17.4-1 -- Release version 2.17.4 (Michal Fabik) -- Update changelog (Michal Fabik) -- reporter_bugzilla.py: Don't ask for API key if we already have it (Michal Srb) -- internal/bz_connection.py: Fix "TypeError: 'builtin_function_or_method' object is not subscriptable" (Michal Srb) -- reporter_bugzilla.py: Fix condition (Michal Srb) -- internal/reported_to.py: Prevent possible ValueError if the line is for example empty (Michal Srb) -- reporter_bugzilla.py: Prevent possible KeyError exception (Michal Srb) -- reporter_bugzilla.py: Default value for `b_create_private` is False (Michal Srb) -- reporter_bugzilla.py: Prevent possible KeyError exception (Michal Srb) +* Mon Dec 08 2014 Jakub Filak 2.3.0-8 +- fix several python3 incompatibilities +- switch back from FAF2 to FAF -* Mon Sep 12 2022 Packit - 2.17.3-1 -- Release version 2.17.3 (Michal Fabik) -- Update changelog (Michal Fabik) -- Run autoupdate to get rid of obsolete/deprecated macros (Michal Fabik) -- Makefile: Move README.md to EXTRA_DIST (Michal Fabik) -- Don't build rhel-bugzilla --without-bugzilla (Michal Fabik) -- doc: Make anaconda_event.conf depend on BZ (Michal Fabik) -- Fix build --without-bugzilla (Michal Fabik) -- spec: Don't list files twice (Michal Fabik) -- Update translations (mgrabovsky) +* Fri Nov 28 2014 Jakub Filak 2.3.0-7 +- anaconda: filter out rootpw lines +- highglit OpenStack related strings +- ureport: do not bother user with the configuration window -* Thu Aug 18 2022 Packit - 2.17.2-1 -- Release version 2.17.2 (Michal Fabik) -- reporter_bugzilla.py: Build, install (Michal Fabik) -- reporter_bugzilla.py: Add tests (Michal Fabik) -- reporter_bugzilla.py: Initial commit (Michal Fabik) -- Update translations (mgrabovsky) -- abrt_xmlrpc: Don't warn about discarded const (Michal Fabik) -- Update translations (mgrabovsky) -- Update translations (mgrabovsky) -- Use conventional lseek arg order (Michal Fabik) -- Update translations (mgrabovsky) -- ignored_words: Ignore more debuginfod URLs (Matěj Grabovský) +* Thu Nov 13 2014 Jakub Filak 2.3.0-6 +- ureport: do not use 'rhsm' SSL auth by default -* Thu Jul 21 2022 Fedora Release Engineering - 2.17.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild +* Thu Nov 06 2014 Jakub Filak 2.3.0-5 +- Prevent duplicate values for CODE_* fields being logged to journal +- ureport and rhtsupport bug fixes +- update Package URL -* Mon Jun 13 2022 Python Maint - 2.17.1-2 -- Rebuilt for Python 3.11 +* Fri Oct 17 2014 Jakub Filak 2.3.0-4 +- ureport: use FAF2 server -* Thu Mar 10 2022 Packit Service - 2.17.1-1 -- Release version 2.17.1 (Michal Srb) -- reporter-bugzilla: send API key in HTTP header (Michal Srb) -- tito: Use custom tagger that updates changelog (Matěj Grabovský) -- changelog: Fix link to release diff (Matěj Grabovský) -- reporter-bugzilla: Fix APIKey name (Michal Fabik) -- Update translations (mgrabovsky) -- Add missing va_end (Michal Židek) +* Mon Oct 13 2014 Jakub Filak 2.3.0-3 +- ureport: fix a bug in the response parser +- upload: don't ask for password if the env var is empty string -* Mon Feb 21 2022 Michal Srb - 2.17.0-1 -- [reporter-bugzilla] Use API key for authentication +* Wed Oct 08 2014 Jakub Filak 2.3.0-2 +- Require satyr-0.15 -* Thu Jan 20 2022 Fedora Release Engineering - 2.16.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild +* Mon Oct 06 2014 Jakub Filak 2.3.0-1 +- Translation updates +- uploader: correct capitalization of the event name +- uploader: read credentials from environment variables +- uploader: handle access denials and ask for updated credentials +- ureport: polish public API +- bugzilla: add comment to closed bugs too +- corrected man pages +- augeas: exclude bugzilla format configurations +- add new workflows for Uploader, Mailx and Logger +- make_desc: add reason to the list +- lib: use userfriendly order in the make_description +- fix bugzilla bug formating for libreport analyzer +- lib: make_description show not-reportable -* Wed Jan 19 2022 Matěj Grabovský - 2.16.0-2 -- Rebuild for testing +* Tue Sep 09 2014 Jakub Filak 2.2.3-7 +- reporting GUI: allow users to run it multiple times +- Resolves: #1134407 -* Mon Jan 17 2022 Matěj Grabovský - 2.16.0-1 -- Bump satyr dependency to 0.38 -- Bump libreport library revision to 2:1:0 -- Drop build-time dependency on libproxy-devel -- Drop last reference to global_uuid file -- Don't use deprecated assertEquals() in tests -- Add DEBUGINFOD_URLS environment variable to ignored_words -- rhbz: Retry XML-RPC calls when uploading attachments -- rhbz: Be a little bit more defensive when working with subcomponents +* Mon Sep 01 2014 Jakub Filak 2.2.3-6 +- add "Details" button on the screen with comment +- terminate reporting after the emergency analysis +- reduce the amount of log messages +- use symbolic icons +- parse release version from os-release (Python) +- Resolves: #1133549 + +* Tue Aug 19 2014 Jakub Filak 2.2.3-5 +- add the "Repeat" button to the reporting wizard +- a bunch of GUI improvements +- fix a bug in logging causing reporter-ureport to crash + +* Sun Aug 17 2014 Fedora Release Engineering - 2.2.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Fri Jul 25 2014 Jakub Filak 2.2.3-3 +- fix build with json-c-0.12 + +* Wed Jul 23 2014 Jakub Filak 2.2.3-2 +- reporter-ureport: attach anonymous comment +- gui: close dialogues on Enter key +- gui: support Enter & 2Click in Preferences list +- gui: fix help text for screencasting +- gui: wrap lines for human readable files on Data review page +- gui: select the first item in the configuration list +- gui: make the preferences dialogue modal for parents + +* Tue Jul 08 2014 Jakub Filak 2.2.3-1 +- wizard: Do not highlight sensitive words in user's comment +- bugzilla: show description for all configuration options +- wizard: use a tab for Advanced opts instead of an expander +- mailx: improve notification e-mail format +- configure: Support cross compiling with python3 +- ignored words: add well known SELinux messages +- Resolves: #974746, #1111729, #1111734 + +* Sat Jun 07 2014 Fedora Release Engineering - 2.2.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue May 27 2014 Kalev Lember - 2.2.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 + +* Wed Apr 30 2014 Jakub Filak - 2.2.2-3 +- improve User Experience in Anaconda + +* Thu Apr 24 2014 Jakub Filak - 2.2.2-2 +- Bugzilla: pass Bugzilla_token in every XML RPC call + +* Sun Apr 20 2014 Jakub Filak 2.2.2-1 +- stop using deprecated json-c functions +- bugzilla: try to avoid usage of 'private' group +- spec: install ignored_words.conf manual page +- wizard: extended the manual pages +- localization: fix gettext +- wizard: make the custom search case insensitive +- use a better label for the forbidden words button + +* Mon Apr 07 2014 Jakub Filak 2.2.1-2 +- include 'package' in AVC bugzilla bug reports + +* Fri Apr 04 2014 Jakub Filak 2.2.1-1 +- update the list of ignored words +- wizard: introduce the searched words list +- report-gtk: confirm the ask dialogs on 'Enter' +- spec: provide default config for reporter-upload +- Provide default config for reporter-upload +- config: do not export empty environment variables +- spec: byte-compile py files with rpm scripts + +* Wed Mar 05 2014 Jakub Filak 2.2.0-1 +- python: build python api for py3 +- Bugzilla: fedora_contrib_private group ID for the private bugs +- remove invalid bytes from 'sv' strings +- client API: return empty string instead of NULL +- introduce 'watch_Bugzilla' event +- ignored words: add SSH_ASKPASS words +- introduce import-event-options in xml event definitions +- correct name of RH Customer Portal +- Fix typos in error messages +- Translation updates + +* Wed Mar 05 2014 Karsten Hopp 2.1.12-4 +- don't run tests on ppc* until rhbz 1070892 is fixed + +* Tue Feb 18 2014 Jakub Filak 2.1.12-3 +- fix a pair of typos in error messages +- add libpciaccess.so to the list of ignored keywords +- translation updates +- Resolves: #1064209 + +* Mon Feb 10 2014 Jakub Filak 2.1.12-2 +- fix loading of localized strings from XML files +- fix loading of default event configuration files +- provide SYSLOG_FACILITY when logging through journal + +* Thu Jan 30 2014 Jakub Filak 2.1.12-1 +- fix loading of the user list of ignored words +- report-cli: use the Client API for communication to user +- add more forbidden words +- a better message for invalid data in backtrace_rating +- ureport: add support for client-side authentication +- Export plugin config dir in pkg-config +- add Java reporting workflows +- define DBus config interfaces for all plugins +- add a workflow for libreport type problems + +* Wed Jan 8 2014 Peter Robinson 2.1.11-3 +- Don't use deprecated GTK3 API +- Fix unit tests + +* Wed Jan 8 2014 Peter Robinson 2.1.11-2 +- Build latest version on F-21/rawhide +- Fix descriptions + +* Wed Jan 08 2014 Jakub Filak 2.1.11-1 - Update translations +- add type agnostic functions for map_string_t +- %%description spelling fix. +- update titles of RHTS workflows +- add Anaconda Bugzilla reporting workflows for RHEL +- add Bugzilla reporting workflows for RHEL -* Thu Jan 13 2022 Matěj Grabovský - 2.15.2-11 -- Backport patch for building with Python 3.11 - (https://bugzilla.redhat.com/show_bug.cgi?id=2019402) - -* Wed Jan 12 2022 Matěj Grabovský - 2.15.2-10 -- Bump for rebuild - -* Thu Jan 06 2022 Matěj Grabovský - 2.15.2-9 -- Bump release for rebuild - -* Thu Jan 06 2022 Matěj Grabovský - 2.15.2-8 -- Bump release for rebuild - -* Wed Dec 22 2021 Matěj Grabovský - 2.15.2-7 -- Rebuild for satyr 0.39 - -* Thu Jul 22 2021 Fedora Release Engineering - 2.15.2-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Sat Jul 10 2021 Björn Esser - 2.15.2-5 -- Rebuild for versioned symbols in json-c - -* Mon Jun 07 2021 Python Maint - 2.15.2-4 -- Rebuilt for Python 3.10 - -* Fri Jun 04 2021 Python Maint - 2.15.2-2 -- Rebuilt for Python 3.10 - -* Tue Jun 01 2021 Packit Service - 2.15.2-1 -- Release version 2.15.2-1 (Michal Fabik) -- binhex: Remove unused API (Matěj Grabovský) -- lib: Use GLib for computing SHA-1 digests (Matěj Grabovský) -- run_event: Improve memory management (Matěj Grabovský) -- gtk: Fix segfault (Matěj Grabovský) - -* Tue May 04 2021 Packit Service - 2.15.1-1 -- Release version 2.15.1-1 (Michal Fabik) -- ureport: Strange usage of tmp variable (Michal Židek) -- steal_directory: Silence a warning (Michal Židek) -- dump_dir: Use g_free and re-init to NULL (Michal Židek) -- dump_dir: Use g_free instead of free (Michal Židek) -- dirsize: No need to check for NULL (Michal Židek) -- dirsize: Bad checks for NULL (Michal Židek) -- gui-wizard-gtk: Possible double free (Michal Židek) -- gui-wizard-gtk: Check if EXCLUDE_FROM_REPORT is set (Michal Židek) -- gui-wizard-gtk: Improve docs and add missing free (Michal Židek) -- cli: Address of local auto-variable assigned to a function parameter (Michal Židek) -- gtk-helpers: Add missing g_strfreev() (Michal Židek) -- cli: Add missing g_free call (Michal Židek) -- gitignore: Drop misleading comment (Michal Fabik) -- spec: Sync upstream with distgit (Michal Fabik) -- changelog: Add missing link to changes in 2.15.0 (Matěj Grabovský) -- spec: Make plugin-mailx depend on /usr/bin/mailx (Matěj Grabovský) -- Add support for excluding whole elements from search for sensitive words (Michal Srb) -- ignored_words: add more "key" variations (Michal Srb) - -* Fri Jan 29 2021 Michal Srb - 2.14.0-17 -- Drop AnacondaRHEL workflow reference - -* Tue Jan 26 2021 Fedora Release Engineering - 2.14.0-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Mon Jan 18 2021 Peter Robinson - 2.14.0-15 -- Bump rev for upgrades - -* Fri Dec 11 2020 Matěj Grabovský - 2.14.0-13 -- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1906405 - -* Tue Nov 03 2020 Matěj Grabovský - 2.14.0-12 -- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1893595 - -* Fri Oct 09 2020 Matěj Grabovský - 2.14.0-11 -- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1882328 - -* Tue Sep 29 2020 Matěj Grabovský - 2.14.0-10 -- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1883337 -- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1883410 - -* Sun Sep 27 2020 Matěj Grabovský - 2.14.0-9 -- Add upstream fixes for memory management - -* Sun Sep 27 2020 Matěj Grabovský - 2.14.0-8 -- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1882950 - -* Fri Sep 25 2020 Matěj Grabovský - 2.14.0-7 -- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1882319 - -* Wed Aug 19 2020 Merlin Mathesius - 2.14.0-6 -- Updates so ELN builds in a Fedora-like reporting configuration, even though - the %%{rhel} macro is set. - -* Thu Aug 13 2020 Michal Fabik 2.14.0-3 -- forbidden_words: Add potentially sensitive env vars -- lib: Add version script for libreport -- lib: compress: Use libarchive -- Replace various utility functions with stock GLib ones -- gtk,lib: Update symbol list -- dd: Update dd_get_owner to handle error return values -- dirsize: Don't pick .lock'd dirs for deletion -- setgid instead of setuid the abrt-action-install-debuginfo-to-abrt-cache -- Various coding style improvements -- Various memory management fixes -- lib: Check for errors when opening files -- gtk-helpers: Check return value -- doc: Exclude more files with --without-bugzilla -- lib: Don’t use external executables for decompression -- lib: Decommission libreport_list_free_with_free -- Drop Red Hat Customer Portal reporter -- ureport: Drop Strata integration -- lib: Remove creates-items tag parsing in event definitions - -* Fri Aug 07 2020 Peter Robinson - 2.13.1-4 -- Bump to fix upgrade path - -* Tue Jul 28 2020 Fedora Release Engineering - 2.13.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Sun May 24 2020 Miro Hrončok - 2.13.1-2 -- Rebuilt for Python 3.9 - -* Mon May 11 2020 Michal Fabik 2.13.1-1 -- Fix broken abrt-vmcore.service due to bad namespacing - -* Fri Apr 24 2020 Michal Fabik 2.13.0-2 -- Support new "time" and "time_for_children" kernel namespaces -- Remove preprocessor namespacing in favor of function name prefixes -- client-python: Accomodate for multiple debug directories -- gui-wizard-gtk: Wrap event log messages -- lib: Drop D-Bus code -- plugins: reporter-rhtsupport: Drop unused debugging code +* Wed Dec 11 2013 Jakub Filak 2.1.10-1 +- bugzilla: no extra email notification on URL addition +- Make make_description() output less confusing +- Ensure 'long long unsigned' in printf format args +- make_description: add an option for URLs from reported_to +- add accountsservice into ignored words +- Put back VERBn prefixes for few logging calls +- debuginfo: fix clean_up function call +- augeas: trim spaces arround '=' +- spec: add augeas-devel to build requires +- load/save configuration via augeas +- create augeas lens for libreport +- Fix typo in a string +- spec: install ureport conf file and man page +- Update reporter-ureport manual pages +- ureport: add the configuration file +- anaconda: use workflow in the report-cli event +- report-cli: add support for workflows +- wizard: do not show 'show log' expander if log is empty +- ureport: print the error response body only in verbose mode +- Load a config file from several directories +- Export EXIT_STOP_EVENT_RUN in python modules +- reporter-bugzilla: if adding to existing BZ, clearly flag comment as a dup. +- Fix a small mistake in "Use log_ family instead of VERBn log calls" commit +- ureport: implement attaching of contact email +- Do not load "always editable" files if they are HUGE. Fixes rhbz1010167. +- shorten default Bugzilla bug summary format - Update translations +- XML parser: keep region specific translation texts +- Resolves: #1009730 -* Tue Apr 21 2020 Björn Esser - 2.12.0-4 -- Rebuild (json-c) +* Sat Oct 26 2013 Jakub Filak 2.1.9-1 +- rephrase a message for missing configuration +- ask for missing configuration instead of dying +- Client API: introduce non-iteractive mode +- spec: add systemd-devel to BuildRequires +- Use log_ family instead of VERBn log calls +- Add journald support +- Modify logging to use various logging levels +- Include hostname in mailx notification +- enable reporting to Red Hat Support tool for anaconda bugs +- bugzilla: set URL field +- fix an overflow condition in parse time fn for x32 arch +- add a short explanation of private tickets - related rhbz#1011916 +- don't use popup to ask for a private ticket - related rhbz#1011916 -* Fri Mar 20 2020 Ernestas Kulik - 2.12.0-3 -- Add patch for https://bugzilla.redhat.com/show_bug.cgi?id=1815544 +* Fri Oct 04 2013 Jakub Filak 2.1.8-1 +- disable rhel/fedora workflows for anaconda +- added whitelist for sensitive data - rhbz#1009730 rhbz#896246 +- ureport: always add BTHASH link to a report +- reprot-gtk: underline tab titles with sensitive information +- introduce FILENAME_EXPLOITABLE; related to abrt/abrt#703 -* Fri Feb 07 2020 Ernestas Kulik - 2.12.0-2 -- Bump release for side tag rebuild +* Wed Sep 11 2013 Jakub Filak 2.1.7-1 +- Fix problem_item_format() to work properly after 2038 on x32. #691 +- Use proper json-c requirement in libreport-web.pc. +- abrt-cli info: even -s 10 should show one-liners. #690 +- add checks for existing dumpdir items - closes #164 +- Create helper functions for sha1-hashing strings. #694 +- can now use custom repo filters for enabling repos, related abrt/abrt#688 +- add docstrings, remove global variable - related #171 +- fixed exception handling - closes #173 +- added checks for locked dump directory to dd_* functions, closes #133 +- fixed the symlinks handling in get_file_list abrt/abrt#686 +- make the build in the the build directory to not pollute the source tree +- fixed debugInfoDownload so that it can process local repos - closes #48 +- Increase text size limit from 1Mb to 8 MB. rhbz#887570. +- print warning when there is not engough free space for debuginfos, closes #170 +- autogen.sh: improve dependency parser +- ignore directories without type element - rhbz#958968 +- abrt_xmlrpc: increase XML_SIZE_LIMIT to 4 mbytes. rhbz#961520. +- ask user to create a private report if it contains sensitive data - rhbz#960549 +- updated translation rhbz#860555 +- updated transifex url +- do not leak file rhbz#997871 +- in KDE session open URLs in kde-open +- report-gtk: use wrapped text for warning labels +- spec: remove abrt-screencast +- remove obsoleted abrt-screencast +- Fix create_symlink_lockfile() to not emit ENOENT when asked not to. +- do not store potentially big data in /tmp +- New public function create_symlink_lockfile() -* Thu Feb 06 2020 Michal Fabik 2.12.0-1 -- ureport: Allow printf-like data attaching -- plugins: reporter-rhtsupport: Avoid runtime warning -- Update translations -- lib: Don't include Nettle in a public interface -- ureport: Drop HTTP header table -- glib_support: Use g_strsplit -- glib_support: Drop type initialization -- client-python: Drop yumdebuginfo -- lib: Use Nettle for computing SHA-1 digests -- Move augeas lenses to new subdirectory +* Mon Jul 29 2013 Jakub Filak 2.1.6-2 +- link with gobject libraries +- use RHTSupport in RHEL workflows -* Wed Jan 29 2020 Fedora Release Engineering - 2.11.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild +* Fri Jul 26 2013 Jakub Filak 2.1.6-1 +- add related packages version in emergency event +- replace functions deprecated in Gtk-3.10 with their substitutes +- fixed the bugzilla private group names rhbz#985881 +- workflows: add Anaconda work flow for RHEL +- add missing manual pages for configuration files, binaries and scripts +- added options to create private bz tickets rhbz#803772 +- skip the workflow selection if there is only 1 available closes #167 +- added missing workflows for Fedora rhbz#866027 +- spec: double up percent signs in chagelog entries +- spec: make anaconda package description more generic +- spec: install RHEL anaconda work flow +- spec: added new workflow files rhbz#866027 +- spec: build only workflow subpkg relevant for host's OS +- spec: install all manual pages +- spec: install only documentation files +- spec: drop unnecessary Obsoletes and Provides +- spec: add manual pages to packages +- spec: specify all config files +- spec: replace btparser with satyr +- move non-conf XML files from /etc/libreport/ to /usr/share/libreport/ +- Update satyr support, drop btparser compatibility +- fixed typo in config file related #866027 +- resize the config window upon collapsing Advanced section +- rhbz: test xmlrpc env for errors in abrt_xmlrpc_call_params() +- rhbz: test rhbz_new_bug() return value for errors +- wizard: show accurate messages +- spec: add dependency on fros rhbz#958979 +- use fros instead of hard dependency on recordmydesktop rhbz#958979 -* Thu Nov 14 2019 Matěj Grabovský 2.11.3-1 -- Remove unused scripts -- gtk: Fix infinite loop crashing the reporting -- gtk: Improve logging -- gtk: Remove page number from page struct -- gtk: Code style adjustments -- Make notebook tabs invisible again -- gui-wizard-gtk: Remove expert mode -- gui-wizard-gtk: Stop allowing overriding UI definitions -- pull-trans: Suggest zanata install -- shellcheck: Iterating over ls output is fragile. Use globs. -- shellcheck: Double quote to prevent globbing and word splitting -- zanata: Use python3 zanata client to pull translations -- gtk: Fix another possible double-free +* Tue Jul 02 2013 Jakub Filak 2.1.5-2 +- reporter-bugzilla: test return values for errors +- Resolves: #980228 -* Mon Nov 11 2019 Ernestas Kulik - 2.11.2-2 -- Add patch to fix a double-free +* Fri Jun 14 2013 Jakub Filak 2.1.5-1 +- make the uploader event available for all report types +- ureport: add conversion from abrt vmcore type to ureport KERNELOOPS type +- fixed relro flags rhbz#812283 +- rhbz: don't pass NULL in platform argument +- add function getting information about dump dir for uid +- anaconda: add proper configuration +- rhbz: do not try to attach empty files +- try to delete dump dirs using abrtd in the first step +- workflow config: use scrollbars instead of enormous window size +- Resolves: #963020 -* Wed Oct 23 2019 Matěj Grabovský 2.11.2-1 -- gtk: Improve memory management -- gtk: Prevent memory leak -- lib: Eliminate GLib inefficiency -- gtk,style: Minor style consistency fixes -- workflows: Correct name of post_report event +* Fri May 10 2013 Jiri Moskovcak 2.1.4-5 +- removed dependency on recordmydesktop rhbz#959475 -* Wed Oct 16 2019 Matěj Grabovský 2.11.1-1 -- gtk: Fix a double-free condition +* Mon May 06 2013 Jakub Filak 2.1.4-4 +- create last_occurrence at the time of the first crash -* Fri Oct 11 2019 Matěj Grabovský 2.11.0-1 -- Remove option for emergency analysis/reporting -- tests: proc_helpers: Fix call to errx() -- plugins: bugzilla: Add format file for libreport duplicates -- dbus: Remove interface introspection files -- lib: Don't warn if a configuration key is missing -- gtk: Handle event wildcards in command line options -- gtk: Better handling of workflows with wildcarded events -- lib: Remove unused arguments of prepare_commands -- lib: Reintroduce error logging in event XML parser -- cli: Continue running even if some events have no commands -- cli: Expand event name wildcards -- lib: Expand wildcards in workflow XML parser -- lib: Add a function to expand wildcards in event names -- style: Simplify code; fix typos in comments -- gitignore: Update with missing and renamed generated files -- dirsize: Skip dirs in which sosreport is being generated -- tests: Fix Python tests being skipped unconditionally -- Remove Python 2 support +* Fri May 03 2013 Jakub Filak 2.1.4-2 +- update translation +- reporter-bugzilla: provide version of libreport -* Thu Oct 03 2019 Miro Hrončok - 2.10.1-4 -- Rebuilt for Python 3.8.0rc1 (#1748018) +* Mon Apr 29 2013 Jakub Filak 2.1.4-1 +- support /etc/os-release +- added flag to not retry locking the incomplete problem dir +- ureport: save solutions in not-reportable item +- wizard: make value column click-sortable too +- wizard: fix clickability of the item list column header +- wizard: eliminate evd->error_msg member +- wizard: remove a bunch of evd->foo members +- debuginfo downloader should enable repos matching *debug* closes #138 +- Replace "THANKYOU" with EXIT_STOP_EVENT_RUN exit code (70) +- debuginfo downloader: fix DebugInfoDownload::download() error paths. +- report-gtk: handle user cancellation gracefully +- logging: refine errors reporting +- emit a message when searching bugzilla for duplicates closes #151 +- reporter-upload: create tarball with the name based on directory's name +- reporter-rhtsupport: generate archive name from problem dir name +- added report-cli event for anaconda should help with rhbz#950544 +- ss: skip option holding NULL values +- spec: added new event for anaconda reporting rhbz#926916 +- distinguish the event configuration by problem type in the UI closes #149 +- report-gtk: show Next Step btn at workflow start +- curl upload helper: upload data with "application/octet-stream" content type +- reporter-rhtsupport: fix hint query to use correct URL -* Sat Aug 17 2019 Miro Hrončok - 2.10.1-3 -- Rebuilt for Python 3.8 +* Thu Apr 4 2013 Jiri Moskovcak 2.1.3-2 +- fixed reporting from anaconda +- Resolves: #926916 -* Thu Jul 25 2019 Fedora Release Engineering - 2.10.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild +* Wed Mar 27 2013 Jakub Filak 2.1.3-1 +- rhbz: get id of duplicate from correct field +- change the "exited with" message with something less technical closes #143 +- Integration with satyr +- dump_dir_accessible_by_uid(): clear errno if error didn't occur +- reporter-rhtsupport: improve logging +- reporter-rhtsupport: upload file to BigFileURL if it is large +- dd: document used errno values in dump_dir_accessible_by_uid() +- add rhel package with appropriate workflow definitions +- add workflow definitions for RHEL +- improve is_text_file() to not treat valid Unicode as bad_chars +- reporter-rhtsupport: fix double-free error +- reporter-upload: move file upload function to lib/ +- reporter-upload: factor out HTTP PUT upload +- reporter-rhtsupport: skip hints check if uploaded data is really large +- reporter-rhtsupport: make -t[CASE_ID] work without FILEs. Closes #140 +- reporter-rhtsupport: factor out tarball creation +- RHTS support: regularize order of functions and comments +- fread_with_reporting: make progress indicator less noisy +- report-gtk: update excluded elements check boxes before emergency analysis event +- Resolves: #921941 -* Wed Jul 03 2019 Martin Kutlak 2.10.1-1 -- doc: Makefile.am: Use correct path for --conf-file -- lib: copy_file_recursive: Use GLib abstractions -- gui-wizard-gtk: Fix fix -- cli: run-command: Replace use of vfork() with fork() -- plugins: rhbz: Don’t call strlen() on attachment data -- Check for empty fmt_file name when printing error msgs -- cli: Unpack command-line argument parsing logic -- lib: event_config: Remove pointless assignment -- gui-wizard-gtk: Fix never-read assignment -- lib: xatonum: Check string parameters -- Rework and refine composition of error messages -- Add clearer warnings about missing report elements specified in format files -- Move uReport workflow to plugin-ureport subpackage -- lib: ureport: Export workflow when saving server response -- lib: dump_dir: Clean up on failure in dd_delete() -- Use #ifdef to check whether macros are defined -- autogen.sh: Use autoreconf -- autogen.sh: Allow skipping running configure -- tests: forbidden_words: Don’t hardcode sysconfdir -- Makefile.am: Use correct locale when getting date +* Fri Mar 22 2013 Jakub Filak 2.1.2-2 +- add a patch which fixes a problem with empty archives in emergency analysis -* Tue Apr 23 2019 Ernestas Kulik - 2.10.0-3 -- Add patch to fix workflow fields not being added to reported_to when μReport response comes with a Bugzilla URL +* Tue Mar 19 2013 Jakub Filak 2.1.2-1 +- always treat os-release as textual related to rhbz#922433 +- is_text_file(): bump allowable non-ASCII chars from 2%% to 10%%. Closes rhbz#922433 +- report-gtk: don't clear warnings after reporting is finished +- report-gtk: show tabs only in verbose expert mode +- report-gtk: prettify the workflow buttons rhbz#917694 +- report-gtk: add a button to report reporting failures +- uReport: do not show URL twice in error output +- uReport: detect missing type field at client side +- uReport: add more explanatory message when upload fails +- uReport: improve messages. Closes #579 +- workflows: a less confusing event name for reporting to Fedora infrastructure +- workflows: correct an event name for reporting to Fedora in anaconda config +- fixed workflow localization closes #137 +- run_event_state: expose children_count in python wrapper +- add the proxy options to the addvanced section of event configurations +- don't suid before running yum related to rhbz#759443 +- update translation +- ss: stop reconnecting to the session bus +- ss: destroy all timeout GSources attached to the main context +- ss: add a timeout to the waiting for the Completed signal +- dd: convert time at lock time +- spawn_next_command: make process group creation optional +- fork_execv_on_steroids: fix close/move order of fds, move getpwuid out of fork +- problem API: generate UUID if is missing instead of DUPHASH +- fix logic of 'Dont ask me again' dialogues (stop returning true for all options) +- make [p]error_msg[_and_die] more fork-in-multithreaded-app safe +- Make forking code paths more robust. +- curl_debug: fix use of "%%.*s" (need to pass an int, not size_t) +- curl_debug: prettify debug output +- Resolves: #871126, #885055, #890778, #901467, #916389, #917684, #917694, #919536, #922433, #923117 -* Mon Feb 04 2019 Ernestas Kulik - 2.10.0-2 -- Remove unused patch +* Thu Feb 07 2013 Jakub Filak 2.1.1-1 +- move 'reporter-mailx' from post-create event to notify(-dup) event +- reporter-bugzilla: use base64 XMLRPC type for encoded data instead of string type +- ureport: fix extra quoting when reporting error messages +- Resolves: #908210 -* Sat Feb 02 2019 Ernestas Kulik - 2.10.0-1 -- Update to 2.10.0 -- Bump GLib dependency -- Add patch to work around issue with test +* Tue Feb 05 2013 Jakub Filak 2.1.0-2 +- configure libreport to be in conflict with abrt < 2.1.0 + +* Mon Feb 04 2013 Jakub Filak 2.1.0-1 +- dd: unify error handling in save_binary_file() +- dd_sanitize: don't sanitize symlinks +- rpm: preserve old configuration for 2.0.20-2 +- don't require recordmydesktop on rhel + +* Wed Dec 19 2012 Jiri Moskovcak 2.0.20-1 +- New version 2.0.20 +- updated po files +- add abrt-screencast to POTFILES.in +- added screen casting support to the wizard +- fix memory leaks in workflow code +- report_problem_in_dir(): make LIBREPORT_DEL_DIR work +- add Yes/No dialog saving answer +- refactor: move ask_yes_no_save_result from wizard to libreport-gtk +- added anaconda workflows rhbz#885690 +- report-python: export dd_delete_item too +- report-python: export DD_OPEN_READONLY too +- strtrimch: optimize it a bit +- show only workflows applicable to actual problem directory +- report-gtk: destroy global text cache only once +- change rules for FILENAME_NOT_REPORTABLE to always include trailing period. +- ask for BZ login/BZ pwd if Login attempt failed +- ask for BZ login/BZ password if not provided by conf +- remove new line from ask/ask_password responses +- add ask_yes_no_yesforever() to Python client API +- make client API independent on translation +- run_event: use client functions for the communication callbacks +- clean the workflow buttons when refreshing the event page +- Fix a bug - inverted check for failed rename() call +- wrap the not_reportable label .trac#908 +- don't show events without configuration in preferences .trac#881 +- - implemented saving/loading configuratio for workflows - related to trac#822 +- reporter-bz: add AVC's description added to BZ comment +- add microseconds to dump dir name (problem ID) +- teach reporter-bugzilla to read BZ ID from reported_to element +- teach reporter-bugzilla to add reporter to CC +- introduce a function deleting dd's element +- introduce a function getting no. of Bytes of dd's element +- make event config name immutable +- fixed segv in the last commit +- made struct workflow private related to trac#822 +- don't show the spinner if the problem is not reportable trac#852 +- made the config_item_info structure private +- added workflows trac#822 +- added x,--expert cmdline option to enable expert mode +- switch comment and event selector page +- use get_ and set_ functions to access event_config_t +- reporter-bz: don't return NULL on %%non_existing_item%% - use "" instead +- refactoring the xml and conf loader code related to trac#822 +- reporter-bugzilla: add a --debug option +- reporter-bz: fix a summary line formatting bug +- let logging_callback and post_run_callback members be None +- expose make_run_event_state_forwarding() in Python API +- reporter-bz: change syntax of bugzilla_format_*.conf to require "text::", not "text:" +- reporter-bz: add support for line continuation and simple text in bugzilla_format*.conf + +* Mon Dec 03 2012 Jakub Filak 2.0.19-3 +- add a description of AVC to bugzilla comment 0 + +* Mon Nov 26 2012 Jakub Filak 2.0.19-2 +- fix bugzilla summary formatting +- Resolves: #879846 + +* Wed Nov 14 2012 Jakub Filak 2.0.19-1 +- introduce a new formating feature for Bugzilla plugin +- use gtk_show_uri() instead of own launcher +- update kerneloops urls +- don't force the minimal rating trac#854 +- add support for forwarding of report client requests +- fix i18n in event client communication protocol +- add event name to the error message - can't get secret item +- switch all load_conf_file() calls to use skipKeysWithoutValue=false +- hide the spinner when the event processing is finishes trac#852 +- add a method for loading of configuration of a single event +- unlock secret collection only on meaningful demand +- fix secret item look up for gnome-keyring + +* Thu Nov 01 2012 Jakub Filak 2.0.18-1 +- reporter-bz: tighten up checking that BZ server gave us its version; fix recently broken settings parsing +- reporter-bz: make selinux-policy special case controllable from config file +- reporter-bz: if we create a new bug but cross-version dup exists, add a note +- reporter-bz: make rhbz_search_duphash static, use it more widely + +* Wed Oct 24 2012 Jakub Filak 2.0.17-1 +- update CWD after stealing of a dump directory +- get product/version from system configuration +- shorten bz summary if its length exceeds 255 chars +- add full kerneloops to the uReport +- reporter-bz: require bz version match when searching for dups. Closes rhbz#849833 +- reporter-bz: eliminate bugzilla_struct::b_product - use auto var instead +- Move struct bugzilla_struct to its only user, reporter-bugzilla.c +- reporter-bz: do not needlessly open dd if -f; assorted small fixes +- added relro to reportclient.so and _pyreport.so rhbz#812283 +- bz reporter: include ROOTDIR, OS_RELEASE_IN_ROOTDIR, EXECUTABLE elements +- Fix report-newt segfault +- Resolves: #741647, #812283, #849833, #867118, #869032 + +* Thu Oct 11 2012 Jakub Filak 2.0.16-1 +- expand events from a chain and process expanded events separately +- report-gtk: move selection of event to a right place +- fix a crash while report-gtk startup (use the correct variable) +- wizard: allow "non-reportable" reporting for experts; disallow it for non-experts +- fix typo in function name, remove unnecessary forward declaratioins +- wizard: fix a thinko in last commit (thanks Jakub) +- wizard: check for NON_REPORTABLE file, stop if it exists.FILE +- wizard: remove unnecessary if (1) {...} block. No code changes +- don't update the selected event while processing it +- check D-Bus err name without leaking nor crashing +- ureport: always include offset +- add Makefile target release-fix +- Resolves: #864803, #864803, #863595 + +* Fri Oct 05 2012 Jakub Filak 2.0.15-1 +- remove unnecessary flag from words highlighting functions +- report-gtk: rework forbidden words highlighting +- add xmalloc_fopen_fgetline_fclose helper for reading one-line files +- update GUI before highlighting of forbidden words +- clear warnings after switching to a next page +- tweak conditions in show next forbidden word functions +- reporter-ureport: respect chrooted os_release +- Fix typos. +- rhbz#861679: report-gtk: immediately release dump directory lock +- add a few helpers for reading files as one malloced block + +* Fri Sep 21 2012 Jiri Moskovcak 2.0.14-1 +- added error callback to get notification about download failure rhbz#786640 +- rhbz#767186: show a link to a page describing the ABRT configuration +- spec: silence rpmdiff rhbz#857425 +- don't show the credential in logs rhbz#856960 +- rhbz#852165: warn if adding commands without any rule condition +- rhbz#851855: process ureport server errors correctly +- reporter-bugzilla: fix adding users to CC. (Partially?) closes rhbz#841338 +- Resolves: #786640, #767186, #857425, #856960, #852165, #851855, #841338 + +* Wed Aug 29 2012 Jakub Filak 2.0.13-2 +- increment the release number due to rebuild for F17 package + +* Tue Aug 21 2012 Jakub Filak 2.0.13-1 +- rhbz#741255: don't autodetect executable for sealert reports +- reporter-ureport: save backtrace hash to reported_to +- trac#683: show the description file in bugzilla comment 0 +- trac#684: report-gtk saves only loaded files +- reporter-ureport: allow sending attachments +- event_config_dialog: make it resizable; tweak Uploader hint +- add python binding for problem_data_send_to_abrt +- reporter-ureport: attach bug ID from reported_to +- reporter-ureport: make configurable only URL to a server +- Resolves: #741255 + +* Wed Aug 15 2012 Jakub Filak 2.0.12-5 +- rhbz#741255: don't autodetect executable for sealert reports +- show message from the server for known uReports +- trac#678: reporter-bugzilla: do not attach empty files +- Resolves: #741255 + +* Tue Aug 14 2012 Jakub Filak 2.0.12-4 +- rhbz#846389: generate koops description according to rhbz std template +- trac#556: skip not provided bz bug description template fields +- report-gtk: don't log THANKYOU message +- added internal_libreport.h into POTFILES.in rhbz#801255 +- updated po files +- Resolves: #801255, #846389 + +* Fri Aug 10 2012 Jakub Filak 2.0.12-3 +- wizard: small changes to message texts and one function name +- trac#623: dd_opendir() fails if time file doesn't contain valid time stamp +- trac#660: report-cli asks for premission to send sensitive data +- trac#660: report-gtk asks for permission to send sensitive data +- trac#660: report-gtk: introduce generic ask_yes_no() function for options +- trac#660: add support for sendining-sensitive-data event option +- Do not check for analyzer == "Kerneloops" when appending "TAINTED" msg +- fix leaks in list_possible_events() + +* Tue Aug 7 2012 Jakub Filak 2.0.12-2 +- report-gtk: fixed bug in automatic running of next event +- don't try to delete dump dir which doesn't exist rhbz#799909 +- Resolves: #799909 + +* Fri Aug 3 2012 Jakub Filak 2.0.12-1 +- new upstream release +- trac#642: run the next event if the current one finished without errors +- trac#641: don't allow event chain to continue, if user don't want to steal a directory +- trac#640: report-gtk replaces 'Forward' button with 'Close' button on finished reporting +- Fix bugs uncovered by Coverity. Closes rhbz#809416 +- Resolves: #809416 + +* Tue Jul 31 2012 Jiri Moskovcak 2.0.11-1 +- new upstream release + +* Thu Jul 19 2012 Fedora Release Engineering - 2.0.10-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jun 01 2012 Jiri Moskovcak 2.0.10-4 +- fixed build on rhel7 + +* Mon May 14 2012 Jiri Moskovcak 2.0.10-3 +- fixed compatibility with bugzilla 4.2 +- Resolved: #820985, #795548 + +* Mon Apr 02 2012 Jiri Moskovcak 2.0.10-2 +- added cgroups filename define + +* Mon Mar 26 2012 Jiri Moskovcak 2.0.10-1 +- updated to latest upstream + +* Mon Jan 23 2012 Dan Horák - 2.0.8-6 +- rebuilt for json-c-0.9-4.fc17 + +* Fri Jan 13 2012 Fedora Release Engineering - 2.0.8-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Dec 20 2011 Nikola Pajkovsky 2.0.8-4 +- 768647 - [abrt] libreport-plugin-bugzilla-2.0.8-3.fc16: libreport_xatou: + Process /usr/bin/reporter-bugzilla was killed by signal 11 (SIGSEGV) + +* Fri Dec 09 2011 Jiri Moskovcak 2.0.8-3 +- fixed few crashes in bodhi plugin + +* Thu Dec 08 2011 Jiri Moskovcak 2.0.8-2 +- fixed crash in bodhi plugin +- re-upload better backtrace if available +- fixed dupe finding for selinux +- don't duplicate comments in bugzilla +- fixed problem with empty release + +* Tue Dec 06 2011 Jiri Moskovcak 2.0.8-1 +- new version +- added bodhi plugin rhbz#655783 +- one tab per file on details page rhbz#751833 +- search box search thru all data (should help with privacy) rhbz#748457 +- fixed close button position rhbz#741230 +- rise the attachment limit to 4kb rhbz#712602 +- fixed make check (rpath problem) +- save chnages in editable lines rhbz#710100 +- ignore backup files rhbz#707959 +- added support for proxies rhbz#533652 +- Resolves: 753183 748457 737991 723219 712602 711986 692274 636000 631856 655783 741257 748457 741230 712602 753183 748457 741230 712602 710100 707959 533652 + +* Sat Nov 05 2011 Jiri Moskovcak 2.0.7-2 +- bumped release + +* Fri Nov 04 2011 Jiri Moskovcak 2.0.7-1 +- new version +- added support for bodhi (preview) +- dropped unused patches +- reporter-bugzilla/rhts: add code to prevent duplicate reporting. Closes rhbz#727494 (dvlasenk@redhat.com) +- wizard: search thru all items + tabbed details rhbz#748457 (jmoskovc@redhat.com) +- wizard: add "I don't know what caused this problem" checkbox. Closes rhbz#712508 (dvlasenk@redhat.com) +- reporter-bugzilla: add optional 'Product' parameter. Closes rhbz#665210 (dvlasenk@redhat.com) +- rhbz#728190 - man pages contain suspicious version string (npajkovs@redhat.com) +- reporter-print: expand leading ~/ if present. Closes rhbz#737991 (dvlasenk@redhat.com) +- reporter-rhtsupport: ask rs/problems endpoint before creating new case. (working on rhbz#677052) (dvlasenk@redhat.com) +- reporter-mailx: use Bugzilla's output format. Closes rhbz#717321. (dvlasenk@redhat.com) +- report-newt: add option to display version (rhbz#741590) (mlichvar@redhat.com) +- Resolves: #727494 #748457 #712508 #665210 rhbz#728190 #737991 #677052 #717321 #741590 + +* Fri Oct 07 2011 Nikola Pajkovsky 2.0.6-2 +- refuse reporting when not reportable file exist + +* Mon Oct 03 2011 Jiri Moskovcak 2.0.6-1 +- updated to the latest upstrem +- just a bug fixing release + +* Mon Sep 26 2011 Jiri Moskovcak 2.0.5.982-1 +- re-fix rhbz#730887 +- re-fixed prgname (nice icons in gnome3) rhbz#741231 +- Resolves: #741231 #730887 + +* Thu Sep 22 2011 Jiri Moskovcak 2.0.5-9 +- don't allow sending reports with bad rating rhbz#672023 +- don't allow reporting without duphash rhbz#739182 +- tell users to fill out reports in English rhbz#734037 +- fixed config for kerneloops reporter rhbz#731189 +- Resolves: #672023 #739182 #734037 #731189 + +* Fri Sep 09 2011 Jiri Moskovcak 2.0.5-8 +- allow bugzilla to send binary files +- Related: #733448 + +* Tue Aug 30 2011 Jiri Moskovcak 2.0.5-7 +- added glob support to event xml files +- changed handling of long text files +- added a simple editor as a fallback when no editor is installed (i.e in anaconda) rhbz#728479 +- Resolves: #733448 #728479 + +* Tue Aug 16 2011 Jiri Moskovcak 2.0.5-6 +- improved release parsing rhbz#730887 +- Resolves: #730887 + +* Fri Aug 12 2011 Jiri Moskovcak 2.0.5-5 +- more anaconda fixes +- Resolves: #729537 + +* Tue Aug 02 2011 Jiri Moskovcak 2.0.5-4 +- silent keyring warning rhbz#692433 +- further improvements to Anaconda compatibility + +* Fri Jul 29 2011 Jiri Moskovcak 2.0.5-3 +- enable bugzilla reporter for analyzer=libreport rhbz#725970 +- improved compatibility with anaconda + +* Thu Jul 21 2011 Jiri Moskovcak 2.0.5-2 +- obsolete report in rawhide properly rhbz#723320 +- added button to add attachments +- ignore backup files +- improved support for interactive plugins +- added description text for logger +- added python bindings for interactive plugins +- Resolves: #723320 + +* Mon Jul 18 2011 Jiri Moskovcak 2.0.5-1 +- move reporter plugins from abrt to libreport +- fixed provides/obsolete to properly obsolete report package +- wizard: make more fields editable + +* Mon Jul 11 2011 Jiri Moskovcak 2.0.4-3 +- bump release + +* Mon Jun 27 2011 Jiri Moskovcak 2.0.4-2 +- removed Provides/Obsoletes: report-gtk + +* Mon Jun 20 2011 Jiri Moskovcak 2.0.4-1 +- new upstream release +- cleaned some header files + +* Thu Jun 16 2011 Jiri Moskovcak 2.0.3-1 +- added report-cli +- updated translation + +* Wed Jun 01 2011 Jiri Moskovcak 2.0.2-1 +- initial packaging diff --git a/sources b/sources index 3f8648a..5b6fff1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libreport-2.17.15.tar.gz) = a4707f5272f037f91b4f4b562d3f0eb165ae7790699714accdd1af40216f37bd40d430a06925b1b7b8ac2d2cf97fd0cc4efded51dc22d21d9ef2abedf796e5fe +ea9f74ea86ed03a1bae6173e753d6cd8 libreport-2.8.0.tar.gz diff --git a/tests/library-smoke.sh b/tests/library-smoke.sh deleted file mode 100755 index ed1322f..0000000 --- a/tests/library-smoke.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/bash - -gcc -x c -o smoke_test -lreport -Wno-implicit-function-declaration - < -int main(void) { - libreport_init(); - printf("libreport initialized OK\n"); - return 0; -} -EOF -./smoke_test diff --git a/tests/smoke.fmf b/tests/smoke.fmf deleted file mode 100644 index e872709..0000000 --- a/tests/smoke.fmf +++ /dev/null @@ -1,15 +0,0 @@ -summary: Basic smoke test for libreport -prepare: - how: install - # Do not attempt to install conflicting subpackages. - exclude: - - abrt-atomic - - abrt-java-connector-container - - python3-abrt-container-addon - # Prerequisite for smoke testing liblibreport. - package: - - gcc -execute: - script: | - tests/library-smoke.sh - report-cli --version