Ghidrathon: update to 4.0.0.

This commit is contained in:
Andrew Benson 2024-02-17 14:34:07 -06:00 committed by Andrew Benson
parent bbfcb84b85
commit 7e1a6bf007
2 changed files with 7 additions and 12 deletions

View file

@ -1,10 +0,0 @@
--- a/build.gradle
+++ b/build.gradle
@@ -42,7 +42,6 @@
// we need to copy the Jep native binaries built in installJep to our extension directory; we use a small
// utility script written in Python
task copyJepNativeBinaries(type: Exec) {
- dependsOn installJep
workingDir "${projectDir}"
commandLine pythonBin, "util${File.separator}configure_jep_native_binaries.py"
}

View file

@ -1,6 +1,6 @@
# Template file for 'Ghidrathon'
pkgname=Ghidrathon
version=3.0.2
version=4.0.0
revision=1
hostmakedepends="gradle openjdk17 unzip jep"
makedepends="ghidra python3-devel"
@ -11,9 +11,13 @@ license="Apache-2.0"
homepage="https://github.com/mandiant/Ghidrathon"
changelog="https://github.com/mandiant/Ghidrathon/releases"
distfiles="https://github.com/mandiant/Ghidrathon/archive/v${version}.tar.gz"
checksum=116352ff1a0ab387fb1b9166557aeacff36f8a98d46ebb3a51ccaf8110aba977
checksum=6157811acc0bd833b4071b5dea25b2d45aa4040f286d2afc0ac4ec8c2063cca3
nocross=yes # ghidra cannot be cross-compiled
post_extract() {
cp /${py3_sitelib}/jep/jep-*.jar ${wrksrc}/lib
}
do_build() {
gradle -PGHIDRA_INSTALL_DIR=${XBPS_CROSS_BASE}/usr/libexec/ghidra
}
@ -21,4 +25,5 @@ do_build() {
do_install() {
vmkdir usr/libexec/ghidra/Ghidra/Extensions
unzip dist/*Ghidrathon*.zip -d ${DESTDIR}/usr/libexec/ghidra/Ghidra/Extensions
python3 util/ghidrathon_configure.py ${DESTDIR}/usr/libexec/ghidra
}