Accepting request 1138718 from security:forensics

- Update to release 20240114

OBS-URL: https://build.opensuse.org/request/show/1138718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfdata?expand=0&rev=14
This commit is contained in:
Ana Guerrero 2024-01-15 21:19:34 +00:00 committed by Git OBS Bridge
commit eb94bba833
7 changed files with 43 additions and 75 deletions

View File

@ -1,39 +0,0 @@
Index: libfdata-20211023/include/libfdata.h
===================================================================
--- libfdata-20211023.orig/include/libfdata.h
+++ libfdata-20211023/include/libfdata.h
@@ -1411,7 +1411,7 @@ int libfdata_vector_get_number_of_elemen
* Returns 1 if successful or -1 on error
*/
LIBFDATA_EXTERN \
-int libfdata_vector_get_element_index_at_offset(
+int64_t libfdata_vector_get_element_index_at_offset(
libfdata_vector_t *vector,
off64_t element_value_offset,
int *element_index,
Index: libfdata-20211023/libfdata/libfdata_vector.c
===================================================================
--- libfdata-20211023.orig/libfdata/libfdata_vector.c
+++ libfdata-20211023/libfdata/libfdata_vector.c
@@ -979,7 +979,7 @@ int libfdata_vector_get_number_of_elemen
/* Retrieves the element index for a specific offset
* Returns 1 if successful or -1 on error
*/
-int libfdata_vector_get_element_index_at_offset(
+int64_t libfdata_vector_get_element_index_at_offset(
libfdata_vector_t *vector,
off64_t element_value_offset,
int *element_index,
Index: libfdata-20211023/libfdata/libfdata_vector.h
===================================================================
--- libfdata-20211023.orig/libfdata/libfdata_vector.h
+++ libfdata-20211023/libfdata/libfdata_vector.h
@@ -236,7 +236,7 @@ int libfdata_vector_get_number_of_elemen
/* Mapped range functions
*/
LIBFDATA_EXTERN \
-int libfdata_vector_get_element_index_at_offset(
+int64_t libfdata_vector_get_element_index_at_offset(
libfdata_vector_t *vector,
off64_t element_value_offset,
int *element_index,

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:25ab8e1556b987a66d995aba216d3b6d02ea6cf012ba22ac228707b19eb9e3c1
size 719981

View File

@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEDtkCDakNP25wvTlF2WJeXXrQF34FAmQWqSIACgkQ2WJeXXrQ
F367XggAx5RVUXTr7an10q/JYYRD2yqrZKjyuuJR2NRsLa09I6DDVM5g1qqLbg7o
lmelS5CG+tFTrrp2zwwyGV71ctzgE1ZrOnS0DXU9F82YlcxvEc2tLesGu2x15/aP
umfhwUUQghHG3ZcJ320cTU8rN3IN9HFOyV6vShbbs8P5RcfZLSqxnqFpFNAwcNZA
pSdDS+VEHw/VknbY+pCnCa6zTYXvlB1coeXzaRAaBwNpN1hquwtguxLVKbUOu+5M
20fk4Uk5jA6OP5XrA4I3Z/H6GecyGg8fhYk6Dx+8ukZvf5a/jcg2/BkPswL9vXmz
S3Ygiz9MCIcsP3VOYCszxFAAa5yUBA==
=wWio
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e32810940f35cffba52f6db977d46365f77744867ff2de4e4e99188df910dc43
size 720443

View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEDtkCDakNP25wvTlF2WJeXXrQF34FAmWjUIUACgkQ2WJeXXrQ
F34MxQf/ftICE1F1FA2I78TuDpuPueHIVwhgKdekOioQ/hdHApkr7j8U6Wd3/PSp
wQt53VTm6fpChekiafJ5A/WYk4ssYVdZyOKf56pJnoDUIQi/RKIa2IRczJnRtCz6
rJTDlsce3IKOsBP0NTQjc7RTHf1jpwcH65iIZNZLtUa+owqYhww0I7za/c1eVjWp
KlKR/7YCgCRrLSfLYWH7UvaTDzsdmezHUZBNRUt7fxzwPTbvr9IXKiWZ80q32t0C
79luwzM+LSp/ezIdiZLn7fguZP7bdLbw/R55Wf20onVYyMwJ4kknncyBSc23JpbV
UlbYVbfK1HOmOQYfjwB65gbXn2jdNg==
=n3D7
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sun Jan 14 08:22:59 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 20240114
* No user-relevant changes
- Delete libfdata-20211023-1TB-fix.patch: this patch is bogus.
The return value is used exclusively for status, but
offsets/sizes are in the 3rd paramter instead.
-------------------------------------------------------------------
Sun Mar 19 11:03:03 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package libfdata
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
Name: libfdata
%define lname libfdata1
Version: 20230319
Version: 20240114
Release: 0
Summary: Library to provide generic file data functions
License: LGPL-3.0-or-later
@ -27,31 +27,29 @@ URL: https://github.com/libyal/libfdata
Source: https://github.com/libyal/libfdata/releases/download/%version/libfdata-alpha-%version.tar.gz
Source2: https://github.com/libyal/libfdata/releases/download/%version/libfdata-alpha-%version.tar.gz.asc
Source3: %name.keyring
# The source code assumes 64bit integers for one of the function returns. Fix that.
Patch2: libfdata-20211023-1TB-fix.patch
BuildRequires: c_compiler
BuildRequires: pkg-config
BuildRequires: pkgconfig(libcdata) >= 20230108
BuildRequires: pkgconfig(libcerror) >= 20220101
BuildRequires: pkgconfig(libcnotify) >= 20220108
BuildRequires: pkgconfig(libcthreads) >= 20220102
BuildRequires: pkgconfig(libfcache) >= 20230115
BuildRequires: pkgconfig(libcdata) >= 20240103
BuildRequires: pkgconfig(libcerror) >= 20240101
BuildRequires: pkgconfig(libcnotify) >= 20240108
BuildRequires: pkgconfig(libcthreads) >= 20240102
BuildRequires: pkgconfig(libfcache) >= 20240112
# Various notes: https://en.opensuse.org/libyal
%description
Library to provide generic file data functions for the libyal family of libraries.
%package -n %{lname}
%package -n %lname
Summary: Library to provide generic file data functions
Group: System/Libraries
%description -n %{lname}
%description -n %lname
Library to provide generic file data functions for the libyal family of libraries.
%package devel
Summary: Development files for libfdata
Group: Development/Libraries/C and C++
Requires: %{lname} = %{version}
Requires: %lname = %version
%description devel
Library to provide generic file data functions for the libyal family of libraries.
@ -70,20 +68,20 @@ grep ' local' config.log && exit 1
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
find %buildroot -type f -name "*.la" -delete -print
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %{lname}
%files -n %lname
%license COPYING*
%{_libdir}/libfdata.so.*
%_libdir/libfdata.so.*
%files devel
%{_includedir}/libfdata.h
%{_includedir}/libfdata/
%{_libdir}/libfdata.so
%{_libdir}/pkgconfig/libfdata.pc
%{_mandir}/man3/libfdata.3*
%_includedir/libfdata.h
%_includedir/libfdata/
%_libdir/libfdata.so
%_libdir/pkgconfig/libfdata.pc
%_mandir/man3/libfdata.3*
%changelog