Add ghidra package (#9753)

This commit is contained in:
Ed Reel
2024-05-06 07:24:09 -05:00
committed by GitHub
parent 71b9e0d95f
commit 0f61f465ef
3 changed files with 4454 additions and 0 deletions

File diff suppressed because it is too large Load Diff

37
packages/ghidra.rb Normal file
View File

@@ -0,0 +1,37 @@
require 'package'
class Ghidra < Package
description "A software reverse engineering (SRE) suite of tools developed by NSA's Research Directorate in support of the Cybersecurity mission."
homepage 'https://ghidra-sre.org/'
version '11.0.3'
license 'Apache 2.0'
compatibility 'x86_64'
source_url 'https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_11.0.3_build/ghidra_11.0.3_PUBLIC_20240410.zip'
source_sha256 '2462a2d0ab11e30f9e907cd3b4aa6b48dd2642f325617e3d922c28e752be6761'
depends_on 'libbsd' # R
depends_on 'libmd' # R
depends_on 'libx11' # R
depends_on 'libxau' # R
depends_on 'libxcb' # R
depends_on 'libxdmcp' # R
depends_on 'libxext' # R
depends_on 'libxi' # R
depends_on 'libxrender' # R
depends_on 'libxtst' # R
depends_on 'openjdk17' # R
depends_on 'pthread_stubs' # R
depends_on 'xcb_proto' # R
depends_on 'xorg_proto' # R
def self.install
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/share/ghidra"
FileUtils.mv Dir['*'], "#{CREW_DEST_PREFIX}/share/ghidra"
FileUtils.ln_s "#{CREW_PREFIX}/share/ghidra/ghidraRun", "#{CREW_DEST_PREFIX}/bin/ghidra"
end
def self.postinstall
ExitMessage.add "\nType 'ghidra' to get started.\n".lightblue
end
end

View File

@@ -2345,6 +2345,11 @@ url: https://www.haskell.org/ghc/
activity: medium
---
kind: url
name: ghidra
url: https://github.com/NationalSecurityAgency/ghidra/releases
activity: medium
---
kind: url
name: ghostscript
url: https://ftp.gnu.org/gnu/ghostscript/
activity: none