diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/.gitignore b/.gitignore index bbf2a56..56386dd 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,33 @@ -/libreport-2.*.tar.gz +/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 diff --git a/.packit.yml b/.packit.yml new file mode 100644 index 0000000..115dab4 --- /dev/null +++ b/.packit.yml @@ -0,0 +1,21 @@ +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/0001-makefile-fix-make-release.patch b/0001-makefile-fix-make-release.patch deleted file mode 100644 index e5c7209..0000000 --- a/0001-makefile-fix-make-release.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 6ead0462968aa5ef798c8455e0ce30c8efbaad4d Mon Sep 17 00:00:00 2001 -From: Julius Milan -Date: Thu, 2 Nov 2017 09:27:04 +0100 -Subject: [PATCH 01/22] makefile: fix make release - -make release-* commands failed to update changelog in spec when it -contained more than one "changelog" string ---- - Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile.am b/Makefile.am -index f7f9c1a6..9ad827c6 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -74,7 +74,7 @@ release: - maint/pull-translations; \ - echo "* $$(LANG='en_US.UTF-8' date +'%a %b %d %Y') $$(git config --get user.name) <$$(git config --get user.email)> $$NEW_VER-1" | sort > /tmp/changelog.tmp; \ - git log --oneline $$OLD_VER..HEAD | awk '{$$1=""; if (a[$$0]++ == 0) print "-" $$0} END {print ""}' | grep -v -e "- Merge" -e "- testsuite:" -e "- make:" >> /tmp/changelog.tmp; \ -- sed "$$(grep -n changelog libreport.spec.in | cut -f1 -d:)"'r /tmp/changelog.tmp' -i libreport.spec.in; \ -+ sed "$$(grep -n %changelog libreport.spec.in | cut -f1 -d: | head -1)"'r /tmp/changelog.tmp' -i libreport.spec.in; \ - sed -e "s/^## \[Unreleased\]/## [Unreleased]\n\n## [$$NEW_VER] - $$(date +'%F')/" \ - -e "s/^\[Unreleased\]: \(https:\/\/.*\/compare\)\(\/.*\)\.\.\.HEAD/[Unreleased]: \1\/$$NEW_VER...HEAD\n[$$NEW_VER]: \1\2...$$NEW_VER/" \ - -i CHANGELOG.md; \ --- -2.14.3 - diff --git a/0002-reporter-bugzilla-ask-concrete-bz-when-requiring-log.patch b/0002-reporter-bugzilla-ask-concrete-bz-when-requiring-log.patch deleted file mode 100644 index cbb2b43..0000000 --- a/0002-reporter-bugzilla-ask-concrete-bz-when-requiring-log.patch +++ /dev/null @@ -1,64 +0,0 @@ -From f2fbf556597b1c8d132d3d0fbeeae5d12fad0f44 Mon Sep 17 00:00:00 2001 -From: Julius Milan -Date: Tue, 5 Dec 2017 10:17:58 +0100 -Subject: [PATCH 02/22] reporter-bugzilla: ask concrete bz when requiring login - -previous message: -"Please enter your Bugzilla login:" -now: -"Please enter your %s login:" -where %s is configured BugzillaURL, so by default: -"Please enter your https://bugzilla.redhat.com login:" - -Related to rhbz#1229439 ---- - src/plugins/reporter-bugzilla.c | 16 +++++++++++----- - 1 file changed, 11 insertions(+), 5 deletions(-) - -diff --git a/src/plugins/reporter-bugzilla.c b/src/plugins/reporter-bugzilla.c -index 514fb659..67ac4d11 100644 ---- a/src/plugins/reporter-bugzilla.c -+++ b/src/plugins/reporter-bugzilla.c -@@ -216,11 +216,15 @@ void login(struct abrt_xmlrpc *client, struct bugzilla_struct *rhbz) - log_warning(_("Logging into Bugzilla at %s"), rhbz->b_bugzilla_url); - while (!rhbz_login(client, rhbz->b_login, rhbz->b_password)) - { -+ char *question; -+ - free(rhbz->b_login); -- rhbz->b_login = ask_bz_login(_("Invalid password or login. Please enter your Bugzilla login:")); -+ question = xasprintf(_("Invalid password or login. Please enter your %s login:"), rhbz->b_bugzilla_url); -+ rhbz->b_login = ask_bz_login(question); -+ free(question); - - free(rhbz->b_password); -- char *question = xasprintf(_("Invalid password or login. Please enter the password for '%s':"), rhbz->b_login); -+ question = xasprintf(_("Invalid password or login. Please enter the password for '%s':"), rhbz->b_login); - rhbz->b_password = ask_bz_password(question); - free(question); - } -@@ -451,7 +455,9 @@ int main(int argc, char **argv) - if (rhbz.b_login[0] == '\0') - { - free(rhbz.b_login); -- rhbz.b_login = ask_bz_login(_("Login is not provided by configuration. Please enter your Bugzilla login:")); -+ char *question = xasprintf(_("Login is not provided by configuration. Please enter your %s login:"), rhbz.b_bugzilla_url); -+ rhbz.b_login = ask_bz_login(question); -+ free(question); - } - - if (rhbz.b_password[0] == '\0') -@@ -546,8 +552,8 @@ int main(int argc, char **argv) - - if (reported_to && reported_to->url) - { -- char *msg = xasprintf("This problem was already reported to Bugzilla (see '%s')." -- " Do you still want to create a new bug?", -+ char *msg = xasprintf(_("This problem was already reported to Bugzilla (see '%s')." -+ " Do you still want to create a new bug?"), - reported_to->url); - int yes = ask_yes_no(msg); - free(msg); --- -2.14.3 - diff --git a/0003-reporter-bugzilla-read-configuration-from-user-s-hom.patch b/0003-reporter-bugzilla-read-configuration-from-user-s-hom.patch deleted file mode 100644 index 072cf7d..0000000 --- a/0003-reporter-bugzilla-read-configuration-from-user-s-hom.patch +++ /dev/null @@ -1,96 +0,0 @@ -From 7df9283b307c11134faf1135a6ced3839e8e0d20 Mon Sep 17 00:00:00 2001 -From: Julius Milan -Date: Tue, 14 Nov 2017 16:13:58 +0100 -Subject: [PATCH 03/22] reporter-bugzilla: read configuration from user's home - -Problem was, that /etc/libreport/plugins/bugzilla.conf has read -permissions set also for others and passwords are stored there as -plain text. - -As solution, bugzilla.conf can be newly placed in users home: -$HOME/.config/libreport/bugzilla.conf -where users can safely store their credentials, also credentials provided -on first run of reporter-bugzilla are stored there. - -Added warning to /etc/libreport/plugins/bugzilla.conf for system admin -to be aware that file is readable by everyone and should not contain -confidential credentials. - -Related to rhbz#1008994, rhbz#1008977 ---- - src/include/internal_libreport.h | 3 +++ - src/plugins/bugzilla.conf | 5 +++++ - src/plugins/reporter-bugzilla.c | 8 ++++++++ - 3 files changed, 16 insertions(+) - -diff --git a/src/include/internal_libreport.h b/src/include/internal_libreport.h -index 1df4cba3..b3c7584b 100644 ---- a/src/include/internal_libreport.h -+++ b/src/include/internal_libreport.h -@@ -89,6 +89,9 @@ int vdprintf(int d, const char *format, va_list ap); - #define CREATE_PRIVATE_TICKET "ABRT_CREATE_PRIVATE_TICKET" - #define STOP_ON_NOT_REPORTABLE "ABRT_STOP_ON_NOT_REPORTABLE" - -+/* path of user's local config, path is relative to user's home */ -+#define USER_HOME_CONFIG_PATH "/.config/libreport" -+ - /* Pull in entire public libreport API */ - #include "global_configuration.h" - #include "dump_dir.h" -diff --git a/src/plugins/bugzilla.conf b/src/plugins/bugzilla.conf -index faa3ab2e..a7727392 100644 ---- a/src/plugins/bugzilla.conf -+++ b/src/plugins/bugzilla.conf -@@ -1,7 +1,12 @@ -+# NOTE this file is readable by everyone, do NOT store here sensitive data, -+# for such cases should be used config file in user's home, -+# i.e.: $HOME/.config/libreport/bugzilla.conf -+ - # Bugzilla URL, defaults to BUG_REPORT_URL from /etc/os-release - # BugzillaURL = https://bugzilla.example.com/ - # yes means that ssl certificates will be checked - SSLVerify = yes -+ - # your login has to exist, if you don't have any, please create one - Login = - # your password -diff --git a/src/plugins/reporter-bugzilla.c b/src/plugins/reporter-bugzilla.c -index 67ac4d11..1571b752 100644 ---- a/src/plugins/reporter-bugzilla.c -+++ b/src/plugins/reporter-bugzilla.c -@@ -214,6 +214,7 @@ static - void login(struct abrt_xmlrpc *client, struct bugzilla_struct *rhbz) - { - log_warning(_("Logging into Bugzilla at %s"), rhbz->b_bugzilla_url); -+ - while (!rhbz_login(client, rhbz->b_login, rhbz->b_password)) - { - char *question; -@@ -281,9 +282,11 @@ int main(int argc, char **argv) - "\nfiled. The default value is 'ABRT Server'" - "\n" - "\nIf not specified, CONFFILE defaults to "CONF_DIR"/plugins/bugzilla.conf" -+ "\nand user's local ~"USER_HOME_CONFIG_PATH"/bugzilla.conf." - "\nIts lines should have 'PARAM = VALUE' format." - "\nRecognized string parameters: BugzillaURL, Login, Password, OSRelease." - "\nRecognized boolean parameter (VALUE should be 1/0, yes/no): SSLVerify." -+ "\nUser's local configuration overrides the system wide configuration." - "\nParameters can be overridden via $Bugzilla_PARAM environment variables." - "\n" - "\nFMTFILE and FMTFILE2 default to "CONF_DIR"/plugins/bugzilla_format.conf" -@@ -357,7 +360,12 @@ int main(int argc, char **argv) - - { - if (!conf_file) -+ { - conf_file = g_list_append(conf_file, (char*) CONF_DIR"/plugins/bugzilla.conf"); -+ char *local_conf = xasprintf("%s"USER_HOME_CONFIG_PATH"/bugzilla.conf", getenv("HOME")); -+ conf_file = g_list_append(conf_file, local_conf); -+ free(local_conf); -+ } - while (conf_file) - { - char *fn = (char *)conf_file->data; --- -2.14.3 - diff --git a/0004-reporter-rhtsupport-read-configuration-from-user-s-h.patch b/0004-reporter-rhtsupport-read-configuration-from-user-s-h.patch deleted file mode 100644 index 224bc59..0000000 --- a/0004-reporter-rhtsupport-read-configuration-from-user-s-h.patch +++ /dev/null @@ -1,115 +0,0 @@ -From cf09831f97308534a6d66a5cd1e99ec5ea646226 Mon Sep 17 00:00:00 2001 -From: Julius Milan -Date: Tue, 5 Dec 2017 17:05:49 +0100 -Subject: [PATCH 04/22] reporter-rhtsupport: read configuration from user's - home - -Problem was, that /etc/libreport/plugins/rhtsupport.conf has read -permissions set also for others and passwords are stored there as -plain text. - -As solution, rhtsupport.conf can be newly placed in users home: -$HOME/.config/libreport/rhtsupport.conf -where users can safely store their credentials, also credentials provided -on first run of reporter-rhtsupport are stored there. - -Added warning to /etc/libreport/plugins/rhtsupport.conf for system admin -to be aware that file is readable by everyone and should not contain -confidential credentials. - -Related to rhbz#1008994, rhbz#1008977 ---- - src/lib/ureport.c | 6 +++++- - src/plugins/report.c | 4 ++-- - src/plugins/reporter-rhtsupport.c | 10 +++++++++- - src/plugins/rhtsupport.conf | 4 ++++ - 4 files changed, 20 insertions(+), 4 deletions(-) - -diff --git a/src/lib/ureport.c b/src/lib/ureport.c -index 9e8bbd6a..a595015c 100644 ---- a/src/lib/ureport.c -+++ b/src/lib/ureport.c -@@ -245,8 +245,12 @@ ureport_server_config_load_basic_auth(struct ureport_server_config *config, - { - settings = new_map_string(); - -- if (!load_plugin_conf_file("rhtsupport.conf", settings, /*skip key w/o values:*/ false)) -+ char *local_conf = xasprintf("%s"USER_HOME_CONFIG_PATH"/rhtsupport.conf", getenv("HOME")); -+ -+ if (!load_plugin_conf_file("rhtsupport.conf", settings, /*skip key w/o values:*/ false) && -+ !load_conf_file(local_conf, settings, /*skip key w/o values:*/ false)) - error_msg_and_die("Could not get RHTSupport credentials"); -+ free(local_conf); - - username = get_map_string_item_or_NULL(settings, "Login"); - password = get_map_string_item_or_NULL(settings, "Password"); -diff --git a/src/plugins/report.c b/src/plugins/report.c -index e6e976bf..3a5d52ca 100644 ---- a/src/plugins/report.c -+++ b/src/plugins/report.c -@@ -43,8 +43,8 @@ int main(int argc, char **argv) - "first one invokes upload to RHTSupport and second - to Bugzilla.\n" - "\n" - "Configuration (such as login data) can be supplied via files\n" -- CONF_DIR"/plugins/bugzilla.conf and\n" -- CONF_DIR"/plugins/rhtsupport.conf,\n" -+ CONF_DIR"/plugins/bugzilla.conf and $HOME"USER_HOME_CONFIG_PATH"/bugzilla.conf and\n" -+ CONF_DIR"/plugins/rhtsupport.conf and $HOME"USER_HOME_CONFIG_PATH"/rhtsupport.conf,\n" - "or via environment variables - read documentation of\n" - "reporter-bugzilla and reporter-rhtsupport tools." - ); -diff --git a/src/plugins/reporter-rhtsupport.c b/src/plugins/reporter-rhtsupport.c -index 0ab06618..6ea92523 100644 ---- a/src/plugins/reporter-rhtsupport.c -+++ b/src/plugins/reporter-rhtsupport.c -@@ -509,10 +509,12 @@ int main(int argc, char **argv) - "Reports a problem to RHTSupport.\n" - "\n" - "If not specified, CONFFILE defaults to "CONF_DIR"/plugins/rhtsupport.conf\n" -+ "and user's local ~"USER_HOME_CONFIG_PATH"/rhtsupport.conf.\n" - "Its lines should have 'PARAM = VALUE' format.\n" - "Recognized string parameters: URL, Login, Password, BigFileURL.\n" - "Recognized numeric parameter: BigSizeMB.\n" - "Recognized boolean parameter (VALUE should be 1/0, yes/no): SSLVerify.\n" -+ "User's local configuration overrides the system wide configuration.\n" - "Parameters can be overridden via $RHTSupport_PARAM environment variables.\n" - "\n" - "Option -t uploads FILEs to the already created case on RHTSupport site.\n" -@@ -521,7 +523,7 @@ int main(int argc, char **argv) - "to enter case ID to which you want to upload the FILEs.\n" - "\n" - "Option -tCASE uploads FILEs to the case CASE on RHTSupport site.\n" -- "-d DIR is ignored." -+ "-d DIR is ignored.\n" - "\n" - "Option -u sends ABRT crash statistics data (uReport) before creating a new case.\n" - "uReport configuration is loaded from UR_CONFFILE which defaults to\n" -@@ -559,7 +561,13 @@ int main(int argc, char **argv) - /* Parse config, extract necessary params */ - map_string_t *settings = new_map_string(); - if (!conf_file) -+ { - conf_file = g_list_append(conf_file, (char*) CONF_DIR"/plugins/rhtsupport.conf"); -+ char *local_conf = xasprintf("%s"USER_HOME_CONFIG_PATH"/rhtsupport.conf", getenv("HOME")); -+ conf_file = g_list_append(conf_file, local_conf); -+ free(local_conf); -+ -+ } - while (conf_file) - { - const char *fn = (char *)conf_file->data; -diff --git a/src/plugins/rhtsupport.conf b/src/plugins/rhtsupport.conf -index 325be92d..91baa90a 100644 ---- a/src/plugins/rhtsupport.conf -+++ b/src/plugins/rhtsupport.conf -@@ -1,3 +1,7 @@ -+# NOTE this file is readable by everyone, do NOT store here sensitive data, -+# for such cases should be used config file in user's home, -+# i.e.: $HOME/.config/libreport/rhtsupport.conf -+ - # Uncomment and specify these parameters if you want to use - # reporter-rhtsupport and/or "report --target strata" tools - # outside of libreport's GUI (i.e. from command line --- -2.14.3 - diff --git a/0005-reporter-mantisbt-read-configuration-from-user-s-hom.patch b/0005-reporter-mantisbt-read-configuration-from-user-s-hom.patch deleted file mode 100644 index b2a56d4..0000000 --- a/0005-reporter-mantisbt-read-configuration-from-user-s-hom.patch +++ /dev/null @@ -1,89 +0,0 @@ -From 80f063738ec40e2f6354e4f58b2d59a53d33eeb4 Mon Sep 17 00:00:00 2001 -From: Julius Milan -Date: Tue, 5 Dec 2017 17:16:54 +0100 -Subject: [PATCH 05/22] reporter-mantisbt: read configuration from user's home - -mantisbt.conf can be placed also in $HOME/.config/libreport/mantisbt.conf -for security reasons ---- - src/plugins/centos_report_event.conf | 4 ---- - src/plugins/mantisbt.conf | 4 ++++ - src/plugins/reporter-mantisbt.c | 7 +++++++ - 3 files changed, 11 insertions(+), 4 deletions(-) - -diff --git a/src/plugins/centos_report_event.conf b/src/plugins/centos_report_event.conf -index 8cf2a502..eb634b91 100644 ---- a/src/plugins/centos_report_event.conf -+++ b/src/plugins/centos_report_event.conf -@@ -10,14 +10,12 @@ EVENT=report_CentOSBugTracker type=vmcore - EVENT=report_CentOSBugTracker type=Python component!=anaconda - test -f component || abrt-action-save-package-data - reporter-mantisbt \ -- -c /etc/libreport/plugins/mantisbt.conf \ - -F /etc/libreport/plugins/mantisbt_format.conf \ - -A /etc/libreport/plugins/mantisbt_formatdup.conf - - EVENT=report_CentOSBugTracker type=Python3 component!=anaconda - test -f component || abrt-action-save-package-data - reporter-mantisbt \ -- -c /etc/libreport/plugins/mantisbt.conf \ - -F /etc/libreport/plugins/mantisbt_format.conf \ - -A /etc/libreport/plugins/mantisbt_formatdup.conf - -@@ -31,12 +29,10 @@ EVENT=report_CentOSBugTracker type=CCpp duphash!= - test -f "/etc/libreport/plugins/mantisbt_formatdup_$component.conf" \ - && formatdup="mantisbt_formatdup_$component.conf" - reporter-mantisbt \ -- -c /etc/libreport/plugins/mantisbt.conf \ - -F "/etc/libreport/plugins/$format" \ - -A "/etc/libreport/plugins/$formatdup" - - EVENT=report_CentOSBugTracker analyzer=libreport - reporter-mantisbt \ -- -c /etc/libreport/plugins/mantisbt.conf \ - -F /etc/libreport/plugins/mantisbt_format_analyzer_libreport.conf \ - -A /etc/libreport/plugins/mantisbt_formatdup_analyzer_libreport.conf -diff --git a/src/plugins/mantisbt.conf b/src/plugins/mantisbt.conf -index 025b9101..24f7f48e 100644 ---- a/src/plugins/mantisbt.conf -+++ b/src/plugins/mantisbt.conf -@@ -1,3 +1,7 @@ -+# NOTE this file is readable by everyone, do NOT store here sensitive data, -+# for such cases should be used config file in user's home, -+# i.e.: $HOME/.config/libreport/mantisbt.conf -+ - # MantisBT URL - MantisbtURL = http://localhost/mantisbt/ - # yes means that ssl certificates will be checked -diff --git a/src/plugins/reporter-mantisbt.c b/src/plugins/reporter-mantisbt.c -index e8afa7db..bef7a45e 100644 ---- a/src/plugins/reporter-mantisbt.c -+++ b/src/plugins/reporter-mantisbt.c -@@ -244,9 +244,11 @@ int main(int argc, char **argv) - "\nfiled. The default value is 'ABRT Server'" - "\n" - "\nIf not specified, CONFFILE defaults to "CONF_DIR"/plugins/mantisbt.conf" -+ "\nand user's local ~"USER_HOME_CONFIG_PATH"/mantisbt.conf." - "\nIts lines should have 'PARAM = VALUE' format." - "\nRecognized string parameters: MantisbtURL, Login, Password, Project, ProjectVersion." - "\nRecognized boolean parameter (VALUE should be 1/0, yes/no): SSLVerify, CreatePrivate." -+ "\nUser's local configuration overrides the system wide configuration." - "\nParameters can be overridden via $Mantisbt_PARAM environment variables." - "\n" - "\nFMTFILE default to "CONF_DIR"/plugins/mantisbt_format.conf." -@@ -300,7 +302,12 @@ int main(int argc, char **argv) - - { - if (!conf_file) -+ { - conf_file = g_list_append(conf_file, (char*) CONF_DIR"/plugins/mantisbt.conf"); -+ char *local_conf = xasprintf("%s"USER_HOME_CONFIG_PATH"/mantisbt.conf", getenv("HOME")); -+ conf_file = g_list_append(conf_file, local_conf); -+ free(local_conf); -+ } - while (conf_file) - { - char *fn = (char *)conf_file->data; --- -2.14.3 - diff --git a/0006-doc-update-to-contain-newly-added-user-s-local-confi.patch b/0006-doc-update-to-contain-newly-added-user-s-local-confi.patch deleted file mode 100644 index a51611e..0000000 --- a/0006-doc-update-to-contain-newly-added-user-s-local-confi.patch +++ /dev/null @@ -1,104 +0,0 @@ -From c8a11eb8a66e6cd0650411304572500fabb77b07 Mon Sep 17 00:00:00 2001 -From: Julius Milan -Date: Tue, 5 Dec 2017 17:18:07 +0100 -Subject: [PATCH 06/22] doc: update to contain newly added user's local config - ---- - doc/reporter-bugzilla.txt | 7 ++++++- - doc/reporter-mantisbt.txt | 5 +++++ - doc/reporter-rhtsupport.txt | 7 ++++++- - doc/reporter-ureport.txt | 3 ++- - 4 files changed, 19 insertions(+), 3 deletions(-) - -diff --git a/doc/reporter-bugzilla.txt b/doc/reporter-bugzilla.txt -index 2d769802..2aee41e1 100644 ---- a/doc/reporter-bugzilla.txt -+++ b/doc/reporter-bugzilla.txt -@@ -52,8 +52,10 @@ filed. The default value is 'ABRT Server'" - - Configuration file - ~~~~~~~~~~~~~~~~~~ --If not specified, CONFFILE defaults to /etc/libreport/plugins/bugzilla.conf. -+If not specified, CONFFILE defaults to /etc/libreport/plugins/bugzilla.conf -+and to user's local ~/.config/libreport/bugzilla.conf. - Configuration file lines should have 'PARAM = VALUE' format. The parameters are: -+User's local configuration overrides the system wide configuration. - - 'Login':: - Login to Bugzilla account. -@@ -214,6 +216,9 @@ FILES - /etc/libreport/plugins/bugzilla.conf:: - Configuration file. - -+~/.config/libreport/bugzilla.conf:: -+ User's local configuration file. -+ - /etc/libreport/plugins/bugzilla_format.conf:: - Configure formating for reporting. - -diff --git a/doc/reporter-mantisbt.txt b/doc/reporter-mantisbt.txt -index 92255b08..074aa4e9 100644 ---- a/doc/reporter-mantisbt.txt -+++ b/doc/reporter-mantisbt.txt -@@ -47,7 +47,9 @@ filed. The default value is 'ABRT Server'" - Configuration file - ~~~~~~~~~~~~~~~~~~ - If not specified, CONFFILE defaults to /etc/libreport/plugins/mantisbt.conf. -+and to user's local ~/.config/libreport/mantisbt.conf. - Configuration file lines should have 'PARAM = VALUE' format. The parameters are: -+User's local configuration overrides the system wide configuration. - - 'Login':: - Login to MantisBT account. -@@ -204,6 +206,9 @@ FILES - /etc/libreport/plugins/mantisbt.conf:: - Configuration file. - -+~/.config/libreport/mantisbt.conf:: -+ User's local configuration file. -+ - /etc/libreport/plugins/mantisbt_format.conf:: - Configure formating for reporting. - -diff --git a/doc/reporter-rhtsupport.txt b/doc/reporter-rhtsupport.txt -index 2e779bc9..e52a1525 100644 ---- a/doc/reporter-rhtsupport.txt -+++ b/doc/reporter-rhtsupport.txt -@@ -24,7 +24,9 @@ creating a new case. - The URL to new case is printed to stdout and recorded in 'reported_to' - element in DIR. - --If not specified, CONFFILE defaults to /etc/libreport/plugins/rhtsupport.conf. -+If not specified, CONFFILE defaults to /etc/libreport/plugins/rhtsupport.conf -+and to user's local ~/.config/libreport/rhtsupport.conf. -+User's local configuration overrides the system wide configuration. - - Option -t uploads FILEs to the already created case on RHTSupport site. - The case ID is retrieved from directory specified by -d DIR. -@@ -99,6 +101,9 @@ FILES - /etc/libreport/plugins/rhtsupport.conf:: - Configuration file. - -+~/.config/libreport/rhtsupport.conf:: -+ User's local configuration file. -+ - SEE ALSO - -------- - abrt_event.conf(5), rhtsupport.conf(5), rhtsupport_event.conf(5) -diff --git a/doc/reporter-ureport.txt b/doc/reporter-ureport.txt -index ced48b01..7deb9117 100644 ---- a/doc/reporter-ureport.txt -+++ b/doc/reporter-ureport.txt -@@ -52,7 +52,8 @@ Configuration file lines should have 'PARAM = VALUE' format. The parameters are: - Possible values are:: - - 'rhts-credentials';; -- Uses Login= and Password= values from /etc/libreport/plugins/rhtsupport.conf. -+ Uses Login= and Password= values from /etc/libreport/plugins/rhtsupport.conf and -+ user's local ~/.config/libreport/rhtsupport.conf. - - ':';; - Manually supply credentials. --- -2.14.3 - diff --git a/0007-augeas-include-local-config-path.patch b/0007-augeas-include-local-config-path.patch deleted file mode 100644 index f7f8446..0000000 --- a/0007-augeas-include-local-config-path.patch +++ /dev/null @@ -1,24 +0,0 @@ -From e084cc0f6df7ee8d9e43592120f818755fc2d144 Mon Sep 17 00:00:00 2001 -From: Julius Milan -Date: Tue, 5 Dec 2017 17:19:43 +0100 -Subject: [PATCH 07/22] augeas: include local config path - ---- - augeas/libreport.aug | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/augeas/libreport.aug b/augeas/libreport.aug -index dd4252e6..7e89faca 100644 ---- a/augeas/libreport.aug -+++ b/augeas/libreport.aug -@@ -29,6 +29,7 @@ module Libreport = - . (incl (Sys.getenv("HOME") . "/.config/abrt/settings/*")) - . (incl (Sys.getenv("XDG_CACHE_HOME") . "/abrt/events/*")) - . (incl (Sys.getenv("HOME") . "/.cache/abrt/events/*")) -+ . (incl (Sys.getenv("HOME") . "/.config/libreport/*")) - . (excl "/etc/libreport/plugins/bugzilla_format*") - . (excl "/etc/libreport/plugins/mantisbt_format*") - . (excl "/etc/libreport/plugins/catalog*") --- -2.14.3 - diff --git a/0008-spec-fix-unowned-directories.patch b/0008-spec-fix-unowned-directories.patch deleted file mode 100644 index 30f8378..0000000 --- a/0008-spec-fix-unowned-directories.patch +++ /dev/null @@ -1,48 +0,0 @@ -From aabecaa542bc4c5a7b230441690600981f6021bf Mon Sep 17 00:00:00 2001 -From: Martin Kutlak -Date: Thu, 7 Dec 2017 11:02:12 +0100 -Subject: [PATCH 08/22] spec: fix unowned directories - -Unistalling python{2,3}-libreport, libreport-filesystem leaves behind these directories in the system. - -Resolves #514 - -Signed-off-by: Martin Kutlak ---- - libreport.spec.in | 11 +++++++---- - 1 file changed, 7 insertions(+), 4 deletions(-) - -diff --git a/libreport.spec.in b/libreport.spec.in -index 9589c8f0..056586e2 100644 ---- a/libreport.spec.in -+++ b/libreport.spec.in -@@ -472,6 +472,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - %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/ -@@ -515,12 +518,12 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - %{_libdir}/pkgconfig/libreport-web.pc - - %files -n python2-libreport --%{python_sitearch}/report/* --%{python_sitearch}/reportclient/* -+%{python_sitearch}/report/ -+%{python_sitearch}/reportclient/ - - %files -n python3-libreport --%{python3_sitearch}/report/* --%{python3_sitearch}/reportclient/* -+%{python3_sitearch}/report/ -+%{python3_sitearch}/reportclient/ - - %files cli - %{_bindir}/report-cli --- -2.14.3 - diff --git a/0009-reporter-mailx-rely-on-configured-email.patch b/0009-reporter-mailx-rely-on-configured-email.patch deleted file mode 100644 index 90529e9..0000000 --- a/0009-reporter-mailx-rely-on-configured-email.patch +++ /dev/null @@ -1,73 +0,0 @@ -From 1394000e8d06f37509bb7120fbe9231a89cb46c0 Mon Sep 17 00:00:00 2001 -From: Julius Milan -Date: Fri, 8 Dec 2017 16:58:13 +0100 -Subject: [PATCH 09/22] reporter-mailx: rely on configured email - -As a side effect of the fix of rhbz#1093375, the users loosed the control -over their reporter-mailx via configuration file: -/etc/libreport/plugins/mailx.conf - -This fix retains this option for the user, but still solves -rhbz#1093375. - -Related to rhbz#1523689, rhbz#1093375. ---- - src/plugins/mailx.conf | 8 ++++---- - src/plugins/mailx_event.conf | 8 -------- - src/plugins/reporter-mailx.c | 2 +- - 3 files changed, 5 insertions(+), 13 deletions(-) - -diff --git a/src/plugins/mailx.conf b/src/plugins/mailx.conf -index 3b23583a..7c8fcae2 100644 ---- a/src/plugins/mailx.conf -+++ b/src/plugins/mailx.conf -@@ -4,9 +4,9 @@ - # and you don't want to specify parameters in every tool invocation. - # - # String parameters: --# Subject= --# EmailFrom= --# EmailTo= --# -+Subject="[abrt] a crash has been detected" -+EmailFrom="ABRT Daemon " -+EmailTo="root@localhost" -+ - # Boolean parameter: - # SendBinaryData=yes/no -diff --git a/src/plugins/mailx_event.conf b/src/plugins/mailx_event.conf -index c138b89f..16068352 100644 ---- a/src/plugins/mailx_event.conf -+++ b/src/plugins/mailx_event.conf -@@ -1,15 +1,7 @@ - EVENT=notify -- # do not rely on the default config nor on the config file -- Mailx_Subject="[abrt] a crash has been detected" \ -- Mailx_EmailFrom="ABRT Daemon " \ -- Mailx_EmailTo="root@localhost" \ - reporter-mailx --notify-only - - EVENT=notify-dup -- # do not rely on the default config nor on the config file -- Mailx_Subject="[abrt] a crash has been detected again" \ -- Mailx_EmailFrom="ABRT Daemon " \ -- Mailx_EmailTo="root@localhost" \ - reporter-mailx --notify-only - - EVENT=report_Mailx reporter-mailx -diff --git a/src/plugins/reporter-mailx.c b/src/plugins/reporter-mailx.c -index 05fa1e52..2c88836f 100644 ---- a/src/plugins/reporter-mailx.c -+++ b/src/plugins/reporter-mailx.c -@@ -112,7 +112,7 @@ static void create_and_send_email( - - char* env; - env = getenv("Mailx_EmailFrom"); -- char *email_from = (env ? xstrdup(env) : xstrdup(get_map_string_item_or_NULL(settings, "EmailFrom")) ? : ask_email_address("sender", "user@localhost")); -+ char *email_from = (env ? xstrdup(env) : xstrdup(get_map_string_item_or_NULL(settings, "EmailFrom")) ? : ask_email_address("sender", "ABRT Daemon ")); - env = getenv("Mailx_EmailTo"); - char *email_to = (env ? xstrdup(env) : xstrdup(get_map_string_item_or_NULL(settings, "EmailTo")) ? : ask_email_address("receiver", "root@localhost")); - env = getenv("Mailx_SendBinaryData"); --- -2.14.3 - diff --git a/0010-reporter-bugzilla-mantisbt-rhtsupport-fix-free.patch b/0010-reporter-bugzilla-mantisbt-rhtsupport-fix-free.patch deleted file mode 100644 index 4f0cedc..0000000 --- a/0010-reporter-bugzilla-mantisbt-rhtsupport-fix-free.patch +++ /dev/null @@ -1,101 +0,0 @@ -From 288ddc7af962ace63990a3a95c9616e693b4f411 Mon Sep 17 00:00:00 2001 -From: Julius Milan -Date: Tue, 2 Jan 2018 17:20:33 +0100 -Subject: [PATCH 10/22] reporter-{bugzilla,mantisbt,rhtsupport}: fix free - -There was an incorrect free of string local_conf right after addition to -the list conf_file, which caused that presence of the pointed string in -the memory was undeterministic. As a result, local config was sometimes -used and sometimes not. ---- - src/plugins/reporter-bugzilla.c | 6 ++++-- - src/plugins/reporter-mantisbt.c | 5 +++-- - src/plugins/reporter-rhtsupport.c | 6 ++++-- - 3 files changed, 11 insertions(+), 6 deletions(-) - -diff --git a/src/plugins/reporter-bugzilla.c b/src/plugins/reporter-bugzilla.c -index 1571b752..2922e8ac 100644 ---- a/src/plugins/reporter-bugzilla.c -+++ b/src/plugins/reporter-bugzilla.c -@@ -359,12 +359,12 @@ int main(int argc, char **argv) - } - - { -+ char *local_conf = NULL; - if (!conf_file) - { - conf_file = g_list_append(conf_file, (char*) CONF_DIR"/plugins/bugzilla.conf"); -- char *local_conf = xasprintf("%s"USER_HOME_CONFIG_PATH"/bugzilla.conf", getenv("HOME")); -+ local_conf = xasprintf("%s"USER_HOME_CONFIG_PATH"/bugzilla.conf", getenv("HOME")); - conf_file = g_list_append(conf_file, local_conf); -- free(local_conf); - } - while (conf_file) - { -@@ -374,6 +374,8 @@ int main(int argc, char **argv) - log_debug("Loaded '%s'", fn); - conf_file = g_list_delete_link(conf_file, conf_file); - } -+ free(local_conf); -+ - set_settings(&rhbz, settings); - /* WRONG! set_settings() does not copy the strings, it merely sets up pointers - * to settings[] dictionary: -diff --git a/src/plugins/reporter-mantisbt.c b/src/plugins/reporter-mantisbt.c -index bef7a45e..c2b0d0b4 100644 ---- a/src/plugins/reporter-mantisbt.c -+++ b/src/plugins/reporter-mantisbt.c -@@ -301,12 +301,12 @@ int main(int argc, char **argv) - map_string_t *settings = new_map_string(); - - { -+ char *local_conf = NULL; - if (!conf_file) - { - conf_file = g_list_append(conf_file, (char*) CONF_DIR"/plugins/mantisbt.conf"); -- char *local_conf = xasprintf("%s"USER_HOME_CONFIG_PATH"/mantisbt.conf", getenv("HOME")); -+ local_conf = xasprintf("%s"USER_HOME_CONFIG_PATH"/mantisbt.conf", getenv("HOME")); - conf_file = g_list_append(conf_file, local_conf); -- free(local_conf); - } - while (conf_file) - { -@@ -316,6 +316,7 @@ int main(int argc, char **argv) - log_debug("Loaded '%s'", fn); - conf_file = g_list_delete_link(conf_file, conf_file); - } -+ free(local_conf); - - struct dump_dir *dd = NULL; - if (abrt_hash == NULL) -diff --git a/src/plugins/reporter-rhtsupport.c b/src/plugins/reporter-rhtsupport.c -index 6ea92523..d11b4bd0 100644 ---- a/src/plugins/reporter-rhtsupport.c -+++ b/src/plugins/reporter-rhtsupport.c -@@ -560,12 +560,12 @@ int main(int argc, char **argv) - - /* Parse config, extract necessary params */ - map_string_t *settings = new_map_string(); -+ char *local_conf = NULL; - if (!conf_file) - { - conf_file = g_list_append(conf_file, (char*) CONF_DIR"/plugins/rhtsupport.conf"); -- char *local_conf = xasprintf("%s"USER_HOME_CONFIG_PATH"/rhtsupport.conf", getenv("HOME")); -+ local_conf = xasprintf("%s"USER_HOME_CONFIG_PATH"/rhtsupport.conf", getenv("HOME")); - conf_file = g_list_append(conf_file, local_conf); -- free(local_conf); - - } - while (conf_file) -@@ -576,6 +576,8 @@ int main(int argc, char **argv) - log_debug("Loaded '%s'", fn); - conf_file = g_list_remove(conf_file, fn); - } -+ free(local_conf); -+ - char *url = get_param_string("URL" , settings, "https://api.access.redhat.com/rs"); - char *login = get_param_string("Login" , settings, ""); - char *password = get_param_string("Password" , settings, ""); --- -2.14.3 - diff --git a/0011-This-package-uses-names-with-ambiguous-python-prefix.patch b/0011-This-package-uses-names-with-ambiguous-python-prefix.patch deleted file mode 100644 index 4ec6449..0000000 --- a/0011-This-package-uses-names-with-ambiguous-python-prefix.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 26baccf32610d94944faa7eb29a8f530ddd3e2db Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Miroslav=20Such=C3=BD?= -Date: Wed, 10 Jan 2018 09:01:26 +0100 -Subject: [PATCH 11/22] This package uses names with ambiguous `python-` prefix - in requirements. - -According to [Fedora Packaging guidelines for Python](https://fedoraproject.org/wiki/Packaging:Python#Dependencies), packages must use names with either `python2-` or `python3-` prefix in requirements where available. -We are aiming to rename `python-*` dependencies to `python2-*`, so we can later switch the `python-*` namespace to Python 3. - -This PR is part of [Fedora's Switch to Python 3 effort](https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3). - -Note that, although this PR was created automatically, we will respond to any comments or issues which you might find with it. We will keep the PR open for review for a week, and if there's no feedback we'll merge it. -The local mock build passed, for Koji scratch build please see simple-koji-ci result. - -*This PR was opened automatically, for source code see [here](https://pagure.io/python-fixrequires)* - -This commit have been migrated from src.fedoraproject.org ---- - libreport.spec.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/libreport.spec.in b/libreport.spec.in -index 056586e2..ae69d65f 100644 ---- a/libreport.spec.in -+++ b/libreport.spec.in -@@ -26,7 +26,7 @@ BuildRequires: %{dbus_devel} - BuildRequires: gtk3-devel - BuildRequires: curl-devel - BuildRequires: desktop-file-utils --BuildRequires: python-devel -+BuildRequires: python2-devel - BuildRequires: python3-devel - BuildRequires: gettext - BuildRequires: libxml2-devel --- -2.14.3 - diff --git a/0012-remove-rhel6-specific-items-and-accomodate-to-rhel7.patch b/0012-remove-rhel6-specific-items-and-accomodate-to-rhel7.patch deleted file mode 100644 index cc8db14..0000000 --- a/0012-remove-rhel6-specific-items-and-accomodate-to-rhel7.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 4833e53ab69811559855a725069315b04ba7246d Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Miroslav=20Such=C3=BD?= -Date: Wed, 10 Jan 2018 09:06:05 +0100 -Subject: [PATCH 12/22] remove rhel6 specific items and accomodate to rhel7+ - ---- - libreport.spec.in | 12 +----------- - 1 file changed, 1 insertion(+), 11 deletions(-) - -diff --git a/libreport.spec.in b/libreport.spec.in -index ae69d65f..63f5114a 100644 ---- a/libreport.spec.in -+++ b/libreport.spec.in -@@ -41,7 +41,7 @@ BuildRequires: libproxy-devel - BuildRequires: satyr-devel >= 0.24 - BuildRequires: glib2-devel >= %{glib_ver} - --%if 0%{?fedora} >= 24 -+%if 0%{?fedora} >= 24 || 0%{?rhel} > 7 - # A test case uses zh_CN locale to verify XML event translations - BuildRequires: glibc-all-langpacks - %endif -@@ -96,11 +96,6 @@ Development headers for libreport-web - Summary: Python bindings for report-libs - Requires: libreport = %{version}-%{release} - Requires: python2-dnf --# 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 - %{?python_provide:%python_provide python2-libreport} - # Remove before F30 - Provides: %{name}-python = %{version}-%{release} -@@ -330,12 +325,7 @@ CFLAGS="%{optflags} -Werror" %configure \ - %if %{without bugzilla} - --without-bugzilla \ - %endif --%if 0%{?rhel} == 6 -- --with-defaultdumpdirmode=0640 \ -- --disable-userownsdumpdir \ --%else - --enable-doxygen-docs \ --%endif - --disable-silent-rules - - make %{?_smp_mflags} --- -2.14.3 - diff --git a/0013-macro-python_sitearch-is-always-defined-on-rhel7.patch b/0013-macro-python_sitearch-is-always-defined-on-rhel7.patch deleted file mode 100644 index c6e0283..0000000 --- a/0013-macro-python_sitearch-is-always-defined-on-rhel7.patch +++ /dev/null @@ -1,23 +0,0 @@ -From d38ef3a3a93c1b4b623b40945fec73aff51ce0cf Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Miroslav=20Such=C3=BD?= -Date: Wed, 10 Jan 2018 09:07:29 +0100 -Subject: [PATCH 13/22] macro python_sitearch is always defined on rhel7+ - ---- - libreport.spec.in | 3 --- - 1 file changed, 3 deletions(-) - -diff --git a/libreport.spec.in b/libreport.spec.in -index 63f5114a..bccaa78c 100644 ---- a/libreport.spec.in -+++ b/libreport.spec.in -@@ -1,6 +1,3 @@ --# platform-dependent --%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -- - %if 0%{?suse_version} - %bcond_with bugzilla - --- -2.14.3 - diff --git a/0014-use-usr-sbin.patch b/0014-use-usr-sbin.patch deleted file mode 100644 index 6fe4be4..0000000 --- a/0014-use-usr-sbin.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 801b3ec7f6e8c4f932796786e5dd8fa8a72817b8 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Miroslav=20Such=C3=BD?= -Date: Wed, 10 Jan 2018 09:10:59 +0100 -Subject: [PATCH 14/22] use /usr/sbin/ - -everything rhel7+ has been moved to /usr ---- - libreport.spec.in | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -diff --git a/libreport.spec.in b/libreport.spec.in -index bccaa78c..aceffa83 100644 ---- a/libreport.spec.in -+++ b/libreport.spec.in -@@ -413,16 +413,16 @@ make check|| { - } - - %post gtk --/sbin/ldconfig -+/usr/sbin/ldconfig - # update icon cache - touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : - --%post -p /sbin/ldconfig -+%post -p /usr/sbin/ldconfig - --%postun -p /sbin/ldconfig -+%postun -p /usr/sbin/ldconfig - - %postun gtk --/sbin/ldconfig -+/usr/sbin/ldconfig - if [ $1 -eq 0 ] ; then - touch --no-create %{_datadir}/icons/hicolor &>/dev/null - gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -@@ -432,10 +432,10 @@ fi - gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - - --%post web -p /sbin/ldconfig -+%post web -p /usr/sbin/ldconfig - - --%postun web -p /sbin/ldconfig -+%postun web -p /usr/sbin/ldconfig - - %files -f %{name}.lang - %doc README.md --- -2.14.3 - diff --git a/0015-move-defattr-which-match-the-defaults.patch b/0015-move-defattr-which-match-the-defaults.patch deleted file mode 100644 index 4546165..0000000 --- a/0015-move-defattr-which-match-the-defaults.patch +++ /dev/null @@ -1,24 +0,0 @@ -From ed12ae25790361aac42427983f78896cef0f16e9 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Miroslav=20Such=C3=BD?= -Date: Wed, 10 Jan 2018 09:11:38 +0100 -Subject: [PATCH 15/22] move defattr which match the defaults - ---- - libreport.spec.in | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/libreport.spec.in b/libreport.spec.in -index aceffa83..35daae72 100644 ---- a/libreport.spec.in -+++ b/libreport.spec.in -@@ -552,7 +552,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - %{_mandir}/man*/reporter-print.* - - %files plugin-systemd-journal --%defattr(-,root,root,-) - %{_bindir}/reporter-systemd-journal - %{_mandir}/man*/reporter-systemd-journal.* - --- -2.14.3 - diff --git a/0016-do-not-expand-macro-in-changelog.patch b/0016-do-not-expand-macro-in-changelog.patch deleted file mode 100644 index 6ee18bd..0000000 --- a/0016-do-not-expand-macro-in-changelog.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 14adfc002f06a595f9fb112f9c2afc074ebaffc7 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Miroslav=20Such=C3=BD?= -Date: Wed, 10 Jan 2018 09:13:18 +0100 -Subject: [PATCH 16/22] do not expand macro in changelog - ---- - libreport.spec.in | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/libreport.spec.in b/libreport.spec.in -index 35daae72..970e772f 100644 ---- a/libreport.spec.in -+++ b/libreport.spec.in -@@ -816,7 +816,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - - 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: use %%buildroot macro - - spec: remove defattr which match the defaults - - spec: do not clean buildroot - - spec: remove Groups -@@ -876,7 +876,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - * 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: 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 --- -2.14.3 - diff --git a/0017-reporter-rhtsupport-Remove-dependency-on-redhat-acce.patch b/0017-reporter-rhtsupport-Remove-dependency-on-redhat-acce.patch deleted file mode 100644 index 373ba6b..0000000 --- a/0017-reporter-rhtsupport-Remove-dependency-on-redhat-acce.patch +++ /dev/null @@ -1,157 +0,0 @@ -From 8fddcea966d381ffb3003dbde088e6fdafe57c04 Mon Sep 17 00:00:00 2001 -From: Martin Kutlak -Date: Thu, 11 Jan 2018 15:51:19 +0100 -Subject: [PATCH 17/22] reporter-rhtsupport: Remove dependency on - redhat-access-insights - -The package is going away/will no longer include the certificate. - -Libreport will package the certificate directly. - -Related to #1524481 - -Signed-off-by: Martin Kutlak ---- - configure.ac | 11 +++++ - libreport.spec.in | 9 ++-- - src/lib/ureport.c | 2 +- - src/plugins/Makefile.am | 6 +++ - src/plugins/cert-api.access.redhat.com.pem | 74 ++++++++++++++++++++++++++++++ - 5 files changed, 98 insertions(+), 4 deletions(-) - create mode 100644 src/plugins/cert-api.access.redhat.com.pem - -diff --git a/configure.ac b/configure.ac -index 73ebe3a9..5717248a 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -172,6 +172,17 @@ do - done - fi dnl end NO_MANTISBT - -+dnl enable import of certificate for rhtsupport plugin -+AC_ARG_ENABLE([import-rhtsupport-cert], -+AS_HELP_STRING([--enable-import-rhtsupport-cert], -+ [import certificate needed for rhtsupport plugin (default is NO)]), -+[], [enable_import_rhtsupport_cert="no"]) -+ -+AS_IF([test "x$enable_import_rhtsupport_cert" != "xno"], -+AM_CONDITIONAL(ENABLE_IMPORT_RHTSUPPORT_CERT, true), -+AM_CONDITIONAL(ENABLE_IMPORT_RHTSUPPORT_CERT, false)) -+ -+ - AC_ARG_WITH(python2, - AS_HELP_STRING([--with-python2],[use python2 (default is YES)]), - LIBREPORT_PARSE_WITH([python2])) -diff --git a/src/lib/ureport.c b/src/lib/ureport.c -index a595015c..6f1c05a3 100644 ---- a/src/lib/ureport.c -+++ b/src/lib/ureport.c -@@ -40,7 +40,7 @@ - * macro for cert name. Cert path can be easily modified for example by reading - * an environment variable LIBREPORT_DEBUG_AUTHORITY_CERT_DIR_PATH - */ --#define CERT_AUTHORITY_CERT_PATH "/etc/redhat-access-insights" -+#define CERT_AUTHORITY_CERT_PATH "/etc/libreport" - #define CERT_AUTHORITY_CERT_NAME "cert-api.access.redhat.com.pem" - - static char * -diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am -index f73e7dce..b228602a 100644 ---- a/src/plugins/Makefile.am -+++ b/src/plugins/Makefile.am -@@ -28,6 +28,12 @@ pluginsconfdir = $(PLUGINS_CONF_DIR) - - reportpluginsconfdir = $(REPORT_PLUGINS_CONF_DIR) - -+if ENABLE_IMPORT_RHTSUPPORT_CERT -+libreportconfdir = $(CONF_DIR) -+dist_libreportconf_DATA = \ -+ cert-api.access.redhat.com.pem -+endif -+ - reporters_plugin_conf = - reporters_plugin_format_conf = - if BUILD_BUGZILLA -diff --git a/src/plugins/cert-api.access.redhat.com.pem b/src/plugins/cert-api.access.redhat.com.pem -new file mode 100644 -index 00000000..20ef8c00 ---- /dev/null -+++ b/src/plugins/cert-api.access.redhat.com.pem -@@ -0,0 +1,74 @@ -+-----BEGIN CERTIFICATE----- -+MIIHZDCCBUygAwIBAgIJAOb+QiglyeZeMA0GCSqGSIb3DQEBBQUAMIGwMQswCQYD -+VQQGEwJVUzEXMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmExEDAOBgNVBAcMB1JhbGVp -+Z2gxFjAUBgNVBAoMDVJlZCBIYXQsIEluYy4xGDAWBgNVBAsMD1JlZCBIYXQgTmV0 -+d29yazEeMBwGA1UEAwwVRW50aXRsZW1lbnQgTWFzdGVyIENBMSQwIgYJKoZIhvcN -+AQkBFhVjYS1zdXBwb3J0QHJlZGhhdC5jb20wHhcNMTAwMzE3MTkwMDQ0WhcNMzAw -+MzEyMTkwMDQ0WjCBsDELMAkGA1UEBhMCVVMxFzAVBgNVBAgMDk5vcnRoIENhcm9s -+aW5hMRAwDgYDVQQHDAdSYWxlaWdoMRYwFAYDVQQKDA1SZWQgSGF0LCBJbmMuMRgw -+FgYDVQQLDA9SZWQgSGF0IE5ldHdvcmsxHjAcBgNVBAMMFUVudGl0bGVtZW50IE1h -+c3RlciBDQTEkMCIGCSqGSIb3DQEJARYVY2Etc3VwcG9ydEByZWRoYXQuY29tMIIC -+IjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA2Z+mW7OYcBcGxWS+RSKG2GJ2 -+csMXiGGfEp36vKVsIvypmNS60SkicKENMYREalbdSjrgfXxPJygZWsVWJ5lHPfBV -+o3WkFrFHTIXd/R6LxnaHD1m8Cx3GwEeuSlE/ASjc1ePtMnsHH7xqZ9wdl85b1C8O -+scgO7fwuM192kvv/veI/BogIqUQugtG6szXpV8dp4ml029LXFoNIy2lfFoa2wKYw -+MiUHwtYgAz7TDY63e8qGhd5PoqTv9XKQogo2ze9sF9y/npZjliNy5qf6bFE+24oW -+E8pGsp3zqz8h5mvw4v+tfIx5uj7dwjDteFrrWD1tcT7UmNrBDWXjKMG81zchq3h4 -+etgF0iwMHEuYuixiJWNzKrLNVQbDmcLGNOvyJfq60tM8AUAd72OUQzivBegnWMit -+CLcT5viCT1AIkYXt7l5zc/duQWLeAAR2FmpZFylSukknzzeiZpPclRziYTboDYHq -+revM97eER1xsfoSYp4mJkBHfdlqMnf3CWPcNgru8NbEPeUGMI6+C0YvknPlqDDtU -+ojfl4qNdf6nWL+YNXpR1YGKgWGWgTU6uaG8Sc6qGfAoLHh6oGwbuz102j84OgjAJ -+DGv/S86svmZWSqZ5UoJOIEqFYrONcOSgztZ5tU+gP4fwRIkTRbTEWSgudVREOXhs -+bfN1YGP7HYvS0OiBKZUCAwEAAaOCAX0wggF5MB0GA1UdDgQWBBSIS6ZFxEbsj9bP -+pvYazyY8kMx/FzCB5QYDVR0jBIHdMIHagBSIS6ZFxEbsj9bPpvYazyY8kMx/F6GB -+tqSBszCBsDELMAkGA1UEBhMCVVMxFzAVBgNVBAgMDk5vcnRoIENhcm9saW5hMRAw -+DgYDVQQHDAdSYWxlaWdoMRYwFAYDVQQKDA1SZWQgSGF0LCBJbmMuMRgwFgYDVQQL -+DA9SZWQgSGF0IE5ldHdvcmsxHjAcBgNVBAMMFUVudGl0bGVtZW50IE1hc3RlciBD -+QTEkMCIGCSqGSIb3DQEJARYVY2Etc3VwcG9ydEByZWRoYXQuY29tggkA5v5CKCXJ -+5l4wDAYDVR0TBAUwAwEB/zALBgNVHQ8EBAMCAQYwEQYJYIZIAYb4QgEBBAQDAgEG -+MCAGA1UdEQQZMBeBFWNhLXN1cHBvcnRAcmVkaGF0LmNvbTAgBgNVHRIEGTAXgRVj -+YS1zdXBwb3J0QHJlZGhhdC5jb20wDQYJKoZIhvcNAQEFBQADggIBAJ1hEdNBDTRr -+6kI6W6stoogSUwjuiWPDY8DptwGhdpyIfbCoxvBR7F52DlwyXOpCunogfKMRklnE -+gH1Wt66RYkgNuJcenKHAhR5xgSLoPCOVF9rDjMunyyBuxjIbctM21R7BswVpsEIE -+OpV5nlJ6wkHsrn0/E+Zk5UJdCzM+Fp4hqHtEn/c97nvRspQcpWeDg6oUvaJSZTGM -+8yFpzR90X8ZO4rOgpoERukvYutUfJUzZuDyS3LLc6ysamemH93rZXr52zc4B+C9G -+Em8zemDgIPaH42ce3C3TdVysiq/yk+ir7pxW8toeavFv75l1UojFSjND+Q2AlNQn -+pYkmRznbD5TZ3yDuPFQG2xYKnMPACepGgKZPyErtOIljQKCdgcvb9EqNdZaJFz1+ -+/iWKYBL077Y0CKwb+HGIDeYdzrYxbEd95YuVU0aStnf2Yii2tLcpQtK9cC2+DXjL -+Yf3kQs4xzH4ZejhG9wzv8PGXOS8wHYnfVNA3+fclDEQ1mEBKWHHmenGI6QKZUP8f -+g0SQ3PNRnSZu8R+rhABOEuVFIBRlaYijg2Pxe0NgL9FlHsNyRfo6EUrB2QFRKACW -+3Mo6pZyDjQt7O8J7l9B9IIURoJ1niwygf7VSJTMl2w3fFleNJlZTGgdXw0V+5g+9 -+Kg6Ay0rrsi4nw1JHue2GvdjdfVOaWSWC -+-----END CERTIFICATE----- -+-----BEGIN CERTIFICATE----- -+MIIFfTCCA2WgAwIBAgIJAJGKz8qFAAADMA0GCSqGSIb3DQEBBQUAMIGwMQswCQYD -+VQQGEwJVUzEXMBUGA1UECAwOTm9ydGggQ2Fyb2xpbmExEDAOBgNVBAcMB1JhbGVp -+Z2gxFjAUBgNVBAoMDVJlZCBIYXQsIEluYy4xGDAWBgNVBAsMD1JlZCBIYXQgTmV0 -+d29yazEeMBwGA1UEAwwVRW50aXRsZW1lbnQgTWFzdGVyIENBMSQwIgYJKoZIhvcN -+AQkBFhVjYS1zdXBwb3J0QHJlZGhhdC5jb20wHhcNMTUwNTA1MTMwMzQ4WhcNMjUw -+NTAyMTMwMzQ4WjCBiTELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5PUlRIIENBUk9M -+SU5BMRAwDgYDVQQHEwdSYWxlaWdoMRAwDgYDVQQKEwdSZWQgSGF0MRgwFgYDVQQL -+Ew9SZWQgSGF0IE5ldHdvcmsxIzAhBgNVBAMTGmNlcnQtYXBpLmFjY2Vzcy5yZWRo -+YXQuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA9hTNMtZMa7Kg -+Jlux6pnuUinP0Rv0aiiPFr7qNHFore4loGrPlpzUvQbUByy3xm7lhf4R4qbINCls -+veWg6HDidvQr174RXb5YLMXuBrYAiPWQTrRRLNuvXFHKzREghRWTv48IXTIDEo0G -+fZJUO+myY2RfwqugZKic5dR6ZakHSSpQO70O6H5R0eHlKa13k4eEpG2fVY/xqFto -+WkfZyEmSacZpqxp7gIjZqreLc4MFwpiVjGFrK3Jk+Px1Z6J94LTLx2SxrYzWIeUs -+5j+lceQOvpV4/pkClnRCW1pkCKTccjFKQkpNPGwdIusRXUGl9IYc20Fa/7g9iUQc -+5fXu9EAzfwIDAQABo4G+MIG7MAkGA1UdEwQCMAAwEQYJYIZIAYb4QgEBBAQDAgZA -+MAsGA1UdDwQEAwIF4DATBgNVHSUEDDAKBggrBgEFBQcDATA5BglghkgBhvhCAQ0E -+LBYqTWFuYWdlZCBieSBSZWQgSGF0IChjYS1zdXBwb3J0QHJlZGhhdC5jb20pMB0G -+A1UdDgQWBBRfgCjd8aXf0U4VX8DKTVIn+paGBzAfBgNVHSMEGDAWgBSIS6ZFxEbs -+j9bPpvYazyY8kMx/FzANBgkqhkiG9w0BAQUFAAOCAgEAlC+r6UEEp5BUkI0Rj2T+ -+1PH7oUCaGQeQoyVbGddz/WUcBk/lMMtyCEoxU+3tTwNWmCWWjYXtjoL9MlSAC/q+ -+NZfBi1iq0uuSus9JI/Uu8aRhoxTK56qGRed/JNixOHEmFn891cahIPpF0exWwtYD -+ThwXo7Z6PI7t8EMKdSrGTOowp58yho8xYFL/Z7JmjL55Pf85GIrdiniNZd4i178J -+07R9zsiLvdXq9mT33iJwkm+uhO+FA9d8OE3ji21pBbGUAQSWOdkemvUCsy8zANW9 -+fT+dBrMr5Buk7eaBBJ2PxECNiWLCRQJWmyff1O5zMT0daS2lBdEGUNhBZ0hnX13Q -+kabUp0bxRrNRq+WkomP7onZhfZS6SjKm0UmwoV6o3V1ED6y7muQNRmgDpA5PcbvO -+gl7OexNL4zcpyfMdAmTYf5yTRSvB42Yg5hVfuzPEnOIqupwES3mWkEHRlqbMUkHw -+qIQAxIwQqZd5PdPpElQ/6j/ZT9DwW/I6zgndX2rsS0oGYcwFTkSj0/rKKkC13hk7 -+LchXMZu5ckdustM79U6OZIBairrJaL2OpR08un2nwIjgEGqhVFYc44UK1VpkE8mr -+qvqJS6OHVlTlKcEDnhVkPS3i5qjuS/PtSq0CwH8bzYKFJayLDY/z36Zv6PdttzmU -+Yb1NSDcJejHJ80pMINutyYQ= -+-----END CERTIFICATE----- --- -2.14.3 - diff --git a/0018-ldconfig-and-gtk-update-icon-cache-is-not-needed-in-.patch b/0018-ldconfig-and-gtk-update-icon-cache-is-not-needed-in-.patch deleted file mode 100644 index 819726b..0000000 --- a/0018-ldconfig-and-gtk-update-icon-cache-is-not-needed-in-.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 3059c9fe871c8f1779588e2763d4ed8e9ce4f61d Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Miroslav=20Such=C3=BD?= -Date: Wed, 31 Jan 2018 10:14:49 +0100 -Subject: [PATCH 18/22] ldconfig and gtk-update-icon-cache is not needed in - rawhide - -see https://pagure.io/packaging-committee/issue/736 ---- - libreport.spec.in | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/libreport.spec.in b/libreport.spec.in -index 970e772f..b6302414 100644 ---- a/libreport.spec.in -+++ b/libreport.spec.in -@@ -412,6 +412,9 @@ make check|| { - exit 1 - } - -+%if 0%{?fedora} > 27 -+# ldconfig and gtk-update-icon-cache is not needed -+%else - %post gtk - /usr/sbin/ldconfig - # update icon cache -@@ -431,11 +434,10 @@ fi - %posttrans gtk - gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - -- - %post web -p /usr/sbin/ldconfig - -- - %postun web -p /usr/sbin/ldconfig -+%endif - - %files -f %{name}.lang - %doc README.md --- -2.14.3 - diff --git a/0019-ureport-remove-json-c-is_error-usage.patch b/0019-ureport-remove-json-c-is_error-usage.patch deleted file mode 100644 index 2fb298e..0000000 --- a/0019-ureport-remove-json-c-is_error-usage.patch +++ /dev/null @@ -1,26 +0,0 @@ -From e5a8fb6dfe5276fbd55235298bb3fd008b62d0ae Mon Sep 17 00:00:00 2001 -From: Kyle Russell -Date: Wed, 7 Feb 2018 16:01:11 -0500 -Subject: [PATCH 19/22] ureport: remove json-c is_error() usage - -This macro has been deprecated and removed from json-c/bits.h. ---- - src/lib/ureport.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/lib/ureport.c b/src/lib/ureport.c -index 6f1c05a3..c32c948a 100644 ---- a/src/lib/ureport.c -+++ b/src/lib/ureport.c -@@ -613,7 +613,7 @@ ureport_server_response_from_reply(post_state_t *post_state, - - json_object *const json = json_tokener_parse(post_state->body); - -- if (is_error(json)) -+ if (json == NULL) - { - error_msg(_("Unable to parse response from ureport server at '%s'"), config->ur_url); - log_notice("%s", post_state->body); --- -2.14.3 - diff --git a/0020-Revert-use-usr-sbin.patch b/0020-Revert-use-usr-sbin.patch deleted file mode 100644 index 162f05c..0000000 --- a/0020-Revert-use-usr-sbin.patch +++ /dev/null @@ -1,56 +0,0 @@ -From a8a1121df0ab0fff04755f50cd85e30595ec8381 Mon Sep 17 00:00:00 2001 -From: Martin Kutlak -Date: Mon, 26 Mar 2018 16:44:26 +0200 -Subject: [PATCH 20/22] Revert "use /usr/sbin/" - -This reverts commit 801b3ec7f6e8c4f932796786e5dd8fa8a72817b8. - -Reverting because ldconfig is still in /sbin. - -See https://bugzilla.redhat.com/show_bug.cgi?id=1063607 ---- - libreport.spec.in | 14 ++++++++------ - 1 file changed, 8 insertions(+), 6 deletions(-) - -diff --git a/libreport.spec.in b/libreport.spec.in -index 0ddb7d27..1ba007cc 100644 ---- a/libreport.spec.in -+++ b/libreport.spec.in -@@ -416,16 +416,16 @@ make check|| { - # ldconfig and gtk-update-icon-cache is not needed - %else - %post gtk --/usr/sbin/ldconfig -+/sbin/ldconfig - # update icon cache - touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : - --%post -p /usr/sbin/ldconfig -+%post -p /sbin/ldconfig - --%postun -p /usr/sbin/ldconfig -+%postun -p /sbin/ldconfig - - %postun gtk --/usr/sbin/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 || : -@@ -434,9 +434,11 @@ fi - %posttrans gtk - gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - --%post web -p /usr/sbin/ldconfig - --%postun web -p /usr/sbin/ldconfig -+%post web -p /sbin/ldconfig -+ -+ -+%postun web -p /sbin/ldconfig - %endif - - %files -f %{name}.lang --- -2.14.3 - diff --git a/0021-Translation-updates.patch b/0021-Translation-updates.patch deleted file mode 100644 index 682b002..0000000 --- a/0021-Translation-updates.patch +++ /dev/null @@ -1,797 +0,0 @@ -From 05ab224c2faf1b9e4777af159a9b65f7e5c28918 Mon Sep 17 00:00:00 2001 -From: Martin Kutlak -Date: Tue, 27 Mar 2018 17:10:22 +0200 -Subject: [PATCH 21/22] Translation updates - -Signed-off-by: Martin Kutlak ---- - po/ca.po | 26 +++++------- - po/cs.po | 7 ++-- - po/da.po | 137 +++++++++++++++++++++++++++++++++------------------------------ - po/de.po | 4 +- - po/ta.po | 39 ++++++++++++------ - 5 files changed, 113 insertions(+), 100 deletions(-) - -diff --git a/po/ca.po b/po/ca.po -index f6ede694..5af9c199 100644 ---- a/po/ca.po -+++ b/po/ca.po -@@ -9,6 +9,7 @@ - # Robert Antoni Buj Gelonch , 2015. #zanata - # Robert Antoni Buj Gelonch , 2016. #zanata - # Robert Antoni Buj Gelonch , 2017. #zanata -+# Robert Antoni Buj Gelonch , 2018. #zanata - msgid "" - msgstr "" - "Project-Id-Version: PACKAGE VERSION\n" -@@ -17,7 +18,7 @@ msgstr "" - "MIME-Version: 1.0\n" - "Content-Type: text/plain; charset=UTF-8\n" - "Content-Transfer-Encoding: 8bit\n" --"PO-Revision-Date: 2017-08-22 11:33-0400\n" -+"PO-Revision-Date: 2018-02-24 11:09-0500\n" - "Last-Translator: Robert Antoni Buj Gelonch \n" - "Language-Team: Catalan (http://www.transifex.com/projects/p/libreport/" - "language/ca/)\n" -@@ -111,7 +112,7 @@ msgstr "# Executable" - - #: ../src/cli/cli-report.c:161 - msgid "# Kernel version" --msgstr "# Versió del nucli del sistema operatiu" -+msgstr "# Versió del kernel" - - #: ../src/cli/cli-report.c:162 - msgid "# Package" -@@ -643,7 +644,7 @@ msgid "" - "passwords. The uploaded data are stored in a protected storage and only a " - "limited number of persons can read them." - msgstr "" --"Si esteu segurs que aquest problema no ha estat provocat per problemes a la " -+"Si esteu segur que aquest problema no ha estat provocat per problemes a la " - "xarxa ni per una configuració no vàlida i voleu ajudar-nos, feu clic al botó " - "de pujar i proporcioneu totes les dades del problema per una anàlisi " - "profunda.\n" -@@ -1904,7 +1905,7 @@ msgstr "S'estan afegint els adjunts a l'error de programari %i" - #, c-format - msgid "Closing bug %i as duplicate of bug %i" - msgstr "" --"S'està tancatnt l'error de programari %i com a duplicat de l'error de " -+"S'està tancant l'error de programari %i com a duplicat de l'error de " - "programari %i" - - #: ../src/plugins/reporter-bugzilla.c:780 -@@ -1959,8 +1960,7 @@ msgid "" - msgstr "" - "& [-v] [-c FITXERCONF]... -d DIR\n" - "\n" --"Informa dels oops del nucli del sistema operatiu al lloc kerneloops.org (o " --"similar).\n" -+"Informa dels oops del kernel al lloc kerneloops.org (o similar).\n" - "\n" - "Els fitxers amb els noms llistats a $EXCLUDE_FROM_REPORT no estan inclosos\n" - "a l'arxiu tar.\n" -@@ -2612,7 +2612,7 @@ msgstr "Kerneloops.org" - - #: ../src/plugins/report_Kerneloops.xml.in.h:2 - msgid "Send to kernel oops tracker" --msgstr "Envia-ho a un rastrejador oops del nucli del sistema operatiu" -+msgstr "Envia-ho a un rastrejador oops del kernel" - - #: ../src/plugins/report_Kerneloops.xml.in.h:3 - msgid "Kerneloops URL" -@@ -3379,9 +3379,7 @@ msgstr "" - - #: ../src/workflows/workflow_CentOSVmcore.xml.in.h:2 - msgid "Process the kernel crash using the CentOS infrastructure" --msgstr "" --"Processa la pana del nucli del sistema operatiu mitjançant la " --"infraestructura de CentOS" -+msgstr "Processa la pana del kernel mitjançant la infraestructura de CentOS" - - #: ../src/workflows/workflow_CentOSXorg.xml.in.h:2 - msgid "Process the X Server problem using the CentOS infrastructure" -@@ -3420,9 +3418,7 @@ msgstr "" - - #: ../src/workflows/workflow_FedoraVmcore.xml.in.h:2 - msgid "Process the kernel crash using the Fedora infrastructure" --msgstr "" --"Processa la pana del nucli del sistema operatiu mitjançant la " --"infraestructura de Fedora" -+msgstr "Processa la pana del kernel mitjançant la infraestructura de Fedora" - - #: ../src/workflows/workflow_FedoraXorg.xml.in.h:2 - msgid "Process the X Server problem using the Fedora infrastructure" -@@ -3541,9 +3537,7 @@ msgstr "" - - #: ../src/workflows/workflow_RHELBugzillaVmcore.xml.in.h:2 - msgid "Process the kernel crash using the Red Hat infrastructure" --msgstr "" --"Processa la pana del nucli del sistema operatiu mitjançant la " --"infraestructura de Red Hat" -+msgstr "Processa la pana del kernel mitjançant la infraestructura de Red Hat" - - #: ../src/workflows/workflow_RHELBugzillaXorg.xml.in.h:2 - msgid "Process the X Server problem using the Red Hat infrastructure" -diff --git a/po/cs.po b/po/cs.po -index 1f482a03..9df4dbd9 100644 ---- a/po/cs.po -+++ b/po/cs.po -@@ -14,6 +14,7 @@ - # Daniel Rusek , 2017. #zanata - # Miroslav Suchý , 2017. #zanata - # Zdenek , 2017. #zanata -+# Zdenek , 2018. #zanata - msgid "" - msgstr "" - "Project-Id-Version: PACKAGE VERSION\n" -@@ -22,8 +23,8 @@ msgstr "" - "MIME-Version: 1.0\n" - "Content-Type: text/plain; charset=UTF-8\n" - "Content-Transfer-Encoding: 8bit\n" --"PO-Revision-Date: 2017-08-07 10:36-0400\n" --"Last-Translator: Daniel Rusek \n" -+"PO-Revision-Date: 2018-02-20 04:46-0500\n" -+"Last-Translator: Zdenek \n" - "Language-Team: Czech (http://www.transifex.com/projects/p/libreport/language/" - "cs/)\n" - "Language: cs\n" -@@ -982,7 +983,7 @@ msgstr "" - - #: ../src/include/internal_libreport.h:1228 - msgid "Be verbose" --msgstr "Více upovídaný" -+msgstr "Podrobnější výstup" - - #: ../src/include/internal_libreport.h:1229 - #: ../src/plugins/reporter-bugzilla.c:295 -diff --git a/po/da.po b/po/da.po -index 28e0a235..e2bffb61 100644 ---- a/po/da.po -+++ b/po/da.po -@@ -3,6 +3,7 @@ - # This file is distributed under the same license as the PACKAGE package. - # - # Translators: -+# scootergrisen , 2018. #zanata - msgid "" - msgstr "" - "Project-Id-Version: PACKAGE VERSION\n" -@@ -11,7 +12,7 @@ msgstr "" - "MIME-Version: 1.0\n" - "Content-Type: text/plain; charset=UTF-8\n" - "Content-Transfer-Encoding: 8bit\n" --"PO-Revision-Date: 2015-01-08 06:51-0500\n" -+"PO-Revision-Date: 2018-01-30 03:31-0500\n" - "Last-Translator: Copied by Zanata \n" - "Language-Team: Danish (http://www.transifex.com/projects/p/libreport/" - "language/da/)\n" -@@ -26,44 +27,48 @@ msgid "" - " or: & [-vspy] -d PROBLEM_DIR\n" - " or: & [-vspy] -x PROBLEM_DIR" - msgstr "" -+"& [-vsp] -L[PRÆFIKS] [PROBLEMMAPPE]\n" -+" eller: & [-vspy] -e BEGIVENHED PROBLEMMAPPE\n" -+" eller: & [-vspy] -d PROBLEMMAPPE\n" -+" eller: & [-vspy] -x PROBLEMMAPPE" - - #. short_name long_name value parameter_name help - #: ../src/cli/cli.c:86 - msgid "List possible events [which start with PREFIX]" --msgstr "" -+msgstr "Oplist mulige begivenheder [som starter med PRÆFIKS]" - - #: ../src/cli/cli.c:87 ../src/gui-wizard-gtk/main.c:172 - msgid "Run only these events" --msgstr "" -+msgstr "Kør kun disse begivenheder" - - #: ../src/cli/cli.c:88 ../src/gui-wizard-gtk/main.c:171 - msgid "Remove PROBLEM_DIR after reporting" --msgstr "" -+msgstr "Fjern PROBLEMMAPPE efter rapportering" - - #: ../src/cli/cli.c:89 ../src/gui-wizard-gtk/main.c:173 - msgid "Expert mode" --msgstr "" -+msgstr "Eksperttilstand" - - #: ../src/cli/cli.c:90 ../src/report-newt/report-newt.c:395 - msgid "Display version and exit" --msgstr "" -+msgstr "Vis version og afslut" - - #: ../src/cli/cli.c:91 - msgid "Noninteractive: don't ask questions, assume 'yes'" --msgstr "" -+msgstr "Ikke interaktiv: stil ikke spørgsmål, antag 'ja'" - - #: ../src/cli/cli.c:93 - msgid "Log to syslog" --msgstr "Skriv til syslog" -+msgstr "Log til syslog" - - #: ../src/cli/cli.c:94 ../src/gui-wizard-gtk/main.c:170 - msgid "Add program names to log" --msgstr "Føj programnavne til log" -+msgstr "Tilføj programnavne til log" - - #: ../src/cli/cli-report.c:132 - #, c-format - msgid "# This field is read only\n" --msgstr "# Dette felt er skrivebeskyttet\n" -+msgstr "# Feltet er skrivebeskyttet\n" - - #: ../src/cli/cli-report.c:152 - msgid "# Describe the circumstances of this crash below" -@@ -107,7 +112,7 @@ msgstr "# Pakke" - - #: ../src/cli/cli-report.c:163 - msgid "# Reason of crash" --msgstr "# Grund til nedbrud" -+msgstr "# Årsagen til nedbrudet" - - #: ../src/cli/cli-report.c:170 - msgid "# os-release configuration file from root dir" -@@ -123,7 +128,7 @@ msgstr "" - - #: ../src/cli/cli-report.c:188 - msgid "# Release string of the operating system" --msgstr "# Operativsystemets udgivelsesstreng" -+msgstr "# Styresystemets udgivelsesstreng" - - #: ../src/cli/cli-report.c:319 - msgid "Cannot run vi: $TERM, $VISUAL and $EDITOR are not set" -@@ -345,24 +350,24 @@ msgstr "" - #. - #: ../src/gtk-helpers/ask_dialogs.c:87 - msgid "_No" --msgstr "" -+msgstr "_Nej" - - #: ../src/gtk-helpers/ask_dialogs.c:88 - msgid "_Yes" --msgstr "" -+msgstr "_Ja" - - #: ../src/gtk-helpers/ask_dialogs.c:94 - msgid "Don't ask me again" --msgstr "" -+msgstr "Spørg mig ikke igen" - - #. if event has no xml description - #: ../src/gtk-helpers/config_dialog.c:182 - msgid "No description available" --msgstr "" -+msgstr "Ingen beskrivelse tilgængelig" - - #: ../src/gtk-helpers/config_dialog.c:345 - msgid "Configuration" --msgstr "" -+msgstr "Konfiguration" - - #. we can't use this, because we want the workflows first and hashtable - #. * doesn't return the items in the order they were added -@@ -378,15 +383,15 @@ msgstr "" - #: ../src/gtk-helpers/config_dialog.c:369 - #: ../src/gtk-helpers/config_dialog.c:433 - msgid "Events" --msgstr "" -+msgstr "Begivenheder" - - #: ../src/gtk-helpers/config_dialog.c:373 - msgid "C_onfigure" --msgstr "" -+msgstr "_Konfigurer" - - #: ../src/gtk-helpers/config_dialog.c:375 ../src/gui-wizard-gtk/wizard.c:3702 - msgid "_Close" --msgstr "" -+msgstr "_Luk" - - #: ../src/gtk-helpers/event_config_dialog.c:144 - msgid "Show password" -@@ -394,15 +399,15 @@ msgstr "Vis adgangskode" - - #: ../src/gtk-helpers/event_config_dialog.c:275 - msgid "Don't store passwords" --msgstr "" -+msgstr "Gem ikke adgangskoder" - - #: ../src/gtk-helpers/event_config_dialog.c:285 - msgid "Basic" --msgstr "" -+msgstr "Grundlæggende" - - #: ../src/gtk-helpers/event_config_dialog.c:293 - msgid "Advanced" --msgstr "" -+msgstr "Avanceret" - - #: ../src/gtk-helpers/event_config_dialog.c:309 - msgid "Secret Service is not available, your settings won't be saved!" -@@ -412,12 +417,12 @@ msgstr "" - #: ../src/gtk-helpers/workflow_config_dialog.c:94 - #: ../src/gui-wizard-gtk/wizard.c:783 ../src/gui-wizard-gtk/wizard.c:3302 - msgid "_Cancel" --msgstr "" -+msgstr "_Annuller" - - #: ../src/gtk-helpers/event_config_dialog.c:351 - #: ../src/gtk-helpers/workflow_config_dialog.c:96 - msgid "_OK" --msgstr "" -+msgstr "_OK" - - #: ../src/gtk-helpers/secrets.c:171 - #, c-format -@@ -464,19 +469,19 @@ msgstr "" - - #: ../src/gtk-helpers/problem_details_dialog.c:30 - msgid "Problem details" --msgstr "" -+msgstr "Probelmdetaljer" - - #: ../src/gtk-helpers/problem_details_dialog.c:33 - msgid "OK" --msgstr "" -+msgstr "OK" - - #: ../src/gui-wizard-gtk/main.c:107 - msgid "Preferences" --msgstr "" -+msgstr "Præferencer" - - #: ../src/gui-wizard-gtk/main.c:110 - msgid "Quit" --msgstr "" -+msgstr "Afslut" - - #: ../src/gui-wizard-gtk/main.c:154 - msgid "" -@@ -498,11 +503,11 @@ msgstr "" - - #: ../src/gui-wizard-gtk/wizard.c:774 - msgid "View/edit a text file" --msgstr "" -+msgstr "Vis/rediger en tekstfil" - - #: ../src/gui-wizard-gtk/wizard.c:782 - msgid "_Save" --msgstr "" -+msgstr "_Gem" - - #: ../src/gui-wizard-gtk/wizard.c:1004 - msgid "" -@@ -513,12 +518,12 @@ msgstr "" - #: ../src/gui-wizard-gtk/wizard.c:1046 - #, c-format - msgid "(requires: %s)" --msgstr "" -+msgstr "(kræver: %s)" - - #: ../src/gui-wizard-gtk/wizard.c:1060 - #, c-format - msgid "(not needed, data already exist: %s)" --msgstr "" -+msgstr "(behøves ikke, data findes allerede: %s)" - - #: ../src/gui-wizard-gtk/wizard.c:1159 - msgid "" -@@ -557,7 +562,7 @@ msgstr "%llu byte, %u filer" - - #: ../src/gui-wizard-gtk/wizard.c:1703 - msgid "Processing was canceled" --msgstr "" -+msgstr "Behandling blev annulleret" - - #: ../src/gui-wizard-gtk/wizard.c:1914 - msgid "" -@@ -648,12 +653,12 @@ msgstr "" - - #: ../src/gui-wizard-gtk/wizard.c:3303 - msgid "_Open" --msgstr "" -+msgstr "_Åbn" - - #: ../src/gui-wizard-gtk/wizard.c:3325 - #, c-format - msgid "'%s' is not an ordinary file" --msgstr "" -+msgstr "'%s' er ikke en almindelig fil" - - #: ../src/gui-wizard-gtk/wizard.c:3339 - msgid "You are trying to copy a file onto itself" -@@ -662,7 +667,7 @@ msgstr "" - #: ../src/gui-wizard-gtk/wizard.c:3346 - #, c-format - msgid "Can't copy '%s': %s" --msgstr "" -+msgstr "Kan ikke kopiere '%s': %s" - - #: ../src/gui-wizard-gtk/wizard.c:3361 - #, c-format -@@ -683,7 +688,7 @@ msgstr "" - - #: ../src/gui-wizard-gtk/wizard.c:3544 - msgid "Include" --msgstr "" -+msgstr "Inkluder" - - #: ../src/gui-wizard-gtk/wizard.c:3555 - msgid "Name" -@@ -695,7 +700,7 @@ msgstr "Værdi" - - #: ../src/gui-wizard-gtk/wizard.c:3599 - msgid "Problem description" --msgstr "" -+msgstr "Problembeskrivelse" - - #: ../src/gui-wizard-gtk/wizard.c:3600 - msgid "Select how to report this problem" -@@ -723,7 +728,7 @@ msgstr "" - - #: ../src/gui-wizard-gtk/wizard.c:3704 - msgid "_Stop" --msgstr "" -+msgstr "_Stop" - - #. else gtk_widget_hide won't work - #: ../src/gui-wizard-gtk/wizard.c:3707 -@@ -733,7 +738,7 @@ msgstr "" - #. else gtk_widget_hide won't work - #: ../src/gui-wizard-gtk/wizard.c:3710 - msgid "Repeat" --msgstr "" -+msgstr "Gentag" - - #. else gtk_widget_hide won't work - #: ../src/gui-wizard-gtk/wizard.c:3712 -@@ -790,15 +795,15 @@ msgstr "" - - #: ../src/gui-wizard-gtk/wizard.glade.h:6 - msgid "file" --msgstr "" -+msgstr "fil" - - #: ../src/gui-wizard-gtk/wizard.glade.h:7 - msgid "data" --msgstr "" -+msgstr "data" - - #: ../src/gui-wizard-gtk/wizard.glade.h:8 - msgid "Search" --msgstr "" -+msgstr "Søg" - - #: ../src/gui-wizard-gtk/wizard.glade.h:9 - msgid "" -@@ -878,7 +883,7 @@ msgstr "" - - #: ../src/gui-wizard-gtk/wizard.glade.h:25 - msgid "Show log" --msgstr "" -+msgstr "Vis log" - - #: ../src/gui-wizard-gtk/wizard.glade.h:26 - msgid "Reporting has finished. You can close this window now." -@@ -893,7 +898,7 @@ msgstr "" - - #: ../src/include/internal_libreport.h:1228 - msgid "Be verbose" --msgstr "" -+msgstr "Vær uddybende" - - #: ../src/include/internal_libreport.h:1229 - #: ../src/plugins/reporter-bugzilla.c:295 -@@ -902,12 +907,12 @@ msgstr "" - #: ../src/plugins/reporter-systemd-journal.c:245 - #: ../src/plugins/reporter-upload.c:186 ../src/plugins/reporter-mantisbt.c:283 - msgid "Problem directory" --msgstr "" -+msgstr "Problemmappe" - - #: ../src/lib/abrt_sock.c:160 - #, c-format - msgid "Can't delete: '%s'" --msgstr "" -+msgstr "Kan ikke slette: '%s'" - - #: ../src/lib/abrt_sock.c:196 - msgid "locked by another process" -@@ -924,7 +929,7 @@ msgstr "" - #: ../src/lib/abrt_sock.c:217 - #, c-format - msgid "Can't delete '%s': %s" --msgstr "" -+msgstr "Kan ikke slette '%s': %s" - - #: ../src/lib/client.c:55 ../src/lib/client.c:87 ../src/lib/client.c:144 - msgid "y" -@@ -1166,15 +1171,15 @@ msgstr "" - - #: ../src/lib/make_descr.c:149 ../src/lib/make_descr.c:160 - msgid "Reported:" --msgstr "" -+msgstr "Rapporteret:" - - #: ../src/lib/make_descr.c:149 - msgid "cannot be reported" --msgstr "" -+msgstr "kan ikke rapporteres" - - #: ../src/lib/parse_options.c:63 - msgid "Usage: " --msgstr "" -+msgstr "Anvendelse: " - - #: ../src/lib/problem_data.c:252 - #, c-format -@@ -1220,7 +1225,7 @@ msgstr "" - #: ../src/lib/run_event.c:880 - #, c-format - msgid "('%s' exited with %u)\n" --msgstr "" -+msgstr "('%s' afsluttede med %u)\n" - - #: ../src/plugins/abrt_rh_support.c:356 - #, c-format -@@ -1264,7 +1269,7 @@ msgstr "" - - #: ../src/plugins/report_Bugzilla.xml.in.h:1 - msgid "Bugzilla" --msgstr "" -+msgstr "Bugzilla" - - #: ../src/plugins/report_Bugzilla.xml.in.h:2 - msgid "Report to Bugzilla bug tracker" -@@ -1274,7 +1279,7 @@ msgstr "" - #: ../src/plugins/report_CentOSBugTracker.xml.in.h:3 - #: ../src/plugins/report_Uploader.xml.in.h:6 - msgid "User name" --msgstr "" -+msgstr "Brugernavn" - - #: ../src/plugins/report_Bugzilla.xml.in.h:4 - msgid "Bugzilla account user name" -@@ -1291,7 +1296,7 @@ msgstr "" - #: ../src/plugins/report_RHTSupport.xml.in.h:5 - #: ../src/plugins/report_Uploader.xml.in.h:8 - msgid "Password" --msgstr "" -+msgstr "Adgangskode" - - #: ../src/plugins/report_Bugzilla.xml.in.h:7 - msgid "Bugzilla account password" -@@ -1310,7 +1315,7 @@ msgstr "" - - #: ../src/plugins/report_Bugzilla.xml.in.h:10 - msgid "Groups" --msgstr "" -+msgstr "Grupper" - - #: ../src/plugins/report_Bugzilla.xml.in.h:11 - msgid "" -@@ -1320,7 +1325,7 @@ msgstr "" - - #: ../src/plugins/report_Bugzilla.xml.in.h:12 - msgid "Bugzilla URL" --msgstr "" -+msgstr "Bugzilla-URL" - - #: ../src/plugins/report_Bugzilla.xml.in.h:13 - msgid "Address of Bugzilla server" -@@ -1331,7 +1336,7 @@ msgstr "" - #: ../src/plugins/report_RHTSupport.xml.in.h:11 - #: ../src/plugins/report_uReport.xml.in.h:9 - msgid "Verify SSL" --msgstr "" -+msgstr "Bekræft SSL" - - #: ../src/plugins/report_Bugzilla.xml.in.h:15 - #: ../src/plugins/report_CentOSBugTracker.xml.in.h:13 -@@ -1342,7 +1347,7 @@ msgstr "" - - #: ../src/plugins/report_Bugzilla.xml.in.h:16 - msgid "Bugzilla product" --msgstr "" -+msgstr "Bugzilla-produkt" - - #: ../src/plugins/report_Bugzilla.xml.in.h:17 - msgid "" -@@ -1388,7 +1393,7 @@ msgstr "" - #: ../src/plugins/report_uReport.xml.in.h:13 - #: ../src/plugins/report_EmergencyAnalysis.xml.in.h:6 - msgid "HTTPS Proxy" --msgstr "" -+msgstr "HTTPS-proxy" - - #: ../src/plugins/report_Bugzilla.xml.in.h:23 - #: ../src/plugins/report_CentOSBugTracker.xml.in.h:21 -@@ -2842,24 +2847,24 @@ msgstr "" - #: ../src/report-newt/report-newt.c:169 ../src/report-newt/report-newt.c:259 - #: ../src/report-newt/report-newt.c:337 ../src/report-newt/report-newt.c:354 - msgid "Ok" --msgstr "" -+msgstr "OK" - - #: ../src/report-newt/report-newt.c:68 ../src/report-newt/report-newt.c:146 - msgid "Cancel" --msgstr "" -+msgstr "Annuller" - - #: ../src/report-newt/report-newt.c:169 ../src/report-newt/report-newt.c:337 - msgid "Error" --msgstr "" -+msgstr "Fejl" - - #: ../src/report-newt/report-newt.c:256 - msgid "Reporting" --msgstr "" -+msgstr "Rapportering" - - #: ../src/report-newt/report-newt.c:276 - #, c-format - msgid "--- Running %s ---" --msgstr "" -+msgstr "--- Kører %s ---" - - #: ../src/report-newt/report-newt.c:354 - msgid "No reporters available" -diff --git a/po/de.po b/po/de.po -index ff679d4e..1c4942a8 100644 ---- a/po/de.po -+++ b/po/de.po -@@ -13,10 +13,10 @@ - # Roman Spirgi , 2011 - # DerDerwish , 2011 - # noxin , 2014 --# Roman Spirgi , 2015. #zanata -+# Roman Spirgi , 2015. #zanata - # Georg Hasibether , 2016. #zanata - # Lisa Stemmler , 2016. #zanata --# Roman Spirgi , 2016. #zanata -+# Roman Spirgi , 2016. #zanata - # Florian H. , 2017. #zanata - # Miroslav Suchý , 2017. #zanata - # Tobias Weise , 2017. #zanata -diff --git a/po/ta.po b/po/ta.po -index fcda6fb5..8e8d921f 100644 ---- a/po/ta.po -+++ b/po/ta.po -@@ -8,6 +8,7 @@ - # I Felix , 2011 - # shkumar , 2014 - # shkumar , 2014 -+# Kirthanaa Indumathi , 2018. #zanata - msgid "" - msgstr "" - "Project-Id-Version: PACKAGE VERSION\n" -@@ -16,8 +17,8 @@ msgstr "" - "MIME-Version: 1.0\n" - "Content-Type: text/plain; charset=UTF-8\n" - "Content-Transfer-Encoding: 8bit\n" --"PO-Revision-Date: 2015-01-08 07:02-0500\n" --"Last-Translator: Copied by Zanata \n" -+"PO-Revision-Date: 2018-03-14 09:38-0400\n" -+"Last-Translator: Kirthanaa Indumathi \n" - "Language-Team: Tamil (http://www.transifex.com/projects/p/libreport/language/" - "ta/)\n" - "Language: ta\n" -@@ -308,7 +309,7 @@ msgstr "{0} நீக்குகிறது" - #: ../src/client-python/reportclient/debuginfo.py:413 - #, python-brace-format - msgid "Can't remove {0}, probably contains an error log" --msgstr "" -+msgstr "{0} ஐ நீக்க முடியாது, அநேகமாய் ஒரு பிழை பதிவை கொண்டுள்ளது" - - #: ../src/client-python/reportclient/dnfdebuginfo.py:89 - msgid "Error reading repository configuration: '{0!s}'" -@@ -420,7 +421,7 @@ msgstr "கடவுச்சொற்களை சேமிக்க வேண - - #: ../src/gtk-helpers/event_config_dialog.c:285 - msgid "Basic" --msgstr "" -+msgstr "அடிப்படை விவரங்கள்" - - #: ../src/gtk-helpers/event_config_dialog.c:293 - msgid "Advanced" -@@ -492,19 +493,19 @@ msgstr "" - - #: ../src/gtk-helpers/problem_details_dialog.c:30 - msgid "Problem details" --msgstr "" -+msgstr "பிரச்சனை விவரங்கள்" - - #: ../src/gtk-helpers/problem_details_dialog.c:33 - msgid "OK" --msgstr "" -+msgstr "சரி" - - #: ../src/gui-wizard-gtk/main.c:107 - msgid "Preferences" --msgstr "" -+msgstr "முன்னுரிமைகள்" - - #: ../src/gui-wizard-gtk/main.c:110 - msgid "Quit" --msgstr "" -+msgstr "வெளியேறு" - - #: ../src/gui-wizard-gtk/main.c:154 - msgid "" -@@ -562,16 +563,23 @@ msgid "" - "please provide a comprehensive description of the problem you have " - "encountered." - msgstr "" -+"அறியப்பட்ட சிக்கல் இல்லாமல் அது விபத்துக்குள்ளானது என்பதால், அதைக் கண்டறிய " -+"கடினமாக இருக்கலாம். நீங்கள் சந்தித்த பிரச்சினையின் விரிவான விளக்கத்தை " -+"அளிக்கவும்." - - #: ../src/gui-wizard-gtk/wizard.c:1166 - msgid "" - "Please provide a short description of the problem and please include the " - "steps you have used to reproduce the problem." - msgstr "" -+"பிரச்சனைக்கு ஒரு சிறிய விளக்கத்தை வழங்கவும், தயவுசெய்து பிரச்சனை " -+"இனப்பெருக்கம் செய்ய நீங்கள் பயன்படுத்திய வழிமுறைகளை சேர்க்கவும்." - - #: ../src/gui-wizard-gtk/wizard.c:1173 - msgid "Please provide the steps you have used to reproduce the problem." - msgstr "" -+"தயவுசெய்து பிரச்சனை இனப்பெருக்கம் செய்ய நீங்கள் பயன்படுத்திய வழிமுறைகளை " -+"சேர்க்கவும்." - - #: ../src/gui-wizard-gtk/wizard.c:1295 - msgid "(click here to view/edit)" -@@ -603,6 +611,11 @@ msgid "" - "\t▫ corrupted problem data\n" - "\t▫ invalid configuration" - msgstr "" -+"சிக்கலைச் செயல்படுத்த முடியவில்லை. இதற்கு பல காரணங்கள் இருக்கலாம் ஆனால் " -+"மூன்று பொதுவானவை இவை\n" -+"நெட்வொர்க் இணைப்பு சிக்கல்கள்\n" -+"சிதைந்த சிக்கல் தரவு\n" -+"தவறான உள்ளமைவு" - - #: ../src/gui-wizard-gtk/wizard.c:1923 - msgid "" -@@ -670,7 +683,7 @@ msgstr "" - #: ../src/gui-wizard-gtk/wizard.c:2852 - #, c-format - msgid "Failed to save file '%s'" --msgstr "" -+msgstr "'%s' கோப்பைச் சேமிக்க முடியவில்லை " - - #: ../src/gui-wizard-gtk/wizard.c:3035 - #, c-format -@@ -714,15 +727,15 @@ msgstr "உருப்படி '%s' ஏற்கனவே உள்ளது - - #: ../src/gui-wizard-gtk/wizard.c:3525 - msgid "I have experienced this problem for the first time" --msgstr "" -+msgstr "நான் முதன்முறையாக இந்த சிக்கலை அனுபவித்திருக்கிறேன்" - - #: ../src/gui-wizard-gtk/wizard.c:3528 - msgid "I can reproduce this problem" --msgstr "" -+msgstr "நான் இந்த பிரச்சனையை மீண்டும் ஏற்படுத்த முடியும்" - - #: ../src/gui-wizard-gtk/wizard.c:3531 - msgid "This problem occurs repeatedly" --msgstr "" -+msgstr "இந்த பிரச்சனை மீண்டும் மீண்டும் நிகழ்கிறது" - - #: ../src/gui-wizard-gtk/wizard.c:3544 - msgid "Include" -@@ -776,7 +789,7 @@ msgstr "பகுப்பாய்வுக்காக பதிவேற் - #. else gtk_widget_hide won't work - #: ../src/gui-wizard-gtk/wizard.c:3710 - msgid "Repeat" --msgstr "" -+msgstr "மீண்டும் முயற்சி செய்யவும்" - - #. else gtk_widget_hide won't work - #: ../src/gui-wizard-gtk/wizard.c:3712 --- -2.14.3 - diff --git a/801.patch b/801.patch new file mode 100644 index 0000000..8f784ff --- /dev/null +++ b/801.patch @@ -0,0 +1,42 @@ +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 new file mode 100644 index 0000000..f592284 --- /dev/null +++ b/README.packit @@ -0,0 +1,3 @@ +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 deleted file mode 100755 index c6e1729..0000000 --- a/autogen.sh +++ /dev/null @@ -1,70 +0,0 @@ -#! /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 new file mode 100644 index 0000000..f075ad7 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,15 @@ +--- !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 new file mode 100644 index 0000000..7b9b9d6 --- /dev/null +++ b/libreport-c89-2.patch @@ -0,0 +1,46 @@ +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 new file mode 100644 index 0000000..3f1770d --- /dev/null +++ b/libreport-c89.patch @@ -0,0 +1,28 @@ +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 7220094..a4f068e 100644 --- a/libreport.spec +++ b/libreport.spec @@ -1,83 +1,68 @@ -%define satyr_ver 0.24 -%define glib_ver 2.43 +%if 0%{?suse_version} + %bcond_with bugzilla + + %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 Summary: Generic library for reporting various problems Name: libreport -Version: 2.9.3 -Release: 3%{?dist} -License: GPLv2+ +Version: 2.17.15 +Release: 9%{?dist} +License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz -Source1: autogen.sh - -#Patch0001: 0001-makefile-fix-make-release.patch -Patch0002: 0002-reporter-bugzilla-ask-concrete-bz-when-requiring-log.patch -Patch0003: 0003-reporter-bugzilla-read-configuration-from-user-s-hom.patch -Patch0004: 0004-reporter-rhtsupport-read-configuration-from-user-s-h.patch -Patch0005: 0005-reporter-mantisbt-read-configuration-from-user-s-hom.patch -Patch0006: 0006-doc-update-to-contain-newly-added-user-s-local-confi.patch -Patch0007: 0007-augeas-include-local-config-path.patch -#Patch0008: 0008-spec-fix-unowned-directories.patch -Patch0009: 0009-reporter-mailx-rely-on-configured-email.patch -Patch0010: 0010-reporter-bugzilla-mantisbt-rhtsupport-fix-free.patch -#Patch0011: 0011-This-package-uses-names-with-ambiguous-python-prefix.patch -#Patch0012: 0012-remove-rhel6-specific-items-and-accomodate-to-rhel7.patch -#Patch0013: 0013-macro-python_sitearch-is-always-defined-on-rhel7.patch -#Patch0014: 0014-use-usr-sbin.patch -#Patch0015: 0015-move-defattr-which-match-the-defaults.patch -#Patch0016: 0016-do-not-expand-macro-in-changelog.patch -Patch0017: 0017-reporter-rhtsupport-Remove-dependency-on-redhat-acce.patch -#Patch0018: 0018-ldconfig-and-gtk-update-icon-cache-is-not-needed-in-.patch -Patch0019: 0019-ureport-remove-json-c-is_error-usage.patch -#Patch0020: 0020-Revert-use-usr-sbin.patch -Patch0021: 0021-Translation-updates.patch - -# 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: %{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: texinfo BuildRequires: asciidoc BuildRequires: xmlto BuildRequires: newt-devel -BuildRequires: libproxy-devel -BuildRequires: satyr-devel >= %{satyr_ver} +BuildRequires: satyr-devel >= 0.38 BuildRequires: glib2-devel >= %{glib_ver} +BuildRequires: git-core +%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: xz -BuildRequires: lz4 +BuildRequires: libarchive-devel +Requires: libreport-filesystem = %{version}-%{release} +Requires: satyr%{?_isa} >= 0.38 +Requires: glib2%{?_isa} >= %{glib_ver} +Requires: libarchive%{?_isa} # Required for the temporary modularity hack, see below %if 0%{?_module_build} BuildRequires: sed %endif -Requires: libreport-filesystem = %{version}-%{release} -Requires: satyr >= %{satyr_ver} -Requires: glib2 >= %{glib_ver} -Requires: xz -Requires: lz4 +Obsoletes: %{name}-compat < 2.13.2 +Obsoletes: %{name}-plugin-rhtsupport < 2.13.2 +Obsoletes: %{name}-rhel < 2.13.2 %description Libraries providing API for reporting different problems in applications @@ -85,6 +70,7 @@ to different bug targets like Bugzilla, ftp, trac, etc... %package filesystem Summary: Filesystem layout for libreport +BuildArch: noarch %description filesystem Filesystem layout for libreport @@ -110,19 +96,6 @@ Requires: libreport-web = %{version}-%{release} %description web-devel Development headers for libreport-web -%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. - %package -n python3-libreport Summary: Python 3 bindings for report-libs %if 0%{?_module_build} @@ -137,11 +110,9 @@ Requires: libreport >= %{version}-%{distfreerelease} Requires: libreport = %{version}-%{release} %endif Requires: python3-dnf +Requires: python3-requests +Requires: python3-urllib3 %{?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. @@ -168,7 +139,6 @@ bugs Summary: GTK front-end for libreport 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 @@ -209,19 +179,29 @@ The simple reporter plugin which writes a report to the systemd journal. %package plugin-mailx Summary: %{name}'s mailx reporter plugin Requires: %{name} = %{version}-%{release} -Requires: mailx +Requires: /usr/bin/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 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 @@ -242,36 +222,13 @@ Workflows to report issues into the CentOS Bug Tracker. %package plugin-ureport Summary: %{name}'s micro report plugin -BuildRequires: json-c-devel +BuildRequires: %{libjson_devel} 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 -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 -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 Requires: %{name} = %{version}-%{release} @@ -280,7 +237,7 @@ Requires: libreport-web = %{version}-%{release} %description plugin-reportuploader Plugin to report bugs into anonymous FTP site associated with ticketing system. -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?eln} %package fedora Summary: Default configuration for reporting bugs via Fedora infrastructure Requires: %{name} = %{version}-%{release} @@ -291,16 +248,7 @@ used to easily configure the reporting process for Fedora systems. Just install this package and you're done. %endif -%if 0%{?rhel} -%package rhel -Summary: Default configuration for reporting bugs via Red Hat infrastructure -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. - +%if 0%{?rhel} && ! 0%{?eln} %package rhel-bugzilla Summary: Default configuration for reporting bugs to Red Hat Bugzilla Requires: %{name} = %{version}-%{release} @@ -323,45 +271,42 @@ 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 Requires: %{name} = %{version}-%{release} Requires: libreport-plugin-reportuploader = %{version}-%{release} -%if 0%{?rhel} -Requires: libreport-plugin-rhtsupport = %{version}-%{release} -%else +%if ! 0%{?rhel} || 0%{?eln} 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 -# 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 - -# koji in f19 has new autotools, so we need to regenerate everything -cp %SOURCE1 %_builddir/%{name}-%{version} -./autogen.sh +%autosetup %build -# Commented because of deprecated GTK API -#CFLAGS="%%{optflags} -Werror" %%configure --disable-silent-rules -CFLAGS="%{optflags}" %configure --enable-doxygen-docs \ -%if 0%{?rhel} - --enable-import-rhtsupport-cert \ +./autogen.sh + +%configure \ +%if %{without bugzilla} + --without-bugzilla \ %endif - --disable-silent-rules -make %{?_smp_mflags} + --enable-doxygen-docs \ + --disable-silent-rules + +%make_build %install -make install DESTDIR=%{buildroot} mandir=%{_mandir} +%make_install \ +%if %{with python3} + PYTHON=%{__python3} \ +%endif + mandir=%{_mandir} + %find_lang %{name} # Remove byte-compiled python files generated by automake. @@ -384,7 +329,7 @@ mkdir -p %{buildroot}/%{_datadir}/%{name}/workflows/ rm -f %{buildroot}/%{_infodir}/dir # Remove unwanted Fedora specific workflow configuration files -%if 0%{!?fedora:1} +%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 @@ -400,17 +345,8 @@ rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_AnacondaFedora.xml %endif # Remove unwanted RHEL specific workflow configuration files -%if 0%{!?rhel:1} -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELCCpp.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELKerneloops.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELPython.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELvmcore.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELxorg.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELLibreport.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELJava.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELJavaScript.xml +%if ! 0%{?rhel} || 0%{?eln} rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_uReport.xml -rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_AnacondaRHEL.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 @@ -428,16 +364,15 @@ 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_rhel.conf -rm -f %{buildroot}/%{_sysconfdir}/libreport/workflows.d/report_rhel_add_data.conf 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_rhel.conf.5 rm -f %{buildroot}%{_mandir}/man5/report_uReport.conf.5 rm -f %{buildroot}%{_mandir}/man5/report_rhel_bugzilla.conf.5 %endif -%clean +%if 0%{?fedora} >= 38 + mv %{buildroot}/%{_bindir}/reporter-bugzilla-python %{buildroot}/%{_bindir}/reporter-bugzilla +%endif %check make check|| { @@ -447,17 +382,16 @@ make check|| { exit 1 } +%ldconfig_scriptlets +%ldconfig_scriptlets web +%if 0%{?rhel} && 0%{?rhel} <= 7 %post gtk -/sbin/ldconfig +%{?ldconfig} # update icon cache touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - %postun gtk -/sbin/ldconfig +%{?ldconfig} if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : @@ -466,12 +400,7 @@ fi %posttrans gtk gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - -%post web -p /sbin/ldconfig - - -%postun web -p /sbin/ldconfig - +%endif %files -f %{name}.lang %doc README.md @@ -480,13 +409,14 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %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 @@ -512,6 +442,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 @@ -523,12 +454,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 @@ -540,10 +469,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_includedir}/libreport/libreport_curl.h %{_libdir}/pkgconfig/libreport-web.pc -%files -n python2-libreport -%{python_sitearch}/report/ -%{python_sitearch}/reportclient/ - %files -n python3-libreport %{python3_sitearch}/report/ %{python3_sitearch}/reportclient/ @@ -559,9 +484,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 @@ -595,7 +517,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 @@ -613,20 +534,25 @@ 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} && ! 0%{?eln} +%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 %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.* @@ -635,8 +561,14 @@ 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 %config(noreplace) %{_sysconfdir}/libreport/plugins/mantisbt.conf @@ -670,26 +602,7 @@ 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.* - -%files plugin-rhtsupport -%config(noreplace) %{_sysconfdir}/libreport/plugins/rhtsupport.conf -%{_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 -%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 -%{_bindir}/report -%{_mandir}/man1/report.1.gz +%{_mandir}/man5/centos_report_event.conf.5.gz %files plugin-reportuploader %{_mandir}/man*/reporter-upload.* @@ -700,14 +613,14 @@ 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} +%if 0%{?fedora} || 0%{?eln} %files fedora %{_datadir}/%{name}/workflows/workflow_FedoraCCpp.xml %{_datadir}/%{name}/workflows/workflow_FedoraKerneloops.xml @@ -722,31 +635,8 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man5/report_fedora.conf.5.* %endif -%if 0%{?rhel} -%files rhel -%{_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_RHELJavaScript.xml -%{_datadir}/%{name}/workflows/workflow_RHELAddDataCCpp.xml -%{_datadir}/%{name}/workflows/workflow_RHELAddDataJava.xml -%{_datadir}/%{name}/workflows/workflow_RHELAddDataKerneloops.xml -%{_datadir}/%{name}/workflows/workflow_RHELAddDataLibreport.xml -%{_datadir}/%{name}/workflows/workflow_RHELAddDataPython.xml -%{_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.* - +%if %{with bugzilla} +%if 0%{?rhel} && ! 0%{?eln} %files rhel-bugzilla %{_datadir}/%{name}/workflows/workflow_RHELBugzillaCCpp.xml %{_datadir}/%{name}/workflows/workflow_RHELBugzillaKerneloops.xml @@ -764,12 +654,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %files anaconda -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?eln} %{_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 @@ -779,250 +666,449 @@ 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 -* Tue Mar 27 2018 Martin Kutlak - 2.9.3-3 -- Translation updates -- ureport: remove json-c is_error() usage -- reporter-rhtsupport: Remove dependency on redhat-access-insights -- reporter-mailx: rely on configured email -- Modernize spec file -- augeas: include local config path -- doc: update to contain newly added user's local config -- reporter-{mantisbt,rhtsupport,bugzilla}: read configuration from user's home -- reporter-bugzilla: ask concrete bz when requiring login +* Fri Sep 19 2025 Python Maint - 2.17.15-9 +- Rebuilt for Python 3.14.0rc3 bytecode -* Thu Mar 01 2018 Matej Habrnal 2.9.3-2 -- Add report and reportclient directories to rpm -- Resolves: #1548805, #1548807 +* Fri Aug 15 2025 Python Maint - 2.17.15-8 +- Rebuilt for Python 3.14.0rc2 bytecode -* 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 -- Introduce pid_for_children element from ns -- Resolves: #1489611, #1416277, #1395285 +* Thu Jul 24 2025 Fedora Release Engineering - 2.17.15-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild -* Fri Aug 25 2017 Matej Habrnal 2.9.2-1 -- Translation updates -- logging: rename log() to log_warning() -- reporter-mantisbt: Fix typo in help -- bugzilla: add check if option -d was entered -- dd: extend create_dump_dir to allow set pid in dumpdir name -- wizard: replace deprecated gtk3 functions -- lib: replace hash table with list -- fix newline issue with ask_password -- lib: make cpuinfo files user editable -- reporter-s-journal: add count to default logs -- augeas: trim spaces on eol, around value separator -- reporter-s-journal: add journal default entries -- Resolves: #1481205 +* Mon Jun 02 2025 Python Maint - 2.17.15-6 +- Rebuilt for Python 3.14 -* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 2.9.1-6 -- Python 3 binary package renamed to python3-libreport -- Missing Provides wihtout %%_isa added in python 2 binary package +* Mon Jan 20 2025 Fedora Release Engineering - 2.17.15-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild -* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 2.9.1-5 -- Python 2 binary package renamed to python2-libreport - See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 +* Fri Jan 17 2025 Fedora Release Engineering - 2.17.15-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild -* Thu Aug 03 2017 Fedora Release Engineering - 2.9.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild +* Thu Jul 18 2024 Fedora Release Engineering - 2.17.15-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild -* Wed Jul 26 2017 Fedora Release Engineering - 2.9.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild +* Fri Jun 07 2024 Python Maint - 2.17.15-2 +- Rebuilt for Python 3.13 -* Thu Apr 13 2017 Matej Habrnal 2.9.1-2 -- add journal default entries to reporter-systemd-journal -- augeas: trim spaces on eol, around value separator -- Resolves: #1434414 +* 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 Mar 15 2017 Matej Habrnal 2.9.1-1 -- 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 +* 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) -* Fri Feb 10 2017 Fedora Release Engineering - 2.9.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild +* 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) -* Sat Jan 21 2017 Igor Gnatenko - 2.9.0-4 -- Rebuild for xmlrpc-c +* Thu Jan 25 2024 Fedora Release Engineering - 2.17.11-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild -* Mon Jan 02 2017 Matej Habrnal 2.9.0-3 -- fix minimal satyr version +* Sun Jan 21 2024 Florian Weimer - 2.17.11-5 +- Fix C compatibility issues in tests -* Thu Dec 15 2016 Charalampos Stratakis - 2.9.0-2 -- Rebuild for Python 3.6 +* Sun Jan 21 2024 Fedora Release Engineering - 2.17.11-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild -* Thu Dec 15 2016 Matej Habrnal 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 -- tree-wide: introduce 'stop_on_not_reportable' option -- client: add support for $releasever to debuginfo -- workflows: run analyze_BodhiUpdates event on Fedora -- reporter-systemd-journal: introduce reporter-systemd-journal -- problem_data: add function which returns all problem data keys -- 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 -- 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" -- ureport: less confusing logging -- workflow: add JavaScript workflows -- bugzilla: stop including package details +* Thu Jul 20 2023 Fedora Release Engineering - 2.17.11-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild -* 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 +* Sat Jul 01 2023 Python Maint - 2.17.11-2 +- Rebuilt for Python 3.12 -* Tue Jul 19 2016 Fedora Release Engineering - 2.7.2-2 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages +* 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) -* 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 +* Thu Jun 15 2023 Python Maint - 2.17.10-2 +- Rebuilt for Python 3.12 -* 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 +* 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) -* 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 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) -* Thu Feb 18 2016 Matej Habrnal 2.6.4-3 -- Translation updates -- wizard: fix the broken widget expansion +* 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) -* Wed Feb 10 2016 Matej Habrnal 2.6.4-2 -- wizard: fix the broken "Show log" widget -- Resolves: #1303326 +* 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) -* 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 +* Thu Jan 19 2023 Fedora Release Engineering - 2.17.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild -* Wed Nov 04 2015 Robert Kuska - 2.6.3-2 -- Rebuilt for Python3.5 rebuild +* 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) -* 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 +* Mon Oct 24 2022 Michal Srb - 2.17.5-2 +- Fix dist-tag -* Tue Sep 15 2015 Matej Habrnal 2.6.2-5 -- bugzilla: put VARIANT_ID= to Whiteboard +* 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) -* Wed Aug 26 2015 Matej Habrnal 2.6.2-4 -- add a helper for HTTP GET -- configure: use hex value for dump dir mode +* 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) -* 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 +* 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) -* Wed Jul 22 2015 Matej Habrnal 2.6.2-2 -- Use a dgettext function returning strings instead of bytes +* 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 Jul 21 2022 Fedora Release Engineering - 2.17.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 2.17.1-2 +- Rebuilt for Python 3.11 + +* 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 Feb 21 2022 Michal Srb - 2.17.0-1 +- [reporter-bugzilla] Use API key for authentication + +* Thu Jan 20 2022 Fedora Release Engineering - 2.16.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Jan 19 2022 Matěj Grabovský - 2.16.0-2 +- Rebuild for testing + +* 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 +- Update translations + +* 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 +- Update translations + +* Tue Apr 21 2020 Björn Esser - 2.12.0-4 +- Rebuild (json-c) + +* Fri Mar 20 2020 Ernestas Kulik - 2.12.0-3 +- Add patch for https://bugzilla.redhat.com/show_bug.cgi?id=1815544 + +* Fri Feb 07 2020 Ernestas Kulik - 2.12.0-2 +- Bump release for side tag rebuild + +* 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 +- 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 + +* 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 + +* 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 +- 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 + +* Mon Feb 04 2019 Ernestas Kulik - 2.10.0-2 +- Remove unused patch + +* 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 diff --git a/sources b/sources index be9654e..3f8648a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libreport-2.9.3.tar.gz) = f4cdf6a0ffb18db224f47391e0e8ac26491ac105051ec511e575b10a1ffbbbaa2290827ad27cc622ece5d5291141cf1083dce0d3b778657d309aa8d5d8799473 +SHA512 (libreport-2.17.15.tar.gz) = a4707f5272f037f91b4f4b562d3f0eb165ae7790699714accdd1af40216f37bd40d430a06925b1b7b8ac2d2cf97fd0cc4efded51dc22d21d9ef2abedf796e5fe diff --git a/tests/library-smoke.sh b/tests/library-smoke.sh new file mode 100755 index 0000000..ed1322f --- /dev/null +++ b/tests/library-smoke.sh @@ -0,0 +1,11 @@ +#!/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 new file mode 100644 index 0000000..e872709 --- /dev/null +++ b/tests/smoke.fmf @@ -0,0 +1,15 @@ +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