Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] ghidra: update to 10.1.1.
@ 2021-12-29  4:09 unspecd
  2021-12-29 13:43 ` [PR REVIEW] " Johnnynator
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: unspecd @ 2021-12-29  4:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1154 bytes --]

There is a new pull request by unspecd against master on the void-packages repository

https://github.com/unspecd/void-packages pkg/ghidra
https://github.com/void-linux/void-packages/pull/34749

ghidra: update to 10.1.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
- I built this PR locally for these architectures (if supported. mark crossbuilds):


A patch file from https://github.com/void-linux/void-packages/pull/34749.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg/ghidra-34749.patch --]
[-- Type: text/x-diff, Size: 4639 bytes --]

From 37620a022961f87bd3926a3053f4a751cd2698a0 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Wed, 29 Dec 2021 08:55:03 +1100
Subject: [PATCH] ghidra: update to 10.1.1.

---
 srcpkgs/ghidra/template | 43 +++++++++++++++++++++++++++--------------
 1 file changed, 29 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/ghidra/template b/srcpkgs/ghidra/template
index 929ded075627..27f604a88ae1 100644
--- a/srcpkgs/ghidra/template
+++ b/srcpkgs/ghidra/template
@@ -1,6 +1,6 @@
 # Template file for 'ghidra'
 pkgname=ghidra
-version=10.1
+version=10.1.1
 revision=1
 archs="x86_64* aarch64*"
 # Other 64bit archs should be easily patchable,
@@ -15,15 +15,34 @@ license="Apache-2.0"
 homepage="https://ghidra-sre.org/"
 distfiles="https://github.com/NationalSecurityAgency/ghidra/archive/Ghidra_${version}_build.tar.gz
  https://github.com/pxb1988/dex2jar/releases/download/2.0/dex-tools-2.0.zip
- https://sourceforge.net/projects/catacombae/files/HFSExplorer/0.21/hfsexplorer-0_21-bin.zip
  https://sourceforge.net/projects/yajsw/files/yajsw/yajsw-beta-13.01/yajsw-beta-13.01.zip
- https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/android4me/AXMLPrinter2.jar"
-checksum="6250b2c2ff56d6f7beaf29d6144ae5d52ce33ba0a132ef54e5d4f7839d950dff
+ https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/android4me/AXMLPrinter2.jar
+ https://github.com/NationalSecurityAgency/ghidra-data/raw/master/FunctionID/vs2012_x64.fidb
+ https://github.com/NationalSecurityAgency/ghidra-data/raw/master/FunctionID/vs2012_x86.fidb
+ https://github.com/NationalSecurityAgency/ghidra-data/raw/master/FunctionID/vs2015_x64.fidb
+ https://github.com/NationalSecurityAgency/ghidra-data/raw/master/FunctionID/vs2015_x86.fidb
+ https://github.com/NationalSecurityAgency/ghidra-data/raw/master/FunctionID/vs2017_x64.fidb
+ https://github.com/NationalSecurityAgency/ghidra-data/raw/master/FunctionID/vs2017_x86.fidb
+ https://github.com/NationalSecurityAgency/ghidra-data/raw/master/FunctionID/vs2019_x64.fidb
+ https://github.com/NationalSecurityAgency/ghidra-data/raw/master/FunctionID/vs2019_x86.fidb
+ https://github.com/NationalSecurityAgency/ghidra-data/raw/master/FunctionID/vsOlder_x64.fidb
+ https://github.com/NationalSecurityAgency/ghidra-data/raw/master/FunctionID/vsOlder_x86.fidb"
+checksum="744fb6c75867f4c33242572e05e469f869f2b273264e8dbfdfb3071d93490203
  7907eb4d6e9280b6e17ddce7ee0507eae2ef161ee29f70a10dbc6944fdca75bc
- 90c9b54798abca5b12f4a678db7d0a4c970f4702cb153c11919536d0014dedbf
  430fb7901bd0fd52a5b90bd0cbd89e9d334077eb72a9b26896f465de1e593a99
- 00ed038eb6abaf6ddec8d202a3ed7a81b521458f4cd459948115cfd02ff59d6d"
-skip_extraction="AXMLPrinter2.jar"
+ 00ed038eb6abaf6ddec8d202a3ed7a81b521458f4cd459948115cfd02ff59d6d
+ f26548a6df6b6963a418d8c83ac216d9e196b180d944a52b8123c457d472b7c9
+ 0a8962cf3699d5b8d4b3a79400382462519edc26570a46b2085200e38534f900
+ 187248f87fc1deb695bc3051b2d92f9b7482023a356821154db22478eed13088
+ 1d05afa070e9c09b83ee15d544c8559ed0d2b53d7eac476f8f5f8849543b3812
+ 1784ad6b25571177ff8212871867559998c6b8256bb1dbaeee864b580c1b2d6a
+ bc9bf30621190e0eb56c4db5ec30ad0401ca7be0311f5a2ce3d894178eafd19c
+ aab04eefd1142f7b3c3f86c8d766abe361b167b4fe4157c36fad18777b2a6fbd
+ 0a2282ac3479ffc022e6cdb4e32e057bc10f0394cfb0f8016d7145be0167f5f7
+ fe1856c0acad297d9ba4fb6a2df1d32ba34df766d9f1a2a16da0ca2b375e23dd
+ 46e56bc82ba68ad4e9a3c6a2e4ecd3428e2c390c7de0a379fa0165a58d46e115"
+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"
 nopie=yes
 nostrip_files="animals createStructure dataMutability inline ldiv opaque
  setRegister switch compilerVsDecompiler custom globalRegVars.so
@@ -53,15 +72,11 @@ post_extract() {
 }
 
 do_configure() {
-	mkdir -p dependencies/flatRepo
+	mkdir -p dependencies/{GhidraServer,fidb,flatRepo}
+	cp -f ${XBPS_SRCDISTDIR}/${pkgname}-${version}/yajsw-beta-13.01.zip dependencies/GhidraServer
+	cp -f ${XBPS_SRCDISTDIR}/${pkgname}-${version}/*.fidb dependencies/fidb
 	cp -f ${XBPS_SRCDISTDIR}/${pkgname}-${version}/AXMLPrinter2.jar dependencies/flatRepo
-	for lib in csframework.jar hfsx_dmglib.jar hfsx.jar iharder-base64.jar; do
-		cp -f ../lib/$lib dependencies/flatRepo
-	done
 	cp -f ../dex2jar-2.0/lib/dex-*.jar dependencies/flatRepo
-	mkdir -p ${wrksrc}/ghidra.bin/Ghidra/Features/GhidraServer/
-	cp -f ${XBPS_SRCDISTDIR}/${pkgname}-${version}/yajsw-beta-13.01.zip ${wrksrc}/ghidra.bin/Ghidra/Features/GhidraServer/
-	gradle yajswDevUnpack
 }
 
 do_build() {

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR REVIEW] ghidra: update to 10.1.1.
  2021-12-29  4:09 [PR PATCH] ghidra: update to 10.1.1 unspecd
@ 2021-12-29 13:43 ` Johnnynator
  2021-12-30  0:31 ` [PR PATCH] [Updated] " unspecd
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Johnnynator @ 2021-12-29 13:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 275 bytes --]

New review comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/pull/34749#discussion_r776332577

Comment:
Do not use `master` but either a tag or a commit.
Using a branch will sooner or later break the build due to changed files.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Updated] ghidra: update to 10.1.1.
  2021-12-29  4:09 [PR PATCH] ghidra: update to 10.1.1 unspecd
  2021-12-29 13:43 ` [PR REVIEW] " Johnnynator
@ 2021-12-30  0:31 ` unspecd
  2021-12-30  0:53 ` [PR REVIEW] " unspecd
  2021-12-30  1:13 ` [PR PATCH] [Merged]: " Johnnynator
  3 siblings, 0 replies; 5+ messages in thread
From: unspecd @ 2021-12-30  0:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1159 bytes --]

There is an updated pull request by unspecd against master on the void-packages repository

https://github.com/unspecd/void-packages pkg/ghidra
https://github.com/void-linux/void-packages/pull/34749

ghidra: update to 10.1.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
- I built this PR locally for these architectures (if supported. mark crossbuilds):


A patch file from https://github.com/void-linux/void-packages/pull/34749.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg/ghidra-34749.patch --]
[-- Type: text/x-diff, Size: 4793 bytes --]

From 96fc639c435fceca97c13ab5e5f8bd8e7cb755c0 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Wed, 29 Dec 2021 08:55:03 +1100
Subject: [PATCH] ghidra: update to 10.1.1.

---
 srcpkgs/ghidra/template | 44 ++++++++++++++++++++++++++++-------------
 1 file changed, 30 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/ghidra/template b/srcpkgs/ghidra/template
index 929ded075627..0d10c867c6d8 100644
--- a/srcpkgs/ghidra/template
+++ b/srcpkgs/ghidra/template
@@ -1,7 +1,8 @@
 # Template file for 'ghidra'
 pkgname=ghidra
-version=10.1
+version=10.1.1
 revision=1
+_commit=7d843ec229d43c2d1a8178aaa892be90e37e95a2
 archs="x86_64* aarch64*"
 # Other 64bit archs should be easily patchable,
 # grep for linux_arm_64 to find all places in need of patching
@@ -15,15 +16,34 @@ license="Apache-2.0"
 homepage="https://ghidra-sre.org/"
 distfiles="https://github.com/NationalSecurityAgency/ghidra/archive/Ghidra_${version}_build.tar.gz
  https://github.com/pxb1988/dex2jar/releases/download/2.0/dex-tools-2.0.zip
- https://sourceforge.net/projects/catacombae/files/HFSExplorer/0.21/hfsexplorer-0_21-bin.zip
  https://sourceforge.net/projects/yajsw/files/yajsw/yajsw-beta-13.01/yajsw-beta-13.01.zip
- https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/android4me/AXMLPrinter2.jar"
-checksum="6250b2c2ff56d6f7beaf29d6144ae5d52ce33ba0a132ef54e5d4f7839d950dff
+ https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/android4me/AXMLPrinter2.jar
+ https://github.com/NationalSecurityAgency/ghidra-data/raw/${_commit}/FunctionID/vs2012_x64.fidb
+ https://github.com/NationalSecurityAgency/ghidra-data/raw/${_commit}/FunctionID/vs2012_x86.fidb
+ https://github.com/NationalSecurityAgency/ghidra-data/raw/${_commit}/FunctionID/vs2015_x64.fidb
+ https://github.com/NationalSecurityAgency/ghidra-data/raw/${_commit}/FunctionID/vs2015_x86.fidb
+ https://github.com/NationalSecurityAgency/ghidra-data/raw/${_commit}/FunctionID/vs2017_x64.fidb
+ https://github.com/NationalSecurityAgency/ghidra-data/raw/${_commit}/FunctionID/vs2017_x86.fidb
+ https://github.com/NationalSecurityAgency/ghidra-data/raw/${_commit}/FunctionID/vs2019_x64.fidb
+ https://github.com/NationalSecurityAgency/ghidra-data/raw/${_commit}/FunctionID/vs2019_x86.fidb
+ https://github.com/NationalSecurityAgency/ghidra-data/raw/${_commit}/FunctionID/vsOlder_x64.fidb
+ https://github.com/NationalSecurityAgency/ghidra-data/raw/${_commit}/FunctionID/vsOlder_x86.fidb"
+checksum="744fb6c75867f4c33242572e05e469f869f2b273264e8dbfdfb3071d93490203
  7907eb4d6e9280b6e17ddce7ee0507eae2ef161ee29f70a10dbc6944fdca75bc
- 90c9b54798abca5b12f4a678db7d0a4c970f4702cb153c11919536d0014dedbf
  430fb7901bd0fd52a5b90bd0cbd89e9d334077eb72a9b26896f465de1e593a99
- 00ed038eb6abaf6ddec8d202a3ed7a81b521458f4cd459948115cfd02ff59d6d"
-skip_extraction="AXMLPrinter2.jar"
+ 00ed038eb6abaf6ddec8d202a3ed7a81b521458f4cd459948115cfd02ff59d6d
+ f26548a6df6b6963a418d8c83ac216d9e196b180d944a52b8123c457d472b7c9
+ 0a8962cf3699d5b8d4b3a79400382462519edc26570a46b2085200e38534f900
+ 187248f87fc1deb695bc3051b2d92f9b7482023a356821154db22478eed13088
+ 1d05afa070e9c09b83ee15d544c8559ed0d2b53d7eac476f8f5f8849543b3812
+ 1784ad6b25571177ff8212871867559998c6b8256bb1dbaeee864b580c1b2d6a
+ bc9bf30621190e0eb56c4db5ec30ad0401ca7be0311f5a2ce3d894178eafd19c
+ aab04eefd1142f7b3c3f86c8d766abe361b167b4fe4157c36fad18777b2a6fbd
+ 0a2282ac3479ffc022e6cdb4e32e057bc10f0394cfb0f8016d7145be0167f5f7
+ fe1856c0acad297d9ba4fb6a2df1d32ba34df766d9f1a2a16da0ca2b375e23dd
+ 46e56bc82ba68ad4e9a3c6a2e4ecd3428e2c390c7de0a379fa0165a58d46e115"
+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"
 nopie=yes
 nostrip_files="animals createStructure dataMutability inline ldiv opaque
  setRegister switch compilerVsDecompiler custom globalRegVars.so
@@ -53,15 +73,11 @@ post_extract() {
 }
 
 do_configure() {
-	mkdir -p dependencies/flatRepo
+	mkdir -p dependencies/{GhidraServer,fidb,flatRepo}
+	cp -f ${XBPS_SRCDISTDIR}/${pkgname}-${version}/yajsw-beta-13.01.zip dependencies/GhidraServer
+	cp -f ${XBPS_SRCDISTDIR}/${pkgname}-${version}/*.fidb dependencies/fidb
 	cp -f ${XBPS_SRCDISTDIR}/${pkgname}-${version}/AXMLPrinter2.jar dependencies/flatRepo
-	for lib in csframework.jar hfsx_dmglib.jar hfsx.jar iharder-base64.jar; do
-		cp -f ../lib/$lib dependencies/flatRepo
-	done
 	cp -f ../dex2jar-2.0/lib/dex-*.jar dependencies/flatRepo
-	mkdir -p ${wrksrc}/ghidra.bin/Ghidra/Features/GhidraServer/
-	cp -f ${XBPS_SRCDISTDIR}/${pkgname}-${version}/yajsw-beta-13.01.zip ${wrksrc}/ghidra.bin/Ghidra/Features/GhidraServer/
-	gradle yajswDevUnpack
 }
 
 do_build() {

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR REVIEW] ghidra: update to 10.1.1.
  2021-12-29  4:09 [PR PATCH] ghidra: update to 10.1.1 unspecd
  2021-12-29 13:43 ` [PR REVIEW] " Johnnynator
  2021-12-30  0:31 ` [PR PATCH] [Updated] " unspecd
@ 2021-12-30  0:53 ` unspecd
  2021-12-30  1:13 ` [PR PATCH] [Merged]: " Johnnynator
  3 siblings, 0 replies; 5+ messages in thread
From: unspecd @ 2021-12-30  0:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 152 bytes --]

New review comment by unspecd on void-packages repository

https://github.com/void-linux/void-packages/pull/34749#discussion_r776536035

Comment:
Done.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Merged]: ghidra: update to 10.1.1.
  2021-12-29  4:09 [PR PATCH] ghidra: update to 10.1.1 unspecd
                   ` (2 preceding siblings ...)
  2021-12-30  0:53 ` [PR REVIEW] " unspecd
@ 2021-12-30  1:13 ` Johnnynator
  3 siblings, 0 replies; 5+ messages in thread
From: Johnnynator @ 2021-12-30  1:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1000 bytes --]

There's a merged pull request on the void-packages repository

ghidra: update to 10.1.1.
https://github.com/void-linux/void-packages/pull/34749

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
- I built this PR locally for these architectures (if supported. mark crossbuilds):


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-12-30  1:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-29  4:09 [PR PATCH] ghidra: update to 10.1.1 unspecd
2021-12-29 13:43 ` [PR REVIEW] " Johnnynator
2021-12-30  0:31 ` [PR PATCH] [Updated] " unspecd
2021-12-30  0:53 ` [PR REVIEW] " unspecd
2021-12-30  1:13 ` [PR PATCH] [Merged]: " Johnnynator

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).