Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] New package: ghidra-9.1
Date: Thu, 31 Oct 2019 23:02:03 +0100	[thread overview]
Message-ID: <20191031220203.Ii-orOxFyr6vAy6cJZ3mMpRQcR70qfjFuR-hEfI6DOI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-16011@inbox.vuxu.org>

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

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

https://github.com/abenson/void-packages np_ghidra_src
https://github.com/void-linux/void-packages/pull/16011

[WIP] New package: ghidra-9.1
Something spooky for Halloween!

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

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

From bd58ce1f9508fbdad36b631e8193de3d471c97c9 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Thu, 31 Oct 2019 08:43:07 -0500
Subject: [PATCH] [WIP] New package: ghidra-9.1

Something spooky for Halloween!
---
 srcpkgs/ghidra/template | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 srcpkgs/ghidra/template

diff --git a/srcpkgs/ghidra/template b/srcpkgs/ghidra/template
new file mode 100644
index 00000000000..bcb21be1c70
--- /dev/null
+++ b/srcpkgs/ghidra/template
@@ -0,0 +1,33 @@
+# Template file for 'ghidra'
+pkgname=ghidra
+version=9.1
+revision=1
+_gitver=f8994f448826e1946af958980b8481c68b5c5ff2
+archs="x86_64"
+wrksrc="ghidra-${_gitver}"
+hostmakedepends="gradle openjdk11 flex unzip"
+depends="openjdk11"
+short_desc="Software reverse engineering (SRE) framework"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="Apache-2.0"
+homepage="https://ghidra-sre.org/"
+distfiles="https://github.com/NationalSecurityAgency/ghidra/archive/${_gitver}.tar.gz"
+checksum=ee087585578ed9600f657b09ca9dda6a34db050815099a7a5ed2fae54a845049
+nopie=yes
+nostrip=yes
+
+do_configure() {
+	gradle --init-script gradle/support/fetchDependencies.gradle init
+}
+
+do_build() {
+	gradle buildGhidra
+}
+
+do_install() {
+	vmkdir usr/libexec
+	unzip -d ${DESTDIR}/usr/libexec "build/dist/ghidra_${version}_DEV_$(date +%Y%m%d)_linux64.zip"
+	mv ${DESTDIR}/usr/libexec/ghidra_${version}_DEV ${DESTDIR}/usr/libexec/ghidra
+	vmkdir usr/bin
+	ln -sf /usr/libexec/$pkgname/runGhidra ${DESTDIR}/usr/bin/ghidra
+}

  parent reply	other threads:[~2019-10-31 22:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-31 21:32 [PR PATCH] " voidlinux-github
2019-10-31 21:50 ` voidlinux-github
2019-10-31 21:52 ` voidlinux-github
2019-10-31 22:02 ` voidlinux-github [this message]
2019-10-31 22:02 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-31 22:02 ` [PR PATCH] [Closed]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191031220203.Ii-orOxFyr6vAy6cJZ3mMpRQcR70qfjFuR-hEfI6DOI@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).