openbsd-ports/security/ghidra/distinfo
lteo e6545fccae Build and pack native components so that Ghidra can decompile programs on
OpenBSD.  This is based on a pull request from Jeremy O'Brien at
https://github.com/NationalSecurityAgency/ghidra/pull/490 and the Ghidra
build guide at
https://github.com/NationalSecurityAgency/ghidra/blob/master/DevGuide.md .

In addition, I have made these changes to make Ghidra work better as an OpenBSD
port:

1. I removed the explicit check for Gradle 5.0 because I was able to build
   Ghidra with latest versions of Gradle.  At the time of commit, our
   java/gradle port is 5.5.1 which is the latest version of Gradle.

2. By default, the Ghidra build process tries to fetch dependent files on demand
   while building.  This will cause the build to fail if the port is built using
   the _pbuild user.  To fix this, I made the port fetch all the dependent .jar
   files prior to building.  I also used gradle's --offline flag which
   explicitly tells gradle to "Execute the build without accessing network
   resources".

3. To prevent the build process from touching $HOME, I made gradle use
   ${WRKDIR}/gradle as its home and also modified GHelpBuilder.java
   (the program that builds help files during build) to log to ${WRKDIR}
   instead of $HOME/.ghidra.

4. One of the Gradle scripts (ip.gradle) scans the Ghidra source tree so
   I had to explicitly tell it to exclude *.orig and *.beforesubst.

help from bentley@ and Jeremy O'Brien
ok bentley@ rpointel@ (maintainer)
2019-07-23 02:09:20 +00:00

19 lines
1010 B
Plaintext

SHA256 (ST4-4.1.jar) = ixzK7Z7cVc0lXZwZxNjaR1bZtvy0NWcSkrQ0cLFtddg=
SHA256 (ghidra-9.0.4.tar.gz) = 4kWT+0zz4dG3qN/q6F7fup/Z1EazYMel0S6WQEOHNeM=
SHA256 (ghidra_9.0.4_PUBLIC_20190516.zip) = pQ0M1HXZN3MygR7q5m6Uvcnn2I5YR3xSfpxreMrsGL8=
SHA256 (hamcrest-all-1.3.jar) = SHdnBimrlvNPX5CrKDEl/Nmst+aD5mMZpovm6yzKYN4=
SHA256 (javacc-5.0.jar) = cRExYbyM9mQVFVQcKBgCi4fHjsLo/6p1MXaG7giWe4k=
SHA256 (jmockit-1.44.jar) = GXSZN1EzMkhCbdusNwpgSUTt9mXBPUakxelz5N2PqUo=
SHA256 (json-simple-1.1.1.jar) = TmlpaJK4i0HFXUmrL9zCHurZK/VKzFiMAFBZbDt1GZw=
SHA256 (junit-4.12.jar) = WXIfCAXiI9hLkGd4h9n/Vn3FNNfFAsqQPAwrF/BcEWo=
SHA256 (yajsw-stable-12.12.zip) = E5j8sek6uxmZLE+gbX/ldYqrtMRXgdfvMGxvV8p6cyE=
SIZE (ST4-4.1.jar) = 253043
SIZE (ghidra-9.0.4.tar.gz) = 59223815
SIZE (ghidra_9.0.4_PUBLIC_20190516.zip) = 298503610
SIZE (hamcrest-all-1.3.jar) = 306578
SIZE (javacc-5.0.jar) = 298569
SIZE (jmockit-1.44.jar) = 757982
SIZE (json-simple-1.1.1.jar) = 23931
SIZE (junit-4.12.jar) = 314932
SIZE (yajsw-stable-12.12.zip) = 25051676