3 Commits

Author SHA256 Message Date
Petr Tesarik
83953ed6cb Upgrade to libkdumpfile version 0.5.6
Signed-off-by: Petr Tesarik <ptesarik@suse.com>
2025-11-05 09:47:12 +01:00
5241845c76 Accepting request 1233434 from Kernel:kdump
- Upgrade to libkdumpfile version 0.5.5
  * Incompatible API changes:
    - kdump_get_typed_attr(): call signature and type mismatch
      handling
    - kdump_attr_ref_get(): result must be discarded
  * Support flattened ELF dump files.
  * Support partially rearranged makedumpfile split files.
  * Parse QEMU CPU state ELF notes.
  * Use kernel page tables when initializing X86-64 Linux with PTI
    from CR3 register value.
  * Include the kdumpid utility.
  * Fix direct mapping if LDT PTI remapping is used in Linux on
    X86-64.
  * Minor cache improvements and a NULL-pointer dereference fix.
  * Fix test suite for 32-bit architectures.

OBS-URL: https://build.opensuse.org/request/show/1233434
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=26
2024-12-29 10:56:07 +00:00
Petr Tesařík
794c32adc6 - Upgrade to libkdumpfile version 0.5.5
* Incompatible API changes:
    - kdump_get_typed_attr(): call signature and type mismatch
      handling
    - kdump_attr_ref_get(): result must be discarded
  * Support flattened ELF dump files.
  * Support partially rearranged makedumpfile split files.
  * Parse QEMU CPU state ELF notes.
  * Use kernel page tables when initializing X86-64 Linux with PTI
    from CR3 register value.
  * Include the kdumpid utility.
  * Fix direct mapping if LDT PTI remapping is used in Linux on
    X86-64.
  * Minor cache improvements and a NULL-pointer dereference fix.
  * Fix test suite for 32-bit architectures.

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=80
2024-12-25 20:49:29 +00:00
5 changed files with 56 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
<services> <services>
<service name="obs_scm" mode="manual"> <service name="obs_scm" mode="manual">
<param name="url">https://github.com/ptesarik/libkdumpfile</param> <param name="url">https://codeberg.org/ptesarik/libkdumpfile</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="revision">tip</param> <param name="revision">tip</param>
<param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.g%h</param> <param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.g%h</param>

Binary file not shown.

BIN
libkdumpfile-0.5.6.tar.xz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,31 @@
-------------------------------------------------------------------
Wed Nov 5 08:37:21 UTC 2025 - Petr Tesařík <ptesarik@suse.com>
- Upgrade to libkdumpfile version 0.5.6
* Move to Codeberg.
* Remove legacy Python bindings. Use pykdumpfile instead.
* Fix test build failures.
* Fix missing -lz in some scenarios.
-------------------------------------------------------------------
Wed Dec 25 19:17:21 UTC 2024 - Petr Tesařík <petr@tesarici.cz>
- Upgrade to libkdumpfile version 0.5.5
* Incompatible API changes:
- kdump_get_typed_attr(): call signature and type mismatch
handling
- kdump_attr_ref_get(): result must be discarded
* Support flattened ELF dump files.
* Support partially rearranged makedumpfile split files.
* Parse QEMU CPU state ELF notes.
* Use kernel page tables when initializing X86-64 Linux with PTI
from CR3 register value.
* Include the kdumpid utility.
* Fix direct mapping if LDT PTI remapping is used in Linux on
X86-64.
* Minor cache improvements and a NULL-pointer dereference fix.
* Fix test suite for 32-bit architectures.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Nov 19 11:08:18 UTC 2023 - Petr Tesařík <petr@tesarici.cz> Sun Nov 19 11:08:18 UTC 2023 - Petr Tesařík <petr@tesarici.cz>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package libkdumpfile # spec file for package libkdumpfile
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -33,7 +33,7 @@
# End compatibility cruft # End compatibility cruft
Name: libkdumpfile Name: libkdumpfile
Version: 0.5.4 Version: 0.5.6
Release: 0 Release: 0
%if "%name" == "libkdumpfile" %if "%name" == "libkdumpfile"
Summary: Kernel dump file access library Summary: Kernel dump file access library
@@ -44,7 +44,7 @@ Summary: Python interface for libkdumpfile
License: GPL-2.0-or-later OR LGPL-3.0-or-later License: GPL-2.0-or-later OR LGPL-3.0-or-later
Group: Development/Languages/Python Group: Development/Languages/Python
%endif %endif
URL: https://github.com/ptesarik/libkdumpfile URL: https://codeberg.org/ptesarik/libkdumpfile
Source: %{name}-%{version}.tar.xz Source: %{name}-%{version}.tar.xz
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
@@ -68,17 +68,17 @@ to physical translation, Xen mappings and more.
Summary: Include files and libraries for libkdumpfile development Summary: Include files and libraries for libkdumpfile development
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: glibc-devel Requires: glibc-devel
Requires: libkdumpfile10 = %{version} Requires: libkdumpfile12 = %{version}
%description -n %{name}-devel %description -n %{name}-devel
This package contains all necessary include files and libraries needed This package contains all necessary include files and libraries needed
to develop applications that require libkdumpfile. to develop applications that require libkdumpfile.
%package -n libkdumpfile10 %package -n libkdumpfile12
Summary: Kernel dump file access library Summary: Kernel dump file access library
Group: System/Libraries Group: System/Libraries
%description -n libkdumpfile10 %description -n libkdumpfile12
A library that provides an abstraction layer for reading kernel dump A library that provides an abstraction layer for reading kernel dump
core files. It supports different kernel dump core formats, virtual core files. It supports different kernel dump core formats, virtual
to physical translation, Xen mappings and more. to physical translation, Xen mappings and more.
@@ -105,6 +105,16 @@ Requires: libaddrxlat3 = %{version}
This package contains all necessary include files and libraries needed This package contains all necessary include files and libraries needed
to develop applications that require libaddrxlat. to develop applications that require libaddrxlat.
%package -n kdumpid
Version: 1.7
Summary: Utility to extract information from vmcores
License: GPL-2.0-or-later
Group: System/Kernel
%description -n kdumpid
Kdumpid extracts information such as type of dump, architecture
and kernel version from raw vmcores (Kernel memory dumps).
%prep %prep
%setup -q %setup -q
%autopatch -p1 %autopatch -p1
@@ -126,15 +136,15 @@ rm -v %{?buildroot}%{_bindir}/showxlat
rm -v %{?buildroot}%{_libdir}/libkdumpfile.la rm -v %{?buildroot}%{_libdir}/libkdumpfile.la
rm -v %{?buildroot}%{_libdir}/libaddrxlat.la rm -v %{?buildroot}%{_libdir}/libaddrxlat.la
%post -n libkdumpfile10 -p /sbin/ldconfig %post -n libkdumpfile12 -p /sbin/ldconfig
%post -n libaddrxlat3 -p /sbin/ldconfig %post -n libaddrxlat3 -p /sbin/ldconfig
%postun -n libkdumpfile10 -p /sbin/ldconfig %postun -n libkdumpfile12 -p /sbin/ldconfig
%postun -n libaddrxlat3 -p /sbin/ldconfig %postun -n libaddrxlat3 -p /sbin/ldconfig
%files -n libkdumpfile10 %files -n libkdumpfile12
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libkdumpfile.so.* %{_libdir}/libkdumpfile.so.*
%license COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv3 %license COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv3
@@ -159,4 +169,9 @@ rm -v %{?buildroot}%{_libdir}/libaddrxlat.la
%{_libdir}/libaddrxlat.so %{_libdir}/libaddrxlat.so
%{_libdir}/pkgconfig/libaddrxlat.pc %{_libdir}/pkgconfig/libaddrxlat.pc
%files -n kdumpid
%defattr(-,root,root)
%{_bindir}/kdumpid
%{_mandir}/man1/kdumpid.*
%changelog %changelog