Compare commits

..

13 commits

Author SHA1 Message Date
Matěj Grabovský
97f36b026e Rebuild for Fedora 29
Signed-off-by: Matěj Grabovský <mgrabovs@redhat.com>
2019-11-22 16:18:26 +01:00
Matěj Grabovský
8b36335982 New upstream release 2.11.3
Signed-off-by: Matěj Grabovský <mgrabovs@redhat.com>
2019-11-14 10:54:07 +01:00
Ernestas Kulik
fbe22313ec Add patch to fix a double-free
36c5e90469

Signed-off-by: Ernestas Kulik <ekulik@redhat.com>
2019-11-11 11:41:12 +01:00
Matěj Grabovský
4636b2975f Keep providing libreport-python3
It's not yet phased out in Fedora 29 and initial-setup depends on it.
2019-10-23 14:05:10 +02:00
Matěj Grabovský
3eb8cec4e7 New upstream release 2.11.2
Signed-off-by: Matěj Grabovský <mgrabovs@redhat.com>
2019-10-23 14:05:06 +02:00
Matěj Grabovský
3694df7940 New upstream release 2.11.1
Signed-off-by: Matěj Grabovský <mgrabovs@redhat.com>
2019-10-16 11:13:30 +02:00
Matěj Grabovský
dd6428a7b6 New upstream release 2.11.0
Signed-off-by: Matěj Grabovský <mgrabovs@redhat.com>
2019-10-11 15:20:37 +02:00
Martin Kutlak
3f2c165bbe New upstream release 2.10.1
* Remove gen-version from spec
- This is upstream script to generate version. This is not needed in dist-git.

[2.10.1] - 2019-07-03
Changed
- Clearer warnings about missing report elements.
- Export workflow when saving server response.
- uReport workflow moved to plugin-ureport subpackage.
- Refined composition of error messages during problem reporting.

Fixed
- Fixed dump dir lock up in case of delete failure.

Signed-off-by: Martin Kutlak <mkutlak@redhat.com>
2019-07-03 13:36:55 +02:00
Ernestas Kulik
6325326bdb Add patch to add workflow field when saving FAF response
Needed to make one Cockpit test pass.

Signed-off-by: Ernestas Kulik <ekulik@redhat.com>
2019-04-23 08:51:21 +02:00
Ernestas Kulik
18cb5b955c Update to 2.10.0
Signed-off-by: Ernestas Kulik <ekulik@redhat.com>
2019-02-04 13:32:43 +01:00
Martin Kutlak
16e367ac40 Replace nomail flag with minor_update
Send Bugzilla updates as minor_update.

Related: rhbz#1660157

Signed-off-by: Martin Kutlak <mkutlak@redhat.com>
2019-01-07 10:23:13 +01:00
Matej Marusak
130c5d8580 New upstream release 2.9.7
Signed-off-by: Matej Marusak <mmarusak@redhat.com>
2018-12-07 09:55:46 +01:00
Martin Kutlak
8d46b6047d New upstream release 2.9.6
Signed-off-by: Martin Kutlak <mkutlak@redhat.com>
2018-10-08 14:09:42 +02:00
12 changed files with 451 additions and 619 deletions

View file

@ -1 +0,0 @@
1

22
.gitignore vendored
View file

@ -9,25 +9,3 @@
/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

View file

@ -1,21 +0,0 @@
specfile_path: libreport.spec
synced_files:
- .packit.yml
- libreport.spec
upstream_package_name: libreport
upstream_project_url: https://github.com/abrt/libreport
downstream_package_name: libreport
# No extra dependencies are necessary to build the SRPM.
srpm_build_deps: []
jobs:
- job: propose_downstream
trigger: release
metadata:
dist_git_branch: fedora-all
- job: copr_build
trigger: pull_request
metadata:
targets:
- fedora-all

View file

@ -1,42 +0,0 @@
From 9be0010e109d307921a049d10078813423227582 Mon Sep 17 00:00:00 2001
From: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
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 <nicolas.iooss_git@polytechnique.org>
---
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 <libxml/encoding.h>
+#include <libxml/tree.h>
#include "problem_report.h"
#define SOAP_STRING "ns2:string"

View file

@ -1,3 +0,0 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 0.91.0.post1.dev4+ge6fd4a25.

View file

@ -1,15 +0,0 @@
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_testing
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_stable
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}

View file

@ -1,46 +0,0 @@
problem_item_get_size expects unsigned long * argument in problem_data.at test
Otherwise, the test fails to build on i686 with GCC 14.
Submitted upstream: <https://github.com/abrt/libreport/pull/802>
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, &current_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, &current_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, &current_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, &current_size) == 0);
assert(current_size != PROBLEM_ITEM_UNINITIALIZED_SIZE);
assert(current_size == old_size);

View file

@ -1,28 +0,0 @@
Remove incorrect casts from tests/string_list.at
The list_order argument already has the correct pointer type const
char * const * (after array-to-pointer decay).
Submitted upstream: <https://github.com/abrt/libreport/pull/802>
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;

File diff suppressed because it is too large Load diff

View file

@ -1 +1 @@
SHA512 (libreport-2.17.15.tar.gz) = a4707f5272f037f91b4f4b562d3f0eb165ae7790699714accdd1af40216f37bd40d430a06925b1b7b8ac2d2cf97fd0cc4efded51dc22d21d9ef2abedf796e5fe
SHA512 (libreport-2.11.3.tar.gz) = 0dc78c77a94ded2d1be646b0f9481765bf10a865ab28f2a226483f8bc5e43fce20f3612332fdc9cee5adb9f8d9c89b59e9d388e9c60425b9ff5f83c9a50132a1

View file

@ -1,11 +0,0 @@
#!/usr/bin/bash
gcc -x c -o smoke_test -lreport -Wno-implicit-function-declaration - <<EOF
#include <stdio.h>
int main(void) {
libreport_init();
printf("libreport initialized OK\n");
return 0;
}
EOF
./smoke_test

View file

@ -1,15 +0,0 @@
summary: Basic smoke test for libreport
prepare:
how: install
# Do not attempt to install conflicting subpackages.
exclude:
- abrt-atomic
- abrt-java-connector-container
- python3-abrt-container-addon
# Prerequisite for smoke testing liblibreport.
package:
- gcc
execute:
script: |
tests/library-smoke.sh
report-cli --version