78 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
67de3e26b7 Accepting request 1127551 from Kernel:kdump
- Upgrade to libkdumpfile version 0.5.4
  * Full support for 64-bit RISC-V.
  * Improve error messages (detailed OS error, optional file names)
  * Bug fixes and minor performance tweaks.

OBS-URL: https://build.opensuse.org/request/show/1127551
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=25
2023-11-20 20:19:27 +00:00
Petr Tesařík
a296506f01 Accepting request 1127548 from home:ptesarik:branches:Kernel:kdump
- Upgrade to libkdumpfile version 0.5.4
  * Full support for 64-bit RISC-V.
  * Improve error messages (detailed OS error, optional file names)
  * Bug fixes and minor performance tweaks.

OBS-URL: https://build.opensuse.org/request/show/1127548
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=78
2023-11-19 11:17:34 +00:00
1a905a3cde Accepting request 1124286 from Kernel:kdump
- Do not build Python bindings.

OBS-URL: https://build.opensuse.org/request/show/1124286
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=24
2023-11-08 21:19:19 +00:00
Petr Tesařík
a587366512 - Do not build Python bindings.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=76
2023-11-08 06:51:30 +00:00
f02d1156c1 Accepting request 1123600 from Kernel:kdump
OBS-URL: https://build.opensuse.org/request/show/1123600
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=23
2023-11-06 20:14:40 +00:00
Petr Tesařík
067b1a8500 Accepting request 1123593 from home:ptesarik:branches:Kernel:kdump
- Upgrade to libkdumpfile version 0.5.3
  * Support flattened KDUMP format.

OBS-URL: https://build.opensuse.org/request/show/1123593
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=74
2023-11-06 15:17:49 +00:00
709ec46f46 Accepting request 1099077 from Kernel:kdump
OBS-URL: https://build.opensuse.org/request/show/1099077
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=22
2023-07-18 20:07:24 +00:00
Petr Tesařík
c86e7742fc Accepting request 1099076 from home:ptesarik:branches:Kernel:kdump
- Upgrade to libkdumpfile version 0.5.2
  * Full support for 32-bit Arm.
  * ERASEINFO in the file.eraseinfo.raw attribute.

OBS-URL: https://build.opensuse.org/request/show/1099076
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=72
2023-07-17 10:11:07 +00:00
6472006875 Accepting request 1083467 from Kernel:kdump
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1083467
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=21
2023-04-28 14:23:53 +00:00
Petr Tesařík
5849968206 - Remove compatibility with SLE12 before SP3.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=70
2023-04-21 07:43:54 +00:00
Petr Tesařík
82798fc956 - Fix build for SLE12 (no libzstd).
- Remove pre-SLE12 compatibility.

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=69
2023-04-20 15:01:22 +00:00
1992ba3037 Accepting request 1068490 from Kernel:kdump
OBS-URL: https://build.opensuse.org/request/show/1068490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=20
2023-03-02 22:03:26 +00:00
Petr Tesařík
6cfe9f5a3e Accepting request 1068480 from home:marxin:branches:Kernel:kdump
- Enable zstd compression algorithm.

OBS-URL: https://build.opensuse.org/request/show/1068480
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=67
2023-03-01 14:34:11 +00:00
54255d03db Accepting request 1067718 from Kernel:kdump
- Build from git using an OBS service file.

OBS-URL: https://build.opensuse.org/request/show/1067718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=19
2023-02-25 18:55:35 +00:00
Petr Tesařík
2525c2acf5 - Build from git using an OBS service file.
A    _service
A    libkdumpfile-0.5.1+git3.g97c716a.tar.xz
A    libkdumpfile.changes
A    libkdumpfile.spec

Diff for working copy: .
Index: _service
===================================================================
--- _service	(revision 0)
+++ _service	(revision 0)
@@ -0,0 +1,16 @@
+<services>
+  <service name="obs_scm" mode="manual">
+    <param name="url">https://github.com/ptesarik/libkdumpfile</param>
+    <param name="scm">git</param>
+    <param name="revision">tip</param>
+    <param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.g%h</param>
+    <param name="versionrewrite-pattern">v([^+]*\+git[1-9].*)|v([^+]*)\+git0.*</param>
+    <param name="versionrewrite-replacement">\1\2</param>
+  </service>
+  <service name="tar" mode="manual" />
+  <service name="recompress" mode="manual">
+    <param name="file">*.tar</param>
+    <param name="compression">xz</param>
+  </service>
+  <service name="set_version" mode="manual" />
+</services>

Index: libkdumpfile.spec
===================================================================
--- libkdumpfile.spec	(revision 0)
+++ libkdumpfile.spec	(revision 0)
@@ -0,0 +1,278 @@
+#
+# spec file for package libkdumpfile
+#
+# Copyright (c) 2023 SUSE LLC
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
+
+
+# Begin compatibility cruft
+#
+
+%{!?make_install:%define make_install make install DESTDIR=%{?buildroot}}
+
+%if 0%{!?have_snappy:1}
+%if 0%{?suse_version} >= 1310
+%define have_snappy 1
+%else
+%define have_snappy 0
+%endif
+%endif
+
+# There was no Python single-spec before SLE15
+%if %{defined pythons}
+%define new_python_macros 1
+%else
+%define new_python_macros 0
+%define python_module() python-%{**} python3-%{**}
+%define ifpython2 %if 0
+%define python_build python setup.py build
+%define python_install python setup.py install --skip-build --root %{?buildroot}
+%define python3_build python3 setup.py build
+%define python3_install python3 setup.py install --skip-build --root %{?buildroot}
+%endif
+
+#
+# End compatibility cruft
+
+%define oldpython python
+
+Name:           libkdumpfile
+Version:        0.5.1+git3.g97c716a
+Release:        0
+%if "%name" == "libkdumpfile"
+Summary:        Kernel dump file access library
+License:        GPL-2.0-or-later OR LGPL-3.0-or-later
+Group:          Development/Languages/Python
+%else
+Summary:        Python interface for libkdumpfile
+License:        GPL-2.0-or-later OR LGPL-3.0-or-later
+Group:          Development/Languages/Python
+%endif
+URL:            https://github.com/ptesarik/libkdumpfile
+Source:         %{name}-%{version}.tar.xz
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  libtool
+BuildRequires:  lzo-devel
+BuildRequires:  pkgconfig
+BuildRequires:  zlib-devel
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%if 0%{?suse_version} < 1030
+BuildRequires:  binutils
+%else
+BuildRequires:  binutils-devel
+%endif
+BuildRequires:  %{python_module devel}
+%if %{have_snappy}
+BuildRequires:  snappy-devel
+%endif
+%ifpython2
+Provides:       %{oldpython}-libaddrxlat = %{version}-%{release}
+Obsoletes:      %{oldpython}-libaddrxlat < %{version}-%{release}
+%endif
+
+%if %new_python_macros
+%python_subpackages
+%endif
+
+%description
+%if "%name" == "libkdumpfile"
+A library that provides an abstraction layer for reading kernel dump
+core files.  It supports different kernel dump core formats, virtual
+to physical translation, Xen mappings and more.
+%else
+This package contains all necessary python modules to use libkdumpfile via
+the Python interpreter.
+%endif
+
+%if !%new_python_macros
+
+%package -n python2-libkdumpfile
+Summary:        Python interface for libkdumpfile
+Group:          Development/Languages/Python
+Provides:       python-libkdumpfile = %{version}-%{release}
+Obsoletes:      python-libkdumpfile < %{version}-%{release}
+Provides:       python-libaddrxlat = %{version}-%{release}
+Obsoletes:      python-libaddrxlat < %{version}-%{release}
+
+%description -n python2-libkdumpfile
+This package contains all necessary python modules to use libkdumpfile via
+the Python interpreter.
+
+%package -n python3-libkdumpfile
+Summary:        Python interface for libkdumpfile
+Group:          Development/Languages/Python
+
+%description -n python3-libkdumpfile
+This package contains all necessary python modules to use libkdumpfile via
+the Python interpreter.
+
+%endif
+
+%package -n %{name}-devel
+Summary:        Include files and libraries for libkdumpfile development
+Group:          Development/Libraries/C and C++
+Requires:       glibc-devel
+Requires:       libkdumpfile10 = %{version}
+
+%description -n %{name}-devel
+This package contains all necessary include files and libraries needed
+to develop applications that require libkdumpfile.
+
+%package -n libkdumpfile10
+Summary:        Kernel dump file access library
+Group:          System/Libraries
+
+%description -n libkdumpfile10
+A library that provides an abstraction layer for reading kernel dump
+core files.  It supports different kernel dump core formats, virtual
+to physical translation, Xen mappings and more.
+
+This package contains the libkdumpfile library.
+
+%package -n libaddrxlat3
+Summary:        Address translation library used primarily by libkdumpfile
+Group:          System/Libraries
+
+%description -n libaddrxlat3
+A library that provides an abstraction layer for translating addresses
+between address spaces (i.e. physical vs virtual).
+
+This package contains the libaddrxlat library.
+
+%package -n libaddrxlat-devel
+Summary:        Include files and libraries for libaddrxlat development
+Group:          Development/Libraries/C and C++
+Requires:       glibc-devel
+Requires:       libaddrxlat3 = %{version}
+
+%description -n libaddrxlat-devel
+This package contains all necessary include files and libraries needed
+to develop applications that require libaddrxlat.
+
+# Compatibility cruft
+# there is no %%license prior to SLE12
+%if %{undefined _defaultlicensedir}
+%define license %doc
+%else
+# filesystem before SLE12 SP3 lacks /usr/share/licenses
+%if 0%(test ! -d %{_defaultlicensedir} && echo 1)
+%define _defaultlicensedir %{_defaultdocdir}
+%endif
+%endif
+# End of compatibility cruft
+
+%prep
+%setup -q
+%autopatch -p1
+
+%build
+aclocal
+autoreconf -fvi
+%configure --disable-static --without-python
+make %{?_smp_mflags}
+cd python
+%if %new_python_macros
+%{python_expand # Build for each Python version
+rm -f setup.cfg
+make setup.cfg DESTDIR=%{?buildroot} pyexecdir=%{$python_sitearch}
+%$python_build
+}
+%else
+make setup.cfg DESTDIR=%{?buildroot} pyexecdir=%{python_sitearch}
+%python_build
+rm -f setup.cfg
+make setup.cfg DESTDIR=%{?buildroot} pyexecdir=%{python3_sitearch}
+%python3_build
+%endif
+
+%install
+%make_install
+cd python
+%python_install
+%if !%new_python_macros
+%python3_install
+%endif
+
+# Do not install example code
+rm -v %{?buildroot}%{_bindir}/dumpattr
+rm -v %{?buildroot}%{_bindir}/listxendoms
+rm -v %{?buildroot}%{_bindir}/showxlat
+# Remove Libtool files
+rm -v %{?buildroot}%{_libdir}/libkdumpfile.la
+rm -v %{?buildroot}%{_libdir}/libaddrxlat.la
+%if %new_python_macros
+%{python_expand # Libtool files for extension modules
+rm -v %{?buildroot}%{$python_sitearch}/_kdumpfile*.la
+rm -v %{?buildroot}%{$python_sitearch}/_addrxlat*.la
+}
+%else
+rm -v %{?buildroot}%{python_sitearch}/_kdumpfile*.la
+rm -v %{?buildroot}%{python_sitearch}/_addrxlat*.la
+rm -v %{?buildroot}%{python3_sitearch}/_kdumpfile*.la
+rm -v %{?buildroot}%{python3_sitearch}/_addrxlat*.la
+%endif
+
+%post -n libkdumpfile10 -p /sbin/ldconfig
+
+%post -n libaddrxlat3 -p /sbin/ldconfig
+
+%postun -n libkdumpfile10 -p /sbin/ldconfig
+
+%postun -n libaddrxlat3 -p /sbin/ldconfig
+
+%files -n libkdumpfile10
+%defattr(-,root,root)
+%{_libdir}/libkdumpfile.so.*
+%license COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv3
+%doc README.md NEWS
+
+%files -n libkdumpfile-devel
+%defattr(-,root,root)
+%{_includedir}/libkdumpfile/kdumpfile.h
+%{_libdir}/libkdumpfile.so
+%{_libdir}/pkgconfig/libkdumpfile.pc
+
+%files -n libaddrxlat3
+%defattr(-,root,root)
+%{_libdir}/libaddrxlat.so.*
+%license COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv3
+%doc README.md NEWS
+
+%files -n libaddrxlat-devel
+%defattr(-,root,root)
+%dir %{_includedir}/libkdumpfile
+%{_includedir}/libkdumpfile/addrxlat.h
+%{_libdir}/libaddrxlat.so
+%{_libdir}/pkgconfig/libaddrxlat.pc
+
+%if %new_python_macros
+
+%files %{python_files}
+%defattr(-,root,root)
+%{python_sitearch}/*
+
+%else
+
+%files -n python2-libkdumpfile
+%defattr(-,root,root)
+%{python_sitearch}/*
+
+%files -n python3-libkdumpfile
+%defattr(-,root,root)
+%{python3_sitearch}/*
+
+%endif
+
+%changelog

Index: libkdumpfile.changes
===================================================================
--- libkdumpfile.changes	(revision 0)
+++ libkdumpfile.changes	(revision 0)
@@ -0,0 +1,212 @@
+-------------------------------------------------------------------
+Sat Feb 25 13:58:20 UTC 2023 - Petr Tesařík <petr@tesarici.cz>
+
+- Build from git using an OBS service file.
+
+-------------------------------------------------------------------
+Sat Jan 21 11:53:07 UTC 2023 - Petr Tesařík <ptesarik@suse.com>
+
+- Upgrade to libkdumpfile version 0.5.1
+  * Bitmap of all RAM in the memory.pagemap attribute.
+  * Enhance the API with conversions between numeric and string PTE
+    format: addrxlat_pte_format(), addrxlat_pte_format_name().
+  * Improve compatibility (mawk, Python 3.12).
+
+-------------------------------------------------------------------
+Fri Aug 12 19:27:55 UTC 2022 - Petr Tesařík <ptesarik@suse.com>
+
+- Upgrade to libkdumpfile version 0.5.0
+  * Support SADUMP file format.
+  * Add kdump_open_fd() and kdump_open_fdset(). Keep KDUMP_ATTR_FILE_FD
+    for (partial) backward compatibility.
+  * Redesigned addrxlat callback API.
+  * Support KDUMP file sets created by makedumpfile --split.
+  * Zstandard compression algorithm
+  * AArch64 52-bit VA
+  * Address translation tuning with addrxlat.default.* and addrxlat.force.*
+    attributes.
+- Drop patches that are upstream:
+  * libkdumpfile-live-source-Xen-DomU-type-from-sysfs.patch
+
+-------------------------------------------------------------------
+Thu Jul  7 08:46:49 UTC 2022 - Petr Tesařík <ptesarik@suse.com>
+
+- libkdumpfile-live-source-Xen-DomU-type-from-sysfs.patch:
+  Determine live source Xen DomU type from sysfs (fixes a GCC 12
+  build failure).
+
+-------------------------------------------------------------------
+Thu Nov  4 13:58:13 UTC 2021 - Petr Tesařík <ptesarik@suse.com>
+
+- upgrade to libkdumpfile-0.4.1
+  * Support Linux on AArch64
+  * Support for x86 Secure Memory Encryption
+  * Clean up vmcoreinfo string API
+  * Expose mmap and read cache statistics
+- Drop patches that are upstream:
+  * libkdumpfile-use-python-distutils.patch
+  * libkdumpfile-uninstall-using-distutils.patch
+  * libkdumpfile-honour-DESTDIR.patch
+  * libkdumpfile-move-python-setup-command-options.patch
+  * libkdumpfile-python-includedir.patch
+
+-------------------------------------------------------------------
+Fri Feb 19 08:36:57 UTC 2021 - Petr Tesařík <ptesarik@suse.com>
+
+- Fix build for openSUSE:Factory.
+
+-------------------------------------------------------------------
+Sun Sep 27 21:13:24 UTC 2020 - Petr Tesařík <ptesarik@suse.com>
+
+- Switch to Python distutils:
+  * libkdumpfile-use-python-distutils.patch
+  * libkdumpfile-uninstall-using-distutils.patch
+  * libkdumpfile-honour-DESTDIR.patch
+  * libkdumpfile-move-python-setup-command-options.patch
+  * libkdumpfile-python-includedir.patch
+- Merge python-libaddrxlat into python-libkdumpfile.
+- Build both Python2 and Python3 packages.
+
+-------------------------------------------------------------------
+Tue Sep 22 19:47:45 UTC 2020 - Petr Tesařík <ptesarik@suse.com>
+
+- upgrade to libkdumpfile-0.4.0
+  * 5-level paging for x86-64
+  * bitmap and blob attributes
+  * kASLR support for Linux kernels
+  * address translation speed-ups
+  * many bugfixes
+- Drop fix-build-with-recent-glibc.patch (now upstream).
+
+-------------------------------------------------------------------
+Tue Apr 28 06:33:56 UTC 2020 - Petr Tesařík <ptesarik@suse.com>
+
+- Mark COPYING* files with %license.
+
+-------------------------------------------------------------------
+Tue Apr  9 22:02:51 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
+
+- Add fix-build-with-recent-glibc.patch
+
+-------------------------------------------------------------------
+Fri Jun  9 13:59:00 UTC 2017 - ptesarik@suse.com
+
+- Use the correct RPM Group for Python packages.
+
+-------------------------------------------------------------------
+Mon May 15 11:01:56 UTC 2017 - ptesarik@suse.com
+
+- upgrade to libkdumpfile-0.3.0
+  * API and ABI changed (see NEWS)
+  * Address translation routines moved into `libaddrxlat` (can be
+    used without a dump file).
+  * Python bindings.
+  * Comprehensive test suite for `libaddrxlat`.
+  * Caching.
+  * ...and more!
+
+-------------------------------------------------------------------
+Mon Feb  1 14:18:33 UTC 2016 - ptesarik@suse.com
+
+- upgrade to libkdumpfile-0.2.0
+  * API and ABI changed (see NEWS)
+  * differentiation of Xen dump types (attribute "xen.type")
+  * support for opening dumps in Xen hypervisor mode
+  * many other Xen improvements
+  * fix reading LKCD dump files
+
+-------------------------------------------------------------------
+Tue Dec  8 16:15:17 UTC 2015 - ptesarik@suse.com
+
+- upgrade to libkdumpfile-0.1.7
+  * metadata is stored as hierarchical attributes which can be enumerated
+- libkdumpfile-add-EM_AARCH64.patch: Dropped (now upstream).
+- libkdumpfile-remove-ARCH_PPC64LE.patch: Dropped (now upstream).
+- libkdumpfile-fallback-for-old-zlib.patch: Dropped (now upstream).
+
+-------------------------------------------------------------------
+Thu Nov 26 09:54:56 UTC 2015 - ptesarik@suse.com
+
+- Remove autoreconf invocation (fix build on SLE10).
+
+-------------------------------------------------------------------
+Wed Nov 25 13:29:56 UTC 2015 - ptesarik@suse.com
+
+- Add pkg-config to BuildRequires (adds back zlib support).
+- libkdumpfile-fallback-for-old-zlib.patch: Fall back to
+  AC_SEARCH_LIBS if there is no pkg-config file for zlib.
+
+-------------------------------------------------------------------
+Wed Nov 25 12:50:16 UTC 2015 - ptesarik@suse.cz
+
+- upgrade to libkdumpfile-0.1.5
+  * Improved support of Xen dumpcore files.
+  * Basic support for MIPS architecture.
+  * Fix support for LKCD dumps on s390x.
+- Add libkdumpfile.pc pkg-config file to -devel package.
+- libkdumpfile-remove-ARCH_PPC64LE.patch: Fix build on ppc64le.
+
+-------------------------------------------------------------------
+Sat Aug 22 19:23:05 UTC 2015 - jengelh@inai.de
+
+- Set RPM group per standard practices. Update license field to
+  actual conditions. Use original source URL.
+
+-------------------------------------------------------------------
+Fri Dec  5 17:09:10 UTC 2014 - ptesarik@suse.cz
+
+- upgrade to libkdumpfile-0.1.4
+  * Improved error reporting.
+  * Support of 32-bit x86 file format.
+
+-------------------------------------------------------------------
+Fri Nov  7 13:39:17 UTC 2014 - ptesarik@suse.cz
+
+- upgrade to libkdumpfile-0.1.3
+  * Support of z/Architecture and S390 Dump file format.
+
+-------------------------------------------------------------------
+Mon Nov  3 12:35:20 UTC 2014 - ptesarik@suse.cz
+
+- Do not build static libraries.
+
+-------------------------------------------------------------------
+Sun Nov  2 21:08:29 UTC 2014 - ptesarik@suse.cz
+
+- Fix devel package dependencies.
+
+-------------------------------------------------------------------
+Sun Nov  2 14:40:50 UTC 2014 - ptesarik@suse.cz
+
+- Define %make_install if not yet defined. This allows building
+  the package on very old products (SLES10).
+
+-------------------------------------------------------------------
+Sat Nov  1 21:03:49 UTC 2014 - ptesarik@suse.cz
+
+- libkdumpfile-add-EM_AARCH64.patch: Add definition of EM_AARCH64
+  if missing.
+
+-------------------------------------------------------------------
+Fri Oct 31 16:29:13 UTC 2014 - ptesarik@suse.cz
+
+- Make snappy support optional (fix build on products that do not
+  have that library).
+
+-------------------------------------------------------------------
+Fri Oct 31 16:27:30 UTC 2014 - ptesarik@suse.cz
+
+- upgrade to libkdumpfile-0.1.2
+- Drop libkdumpfile-fix-kdump_phys_base.patch: Upstream. 
+
+-------------------------------------------------------------------
+Wed Oct 29 20:55:08 UTC 2014 - ptesarik@suse.cz
+
+- libkdumpfile-fix-kdump_phys_base.patch: Fix return type of
+  kdump_phys_base() in definition.
+
+-------------------------------------------------------------------
+Wed Oct 29 20:35:59 UTC 2014 - ptesarik@suse.cz
+
+- Initial import.
+

Index: libkdumpfile-0.5.1+git3.g97c716a.tar.xz
===================================================================
Binary file 'libkdumpfile-0.5.1+git3.g97c716a.tar.xz' added.

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=65
2023-02-25 14:29:33 +00:00
Petr Tesařík
58a72d129d Remove conflicting files.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=64
2023-02-25 14:25:13 +00:00
aad8b1c383 Accepting request 1060134 from Kernel:kdump
- Upgrade to libkdumpfile version 0.5.1
  * Bitmap of all RAM in the memory.pagemap attribute.
  * Enhance the API with conversions between numeric and string PTE
    format: addrxlat_pte_format(), addrxlat_pte_format_name().
  * Improve compatibility (mawk, Python 3.12).

OBS-URL: https://build.opensuse.org/request/show/1060134
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=18
2023-01-21 18:12:28 +00:00
Petr Tesařík
bac06dba41 - Upgrade to libkdumpfile version 0.5.1
* Bitmap of all RAM in the memory.pagemap attribute.
  * Enhance the API with conversions between numeric and string PTE
    format: addrxlat_pte_format(), addrxlat_pte_format_name().
  * Improve compatibility (mawk, Python 3.12).

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=59
2023-01-21 11:53:53 +00:00
dd04fe0c8c Accepting request 994881 from Kernel:kdump
- Upgrade to libkdumpfile version 0.5.0
  * Support SADUMP file format.
  * Add kdump_open_fd() and kdump_open_fdset(). Keep KDUMP_ATTR_FILE_FD
    for (partial) backward compatibility.
  * Redesigned addrxlat callback API.
  * Support KDUMP file sets created by makedumpfile --split.
  * Zstandard compression algorithm
  * AArch64 52-bit VA
  * Address translation tuning with addrxlat.default.* and addrxlat.force.*
    attributes.
- Drop patches that are upstream:
  * libkdumpfile-live-source-Xen-DomU-type-from-sysfs.patch

OBS-URL: https://build.opensuse.org/request/show/994881
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=17
2022-08-13 20:37:02 +00:00
Petr Tesařík
016e59fd2a Accepting request 994879 from home:ptesarik:branches:Kernel:kdump
- Upgrade to libkdumpfile version 0.5.0
  * Support SADUMP file format.
  * Add kdump_open_fd() and kdump_open_fdset(). Keep KDUMP_ATTR_FILE_FD
    for (partial) backward compatibility.
  * Redesigned addrxlat callback API.
  * Support KDUMP file sets created by makedumpfile --split.
  * Zstandard compression algorithm
  * AArch64 52-bit VA
  * Address translation tuning with addrxlat.default.* and addrxlat.force.*
    attributes.
- Drop patches that are upstream:
  * libkdumpfile-live-source-Xen-DomU-type-from-sysfs.patch

OBS-URL: https://build.opensuse.org/request/show/994879
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=57
2022-08-13 09:52:25 +00:00
df1cc62df1 Accepting request 987382 from Kernel:kdump
- libkdumpfile-live-source-Xen-DomU-type-from-sysfs.patch:
  Determine live source Xen DomU type from sysfs (fixes a GCC 12
  build failure).

OBS-URL: https://build.opensuse.org/request/show/987382
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=16
2022-07-07 10:57:43 +00:00
Petr Tesařík
b1ac9f9832 - libkdumpfile-live-source-Xen-DomU-type-from-sysfs.patch:
Determine live source Xen DomU type from sysfs (fixes a GCC 12
  build failure).

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=55
2022-07-07 08:47:52 +00:00
5d2762ed28 Accepting request 929696 from Kernel:kdump
- upgrade to libkdumpfile-0.4.1
  * Support Linux on AArch64
  * Support for x86 Secure Memory Encryption
  * Clean up vmcoreinfo string API
  * Expose mmap and read cache statistics
- Drop patches that are upstream:
  * libkdumpfile-use-python-distutils.patch
  * libkdumpfile-uninstall-using-distutils.patch
  * libkdumpfile-honour-DESTDIR.patch
  * libkdumpfile-move-python-setup-command-options.patch
  * libkdumpfile-python-includedir.patch

OBS-URL: https://build.opensuse.org/request/show/929696
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=15
2021-11-05 21:59:03 +00:00
Petr Tesařík
07fd9aab5a - Drop patches that are upstream:
* libkdumpfile-use-python-distutils.patch
  * libkdumpfile-uninstall-using-distutils.patch
  * libkdumpfile-honour-DESTDIR.patch
  * libkdumpfile-move-python-setup-command-options.patch
  * libkdumpfile-python-includedir.patch

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=54
2021-11-05 08:31:25 +00:00
Petr Tesařík
dea5f76c10 Fix build for Factory, take 1.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=53
2021-11-04 14:15:43 +00:00
Petr Tesařík
eed177038a Fix subpackage names, take 3.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=52
2021-11-04 14:09:16 +00:00
Petr Tesařík
9272f77f60 Fix subpackage naming, take 2.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=51
2021-11-04 14:06:11 +00:00
Petr Tesařík
12618e516d Fix subpackage names.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=50
2021-11-04 14:05:04 +00:00
Petr Tesařík
8a0ab997e8 - upgrade to libkdumpfile-0.4.1
* Support Linux on AArch64
  * Support for x86 Secure Memory Encryption
  * Clean up vmcoreinfo string API
  * Expose mmap and read cache statistics

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=49
2021-11-04 14:00:37 +00:00
614fa2b2d9 Accepting request 873672 from Kernel:kdump
- Fix build for openSUSE:Factory.

OBS-URL: https://build.opensuse.org/request/show/873672
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=14
2021-02-19 22:45:08 +00:00
Petr Tesařík
e1654a3f12 - Fix build for openSUSE:Factory.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=47
2021-02-19 08:37:47 +00:00
Petr Tesařík
f203c35541 Accepting request 873663 from home:ptesarik:branches:Kernel:kdump
Fix check for legacy Python support to work with OBS.

OBS-URL: https://build.opensuse.org/request/show/873663
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=46
2021-02-19 08:24:20 +00:00
Petr Tesařík
a22c4ee46e Drop all SLE11 compatibility attempts - not worth the effort
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=45
2021-02-04 11:41:48 +00:00
Petr Tesařík
ef85795d9a Fix SLE11 build
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=44
2021-02-04 11:34:58 +00:00
Petr Tesařík
90e483ce94 - Add libkdumpfile-PN_XNUM-fallback.patch to fix build for ancient
distributions.

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=43
2021-02-04 11:21:12 +00:00
Petr Tesařík
031f45e9d1 Fix SLE11 SP4 build.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=42
2021-02-03 18:13:47 +00:00
9acb728019 Accepting request 838137 from Kernel:kdump
- Switch to Python distutils:
  * libkdumpfile-use-python-distutils.patch
  * libkdumpfile-uninstall-using-distutils.patch
  * libkdumpfile-honour-DESTDIR.patch
  * libkdumpfile-move-python-setup-command-options.patch
  * libkdumpfile-python-includedir.patch
- Merge python-libaddrxlat into python-libkdumpfile.
- Build both Python2 and Python3 packages.

OBS-URL: https://build.opensuse.org/request/show/838137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=13
2020-09-28 12:28:53 +00:00
Petr Tesařík
af8ead99d0 Fix build for SLE12
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=40
2020-09-27 22:01:15 +00:00
Petr Tesařík
4c7c69144d Accepting request 838135 from home:ptesarik:branches:Kernel:kdump
- Switch to Python distutils:
  * libkdumpfile-use-python-distutils.patch
  * libkdumpfile-uninstall-using-distutils.patch
  * libkdumpfile-honour-DESTDIR.patch
  * libkdumpfile-move-python-setup-command-options.patch
  * libkdumpfile-python-includedir.patch
- Merge python-libaddrxlat into python-libkdumpfile.
- Build both Python2 and Python3 packages.

OBS-URL: https://build.opensuse.org/request/show/838135
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=39
2020-09-27 21:58:12 +00:00
b06ad3ad71 Accepting request 836154 from Kernel:kdump
OBS-URL: https://build.opensuse.org/request/show/836154
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=12
2020-09-23 16:43:10 +00:00
Petr Tesařík
8af30d753c Accepting request 836153 from home:ptesarik:branches:Kernel:kdump
- upgrade to libkdumpfile-0.4.0
  * 5-level paging for x86-64
  * bitmap and blob attributes
  * kASLR support for Linux kernels
  * address translation speed-ups
  * many bugfixes
- Drop fix-build-with-recent-glibc.patch (now upstream).

OBS-URL: https://build.opensuse.org/request/show/836153
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=37
2020-09-22 20:20:09 +00:00
351c9db0dd Accepting request 798526 from Kernel:kdump
- Fix build in Factory.
- Mark COPYING* files with %license.

OBS-URL: https://build.opensuse.org/request/show/798526
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=11
2020-04-28 20:31:11 +00:00
Petr Tesařík
10c2b752a2 Fix compat build macro.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=35
2020-04-28 07:59:07 +00:00
Petr Tesařík
ecce956edf Fix pre-SLE15 builds.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=34
2020-04-28 07:51:05 +00:00
Petr Tesařík
b0cde4a216 Fix unpackaged files, take 4.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=33
2020-04-28 07:24:47 +00:00
Petr Tesařík
e58b3a7483 Fix __pycache__ subdirectories for real.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=32
2020-04-28 07:22:09 +00:00
Petr Tesařík
7d26dcadb9 Fix unpackaged directories.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=31
2020-04-28 07:16:11 +00:00
Petr Tesařík
92b043922f - Fix build in Factory.
- Mark COPYING* files with %license.

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=30
2020-04-28 07:04:20 +00:00
Petr Tesařík
be282728e8 - Fix build if *.la files are not installed.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=29
2020-04-28 06:32:10 +00:00
6bf74ecf5c Accepting request 697355 from Kernel:kdump
OBS-URL: https://build.opensuse.org/request/show/697355
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=10
2019-04-30 10:58:45 +00:00
Petr Tesařík
be99be8b7c Accepting request 692712 from home:cgiboudeaux:branches:Kernel:kdump
- Add fix-build-with-recent-glibc.patch

OBS-URL: https://build.opensuse.org/request/show/692712
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=27
2019-04-24 06:59:00 +00:00
35edd7e075 Accepting request 502645 from Kernel:kdump
Fix RPM Group

OBS-URL: https://build.opensuse.org/request/show/502645
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=9
2017-06-12 13:33:47 +00:00
Petr Tesařík
878913b5f1 - Use the correct RPM Group for Python packages.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=24
2017-06-09 13:59:28 +00:00
8901405d87 Accepting request 494937 from Kernel:kdump
- upgrade to libkdumpfile-0.3.0
  * API and ABI changed (see NEWS)
  * Address translation routines moved into `libaddrxlat` (can be
    used without a dump file).
  * Python bindings.
  * Comprehensive test suite for `libaddrxlat`.
  * Caching.
  * ...and more!

OBS-URL: https://build.opensuse.org/request/show/494937
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=8
2017-05-31 10:15:51 +00:00
Petr Tesařík
59f10db0af OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=22 2017-05-15 12:51:57 +00:00
cf1d10783f Accepting request 357211 from Kernel:kdump
upgrade to 0.2.0

OBS-URL: https://build.opensuse.org/request/show/357211
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=7
2016-02-03 09:19:52 +00:00
Petr Tesařík
4124f60be4 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=21 2016-02-01 15:02:28 +00:00
a524189658 Accepting request 347949 from Kernel:kdump
1

OBS-URL: https://build.opensuse.org/request/show/347949
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=6
2015-12-09 18:54:25 +00:00
Petr Tesařík
9d03cd6933 Accepting request 347946 from home:ptesarik:branches:Kernel:kdump
Upgrade to 0.1.7.

OBS-URL: https://build.opensuse.org/request/show/347946
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=19
2015-12-08 16:43:45 +00:00
8f3b04eda5 Accepting request 346373 from Kernel:kdump
1

OBS-URL: https://build.opensuse.org/request/show/346373
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=5
2015-11-28 14:19:16 +00:00
Petr Tesařík
c55de14a13 Accepting request 346372 from home:ptesarik:branches:Kernel:kdump
Remove autoreconf.

OBS-URL: https://build.opensuse.org/request/show/346372
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=17
2015-11-26 11:19:08 +00:00
Petr Tesařík
a7e6dc844d Accepting request 346225 from home:ptesarik:branches:Kernel:kdump
Fix zlib support on legacy distributions.

OBS-URL: https://build.opensuse.org/request/show/346225
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=16
2015-11-25 14:00:07 +00:00
Petr Tesařík
c49807a1a3 Accepting request 346219 from home:ptesarik:branches:Kernel:kdump
Upgrade to 0.1.6.

OBS-URL: https://build.opensuse.org/request/show/346219
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=15
2015-11-25 12:54:02 +00:00
Stephan Kulow
db31b16c82 Accepting request 325738 from Kernel:kdump
1

OBS-URL: https://build.opensuse.org/request/show/325738
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=4
2015-08-27 06:56:49 +00:00
Petr Tesařík
ec701838a0 Accepting request 325452 from home:jengelh:branches:Kernel:kdump
- Set RPM group per standard practices. Update license field to
  actual conditions. Use original source URL.

OBS-URL: https://build.opensuse.org/request/show/325452
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=13
2015-08-23 19:21:40 +00:00
dd15999e75 Accepting request 264175 from Kernel:kdump
1

OBS-URL: https://build.opensuse.org/request/show/264175
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=3
2014-12-05 20:04:59 +00:00
Petr Tesařík
5fcd266cdb Accepting request 264174 from home:ptesarik:branches:Kernel:kdump
Upgrade to 0.1.4

OBS-URL: https://build.opensuse.org/request/show/264174
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=11
2014-12-05 17:13:53 +00:00
2810b42e84 Accepting request 261606 from Kernel:kdump
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/261606
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=2
2014-11-15 10:41:56 +00:00
Petr Tesařík
410278aaae - upgrade to libkdumpfile-0.1.3
* Support of z/Architecture and S390 Dump file format.

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=9
2014-11-07 13:48:32 +00:00
Stephan Kulow
73cb7fd72a Accepting request 259491 from Kernel:kdump
New package, which is required to build the forthcoming new versions of kdumpid.

OBS-URL: https://build.opensuse.org/request/show/259491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libkdumpfile?expand=0&rev=1
2014-11-04 16:29:51 +00:00
Petr Tesařík
8784788934 - Do not build static libraries.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=7
2014-11-03 12:43:32 +00:00
Petr Tesařík
a9b12d93d1 - Fix devel package dependencies.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=6
2014-11-02 21:09:13 +00:00
Petr Tesařík
d101e09427 - Define %make_install if not yet defined. This allows building
the package on very old products (SLES10).

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=5
2014-11-02 14:41:24 +00:00
Petr Tesařík
69f4508e28 - libkdumpfile-add-EM_AARCH64.patch: Add definition of EM_AARCH64
if missing.

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=4
2014-11-01 21:05:11 +00:00
Petr Tesařík
308560882d - Make snappy support optional (fix build on products that do not
have that library).

- upgrade to libkdumpfile-0.1.2
- Drop libkdumpfile-fix-kdump_phys_base.patch: Upstream.

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=3
2014-10-31 16:29:53 +00:00
Petr Tesařík
5df7006b6e - libkdumpfile-fix-kdump_phys_base.patch: Fix return type of
kdump_phys_base() in definition.

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=2
2014-10-29 20:55:48 +00:00
Petr Tesařík
8d64c88e1a - Initial import.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/libkdumpfile?expand=0&rev=1
2014-10-29 20:36:49 +00:00

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

Binary file not shown.