ghidra: update to 11.0.

This commit is contained in:
Andrew Benson 2024-01-04 09:44:14 -06:00 committed by Andrew Benson
parent 2063321590
commit d94ddf8709
1 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'ghidra'
pkgname=ghidra
version=10.4
version=11.0
revision=1
_dex_ver=2.1
_yajsw_ver=13.09
@ -18,6 +18,7 @@ homepage="https://ghidra-sre.org/"
distfiles="https://github.com/NationalSecurityAgency/ghidra/archive/Ghidra_${version}_build.tar.gz
https://github.com/pxb1988/dex2jar/releases/download/v${_dex_ver}/dex2jar-${_dex_ver}.zip
https://sourceforge.net/projects/yajsw/files/yajsw/yajsw-stable-${_yajsw_ver}/yajsw-stable-${_yajsw_ver}.zip
https://github.com/NationalSecurityAgency/ghidra-data/raw/Ghidra_${version}/lib/java-sarif-2.1-modified.jar
https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/android4me/AXMLPrinter2.jar
https://github.com/NationalSecurityAgency/ghidra-data/raw/Ghidra_${version}/FunctionID/vs2012_x64.fidb
https://github.com/NationalSecurityAgency/ghidra-data/raw/Ghidra_${version}/FunctionID/vs2012_x86.fidb
@ -29,9 +30,10 @@ distfiles="https://github.com/NationalSecurityAgency/ghidra/archive/Ghidra_${ver
https://github.com/NationalSecurityAgency/ghidra-data/raw/Ghidra_${version}/FunctionID/vs2019_x86.fidb
https://github.com/NationalSecurityAgency/ghidra-data/raw/Ghidra_${version}/FunctionID/vsOlder_x64.fidb
https://github.com/NationalSecurityAgency/ghidra-data/raw/Ghidra_${version}/FunctionID/vsOlder_x86.fidb"
checksum="8267576d169e6db9d8c3560181d31cea457e019df890b15b5ac0c67034c0b336
checksum="e8666782d533aa2ab30cc5f831cdaa3cac11a9b3f94e139210bbe8bc2504e903
7a9bdf843d43de4d1e94ec2e7b6f55825017b0c4a7ee39ff82660e2493a46f08
4dae732a535846ae5dfab753e82a4d5f93ad9a05a065e2172bb9774a1b15453a
7f736566494756d271aa5e4b1af6c89dc50d074ab1c6374a47df822264226b01
00ed038eb6abaf6ddec8d202a3ed7a81b521458f4cd459948115cfd02ff59d6d
d4e98ab3f790b831793218430bba0d8b24a5fbf4da65b0c1ffa8cb0cfbeb0cdc
a490ed7e2ed21e587459feaeace7036b7ede4ce84e72e10dfd8c57434a6918b6
@ -45,7 +47,8 @@ checksum="8267576d169e6db9d8c3560181d31cea457e019df890b15b5ac0c67034c0b336
98605c6b6b9214a945d844e41c85860d54649a45bca7873ef6991c0e93720787"
conf_files="/usr/libexec/ghidra/server/server.conf"
skip_extraction="AXMLPrinter2.jar vs2012_x64.fidb vs2015_x64.fidb vs2017_x64.fidb vs2019_x64.fidb
vsOlder_x64.fidb vsOlder_x86.fidb vs2012_x86.fidb vs2015_x86.fidb vs2017_x86.fidb vs2019_x86.fidb"
vsOlder_x64.fidb vsOlder_x86.fidb vs2012_x86.fidb vs2015_x86.fidb vs2017_x86.fidb vs2019_x86.fidb
java-sarif-2.1-modified.jar"
nopie=yes
nostrip_files="animals createStructure dataMutability inline ldiv opaque
setRegister switch compilerVsDecompiler custom globalRegVars.so
@ -79,6 +82,7 @@ do_configure() {
cp -f ${XBPS_SRCDISTDIR}/${pkgname}-${version}/yajsw-stable-${_yajsw_ver}.zip dependencies/GhidraServer
cp -f ${XBPS_SRCDISTDIR}/${pkgname}-${version}/*.fidb dependencies/fidb
cp -f ${XBPS_SRCDISTDIR}/${pkgname}-${version}/AXMLPrinter2.jar dependencies/flatRepo
cp -f ${XBPS_SRCDISTDIR}/${pkgname}-${version}/java-sarif-2.1-modified.jar dependencies/flatRepo
for _fn in ir reader reader-api translator; do
cp -f ../dex-tools-${_dex_ver}/lib/dex-${_fn}-${_dex_ver}.jar dependencies/flatRepo
done