From 1e2f1743ffc7d370ed5264a2895db0151343cb8f966f041dc494c3a97389c76a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 21 Jan 2022 07:55:05 +0000 Subject: [PATCH 1/3] - Update to release 20220113 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfsxfs?expand=0&rev=6 --- libfsxfs-experimental-20210726.tar.gz | 3 --- libfsxfs-experimental-20210726.tar.gz.asc | 11 -------- libfsxfs-experimental-20220113.tar.gz | 3 +++ libfsxfs-experimental-20220113.tar.gz.asc | 11 ++++++++ libfsxfs.changes | 6 +++++ libfsxfs.spec | 32 ++++++++++++----------- 6 files changed, 37 insertions(+), 29 deletions(-) delete mode 100644 libfsxfs-experimental-20210726.tar.gz delete mode 100644 libfsxfs-experimental-20210726.tar.gz.asc create mode 100644 libfsxfs-experimental-20220113.tar.gz create mode 100644 libfsxfs-experimental-20220113.tar.gz.asc diff --git a/libfsxfs-experimental-20210726.tar.gz b/libfsxfs-experimental-20210726.tar.gz deleted file mode 100644 index b8a4ed1..0000000 --- a/libfsxfs-experimental-20210726.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:107d71ac078441bd110e2a27873ae04a69de6258ed8a40b19f8f99ffc0963850 -size 1671458 diff --git a/libfsxfs-experimental-20210726.tar.gz.asc b/libfsxfs-experimental-20210726.tar.gz.asc deleted file mode 100644 index bdad629..0000000 --- a/libfsxfs-experimental-20210726.tar.gz.asc +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQEzBAABCAAdFiEEDtkCDakNP25wvTlF2WJeXXrQF34FAmD+itkACgkQ2WJeXXrQ -F35hTAgAnk8p5YJYljLqBdlm5sm17lybBoIp4nGlQ3iOcvIdCJOrs0Qbkj+wV20V -HnILtqrJ8nNrr47u/T+En7jy6fArz3zHLJ6fDZzwNkOaDH/mTusVq64cN4t3DTW6 -gsFGdcZaOuZi4dAM4bqmzW9dlVTBx5JJHPNy2XSJyBp058crZo8Q3N/W+Efe0yW9 -mQU0OKyGwTCRwq2HXBZJYZZ0KJWo/VGUJgyf04iwvFdIbkJxnrZbx4Q4YauyDLJ+ -d/MyIX75FCSm/lKXRotzQbT6XK4yp+8XNYmkRS3vvKhvuDSILS0vi2+D7ksIsGbG -IHg/mLSon53UKX9P8/rn1O1Z0O5IJA== -=nqNu ------END PGP SIGNATURE----- diff --git a/libfsxfs-experimental-20220113.tar.gz b/libfsxfs-experimental-20220113.tar.gz new file mode 100644 index 0000000..8508f30 --- /dev/null +++ b/libfsxfs-experimental-20220113.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae9bd59e6af2f3c55b653c9e29f1f05d414be460103c5804c7d326130ba5b882 +size 1725485 diff --git a/libfsxfs-experimental-20220113.tar.gz.asc b/libfsxfs-experimental-20220113.tar.gz.asc new file mode 100644 index 0000000..c3a4e8e --- /dev/null +++ b/libfsxfs-experimental-20220113.tar.gz.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCAAdFiEEDtkCDakNP25wvTlF2WJeXXrQF34FAmHgIC4ACgkQ2WJeXXrQ +F37etggAkEp5Pw/w3OYvccOerizGu/9aT8zybRIKoOt5GTZJNMPm4PWXPM2fXbJg +o5R+Q8KjL9SZLlOQ15A/P9h3Ngj+tc/Q5VdLykuES4RkehtQJiz3R3i2gjPSRY66 +8eUKbLZRMb/d5ImOFZw8EF1tbZQFu0YKXuRNBLn8roQfQM0mSGQmx8Zk1kQ1hhBW +mGr5cqBz1gDIv648p9N6H4HvUHaYTHGzzB68y6OOiBK3EajWr/jjLvqCW3B/nihJ +MJiv2Pc9iHVegkepcNNVmZAOCC+F4v5fVNDEXaNS0DV2LTZZhkh8IssHc0eAYiD0 +KtmO8Wg4iI6F3IUQT6d/mNunrAkTjA== +=P6kN +-----END PGP SIGNATURE----- diff --git a/libfsxfs.changes b/libfsxfs.changes index 23416b4..c6a579e 100644 --- a/libfsxfs.changes +++ b/libfsxfs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jan 21 07:53:11 UTC 2022 - Jan Engelhardt + +- Update to release 20220113 + * Improved xattr support. Tool updates. + ------------------------------------------------------------------- Sun Nov 14 12:39:51 UTC 2021 - Jan Engelhardt diff --git a/libfsxfs.spec b/libfsxfs.spec index 44b6462..a0fa719 100644 --- a/libfsxfs.spec +++ b/libfsxfs.spec @@ -1,7 +1,7 @@ # # spec file for package libfsxfs # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 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: libfsxfs %define lname libfsxfs1 -Version: 20210726 +Version: 20220113 Release: 0 Summary: Library and tools for accessing the SGI X File System (XFS) License: LGPL-3.0-or-later @@ -28,10 +28,12 @@ Source: https://github.com/libyal/libfsxfs/releases/download/%version/li Source2: https://github.com/libyal/libfsxfs/releases/download/%version/libfsxfs-experimental-%version.tar.gz.asc Source3: %name.keyring Patch1: system-libs.patch +BuildRequires: %python_module devel BuildRequires: c_compiler BuildRequires: gettext-tools >= 0.18.1 BuildRequires: libtool BuildRequires: pkg-config +BuildRequires: python-rpm-macros BuildRequires: pkgconfig(libbfio) >= 20201229 BuildRequires: pkgconfig(libcdata) >= 20200509 BuildRequires: pkgconfig(libcerror) >= 20201121 @@ -49,6 +51,7 @@ BuildRequires: pkgconfig(libfguid) >= 20180724 BuildRequires: pkgconfig(libhmac) >= 20200104 BuildRequires: pkgconfig(libuna) >= 20201204 BuildRequires: pkgconfig(python3) +%python_subpackages %description libfsxfs is a library to access the SGI X File System (XFS). @@ -83,23 +86,22 @@ Group: Productivity/File utilities This subpackage provides the utilities from libfsxfs, which allows for reading SGI X File Systems (XFS). -%package -n python3-%name -Summary: Python 3 bindings for libfsxfs -Group: Development/Languages/Python - -%description -n python3-%{name} -Python 3 binding for libfsxfs, which can access XFS filesystems. - %prep %autosetup -p1 %build autoreconf -fi -%configure --disable-static --enable-wide-character-type --enable-python3 +# OOT builds are presently broken, so we have to install +# within each python iteration now, not in %%install. +%{python_expand # +%configure --disable-static --enable-wide-character-type --enable-python PYTHON_VERSION="%{$python_bin_suffix}" %make_build +%make_install DESTDIR="%_builddir/rt" +%make_build clean +} %install -%make_install +mv %_builddir/rt/* %buildroot/ find "%buildroot" -type f -name "*.la" -delete -print %post -n %lname -p /sbin/ldconfig @@ -109,17 +111,17 @@ find "%buildroot" -type f -name "*.la" -delete -print %license COPYING* %_libdir/libfsxfs.so.* -%files devel +%files -n %name-devel %_includedir/* %_libdir/*.so %_libdir/pkgconfig/*.pc %_mandir/man3/*.3* -%files tools +%files -n %name-tools %_bindir/fsxfs* %_mandir/man1/fsxfs* -%files -n python3-%name -%python3_sitearch/py*.so +%files %python_files +%python_sitearch/py*.so %changelog From 9af2ab82347e3310314f48d8436c1dd7db2dc3f32353f394661f8149a2c40bea Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 21 Jan 2022 07:56:35 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfsxfs?expand=0&rev=7 --- libfsxfs.spec | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/libfsxfs.spec b/libfsxfs.spec index a0fa719..f5b6856 100644 --- a/libfsxfs.spec +++ b/libfsxfs.spec @@ -34,21 +34,21 @@ BuildRequires: gettext-tools >= 0.18.1 BuildRequires: libtool BuildRequires: pkg-config BuildRequires: python-rpm-macros -BuildRequires: pkgconfig(libbfio) >= 20201229 -BuildRequires: pkgconfig(libcdata) >= 20200509 -BuildRequires: pkgconfig(libcerror) >= 20201121 +BuildRequires: pkgconfig(libbfio) >= 20220111 +BuildRequires: pkgconfig(libcdata) >= 20220115 +BuildRequires: pkgconfig(libcerror) >= 20220101 BuildRequires: pkgconfig(libcfile) >= 20201229 -BuildRequires: pkgconfig(libclocale) >= 20200913 -BuildRequires: pkgconfig(libcnotify) >= 20200913 -BuildRequires: pkgconfig(libcpath) >= 20200623 -BuildRequires: pkgconfig(libcsplit) >= 20200703 -BuildRequires: pkgconfig(libcthreads) >= 20200508 -BuildRequires: pkgconfig(libfcache) >= 20200708 +BuildRequires: pkgconfig(libclocale) >= 20220107 +BuildRequires: pkgconfig(libcnotify) >= 20220108 +BuildRequires: pkgconfig(libcpath) >= 20220108 +BuildRequires: pkgconfig(libcsplit) >= 20220109 +BuildRequires: pkgconfig(libcthreads) >= 20220102 +BuildRequires: pkgconfig(libfcache) >= 20220110 BuildRequires: pkgconfig(libfcrypto) >= 20200104 -BuildRequires: pkgconfig(libfdata) >= 20201129 -BuildRequires: pkgconfig(libfdatetime) >= 20180910 -BuildRequires: pkgconfig(libfguid) >= 20180724 -BuildRequires: pkgconfig(libhmac) >= 20200104 +BuildRequires: pkgconfig(libfdata) >= 20211023 +BuildRequires: pkgconfig(libfdatetime) >= 20220112 +BuildRequires: pkgconfig(libfguid) >= 20220113 +BuildRequires: pkgconfig(libhmac) >= 20220102 BuildRequires: pkgconfig(libuna) >= 20201204 BuildRequires: pkgconfig(python3) %python_subpackages From c09e2478bdd94927e4e9983de85451ba0f59f7c23244988eadb845cccfa8b51d Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 21 Jan 2022 09:43:10 +0000 Subject: [PATCH 3/3] BuildRequires updates OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfsxfs?expand=0&rev=8 --- libfsxfs.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libfsxfs.spec b/libfsxfs.spec index f5b6856..a704fa6 100644 --- a/libfsxfs.spec +++ b/libfsxfs.spec @@ -48,8 +48,8 @@ BuildRequires: pkgconfig(libfcrypto) >= 20200104 BuildRequires: pkgconfig(libfdata) >= 20211023 BuildRequires: pkgconfig(libfdatetime) >= 20220112 BuildRequires: pkgconfig(libfguid) >= 20220113 -BuildRequires: pkgconfig(libhmac) >= 20220102 -BuildRequires: pkgconfig(libuna) >= 20201204 +BuildRequires: pkgconfig(libhmac) >= 20210419 +BuildRequires: pkgconfig(libuna) >= 20220102 BuildRequires: pkgconfig(python3) %python_subpackages