Opened 7 years ago

Closed 5 years ago

#42856 closed enhancement (fixed)

bro: improvements to portfile

Reported by: jul_bsd@… Owned by: tanawts@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: kurthindenburg (Kurt Hindenburg)
Port: bro

Description

  • move config, spool, log file to respect macports hierarchy
  • config files move to example and copied to etc if not existing on activate
  • startupitem w broctl
  • notes to finish install
  • plist file for maintainance task
  • subport devel
  • variant mhr to include extra script
  • compile/run
  • BUG me: eating a lot of cpu when using on a client computer. dtrace seems to pinpoint on too many select on /dev/bpf* and some <unknown> file. could be related to https://bro-tracker.atlassian.net/browse/BIT-949

Attachments (4)

org.macports.bro.plist (512 bytes) - added by jul_bsd@… 7 years ago.
patch-CMakeLists.txt.diff (740 bytes) - added by jul_bsd@… 7 years ago.
patch-bro-Portfile.diff (6.8 KB) - added by jul_bsd@… 7 years ago.
patch-bro-Portfile2.diff (9.8 KB) - added by jul_bsd@… 6 years ago.
v2.3

Download all attachments as: .zip

Change History (12)

Changed 7 years ago by jul_bsd@…

Attachment: org.macports.bro.plist added

Changed 7 years ago by jul_bsd@…

Attachment: patch-CMakeLists.txt.diff added

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Cc: tanawts@… removed
Keywords: haspatch added
Owner: changed from macports-tickets@… to tanawts@…
Version: 2.2.1

Changed 7 years ago by jul_bsd@…

Attachment: patch-bro-Portfile.diff added

comment:2 Changed 7 years ago by jul_bsd@…

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

comment:3 Changed 7 years ago by jul_bsd@…

  • working -devel, which solves a problem with magic.
  • -devel is fetch with git but need a clone --recursive which does not seem supported by macports. for now, I do a manual git submodule update. is this right?

comment:4 Changed 7 years ago by jul_bsd@…

  • trailing space
  • libmagic only for non-devel

comment:5 Changed 7 years ago by jul_bsd@…

  • work in progress, universal variant. fails on
CCL.h:8:14: error: unknown type name 'ptr_compat_int'; did you mean 'ptr_compat_intList'?

comment:6 Changed 6 years ago by jul_bsd@…

  • 2.3.1
  • move to github

Changed 6 years ago by jul_bsd@…

Attachment: patch-bro-Portfile2.diff added

v2.3

comment:7 Changed 5 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:8 Changed 5 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

I went ahead and committed what I have r145498 - let me know of any issues

Note: See TracTickets for help on using tickets.