From 10c247038e13d876e3ecb1bb7b85b8f9b8ab3393392cecc79a0ab1539437916d Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 14 Jan 2024 15:01:44 +0000 Subject: [PATCH] - Update to release 20240114 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfdata?expand=0&rev=31 --- libfdata-20211023-1TB-fix.patch | 39 --------------------------- libfdata-alpha-20230319.tar.gz | 3 --- libfdata-alpha-20230319.tar.gz.asc | 11 -------- libfdata-alpha-20240114.tar.gz | 3 +++ libfdata-alpha-20240114.tar.gz.asc | 11 ++++++++ libfdata.changes | 9 +++++++ libfdata.spec | 42 ++++++++++++++---------------- 7 files changed, 43 insertions(+), 75 deletions(-) delete mode 100644 libfdata-20211023-1TB-fix.patch delete mode 100644 libfdata-alpha-20230319.tar.gz delete mode 100644 libfdata-alpha-20230319.tar.gz.asc create mode 100644 libfdata-alpha-20240114.tar.gz create mode 100644 libfdata-alpha-20240114.tar.gz.asc diff --git a/libfdata-20211023-1TB-fix.patch b/libfdata-20211023-1TB-fix.patch deleted file mode 100644 index d93a6ad..0000000 --- a/libfdata-20211023-1TB-fix.patch +++ /dev/null @@ -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, diff --git a/libfdata-alpha-20230319.tar.gz b/libfdata-alpha-20230319.tar.gz deleted file mode 100644 index 4868c8a..0000000 --- a/libfdata-alpha-20230319.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:25ab8e1556b987a66d995aba216d3b6d02ea6cf012ba22ac228707b19eb9e3c1 -size 719981 diff --git a/libfdata-alpha-20230319.tar.gz.asc b/libfdata-alpha-20230319.tar.gz.asc deleted file mode 100644 index 2696d4d..0000000 --- a/libfdata-alpha-20230319.tar.gz.asc +++ /dev/null @@ -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----- diff --git a/libfdata-alpha-20240114.tar.gz b/libfdata-alpha-20240114.tar.gz new file mode 100644 index 0000000..bfc0c13 --- /dev/null +++ b/libfdata-alpha-20240114.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e32810940f35cffba52f6db977d46365f77744867ff2de4e4e99188df910dc43 +size 720443 diff --git a/libfdata-alpha-20240114.tar.gz.asc b/libfdata-alpha-20240114.tar.gz.asc new file mode 100644 index 0000000..8da9a2b --- /dev/null +++ b/libfdata-alpha-20240114.tar.gz.asc @@ -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----- diff --git a/libfdata.changes b/libfdata.changes index 1abb40f..f79ee96 100644 --- a/libfdata.changes +++ b/libfdata.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Jan 14 08:22:59 UTC 2024 - Jan Engelhardt + +- 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 diff --git a/libfdata.spec b/libfdata.spec index d9dee98..b73ad5e 100644 --- a/libfdata.spec +++ b/libfdata.spec @@ -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