From b57c294d784163fbb32ff5ac859c1a465187dd17 Mon Sep 17 00:00:00 2001 From: Ernestas Kulik Date: Tue, 23 Apr 2019 08:34:18 +0200 Subject: [PATCH 01/16] Add patch to add workflow field when saving FAF response Needed to make one Cockpit test pass. Signed-off-by: Ernestas Kulik --- ...rt-workflow-when-saving-server-respo.patch | 44 +++++++++++++++++++ libreport.spec | 6 ++- 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 0001-lib-ureport-Export-workflow-when-saving-server-respo.patch diff --git a/0001-lib-ureport-Export-workflow-when-saving-server-respo.patch b/0001-lib-ureport-Export-workflow-when-saving-server-respo.patch new file mode 100644 index 0000000..a09575b --- /dev/null +++ b/0001-lib-ureport-Export-workflow-when-saving-server-respo.patch @@ -0,0 +1,44 @@ +From f2d98e0ee81037f18e50c06e409def19e791c2f2 Mon Sep 17 00:00:00 2001 +From: Ernestas Kulik +Date: Wed, 17 Apr 2019 13:24:19 +0200 +Subject: [PATCH] lib: ureport: Export workflow when saving server response + +Oversight from 779b16202c3fe990f6ecda17085c436899340e12. + +Signed-off-by: Ernestas Kulik +--- + src/lib/ureport.c | 18 +++++++++++++++++- + 1 file changed, 17 insertions(+), 1 deletion(-) + +diff --git a/src/lib/ureport.c b/src/lib/ureport.c +index cc18aefd..a5953244 100644 +--- a/src/lib/ureport.c ++++ b/src/lib/ureport.c +@@ -680,7 +680,23 @@ ureport_server_response_save_in_dump_dir(struct ureport_server_response *resp, + if (resp->urr_reported_to_list) + { + for (GList *e = resp->urr_reported_to_list; e; e = g_list_next(e)) +- add_reported_to(dd, e->data); ++ { ++ char *workflow; ++ ++ workflow = getenv("LIBREPORT_WORKFLOW"); ++ if (NULL == workflow) ++ { ++ add_reported_to(dd, e->data); ++ } ++ else ++ { ++ g_autofree char *line = NULL; ++ ++ line = g_strdup_printf("%s WORKFLOW=%s", (const char *)e->data, workflow); ++ ++ add_reported_to(dd, line); ++ } ++ } + } + + if (resp->urr_solution) +-- +2.21.0 + diff --git a/libreport.spec b/libreport.spec index 321785e..82f4170 100644 --- a/libreport.spec +++ b/libreport.spec @@ -29,11 +29,12 @@ Summary: Generic library for reporting various problems Name: libreport Version: 2.10.0 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz +Patch0: 0001-lib-ureport-Export-workflow-when-saving-server-respo.patch BuildRequires: %{dbus_devel} BuildRequires: gtk3-devel @@ -814,6 +815,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog +* 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 + * Mon Feb 04 2019 Ernestas Kulik - 2.10.0-2 - Remove unused patch From edce2024ccea1ac1909882ef6d318ab4a69d7454 Mon Sep 17 00:00:00 2001 From: Martin Kutlak Date: Wed, 3 Jul 2019 12:44:33 +0200 Subject: [PATCH 02/16] New upstream release 2.10.1 * Remove gen-version from spec - This is upstream script to generate version. This is not needed in dist-git. [2.10.1] - 2019-07-03 Changed - Clearer warnings about missing report elements. - Export workflow when saving server response. - uReport workflow moved to plugin-ureport subpackage. - Refined composition of error messages during problem reporting. Fixed - Fixed dump dir lock up in case of delete failure. Signed-off-by: Martin Kutlak --- .gitignore | 1 + ...rt-workflow-when-saving-server-respo.patch | 44 ------------------- libreport.spec | 38 ++++++++++++---- sources | 2 +- 4 files changed, 32 insertions(+), 53 deletions(-) delete mode 100644 0001-lib-ureport-Export-workflow-when-saving-server-respo.patch diff --git a/.gitignore b/.gitignore index 50a2b87..7c0c165 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /libreport-2.9.6.tar.gz /libreport-2.9.7.tar.gz /libreport-2.10.0.tar.gz +/libreport-2.10.1.tar.gz diff --git a/0001-lib-ureport-Export-workflow-when-saving-server-respo.patch b/0001-lib-ureport-Export-workflow-when-saving-server-respo.patch deleted file mode 100644 index a09575b..0000000 --- a/0001-lib-ureport-Export-workflow-when-saving-server-respo.patch +++ /dev/null @@ -1,44 +0,0 @@ -From f2d98e0ee81037f18e50c06e409def19e791c2f2 Mon Sep 17 00:00:00 2001 -From: Ernestas Kulik -Date: Wed, 17 Apr 2019 13:24:19 +0200 -Subject: [PATCH] lib: ureport: Export workflow when saving server response - -Oversight from 779b16202c3fe990f6ecda17085c436899340e12. - -Signed-off-by: Ernestas Kulik ---- - src/lib/ureport.c | 18 +++++++++++++++++- - 1 file changed, 17 insertions(+), 1 deletion(-) - -diff --git a/src/lib/ureport.c b/src/lib/ureport.c -index cc18aefd..a5953244 100644 ---- a/src/lib/ureport.c -+++ b/src/lib/ureport.c -@@ -680,7 +680,23 @@ ureport_server_response_save_in_dump_dir(struct ureport_server_response *resp, - if (resp->urr_reported_to_list) - { - for (GList *e = resp->urr_reported_to_list; e; e = g_list_next(e)) -- add_reported_to(dd, e->data); -+ { -+ char *workflow; -+ -+ workflow = getenv("LIBREPORT_WORKFLOW"); -+ if (NULL == workflow) -+ { -+ add_reported_to(dd, e->data); -+ } -+ else -+ { -+ g_autofree char *line = NULL; -+ -+ line = g_strdup_printf("%s WORKFLOW=%s", (const char *)e->data, workflow); -+ -+ add_reported_to(dd, line); -+ } -+ } - } - - if (resp->urr_solution) --- -2.21.0 - diff --git a/libreport.spec b/libreport.spec index 82f4170..be51c50 100644 --- a/libreport.spec +++ b/libreport.spec @@ -28,14 +28,12 @@ Summary: Generic library for reporting various problems Name: libreport -Version: 2.10.0 -Release: 3%{?dist} +Version: 2.10.1 +Release: 1%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz -Patch0: 0001-lib-ureport-Export-workflow-when-saving-server-respo.patch - BuildRequires: %{dbus_devel} BuildRequires: gtk3-devel BuildRequires: curl-devel @@ -312,6 +310,7 @@ install this package and you're done. %package rhel Summary: Default configuration for reporting bugs via Red Hat infrastructure Requires: %{name} = %{version}-%{release} +Requires: %{name}-plugin-ureport %description rhel Default configuration for reporting bugs via Red Hat infrastructure @@ -365,7 +364,6 @@ data over ftp/scp... %autosetup -S git %build -./gen-version autoreconf -if intltoolize --automake -c -f @@ -642,6 +640,11 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man5/ureport.conf.5.gz %{_datadir}/%{name}/events/report_uReport.xml %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.ureport.xml +%if 0%{?rhel} +%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uReport.conf +%{_datadir}/%{name}/workflows/workflow_uReport.xml +%{_mandir}/man5/report_uReport.conf.5.* +%endif %if %{with bugzilla} %files plugin-bugzilla @@ -772,12 +775,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/%{name}/workflows/workflow_RHELAddDatavmcore.xml %{_datadir}/%{name}/workflows/workflow_RHELAddDataxorg.xml %{_datadir}/%{name}/workflows/workflow_RHELAddDataJavaScript.xml -%{_datadir}/%{name}/workflows/workflow_uReport.xml %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel.conf %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_add_data.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 %{_datadir}/%{name}/workflows/workflow_RHELBugzillaCCpp.xml @@ -815,6 +815,28 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog +* 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 + * 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 diff --git a/sources b/sources index 948e33d..8632440 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libreport-2.10.0.tar.gz) = 978ea442d82b75abf80b2075f540cb05c5577387a9221f2070c9695c4546d36169738d223f5e903d0b774b7e1566a6111c55a6bb51a0822ad1676095f067c45b +SHA512 (libreport-2.10.1.tar.gz) = 9c110b7a5f0e3803d12b7ea05eaf47b3a37592612f0107ed7e6604168d283a09bf3d08b805b415ec90772498062b742814cbf86a8b9ea0f4cc5ff774a77d9671 From 5439b8a62f99e45b0060dc165814448eb207c513 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Fri, 11 Oct 2019 15:08:34 +0200 Subject: [PATCH 03/16] New upstream release 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matěj Grabovský --- .gitignore | 1 + libreport.spec | 109 ++++++++++++++++--------------------------------- sources | 2 +- 3 files changed, 38 insertions(+), 74 deletions(-) diff --git a/.gitignore b/.gitignore index 7c0c165..adce7e2 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /libreport-2.9.7.tar.gz /libreport-2.10.0.tar.gz /libreport-2.10.1.tar.gz +/libreport-2.11.0.tar.gz diff --git a/libreport.spec b/libreport.spec index be51c50..9c72078 100644 --- a/libreport.spec +++ b/libreport.spec @@ -12,38 +12,18 @@ %define glib_ver 2.43.4 -%if 0%{?fedora} || 0%{?rhel} > 7 -# Enable python3 build by default -%bcond_without python3 -%else -%bcond_with python3 -%endif - -%if 0%{?rhel} > 7 || 0%{?fedora} > 28 -# Disable python2 build by default -%bcond_with python2 -%else -%bcond_without python2 -%endif - Summary: Generic library for reporting various problems Name: libreport -Version: 2.10.1 +Version: 2.11.0 Release: 1%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz - BuildRequires: %{dbus_devel} BuildRequires: gtk3-devel BuildRequires: curl-devel BuildRequires: desktop-file-utils -%if %{with python2} -BuildRequires: python2-devel -%endif # with python2 -%if %{with python3} BuildRequires: python3-devel -%endif # with python3 BuildRequires: gettext BuildRequires: libxml2-devel BuildRequires: libtar-devel @@ -115,22 +95,6 @@ Requires: libreport-web = %{version}-%{release} %description web-devel Development headers for libreport-web -%if %{with python2} -%package -n python2-libreport -Summary: Python bindings for report-libs -Requires: libreport = %{version}-%{release} -Requires: python2-dnf -%{?python_provide:%python_provide python2-libreport} -# Remove before F30 -Provides: %{name}-python = %{version}-%{release} -Provides: %{name}-python%{?_isa} = %{version}-%{release} -Obsoletes: %{name}-python < %{version}-%{release} - -%description -n python2-libreport -Python bindings for report-libs. -%endif # with python2 - -%if %{with python3} %package -n python3-libreport Summary: Python 3 bindings for report-libs %if 0%{?_module_build} @@ -146,14 +110,9 @@ Requires: libreport = %{version}-%{release} %endif Requires: python3-dnf %{?python_provide:%python_provide python3-libreport} -# Remove before F30 -Provides: %{name}-python3 = %{version}-%{release} -Provides: %{name}-python3%{?_isa} = %{version}-%{release} -Obsoletes: %{name}-python3 < %{version}-%{release} %description -n python3-libreport Python 3 bindings for report-libs. -%endif # with python3 %package cli Summary: %{name}'s command line interface @@ -177,7 +136,6 @@ bugs Summary: GTK front-end for libreport Requires: libreport = %{version}-%{release} Requires: libreport-plugin-reportuploader = %{version}-%{release} -Requires: fros >= 1.0 Provides: report-gtk = 0:0.23-1 Obsoletes: report-gtk < 0:0.23-1 @@ -257,12 +215,7 @@ BuildRequires: %{libjson_devel} Requires: %{name} = %{version}-%{release} Requires: libreport-web = %{version}-%{release} %if 0%{?rhel} -%if %{with python2} -Requires: python-rhsm -%endif # with python2 -%if %{with python3} Requires: python3-subscription-manager-rhsm -%endif # with python3 %endif %description plugin-ureport @@ -364,16 +317,9 @@ data over ftp/scp... %autosetup -S git %build -autoreconf -if -intltoolize --automake -c -f +autoconf -%configure \ -%if %{without python2} - --without-python2 \ -%endif # with python2 -%if %{without python3} - --without-python3 \ -%endif # with python3 +CFLAGS="%{optflags} -Werror" %configure \ %if %{without bugzilla} --without-bugzilla \ %endif @@ -492,6 +438,7 @@ fi %posttrans gtk gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + %endif %files -f %{name}.lang @@ -533,6 +480,7 @@ 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 @@ -540,7 +488,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_includedir}/libreport/problem_details_widget.h %{_includedir}/libreport/problem_details_dialog.h %{_includedir}/libreport/problem_utils.h -%{_includedir}/libreport/report_result.h %{_includedir}/libreport/ureport.h %{_includedir}/libreport/reporters.h %{_includedir}/libreport/global_configuration.h @@ -562,17 +509,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_includedir}/libreport/libreport_curl.h %{_libdir}/pkgconfig/libreport-web.pc -%if %{with python2} -%files -n python2-libreport -%{python2_sitearch}/report/ -%{python2_sitearch}/reportclient/ -%endif # with python2 - -%if %{with python3} %files -n python3-libreport %{python3_sitearch}/report/ %{python3_sitearch}/reportclient/ -%endif # with python3 %files cli %{_bindir}/report-cli @@ -585,9 +524,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files gtk %{_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 @@ -621,7 +557,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %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 @@ -639,7 +574,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man1/reporter-ureport.1.gz %{_mandir}/man5/ureport.conf.5.gz %{_datadir}/%{name}/events/report_uReport.xml -%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.ureport.xml %if 0%{?rhel} %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uReport.conf %{_datadir}/%{name}/workflows/workflow_uReport.xml @@ -653,12 +587,12 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %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.* @@ -667,6 +601,7 @@ 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 %endif @@ -710,7 +645,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/%{name}/conf.d/plugins/rhtsupport.conf %{_datadir}/%{name}/events/report_RHTSupport.xml %{_datadir}/%{name}/events/report_RHTSupport_AddData.xml -%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.rhtsupport.xml %if 0%{?rhel} %attr(600,root,root)%{_sysconfdir}/%{name}/cert-api.access.redhat.com.pem %endif @@ -815,6 +749,35 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog +* 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 + +* Thu Oct 03 2019 Miro Hrončok - 2.10.1-4 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Sat Aug 17 2019 Miro Hrončok - 2.10.1-3 +- Rebuilt for Python 3.8 + +* Thu Jul 25 2019 Fedora Release Engineering - 2.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * 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 diff --git a/sources b/sources index 8632440..c84495f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libreport-2.10.1.tar.gz) = 9c110b7a5f0e3803d12b7ea05eaf47b3a37592612f0107ed7e6604168d283a09bf3d08b805b415ec90772498062b742814cbf86a8b9ea0f4cc5ff774a77d9671 +SHA512 (libreport-2.11.0.tar.gz) = 6ca2e6d8f9e1c8fc09ab4eabc2cb7277be38eeda7982724e346fe830a67162bf6e49f1d420336df3924ffba70e06a7f92dc2a6e41cdad332603315b5f6684143 From 9d69afbebb8d7f62e7cee48209137efd48114420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Wed, 16 Oct 2019 11:02:05 +0200 Subject: [PATCH 04/16] New upstream release 2.11.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matěj Grabovský --- .gitignore | 1 + libreport.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index adce7e2..bf8161e 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /libreport-2.10.0.tar.gz /libreport-2.10.1.tar.gz /libreport-2.11.0.tar.gz +/libreport-2.11.1.tar.gz diff --git a/libreport.spec b/libreport.spec index 9c72078..d5abe7f 100644 --- a/libreport.spec +++ b/libreport.spec @@ -14,7 +14,7 @@ Summary: Generic library for reporting various problems Name: libreport -Version: 2.11.0 +Version: 2.11.1 Release: 1%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ @@ -749,6 +749,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog +* Wed Oct 16 2019 Matěj Grabovský 2.11.1-1 +- gtk: Fix a double-free condition + * Fri Oct 11 2019 Matěj Grabovský 2.11.0-1 - Remove option for emergency analysis/reporting - tests: proc_helpers: Fix call to errx() diff --git a/sources b/sources index c84495f..5694e78 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libreport-2.11.0.tar.gz) = 6ca2e6d8f9e1c8fc09ab4eabc2cb7277be38eeda7982724e346fe830a67162bf6e49f1d420336df3924ffba70e06a7f92dc2a6e41cdad332603315b5f6684143 +SHA512 (libreport-2.11.1.tar.gz) = cf9d91dddb769c5b2f196e44d2af5cd96d9713208eaf1627403825ed1ab4e5e4db7c0d496529c72408b1445c279f263e774df6264431f2ae7274062f5975d740 From 22640330a64321af7ce7a438cbb8b549bfaec98b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Wed, 23 Oct 2019 13:57:28 +0200 Subject: [PATCH 05/16] New upstream release 2.11.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matěj Grabovský --- .gitignore | 1 + libreport.spec | 9 ++++++++- sources | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index bf8161e..299ee3c 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /libreport-2.10.1.tar.gz /libreport-2.11.0.tar.gz /libreport-2.11.1.tar.gz +/libreport-2.11.2.tar.gz diff --git a/libreport.spec b/libreport.spec index d5abe7f..b905057 100644 --- a/libreport.spec +++ b/libreport.spec @@ -14,7 +14,7 @@ Summary: Generic library for reporting various problems Name: libreport -Version: 2.11.1 +Version: 2.11.2 Release: 1%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ @@ -749,6 +749,13 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog +* 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 + * Wed Oct 16 2019 Matěj Grabovský 2.11.1-1 - gtk: Fix a double-free condition diff --git a/sources b/sources index 5694e78..67d70da 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libreport-2.11.1.tar.gz) = cf9d91dddb769c5b2f196e44d2af5cd96d9713208eaf1627403825ed1ab4e5e4db7c0d496529c72408b1445c279f263e774df6264431f2ae7274062f5975d740 +SHA512 (libreport-2.11.2.tar.gz) = 26181aab66b2ef28399086553edb0e331e35706b2526ea659699c9f330422a1731125133d68b925010fefbe08502535cffbd1d570c708eaecfebf0451d8492bd From 6a65ed2e69b26412e7540d3272a4c7615c420ee9 Mon Sep 17 00:00:00 2001 From: Ernestas Kulik Date: Mon, 11 Nov 2019 11:21:51 +0100 Subject: [PATCH 06/16] Add patch to fix a double-free https://github.com/abrt/libreport/commit/36c5e90469b36cb0724f45447ae923a6d6ccf348 Signed-off-by: Ernestas Kulik --- ...gtk-Fix-another-possible-double-free.patch | 38 +++++++++++++++++++ libreport.spec | 7 +++- 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 0001-gtk-Fix-another-possible-double-free.patch diff --git a/0001-gtk-Fix-another-possible-double-free.patch b/0001-gtk-Fix-another-possible-double-free.patch new file mode 100644 index 0000000..2bd966d --- /dev/null +++ b/0001-gtk-Fix-another-possible-double-free.patch @@ -0,0 +1,38 @@ +From 36c5e90469b36cb0724f45447ae923a6d6ccf348 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= +Date: Fri, 25 Oct 2019 12:37:44 +0200 +Subject: [PATCH] gtk: Fix another possible double-free + +The object should only be freed if we're in the cleanup phase, i.e. only +in the if-branch of the condition. + +This one was introduced in dc281652. +--- + src/gui-wizard-gtk/wizard.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c +index 4b840bac..ec8bb68b 100644 +--- a/src/gui-wizard-gtk/wizard.c ++++ b/src/gui-wizard-gtk/wizard.c +@@ -2518,7 +2518,7 @@ static bool highligh_words_in_textview(int page, GtkTextView *tev, GList *words, + while (valid) + { + g_autofree char *text = NULL; +- g_autofree search_item_t *word = NULL; ++ search_item_t *word = NULL; + + gtk_tree_model_get(GTK_TREE_MODEL(g_ls_sensitive_list), &iter, + SEARCH_COLUMN_TEXT, &text, +@@ -2533,6 +2533,8 @@ static bool highligh_words_in_textview(int page, GtkTextView *tev, GList *words, + + if (word == g_current_highlighted_word) + g_current_highlighted_word = NULL; ++ ++ free(word); + } + else + { +-- +2.23.0 + diff --git a/libreport.spec b/libreport.spec index b905057..092e5f3 100644 --- a/libreport.spec +++ b/libreport.spec @@ -15,7 +15,7 @@ Summary: Generic library for reporting various problems Name: libreport Version: 2.11.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -63,6 +63,8 @@ Requires: lz4 BuildRequires: sed %endif +Patch0: 0001-gtk-Fix-another-possible-double-free.patch + %description Libraries providing API for reporting different problems in applications to different bug targets like Bugzilla, ftp, trac, etc... @@ -749,6 +751,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog +* Mon Nov 11 2019 Ernestas Kulik - 2.11.2-2 +- Add patch to fix a double-free + * Wed Oct 23 2019 Matěj Grabovský 2.11.2-1 - gtk: Improve memory management - gtk: Prevent memory leak From 8072d748392d90092f66daefd41955e6f0dde44d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Thu, 14 Nov 2019 10:44:05 +0100 Subject: [PATCH 07/16] New upstream release 2.11.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matěj Grabovský --- .gitignore | 1 + ...gtk-Fix-another-possible-double-free.patch | 38 ------------------- libreport.spec | 21 ++++++++-- sources | 2 +- 4 files changed, 19 insertions(+), 43 deletions(-) delete mode 100644 0001-gtk-Fix-another-possible-double-free.patch diff --git a/.gitignore b/.gitignore index 299ee3c..9ef551f 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /libreport-2.11.0.tar.gz /libreport-2.11.1.tar.gz /libreport-2.11.2.tar.gz +/libreport-2.11.3.tar.gz diff --git a/0001-gtk-Fix-another-possible-double-free.patch b/0001-gtk-Fix-another-possible-double-free.patch deleted file mode 100644 index 2bd966d..0000000 --- a/0001-gtk-Fix-another-possible-double-free.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 36c5e90469b36cb0724f45447ae923a6d6ccf348 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= -Date: Fri, 25 Oct 2019 12:37:44 +0200 -Subject: [PATCH] gtk: Fix another possible double-free - -The object should only be freed if we're in the cleanup phase, i.e. only -in the if-branch of the condition. - -This one was introduced in dc281652. ---- - src/gui-wizard-gtk/wizard.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c -index 4b840bac..ec8bb68b 100644 ---- a/src/gui-wizard-gtk/wizard.c -+++ b/src/gui-wizard-gtk/wizard.c -@@ -2518,7 +2518,7 @@ static bool highligh_words_in_textview(int page, GtkTextView *tev, GList *words, - while (valid) - { - g_autofree char *text = NULL; -- g_autofree search_item_t *word = NULL; -+ search_item_t *word = NULL; - - gtk_tree_model_get(GTK_TREE_MODEL(g_ls_sensitive_list), &iter, - SEARCH_COLUMN_TEXT, &text, -@@ -2533,6 +2533,8 @@ static bool highligh_words_in_textview(int page, GtkTextView *tev, GList *words, - - if (word == g_current_highlighted_word) - g_current_highlighted_word = NULL; -+ -+ free(word); - } - else - { --- -2.23.0 - diff --git a/libreport.spec b/libreport.spec index 092e5f3..1f61a76 100644 --- a/libreport.spec +++ b/libreport.spec @@ -14,8 +14,8 @@ Summary: Generic library for reporting various problems Name: libreport -Version: 2.11.2 -Release: 2%{?dist} +Version: 2.11.3 +Release: 1%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -63,8 +63,6 @@ Requires: lz4 BuildRequires: sed %endif -Patch0: 0001-gtk-Fix-another-possible-double-free.patch - %description Libraries providing API for reporting different problems in applications to different bug targets like Bugzilla, ftp, trac, etc... @@ -751,6 +749,21 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog +* 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 + * Mon Nov 11 2019 Ernestas Kulik - 2.11.2-2 - Add patch to fix a double-free diff --git a/sources b/sources index 67d70da..eb99041 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libreport-2.11.2.tar.gz) = 26181aab66b2ef28399086553edb0e331e35706b2526ea659699c9f330422a1731125133d68b925010fefbe08502535cffbd1d570c708eaecfebf0451d8492bd +SHA512 (libreport-2.11.3.tar.gz) = 0dc78c77a94ded2d1be646b0f9481765bf10a865ab28f2a226483f8bc5e43fce20f3612332fdc9cee5adb9f8d9c89b59e9d388e9c60425b9ff5f83c9a50132a1 From 77b3456ca1c7f325911ad5d3eee75b6165a0f955 Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Thu, 6 Feb 2020 16:46:24 +0100 Subject: [PATCH 08/16] New upstream release 2.12.0 Signed-off-by: Michal Fabik --- .gitignore | 1 + libreport.spec | 27 +++++++++++++++++++-------- sources | 2 +- 3 files changed, 21 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 9ef551f..634b63b 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /libreport-2.11.1.tar.gz /libreport-2.11.2.tar.gz /libreport-2.11.3.tar.gz +/libreport-2.12.0.tar.gz diff --git a/libreport.spec b/libreport.spec index 1f61a76..2eed2a7 100644 --- a/libreport.spec +++ b/libreport.spec @@ -14,7 +14,7 @@ Summary: Generic library for reporting various problems Name: libreport -Version: 2.11.3 +Version: 2.12.0 Release: 1%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ @@ -36,7 +36,7 @@ BuildRequires: newt-devel BuildRequires: libproxy-devel BuildRequires: satyr-devel >= 0.24 BuildRequires: glib2-devel >= %{glib_ver} -BuildRequires: git +BuildRequires: nettle-devel %if 0%{?fedora} >= 24 || 0%{?rhel} > 7 # A test case uses zh_CN locale to verify XML event translations @@ -57,6 +57,7 @@ Requires: satyr >= 0.24 Requires: glib2 >= %{glib_ver} Requires: xz Requires: lz4 +Requires: nettle # Required for the temporary modularity hack, see below %if 0%{?_module_build} @@ -309,12 +310,7 @@ data over ftp/scp... %endif %prep -# 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 -%autosetup -S git +%setup -q %build autoconf @@ -749,6 +745,21 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog +* 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 + +* Wed Jan 29 2020 Fedora Release Engineering - 2.11.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Nov 14 2019 Matěj Grabovský 2.11.3-1 - Remove unused scripts - gtk: Fix infinite loop crashing the reporting diff --git a/sources b/sources index eb99041..7a7c9a0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libreport-2.11.3.tar.gz) = 0dc78c77a94ded2d1be646b0f9481765bf10a865ab28f2a226483f8bc5e43fce20f3612332fdc9cee5adb9f8d9c89b59e9d388e9c60425b9ff5f83c9a50132a1 +SHA512 (libreport-2.12.0.tar.gz) = e79163db3807c695aba636474441502c5d4f8c38bb6582d133179c324bc66451b89c2d9c7b60d5686bd85db64e6d6193815b07f0a364c23d98f8d1594a5e658f From 36592cd1a9b417a3f0a98e1d7f4da74c8bbf7197 Mon Sep 17 00:00:00 2001 From: Ernestas Kulik Date: Fri, 20 Mar 2020 19:15:11 +0100 Subject: [PATCH 09/16] Add patch for #1815544 --- ...i-wizard-gtk-Wrap-event-log-messages.patch | 32 ++ libreport.spec | 310 +----------------- 2 files changed, 40 insertions(+), 302 deletions(-) create mode 100644 0001-gui-wizard-gtk-Wrap-event-log-messages.patch diff --git a/0001-gui-wizard-gtk-Wrap-event-log-messages.patch b/0001-gui-wizard-gtk-Wrap-event-log-messages.patch new file mode 100644 index 0000000..eda89e9 --- /dev/null +++ b/0001-gui-wizard-gtk-Wrap-event-log-messages.patch @@ -0,0 +1,32 @@ +From 1f14c9fa96937e589354589665eb8c64d6d16d80 Mon Sep 17 00:00:00 2001 +From: Ernestas Kulik +Date: Fri, 20 Mar 2020 18:04:19 +0100 +Subject: [PATCH] gui-wizard-gtk: Wrap event log messages + +Currently, large logs received by abrt-retrace-client may cause +X/Wayland protocol errors due to an overly large buffer being allocated +for GtkTextView. Enabling word wrapping and eliminating horizontal +scrolling seems to prevent that from happening. + +Cf. https://gitlab.gnome.org/GNOME/gtk/issues/1143 + +https://bugzilla.redhat.com/show_bug.cgi?id=1815544 +--- + src/gui-wizard-gtk/wizard.glade | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/gui-wizard-gtk/wizard.glade b/src/gui-wizard-gtk/wizard.glade +index e86fc90b..f7782ba2 100644 +--- a/src/gui-wizard-gtk/wizard.glade ++++ b/src/gui-wizard-gtk/wizard.glade +@@ -705,6 +705,7 @@ + True + True + False ++ word + + + +-- +2.25.1 + diff --git a/libreport.spec b/libreport.spec index 2eed2a7..b7e30fe 100644 --- a/libreport.spec +++ b/libreport.spec @@ -15,10 +15,12 @@ Summary: Generic library for reporting various problems Name: libreport Version: 2.12.0 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz +Patch0001: 0001-gui-wizard-gtk-Wrap-event-log-messages.patch + BuildRequires: %{dbus_devel} BuildRequires: gtk3-devel BuildRequires: curl-devel @@ -37,6 +39,7 @@ BuildRequires: libproxy-devel BuildRequires: satyr-devel >= 0.24 BuildRequires: glib2-devel >= %{glib_ver} BuildRequires: nettle-devel +BuildRequires: git-core %if 0%{?fedora} >= 24 || 0%{?rhel} > 7 # A test case uses zh_CN locale to verify XML event translations @@ -310,7 +313,7 @@ data over ftp/scp... %endif %prep -%setup -q +%autosetup -S git %build autoconf @@ -745,6 +748,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog +* Fri Mar 20 2020 Ernestas Kulik - 2.12.0-2 +- Add patch for https://bugzilla.redhat.com/show_bug.cgi?id=1815544 + * Thu Feb 06 2020 Michal Fabik 2.12.0-1 - ureport: Allow printf-like data attaching - plugins: reporter-rhtsupport: Avoid runtime warning @@ -849,303 +855,3 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - Update to 2.10.0 - Bump GLib dependency - Add patch to work around issue with test - -* Fri Feb 01 2019 Fedora Release Engineering - 2.9.7-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Mon Jan 07 2019 Martin Kutlak 2.9.7-2 -- rhbz: Replace nomail flag with minor_update - -* Fri Dec 07 2018 Matej Marusak 2.9.7-1 -- reportclient: Search for required packages recursively -- event_config: Modify unusable backtrace message -- reportclient: Find and download required debuginfo packages -- lib: Explicitly do not use DST -- autogen: List make in sysdeps command -- lib: Seek beginning of mountinfo file -- report-client: Find debuginfos in own method -- lib: Add a null guard -- gui-wizard-gtk: Require GTK+ 3.10 -- gui-wizard-gtk: Don’t set GtkButton:xalign -- gui-wizard-gtk: Replace use of GtkTable -- gui-wizard-gtk: Show warnings inline on progress page -- gui-wizard-gtk: Remove unused size group -- gui-wizard-gtk: Replace Gtk{H,V}Box with GtkBox -- gui-wizard-gtk: Remove unneeded windows -- gtk-helpers: config_dialog: Hide tree view header -- augeas: Use generic augeas modules - -* Mon Oct 8 2018 Martin Kutlak 2.9.6-1 -- Fix majority of bugs found by Coverity Scan. -- Remove option to screencast problems -- tests: Adjust format of truncated backtrace for python and core -- gui: Replace deprecated g_type_class_add_private -- potfiles: fix issue in POTFILES.in -- lib: fix a SEGV in list_possible_events() -- ureport: use python3 to get consumerCertDir -- r-mailx: Add comment explaining expected values in config -- reporter-mailx: Remove double quotes from config -- spec: Make libreport-filesystem subpackage noarch -- spec: drop dependency on python-rhsm - -* Fri Jul 13 2018 Fedora Release Engineering - 2.9.5-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Mon Jun 18 2018 Matej Habrnal 2.9.5-3 -- Make this build without /usr/bin/python -- Resolves #1592073 - -* Sat Jun 16 2018 Miro Hrončok - 2.9.5-2 -- Rebuilt for Python 3.7 - -* Tue Apr 24 2018 Matej Habrnal 2.9.5-1 -- spec: actualize according to downstream -- spec: Conditionalize the Python2 and Python3 -- report-python: fix tests if configure --without-python2 -- autogen: correctly parse buildrequires from spec file - -* Tue Mar 27 2018 Martin Kutlak 2.9.4-1 -- Translation updates -- Revert "use /usr/sbin/" -- ureport: remove json-c is_error() usage -- ldconfig and gtk-update-icon-cache is not needed in rawhide -- reporter-rhtsupport: Remove dependency on redhat-access-insights -- do not expand macro in changelog -- move defattr which match the defaults -- use /usr/sbin/ -- macro python_sitearch is always defined on rhel7+ -- remove rhel6 specific items and accomodate to rhel7+ -- This package uses names with ambiguous `python-` prefix in requirements. -- reporter-{bugzilla,mantisbt,rhtsupport}: fix free -- reporter-mailx: rely on configured email -- spec: fix unowned directories -- augeas: include local config path -- doc: update to contain newly added user's local config -- reporter-mantisbt: read configuration from user's home -- reporter-rhtsupport: read configuration from user's home -- reporter-bugzilla: read configuration from user's home -- reporter-bugzilla: ask concrete bz when requiring login -- makefile: fix make release - -* Thu Nov 02 2017 Julius Milan 2.9.3-1 -- Translation updates -- commit to delete -- workflows: fix description in workflow_RHELJavaScript.xml.in -- workflows: add workflow for adding data to existing case -- client-python,report-python: Allow python to be optional at build time -- ignored words: add SYSTEMD_NSS_BYPASS_BUS -- reporter-ureport: add 'ProcessUnpackaged' option -- spec: add workflow for adding data to existing case -- rep-sys-journal: fix in finding executable basename -- remove old obsolete -- Group is not used any more -- remove old changelogs -- requires pythonX-dnf instead of dnf -- doc: fix obsolete doxygen tags & complains -- lib: Introduce pid_for_children element from ns -- client-python: Do not try to unlink None -- spec: rename Python binary packages - -* Thu Mar 16 2017 Matej Habrnal 2.9.1-1 -- build: create tarball in release-* target -- problem_data: fix double const -- wizard: fix error found by -Werror=format-security -- run_event: fix cmp between pointer and zero character -- build: do not upload tarball to fedorahosted.org -- spec: do not use fedorahosted.org as source -- build: fix generating list of dependences in autogen.sh -- build: generate new release entries with date -- report-newt: free allocated variables, don't close dd twice -- build: fix scratch-build target -- changelog: reflect the PR -- lib: several bug fixes in parsing of mountinfo -- lib: correctly recognize chroot in container -- lib: declare CONTAINER_ROOTS element name -- lib: add more log wrappers for perror -- reporter-bugzilla: use /etc/os-release for default url -- configure.ac: Remove nss dependency -- spec: include testsuite headers in the devel package -- tests: include testsuite.h in the dist archive -- maint: check pulled .po files for errors -- build: fix bug in changelog generating in release target -- changelog: fix typos - -* Fri Dec 02 2016 Jakub Filak 2.9.0-1 -- Translation updates -- build: make the release-* targets smarter -- add CHANGELOG.md -- reporter-s-journal: enable SYSLOG_IDENTIFIER from env -- report-python: add method run_event_on_problem_dir -- lib: use lz4 instead of lz4cat -- reportclient: honor ABRT_VERBOSE -- tree-wide: introduce 'stop_on_not_reportable' option -- client: add support for $releasever to debuginfo -- lib: correct test for own root -- workflows: run analyze_BodhiUpdates event on Fedora -- man: fix formating -- reporter-systemd-journal: introduce reporter-systemd-journal -- problem_data: add function which returns all problem data keys -- include: add exception_type element constant -- spec: changes related to reporter-systemd-journal -- problem_report: add normalization of crashed thread -- problem_report: make generate report configurable -- problem_report: use core_backtrace if there is no backtrace -- lib: refuse to parse negative number as unsigned int -- spec: simplify and remove old conditional -- build: add gettext-devel to sysdeps -- dd: add check for validity of new file FD -- build: configure tree for debugging by default -- spec: use %%buildroot macro -- spec: remove defattr which match the defaults -- spec: do not clean buildroot -- spec: remove Groups -- spec: code cleanup -- lib: fix a bug in dealing with errno -- lib: add convenient wrappers for uint in map_string_t -- problem_report: ensure C-string null terminator -- lib: fix invalid cgroup namespace ID -- lib: make die function configurable -- lib: allow using FD of /proc/[pid] instead of pid_t -- dd: add functions for opening dd item -- lib: add xfdopen -- problem data: search for sensitive words in more files -- dd: add dd_copy_file_at -- ignored words: add "systemd-logind" and "hawkey" -- build: reset the default version with each release -- doc: make README more verbose -- tree-wide: produce less messages in NOTICE log lvl -- ureport: less confusing logging -- spec: install JavaScript workflows -- workflow: add JavaScript workflows -- bugzilla: stop including package details - -* 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 -- autogen: fix typo in usage help string -- debuginfo: dnf API logging workarounds list -- lib: don't warn when user word file doesn't exist -- testuite: add test for forbidden_words -- 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 - -* 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 - -* Wed May 18 2016 Matej Habrnal 2.7.1-1 -- spec: compression updates -- 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 - -* Fri Apr 08 2016 Matej Habrnal 2.7.0-1 -- ignored words: update ignored words -- mailx: introduce debug parameter -D -- mailx: mail formatting: add comment right after %%oneline -- mailx: use problem report api to define an emais' content -- lib: remove unused function make_description_bz -- augeas: trim spaces before key value -- Revert "xml parser: be more verbose in case xml file cannot be opened" -- xml parser: be more verbose in case xml file cannot be opened -- spec: add workflows.d to filesystem package -- makefile: define LANG in release target -- mailx: stop creating dead.letter on mailx failures -- workflows: add comments to ambiguous functions -- workflows: NULL for the default configuration dir -- workflows: publish the function loading configuration -- build: fix build on Fedora24 -- 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 - -* 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 -- event config: add support for 'restricted access' -- lib: move CREATE_PRIVATE_TICKET to the global configuration -- dd: dd_delete_item does not die -- dd: add function getting stat of item -- dd: correct handling of TYPE when creating dump directory -- dd: add function computing dump dir file system size -- dd: add function counting number of dd items -- dd: add function copying file descriptor to element -- dd: allow 1 and 2 letter long element names -- problem_data: factor out function reading single problem element -- formatdup: more universal comment -- dd: make function uid_in_group() public -- 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 -- spec: add uploader config files and related man page -- uploader: add possibility to set SSH keyfiles -- curl: add possibility to configure SSH keys -- desktop-utils: deal with Destkop files without command line -- ureport: enable attaching of arbitrary values -- update .gitignore -- uploader: save remote name in reported_to -- curl: return URLs without userinfo -- lib: add function for removing userinfo from URIs -- plugins: port reporters to add_reported_to_entry -- reported_to: add a function formatting reported_to lines -- lib: introduce parser of ISO date strings -- uploader: use shared dd_create_archive function -- dd: add a function for compressing dumpdirs -- problem_report: add examples to the documentation -- client: document environment variables - -* Thu Oct 15 2015 Matej Habrnal 2.6.3-1 -- wizard: correct comments in save_text_if_changed() -- events: improve example -- reporter-bugzilla: add parameter -p -- wizard: fix save users changes after reviewing dump dir files -- dd: make function load_text_file non-static -- bugzilla: don't attach build_ids -- run_event: rewrite event rule parser -- dd: add convenience wrappers fro loading numbers -- ureport: improve curl's error messages -- ureport: use Red Hat Certificate Authority to make rhsm cert trusted -- curl: add posibility to use own Certificate Authority cert -- spec: add redhat-access-insights to Requires of l-p-rhtsupport -- bugzilla: put VARIANT_ID= to Whiteboard -- autogen: use dnf instead of yum to install dependencies -- configure: use hex value for dump dir mode -- curl: add a helper for HTTP GET -- dd: don't warn about missing 'type' if the locking fails -- dd: stop warning about corrupted mandatory files -- Use a dgettext function returning strings instead of bytes From 30b17c8196e3741361088a7eb16f66205cc8055d Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Fri, 24 Apr 2020 13:53:09 +0200 Subject: [PATCH 10/16] Revert "Add patch for #1815544" This reverts commit 36592cd1a9b417a3f0a98e1d7f4da74c8bbf7197. --- ...i-wizard-gtk-Wrap-event-log-messages.patch | 32 -- libreport.spec | 310 +++++++++++++++++- 2 files changed, 302 insertions(+), 40 deletions(-) delete mode 100644 0001-gui-wizard-gtk-Wrap-event-log-messages.patch diff --git a/0001-gui-wizard-gtk-Wrap-event-log-messages.patch b/0001-gui-wizard-gtk-Wrap-event-log-messages.patch deleted file mode 100644 index eda89e9..0000000 --- a/0001-gui-wizard-gtk-Wrap-event-log-messages.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 1f14c9fa96937e589354589665eb8c64d6d16d80 Mon Sep 17 00:00:00 2001 -From: Ernestas Kulik -Date: Fri, 20 Mar 2020 18:04:19 +0100 -Subject: [PATCH] gui-wizard-gtk: Wrap event log messages - -Currently, large logs received by abrt-retrace-client may cause -X/Wayland protocol errors due to an overly large buffer being allocated -for GtkTextView. Enabling word wrapping and eliminating horizontal -scrolling seems to prevent that from happening. - -Cf. https://gitlab.gnome.org/GNOME/gtk/issues/1143 - -https://bugzilla.redhat.com/show_bug.cgi?id=1815544 ---- - src/gui-wizard-gtk/wizard.glade | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/gui-wizard-gtk/wizard.glade b/src/gui-wizard-gtk/wizard.glade -index e86fc90b..f7782ba2 100644 ---- a/src/gui-wizard-gtk/wizard.glade -+++ b/src/gui-wizard-gtk/wizard.glade -@@ -705,6 +705,7 @@ - True - True - False -+ word - - - --- -2.25.1 - diff --git a/libreport.spec b/libreport.spec index b7e30fe..2eed2a7 100644 --- a/libreport.spec +++ b/libreport.spec @@ -15,12 +15,10 @@ Summary: Generic library for reporting various problems Name: libreport Version: 2.12.0 -Release: 2%{?dist} +Release: 1%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz -Patch0001: 0001-gui-wizard-gtk-Wrap-event-log-messages.patch - BuildRequires: %{dbus_devel} BuildRequires: gtk3-devel BuildRequires: curl-devel @@ -39,7 +37,6 @@ BuildRequires: libproxy-devel BuildRequires: satyr-devel >= 0.24 BuildRequires: glib2-devel >= %{glib_ver} BuildRequires: nettle-devel -BuildRequires: git-core %if 0%{?fedora} >= 24 || 0%{?rhel} > 7 # A test case uses zh_CN locale to verify XML event translations @@ -313,7 +310,7 @@ data over ftp/scp... %endif %prep -%autosetup -S git +%setup -q %build autoconf @@ -748,9 +745,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog -* Fri Mar 20 2020 Ernestas Kulik - 2.12.0-2 -- Add patch for https://bugzilla.redhat.com/show_bug.cgi?id=1815544 - * Thu Feb 06 2020 Michal Fabik 2.12.0-1 - ureport: Allow printf-like data attaching - plugins: reporter-rhtsupport: Avoid runtime warning @@ -855,3 +849,303 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - Update to 2.10.0 - Bump GLib dependency - Add patch to work around issue with test + +* Fri Feb 01 2019 Fedora Release Engineering - 2.9.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Jan 07 2019 Martin Kutlak 2.9.7-2 +- rhbz: Replace nomail flag with minor_update + +* Fri Dec 07 2018 Matej Marusak 2.9.7-1 +- reportclient: Search for required packages recursively +- event_config: Modify unusable backtrace message +- reportclient: Find and download required debuginfo packages +- lib: Explicitly do not use DST +- autogen: List make in sysdeps command +- lib: Seek beginning of mountinfo file +- report-client: Find debuginfos in own method +- lib: Add a null guard +- gui-wizard-gtk: Require GTK+ 3.10 +- gui-wizard-gtk: Don’t set GtkButton:xalign +- gui-wizard-gtk: Replace use of GtkTable +- gui-wizard-gtk: Show warnings inline on progress page +- gui-wizard-gtk: Remove unused size group +- gui-wizard-gtk: Replace Gtk{H,V}Box with GtkBox +- gui-wizard-gtk: Remove unneeded windows +- gtk-helpers: config_dialog: Hide tree view header +- augeas: Use generic augeas modules + +* Mon Oct 8 2018 Martin Kutlak 2.9.6-1 +- Fix majority of bugs found by Coverity Scan. +- Remove option to screencast problems +- tests: Adjust format of truncated backtrace for python and core +- gui: Replace deprecated g_type_class_add_private +- potfiles: fix issue in POTFILES.in +- lib: fix a SEGV in list_possible_events() +- ureport: use python3 to get consumerCertDir +- r-mailx: Add comment explaining expected values in config +- reporter-mailx: Remove double quotes from config +- spec: Make libreport-filesystem subpackage noarch +- spec: drop dependency on python-rhsm + +* Fri Jul 13 2018 Fedora Release Engineering - 2.9.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon Jun 18 2018 Matej Habrnal 2.9.5-3 +- Make this build without /usr/bin/python +- Resolves #1592073 + +* Sat Jun 16 2018 Miro Hrončok - 2.9.5-2 +- Rebuilt for Python 3.7 + +* Tue Apr 24 2018 Matej Habrnal 2.9.5-1 +- spec: actualize according to downstream +- spec: Conditionalize the Python2 and Python3 +- report-python: fix tests if configure --without-python2 +- autogen: correctly parse buildrequires from spec file + +* Tue Mar 27 2018 Martin Kutlak 2.9.4-1 +- Translation updates +- Revert "use /usr/sbin/" +- ureport: remove json-c is_error() usage +- ldconfig and gtk-update-icon-cache is not needed in rawhide +- reporter-rhtsupport: Remove dependency on redhat-access-insights +- do not expand macro in changelog +- move defattr which match the defaults +- use /usr/sbin/ +- macro python_sitearch is always defined on rhel7+ +- remove rhel6 specific items and accomodate to rhel7+ +- This package uses names with ambiguous `python-` prefix in requirements. +- reporter-{bugzilla,mantisbt,rhtsupport}: fix free +- reporter-mailx: rely on configured email +- spec: fix unowned directories +- augeas: include local config path +- doc: update to contain newly added user's local config +- reporter-mantisbt: read configuration from user's home +- reporter-rhtsupport: read configuration from user's home +- reporter-bugzilla: read configuration from user's home +- reporter-bugzilla: ask concrete bz when requiring login +- makefile: fix make release + +* Thu Nov 02 2017 Julius Milan 2.9.3-1 +- Translation updates +- commit to delete +- workflows: fix description in workflow_RHELJavaScript.xml.in +- workflows: add workflow for adding data to existing case +- client-python,report-python: Allow python to be optional at build time +- ignored words: add SYSTEMD_NSS_BYPASS_BUS +- reporter-ureport: add 'ProcessUnpackaged' option +- spec: add workflow for adding data to existing case +- rep-sys-journal: fix in finding executable basename +- remove old obsolete +- Group is not used any more +- remove old changelogs +- requires pythonX-dnf instead of dnf +- doc: fix obsolete doxygen tags & complains +- lib: Introduce pid_for_children element from ns +- client-python: Do not try to unlink None +- spec: rename Python binary packages + +* Thu Mar 16 2017 Matej Habrnal 2.9.1-1 +- build: create tarball in release-* target +- problem_data: fix double const +- wizard: fix error found by -Werror=format-security +- run_event: fix cmp between pointer and zero character +- build: do not upload tarball to fedorahosted.org +- spec: do not use fedorahosted.org as source +- build: fix generating list of dependences in autogen.sh +- build: generate new release entries with date +- report-newt: free allocated variables, don't close dd twice +- build: fix scratch-build target +- changelog: reflect the PR +- lib: several bug fixes in parsing of mountinfo +- lib: correctly recognize chroot in container +- lib: declare CONTAINER_ROOTS element name +- lib: add more log wrappers for perror +- reporter-bugzilla: use /etc/os-release for default url +- configure.ac: Remove nss dependency +- spec: include testsuite headers in the devel package +- tests: include testsuite.h in the dist archive +- maint: check pulled .po files for errors +- build: fix bug in changelog generating in release target +- changelog: fix typos + +* Fri Dec 02 2016 Jakub Filak 2.9.0-1 +- Translation updates +- build: make the release-* targets smarter +- add CHANGELOG.md +- reporter-s-journal: enable SYSLOG_IDENTIFIER from env +- report-python: add method run_event_on_problem_dir +- lib: use lz4 instead of lz4cat +- reportclient: honor ABRT_VERBOSE +- tree-wide: introduce 'stop_on_not_reportable' option +- client: add support for $releasever to debuginfo +- lib: correct test for own root +- workflows: run analyze_BodhiUpdates event on Fedora +- man: fix formating +- reporter-systemd-journal: introduce reporter-systemd-journal +- problem_data: add function which returns all problem data keys +- include: add exception_type element constant +- spec: changes related to reporter-systemd-journal +- problem_report: add normalization of crashed thread +- problem_report: make generate report configurable +- problem_report: use core_backtrace if there is no backtrace +- lib: refuse to parse negative number as unsigned int +- spec: simplify and remove old conditional +- build: add gettext-devel to sysdeps +- dd: add check for validity of new file FD +- build: configure tree for debugging by default +- spec: use %%buildroot macro +- spec: remove defattr which match the defaults +- spec: do not clean buildroot +- spec: remove Groups +- spec: code cleanup +- lib: fix a bug in dealing with errno +- lib: add convenient wrappers for uint in map_string_t +- problem_report: ensure C-string null terminator +- lib: fix invalid cgroup namespace ID +- lib: make die function configurable +- lib: allow using FD of /proc/[pid] instead of pid_t +- dd: add functions for opening dd item +- lib: add xfdopen +- problem data: search for sensitive words in more files +- dd: add dd_copy_file_at +- ignored words: add "systemd-logind" and "hawkey" +- build: reset the default version with each release +- doc: make README more verbose +- tree-wide: produce less messages in NOTICE log lvl +- ureport: less confusing logging +- spec: install JavaScript workflows +- workflow: add JavaScript workflows +- bugzilla: stop including package details + +* 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 +- autogen: fix typo in usage help string +- debuginfo: dnf API logging workarounds list +- lib: don't warn when user word file doesn't exist +- testuite: add test for forbidden_words +- 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 + +* 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 + +* Wed May 18 2016 Matej Habrnal 2.7.1-1 +- spec: compression updates +- 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 + +* Fri Apr 08 2016 Matej Habrnal 2.7.0-1 +- ignored words: update ignored words +- mailx: introduce debug parameter -D +- mailx: mail formatting: add comment right after %%oneline +- mailx: use problem report api to define an emais' content +- lib: remove unused function make_description_bz +- augeas: trim spaces before key value +- Revert "xml parser: be more verbose in case xml file cannot be opened" +- xml parser: be more verbose in case xml file cannot be opened +- spec: add workflows.d to filesystem package +- makefile: define LANG in release target +- mailx: stop creating dead.letter on mailx failures +- workflows: add comments to ambiguous functions +- workflows: NULL for the default configuration dir +- workflows: publish the function loading configuration +- build: fix build on Fedora24 +- 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 + +* 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 +- event config: add support for 'restricted access' +- lib: move CREATE_PRIVATE_TICKET to the global configuration +- dd: dd_delete_item does not die +- dd: add function getting stat of item +- dd: correct handling of TYPE when creating dump directory +- dd: add function computing dump dir file system size +- dd: add function counting number of dd items +- dd: add function copying file descriptor to element +- dd: allow 1 and 2 letter long element names +- problem_data: factor out function reading single problem element +- formatdup: more universal comment +- dd: make function uid_in_group() public +- 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 +- spec: add uploader config files and related man page +- uploader: add possibility to set SSH keyfiles +- curl: add possibility to configure SSH keys +- desktop-utils: deal with Destkop files without command line +- ureport: enable attaching of arbitrary values +- update .gitignore +- uploader: save remote name in reported_to +- curl: return URLs without userinfo +- lib: add function for removing userinfo from URIs +- plugins: port reporters to add_reported_to_entry +- reported_to: add a function formatting reported_to lines +- lib: introduce parser of ISO date strings +- uploader: use shared dd_create_archive function +- dd: add a function for compressing dumpdirs +- problem_report: add examples to the documentation +- client: document environment variables + +* Thu Oct 15 2015 Matej Habrnal 2.6.3-1 +- wizard: correct comments in save_text_if_changed() +- events: improve example +- reporter-bugzilla: add parameter -p +- wizard: fix save users changes after reviewing dump dir files +- dd: make function load_text_file non-static +- bugzilla: don't attach build_ids +- run_event: rewrite event rule parser +- dd: add convenience wrappers fro loading numbers +- ureport: improve curl's error messages +- ureport: use Red Hat Certificate Authority to make rhsm cert trusted +- curl: add posibility to use own Certificate Authority cert +- spec: add redhat-access-insights to Requires of l-p-rhtsupport +- bugzilla: put VARIANT_ID= to Whiteboard +- autogen: use dnf instead of yum to install dependencies +- configure: use hex value for dump dir mode +- curl: add a helper for HTTP GET +- dd: don't warn about missing 'type' if the locking fails +- dd: stop warning about corrupted mandatory files +- Use a dgettext function returning strings instead of bytes From e0a869a69ca53066cfef0ac532a948e09b3d876b Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Fri, 24 Apr 2020 14:18:08 +0200 Subject: [PATCH 11/16] New upstream release 2.13.0 Signed-off-by: Michal Fabik --- libreport.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libreport.spec b/libreport.spec index 2eed2a7..e72bbce 100644 --- a/libreport.spec +++ b/libreport.spec @@ -14,7 +14,7 @@ Summary: Generic library for reporting various problems Name: libreport -Version: 2.12.0 +Version: 2.13.0 Release: 1%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ @@ -446,7 +446,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/%{name}/ignored_words.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* @@ -488,12 +487,10 @@ 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 From d21ea25d49267af1dcf638adb0e024ed453b6223 Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Fri, 24 Apr 2020 14:31:00 +0200 Subject: [PATCH 12/16] New upstream release 2.13.0 Signed-off-by: Michal Fabik --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 634b63b..7b7863d 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /libreport-2.11.2.tar.gz /libreport-2.11.3.tar.gz /libreport-2.12.0.tar.gz +/libreport-2.13.0.tar.gz diff --git a/sources b/sources index 7a7c9a0..abe8c88 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libreport-2.12.0.tar.gz) = e79163db3807c695aba636474441502c5d4f8c38bb6582d133179c324bc66451b89c2d9c7b60d5686bd85db64e6d6193815b07f0a364c23d98f8d1594a5e658f +SHA512 (libreport-2.13.0.tar.gz) = 9be3016770304ed3679bc4a7321425628cc5fc1d2927e1a36cbf9d0a743562f1b47c88e511537221276e0d1e04feaeb38de642a862dd8ca63ce7749db73a6f49 From 37e5dd60604b00c73b7080a26e29be40ebd73813 Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Fri, 24 Apr 2020 16:39:11 +0200 Subject: [PATCH 13/16] Update changelog, bump release to 2.13.0-2 Signed-off-by: Michal Fabik --- libreport.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/libreport.spec b/libreport.spec index e72bbce..0e666ae 100644 --- a/libreport.spec +++ b/libreport.spec @@ -15,7 +15,7 @@ Summary: Generic library for reporting various problems Name: libreport Version: 2.13.0 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -742,6 +742,15 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog +* 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 +- Update translations + * Thu Feb 06 2020 Michal Fabik 2.12.0-1 - ureport: Allow printf-like data attaching - plugins: reporter-rhtsupport: Avoid runtime warning From d93e2ffe8212abe87be5d6a208bb0cdf5534cf5c Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Mon, 11 May 2020 22:46:02 +0200 Subject: [PATCH 14/16] New upstream release 2.13.1 Signed-off-by: Michal Fabik --- libreport.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/libreport.spec b/libreport.spec index 0e666ae..ab05071 100644 --- a/libreport.spec +++ b/libreport.spec @@ -14,8 +14,8 @@ Summary: Generic library for reporting various problems Name: libreport -Version: 2.13.0 -Release: 2%{?dist} +Version: 2.13.1 +Release: 1%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -310,12 +310,12 @@ data over ftp/scp... %endif %prep -%setup -q +%autosetup -S git %build autoconf -CFLAGS="%{optflags} -Werror" %configure \ +%configure \ %if %{without bugzilla} --without-bugzilla \ %endif @@ -325,10 +325,10 @@ CFLAGS="%{optflags} -Werror" %configure \ --enable-doxygen-docs \ --disable-silent-rules -make %{?_smp_mflags} +%make_build %install -make install DESTDIR=%{buildroot} \ +%make_install \ %if %{with python3} PYTHON=%{__python3} \ %endif # with python3 @@ -742,6 +742,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog +* 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 From c48c116f8eadff180f85b080938a27af7cb15e97 Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Mon, 11 May 2020 23:26:52 +0200 Subject: [PATCH 15/16] Bump release to rebuild Signed-off-by: Michal Fabik --- .gitignore | 1 + libreport.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 7b7863d..ebda8c9 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /libreport-2.11.3.tar.gz /libreport-2.12.0.tar.gz /libreport-2.13.0.tar.gz +/libreport-2.13.1.tar.gz diff --git a/libreport.spec b/libreport.spec index ab05071..28b0d6b 100644 --- a/libreport.spec +++ b/libreport.spec @@ -15,7 +15,7 @@ Summary: Generic library for reporting various problems Name: libreport Version: 2.13.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz diff --git a/sources b/sources index abe8c88..36fbd1b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libreport-2.13.0.tar.gz) = 9be3016770304ed3679bc4a7321425628cc5fc1d2927e1a36cbf9d0a743562f1b47c88e511537221276e0d1e04feaeb38de642a862dd8ca63ce7749db73a6f49 +SHA512 (libreport-2.13.1.tar.gz) = fc3db46ee6885053387b86e682f9ed1908d050149a5d820b40444b7db413af89afdcd6abef780179c5ca968ea036f3ae245884414b94d426547e58a89b8bbb65 From 96bb31f7f5ea563310c4933c1bfe160dd9019f2b Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Mon, 11 May 2020 23:37:10 +0200 Subject: [PATCH 16/16] Bump release to rebuild Signed-off-by: Michal Fabik --- libreport.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libreport.spec b/libreport.spec index 28b0d6b..19a5413 100644 --- a/libreport.spec +++ b/libreport.spec @@ -15,7 +15,7 @@ Summary: Generic library for reporting various problems Name: libreport Version: 2.13.1 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -37,6 +37,7 @@ BuildRequires: libproxy-devel BuildRequires: satyr-devel >= 0.24 BuildRequires: glib2-devel >= %{glib_ver} BuildRequires: nettle-devel +BuildRequires: git-core %if 0%{?fedora} >= 24 || 0%{?rhel} > 7 # A test case uses zh_CN locale to verify XML event translations