Package lldb for distros (#3195)

* add pwndbg-lldb for deb/rpm/apk/pkg.tar.zst

* update CI to package lldb for distros
pull/3229/head
William Tan 4 months ago committed by GitHub
parent 279c1caacc
commit 9fc91b8eb0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -66,6 +66,10 @@ jobs:
pwndbg-gdb-portable-deb,
pwndbg-gdb-portable-apk,
pwndbg-gdb-portable-archlinux,
pwndbg-lldb-portable-rpm,
pwndbg-lldb-portable-deb,
pwndbg-lldb-portable-apk,
pwndbg-lldb-portable-archlinux,
]
runs-on: ${{ matrix.os }}
timeout-minutes: 60

@ -160,7 +160,17 @@
config = ./nix/bundle/nfpm.yaml;
}
)
)
) //
mapKeysWithName (name: "pwndbg-lldb-portable-${name}") (
forPortables (
packager:
pkgUtil.${system}.buildPackagePFPM {
inherit packager;
drv = portableDrvLldb system;
config = ./nix/bundle/nfpm-lldb.yaml;
}
)
)
);
tarballDrv = system: {
"pwndbg-gdb-portable-tarball" = pkgUtil.${system}.buildPackageTarball { drv = portableDrv system; };

@ -0,0 +1,18 @@
name: "pwndbg-lldb"
arch: "${ARCH}"
platform: "linux"
version: "${VERSION}"
version_schema: none
section: "default"
priority: "extra"
maintainer: "Dominik 'disconnect3d' Czarnota <dominik.b.czarnota+dc@gmail.com>"
description: |
Exploit Development and Reverse Engineering with GDB Made Easy
homepage: "https://github.com/pwndbg/pwndbg"
license: "MIT"
contents:
- src: /usr/lib/pwndbg-lldb/bin/pwndbg-lldb
dst: /usr/bin/pwndbg-lldb
type: symlink
- src: ./result/pwndbg
dst: /usr/lib/pwndbg-lldb
Loading…
Cancel
Save