2 Commits

Author SHA256 Message Date
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
4 changed files with 45 additions and 11 deletions

BIN
libkdumpfile-0.5.4.tar.xz (Stored with Git LFS)

Binary file not shown.

View File

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

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
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.5
Release: 0 Release: 0
%if "%name" == "libkdumpfile" %if "%name" == "libkdumpfile"
Summary: Kernel dump file access library Summary: Kernel dump file access library
@@ -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