mandiant / GoReSym

Go symbol recovery tool
MIT License
560 stars 64 forks source link

Build release packages for linux/windows/macOS + add to homebrew package manager (macOS) #44

Closed 0xdevalias closed 10 months ago

0xdevalias commented 10 months ago

The README says:

Yet looking at the releases page, there doesn't seem to have been windows/linux binary releases since v2.4:

And despite this issue implying this should be able to be built for macOS, I don't see any binary macOS releases:

0xdevalias commented 10 months ago

Actually, nevermind.. I just downloaded the GoReSym.zip from the latest release, and it seems like it contains all 3 binaries in the zip file:

This differs to what I would have expected (the 3 binaries to have been separately added to the release, as seems to be standard for a lot of projects), but I guess this works fine.


It might be worth updating the README to mention that macOS binaries are also built too, and possibly explicitly mentioning that all 3 are in the zip file.


It would also be cool if the macOS version was available to be installed from the homebrew package manager:

Suggestion: Addition of GoReSym to Homebrew Package Manager for macOS

Homebrew is a prominent package manager for macOS, streamlining the installation, update, and management of software. Including GoReSym in Homebrew would enhance accessibility and convenience for macOS users.

Benefits:

  • Simplified installation process with a single command: brew install GoReSym
  • Automated updates managed by Homebrew.
  • Increased exposure among macOS users.

Requirements:

To integrate GoReSym with Homebrew, a Homebrew formula needs to be developed and submitted. Relevant resources include:

stevemk14ebr commented 10 months ago

I've fixed the description, the recent versions of GoReSym have been able to include Mac binaries since we removed our cgo dependency on libyara.

I'm not willing to maintain third party package repositories unfortunately. If you'd like to take this up, it would be great however 🙂. I'll continue to publishes the releases as you see today.

The single zip is done because it compresses better and is less work to upload / download. I myself need both Linux and Windows releases so it's nice to have only a single download.

0xdevalias commented 10 months ago

That makes sense; thanks.

As far as maintaining a package repo, once it's added to homebrew there's not really any maintenance required on your side; but I'll see what I can do to add it myself.

0xdevalias commented 10 months ago

See also:

0xdevalias commented 10 months ago

I'll see what I can do to add it myself.

Homebrew formula created and PR submitted to homebrew: