Compare commits

...

6 Commits

Author SHA1 Message Date
David Abdurachmanov eadf531938
Properly check valgrind arches
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-01-09 11:28:28 +02:00
Florian Weimer c4132843c7 Fix another C compatibility issue (#2148366) 2024-01-04 13:31:13 +01:00
Mamoru TASAKA 55607511e5 Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.3 2024-01-04 00:12:19 +09:00
Fedora Release Engineering 6107143388 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 11:48:51 +00:00
Jitka Plesnikova 9d9b5dc2bd Perl 5.38 rebuild 2023-07-11 16:19:57 +02:00
Python Maint f0fc1d7aae Rebuilt for Python 3.12 2023-06-14 20:22:59 +02:00
2 changed files with 37 additions and 2 deletions

16
libprelude-c99.patch Normal file
View File

@ -0,0 +1,16 @@
Avoid an int-conversion error. This is similar to what
idmef_class_get_child_name already does.
diff --git a/src/idmef-class.c b/src/idmef-class.c
index 4d93334c6e9fd003..c7281f89e9720418 100644
--- a/src/idmef-class.c
+++ b/src/idmef-class.c
@@ -161,7 +161,7 @@ const char **idmef_class_get_child_attributes(idmef_class_id_t class, idmef_clas
ret = is_child_valid(class, child);
if ( ret < 0 )
- return ret;
+ return NULL;
return object_data[class].children_list[child].attributes;
}

View File

@ -7,7 +7,7 @@
Name: libprelude
Version: 5.2.0
Release: 18%{?dist}
Release: 23.0.riscv64%{?dist}
Summary: Secure Connections between all Sensors and the Prelude Manager
License: LGPL-2.1-or-later
URL: https://www.prelude-siem.org/
@ -40,6 +40,7 @@ Patch12: libprelude-5.2.0-clean_libprelude-config.patch
# #1973946
Patch13: libprelude-5.2.0-fix-PyIOBase_Type.patch
Patch14: libprelude-configure-c99.patch
Patch15: libprelude-c99.patch
BuildRequires: make
BuildRequires: gcc
BuildRequires: gcc-c++
@ -59,7 +60,7 @@ BuildRequires: pkgconfig(lua) >= 5.2
BuildRequires: pkgconfig(ruby)
BuildRequires: pkgconfig(zlib)
%ifnarch s390 ppc64 ppc64le
%ifarch %{valgrind_arches}
BuildRequires: valgrind
%endif
@ -241,6 +242,24 @@ patch -d %{buildroot}%{_includedir}/libprelude/ -p0 < %SOURCE1
%doc AUTHORS ChangeLog README NEWS
%changelog
* Tue Jan 09 2024 David Abdurachmanov <davidlt@rivosinc.com> - 5.2.0-23.0.riscv64
- Properly check valgrind arches
* Thu Jan 04 2024 Florian Weimer <fweimer@redhat.com> - 5.2.0-23
- Fix another C compatibility issue (#2148366)
* Wed Jan 03 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.2.0-22
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.3
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.0-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 5.2.0-20
- Perl 5.38 rebuild
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 5.2.0-19
- Rebuilt for Python 3.12
* Wed Mar 01 2023 Gwyn Ciesla <gwync@protonmail.com> - 5.2.0-18
- migrated to SPDX license