Anatol Pomozov pushed to branch main at Arch Linux / Packaging / Packages / 
crash


Commits:
3d28fb3b by Qu Wenruo at 2025-01-02T10:27:58+10:30
Add lzo and zstd compression support

Which also adds an extra dependency, boost, or the embedded gdb won't
link.

Signed-off-by: Qu Wenruo <[email protected]>

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -2,15 +2,17 @@
 # Contributor: Bernhard Walle <[email protected]>
 # Contributor: Michael Eckert <[email protected]>
 # Contributor: Mathieu Pasquet <[email protected]>
+# Contributor: Qu Wenruo <[email protected]>
 
 pkgname=crash
 pkgver=8.0.6
-pkgrel=1
+pkgrel=2
 pkgdesc='Linux kernel crashdump analysis tool'
 url='https://crash-utility.github.io/'
 arch=(x86_64)
 license=(GPL)
-depends=(xz ncurses zlib libelf guile mpfr)
+# Boost is needed for the GDB with extra compresison support
+depends=(xz ncurses zlib libelf guile mpfr boost lzo zstd)
 makedepends=(wget)
 optdepends=('binutils: offline vmcore loading functionality')
 
source=(crash-$pkgver.tar.gz::https://github.com/crash-utility/crash/archive/refs/tags/$pkgver.tar.gz)
@@ -19,7 +21,8 @@ 
sha256sums=('fb918ade7faf9b1f76c7bd371a2aebf639bf10197134d3ba776e13a1867104fb')
 build() {
   cd crash-$pkgver
   CPPFLAGS+=' -O2' # to fix https://github.com/crash-utility/crash/issues/87
-  make
+  # Add lzo and zstd support to match makedumpfile's capacity
+  make lzo zstd
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/crash/-/commit/3d28fb3bb0bb05e4fd4b0676879286e11087fcca

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/crash/-/commit/3d28fb3bb0bb05e4fd4b0676879286e11087fcca
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to