fstrm is an optimized C implementation of Frame Streams that
includes a fast, lockless circular queue implementation
and exposes library interfaces for setting up a dedicated
Frame Streams I/O thread and asynchronously submitting data
frames for transport from worker threads. It was originally
written to facilitate the addition of high speed binary
logging to DNS servers written in C using the dnstap
log format.
===> The following configuration options are available for fstrm-0.6.1_1:
DOCS=on: Build and/or install documentation
DOXYGEN=off: Use doxygen for docs
===> Use 'make config' to modify these settings
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel/fstrm: Use upstream release archive
Use upstream release archive instead of USE_GITHUB as recommended in
Porters Handbook
PR: 260992
Reviewed by: Leo Vandewoestijne <freebsd@dns.company> (maintainer)
devel/fstrm: Upgrade to 0.6.1
* fstrm_capture: ignore SIGPIPE, which will cause the
interrupted connections to generate an EPIPE instead.
* Fix truncation in snprintf calls in argument processing.
* fstrm_capture: Fix output printf format.
PR: 255228
Tested by: freebsd@dns.company
Approved by: freebsd@dns.company (maintainer)
Sponsored by: Farsight Security, Inc.
Upgrade devel/fstrm to version 0.6.0:
* fstrm_capture: Perform output file rotation when a SIGUSR1 signal
is received. This allows fstrm_capture's output file to be rotated
by logrotate or a similar external utility. (Output rotation is
suppressed if fstrm_capture is writing to stdout.)
PR: 241256
Reviewed by: swills (tested build)
Approved by: freebsd@dns.company (maintainer timeout, 4 weeks)
Sponsored by: Farsight Security, Inc.
Upgrade the devel/fstrm port from version 0.3.2 to 0.4.0:
* Added manual pages for fstrm_capture and fstrm_dump.
* Added new tool, fstrm_replay, for replaying saved Frame Streams data
to a socket connection.
* Adds TCP support. Add tcp_writer to the core library which
implements a bi-directional Frame Streams writer as a TCP socket
client. Introduces new developer API: fstrm_tcp_writer_init,
fstrm_tcp_writer_options_init, fstrm_tcp_writer_options_destroy,
fstrm_tcp_writer_options_set_socket_address, and
fstrm_tcp_writer_options_set_socket_port.
* fstrm_capture: new options for reading from TCP socket.
(Only the first 15 lines of the commit message are shown above )
Upgrade fstrm to version 0.3.2:
* Accomodate systems without pthread_condattr_setclock (Issue #34)
PR: 218554
Approved by: Leo Vandewoestijne <freebsd@dns-lab.com> (maintainer)
Sponsored by: Farsight Security, Inc.
Upgrade devel/fstrm to version 0.3.1:
* Add support for '-' as a filename for stdin/stdout (PR #28)
* destroy condition variable and mutexes in fstrm_iothr_destroy() (PR #25)
Set INSTALL_TARGET=install-strip to pacify stage Q/A.
PR: 217184
Approved by: Leo Vandewoestijne <freebsd@dns-lab.com> (maintainer)
Sponsored by: Farsight Security, Inc.
USE_GITHUB: For the new support, fix DISTNAME to be more consistent.
When using GH_TAGNAME the DISTNAME would have GH_PROJECT and GH_ACCOUNT in
it. When not using GH_TAGNAME it would not have this. Now both cases
will add in the GH_PROJECT and GH_ACCOUNT.
Add special care to ensure that the DISTVERSION is not added in twice. If
a port does GH_TAGNAME=v${PORTVERSION} it will be added in twice though. For
that case DISTVERSIONPREFIX=v should be set and no GH_TAGNAME should be used.
empty() is used rather than (!defined || !${}) to support fmake.
The purpose of setting DISTNAME at all in these cases is to make it more clear
that the distfile is from *GITHUB* and to avoid collisions if a project were
to be renamed or moved. Without adding in GH_PROJECT and GH_ACCOUNT then there
are real risks that collisions on filenames would happen on renamed or moved
projects, which is fairly common. A GITHUB-generated file may not match
a custom-rolled or git-archive-rolled distfile.
PR: 199069
With hat: portmgr
Testing done: All USE_GITHUB ports without GH_COMMIT were
checksum/fetch/extract/WRKSRC tested.
devel/fstrm: NEW PORT - Implementation of the Frame Streams data transport
protocol in C
fstrm is an optimized C implementation of Frame Streams that
includes a fast, lockless circular queue implementation
and exposes library interfaces for setting up a dedicated
Frame Streams I/O thread and asynchronously submitting data
frames for transport from worker threads. It was originally
written to facilitate the addition of high speed binary
logging to DNS servers written in C using the dnstap
log format.
WWW: https://github.com/farsightsec/fstrm
PR: 199292
Submitted by: Leo Vandewoestijne <freebsd@dns-lab.com>