Opened 11 years ago

Last modified 10 years ago

#42692 new submission

[NEW] grr

Reported by: jul_bsd@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: grr

Description

GRR Rapid Response is an Incident Response Framework depends on #42688, #42689, #42687, #42683

  • build/run
  • reinplace in post-patch seems not working all the time
  • website offers a patch for m2crypto, not sure why it is needed/still apply
  • default config need to be refined
  • subport for server and client: server includes client, need to find a way to install only client, optionnaly can build a static client w pyinstaller

Attachments (7)

org.macports.grr-single-server.plist (682 bytes) - added by jul_bsd@… 11 years ago.
patch-grr-lib-distro_entry.py.diff (839 bytes) - added by jul_bsd@… 11 years ago.
org.macports.grr-worker.plist (756 bytes) - added by jul_bsd@… 10 years ago.
org.macports.grr-ui.plist (740 bytes) - added by jul_bsd@… 10 years ago.
org.macports.grr-enroller.plist (764 bytes) - added by jul_bsd@… 10 years ago.
org.macports.grr-http-server.plist (776 bytes) - added by jul_bsd@… 10 years ago.
Portfile (8.1 KB) - added by jul_bsd@… 10 years ago.
grr-devel 20140924

Download all attachments as: .zip

Change History (13)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Thanks. Some observations:

  • The version line should be the only place where you hardcode the version number. Anywhere else that you need to refer to the version number, such as in this port in the git.branch line, you should use the ${version} variable.
  • Since you're fetching from git, there's no reason to have the distname or master_sites lines.
  • It's unusual that you're doing a bunch of reinplaces in post-extract. Usually you want the extract phase to end with a more or less pristine copy of the source code, and then in the patch phase you can modify it as needed prior to building.
  • The two extra files you attached have "/opt/local" hardcoded. Usually you would write the files with a placeholder such as "@PREFIX@" and then have a post-patch reinplace in the portfile to change the placeholder to ${prefix}.
  • Instead of manually creating ".turf" files in directories, presumably to keep them from being deleted, use destroot.keepdirs.

comment:2 Changed 11 years ago by jul_bsd@…

ok. Thanks for the quick feedback ryan

  • fixed version
  • about master_sites, I discussed w author to get an archive released, more convenient than git all the time
  • move post-extract as post-patch
  • patch were w /opt/local but there was a reinplace to prefix in the Portfile, changed
  • ah, a new thing. few years ago, there was only turf files. fixed (will do for other Portfile too)

Changed 11 years ago by jul_bsd@…

Changed 11 years ago by jul_bsd@…

comment:3 Changed 11 years ago by jul_bsd@…

  • port lint --nitpick
  • livecheck
  • /tab/spacex4/

comment:4 Changed 10 years ago by jul_bsd@…

  • subport -devel for current branch
  • all subort works up to destroot
  • only testing grr-server for now: run but included python web server is damn slow on my old test setup
  • add some subdirs which are not managed by setup.py
  • create launchd scripts for all subtasks. grr can either work as a single server but can have performance issue or either 4 differents sub-server
  • launchd script is not working: "com.apple.launchd[1] (org.macports.grr-single-server[48944]): Exited with code: 2". Need either --debug or --verbose to be in non-daemonize option. Not sure if better with others tasks
  • use python.version for dependencies

Changed 10 years ago by jul_bsd@…

Changed 10 years ago by jul_bsd@…

Attachment: org.macports.grr-ui.plist added

Changed 10 years ago by jul_bsd@…

Changed 10 years ago by jul_bsd@…

comment:5 Changed 10 years ago by jul_bsd@…

3.0.2 is available but only as binary for ubuntu so go with devel for 20140828 release

comment:6 Changed 10 years ago by jul_bsd@…

  • migrate to github
  • still no release on github
  • update devel 20141128
  • tons of libyal/lib* dependencies under review (MUST take release source code and not github source code, non-consistent naming scheme for archive/extracted dir w or not -alpha, -experimental, some with debug args, some with python bindings, no clear dependencies tree, ..)

Changed 10 years ago by jul_bsd@…

Attachment: Portfile added

grr-devel 20140924

Note: See TracTickets for help on using tickets.