Opened 9 years ago

Closed 8 years ago

#25906 closed submission (fixed)

[NEW] net/openfpc

Reported by: jul_bsd@… Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: openfpc

Description

OpenFPC is a set of scripts that combine to provide a lightweight full-packet network traffic recorder & buffering tool. It's design goal is to allow non-expert users to deploy a distributed network traffic recorder on COTS hardware while integrating into existing alert and log tools.

Attachments (1)

Portfile (2.0 KB) - added by jul_bsd@… 9 years ago.

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by jul_bsd@…

Attachment: Portfile added

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

Owner: changed from macports-tickets@… to ryandesign@…
Port: openfpc added
Status: newassigned

comment:2 Changed 9 years ago by ryandesign (Ryan Schmidt)

Thanks, added in r70314 with these changes:

  • whitespace / formatting changes
  • made you the maintainer with openmaintainer
  • tweaked description
  • changed master_sites to just "googlecode"
  • changed perl dependency to "path:bin/perl:perl5" which is our preferred way to write it since there are multiple ports that could provide perl (perl5.8, perl5.10, perl5.12)
  • changed your configure phase to a post-patch phase and added "use_configure no"
  • replaced complicated reinplaces with simpler reinplace/patchfile combos, which are also more future-proofed
  • added "supported_archs noarch" since this port doesn't install any architecture-specific files (only perl scripts)
  • simplified destroot by removing foreach loops and instead using xinstall's -W argument to allow installing multiple files where necessary

What do we need to do about the commented-out runtime dependency on tcpdump? Do we need to enable that?

comment:3 Changed 9 years ago by ryandesign (Ryan Schmidt)

r70317:

  • install a sample configuration file instead of the real thing (so the user's configuration changes don't get clobbered by upgrading the port)
  • add notes pointing users to config file

comment:4 Changed 9 years ago by jul_bsd@…

argh ...

miss some gnu-ism:

  • mkdir --parent => mkdir -p
  • date -d <date> => ???

EPOC_FIRST=$(date -d "$FIRSTPACKET" +%s)

comment:5 Changed 8 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

Port is committed so submission ticket should be closed. Open new tickets for any bugs or enhancements.

Note: See TracTickets for help on using tickets.