svn commit: r470130 - in head/devel/fstrm: . files

Don Lewis truckman at FreeBSD.org
Wed May 16 17:04:10 UTC 2018


Author: truckman
Date: Wed May 16 17:04:09 2018
New Revision: 470130
URL: https://svnweb.freebsd.org/changeset/ports/470130

Log:
  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.
  
    * fstrm_capture: add "-c" / "--connections" option to limit the
      number of concurrent connections it will accept.
  
    * fstrm_capture: add "-b / --buffer-size" option to set the read buffer
      size (effectively the maximum frame size) to a value other than the
      default 256 KiB.
  
    * fstrm_capture: skip oversize messages to fix stalled connections
      caused by messages larger than the read highwater mark of the input
      buffer. Discarded messages are logged for the purposes of tuning
      the input buffer size.
  
    * fstrm_capture: complete sending of FINISH frame before closing
      connection.
  
    * Various test additions and improvements.
  
  Add a patch to fix a build issue on FreeBSD.
  
  Adjust statement USE vs. USES ordering in Makefile to pacify portlint.
  
  PR:		228172
  Approved by:	Leo Vandewoestijne <freebsd at dns.company> (maintainer)
  Sponsored by:	Farsight Security, Inc.

Added:
  head/devel/fstrm/files/
  head/devel/fstrm/files/patch-src_fstrm__replay.c   (contents, props changed)
Modified:
  head/devel/fstrm/Makefile
  head/devel/fstrm/distinfo
  head/devel/fstrm/pkg-plist

Modified: head/devel/fstrm/Makefile
==============================================================================
--- head/devel/fstrm/Makefile	Wed May 16 16:33:26 2018	(r470129)
+++ head/devel/fstrm/Makefile	Wed May 16 17:04:09 2018	(r470130)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=		fstrm
-PORTVERSION=		0.3.2
+PORTVERSION=		0.4.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=		devel
 
@@ -14,12 +14,12 @@ LICENSE_FILE=		${WRKSRC}/LICENSE
 
 LIB_DEPENDS=		libevent.so:devel/libevent
 
+USES=			autoreconf gmake libtool pkgconfig
 USE_GITHUB=		yes
+USE_LDCONFIG=		yes
 GH_ACCOUNT=		farsightsec
 
 GNU_CONFIGURE=		yes
-USES=			autoreconf gmake libtool pkgconfig
-USE_LDCONFIG=		yes
 INSTALL_TARGET=		install-strip
 TEST_TARGET=		check
 

Modified: head/devel/fstrm/distinfo
==============================================================================
--- head/devel/fstrm/distinfo	Wed May 16 16:33:26 2018	(r470129)
+++ head/devel/fstrm/distinfo	Wed May 16 17:04:09 2018	(r470130)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1491861016
-SHA256 (farsightsec-fstrm-v0.3.2_GH0.tar.gz) = 16112cda18aece363e32a04cd2265174b09944f3f3dcffa5c8312a293ec93737
-SIZE (farsightsec-fstrm-v0.3.2_GH0.tar.gz) = 185466
+TIMESTAMP = 1526070744
+SHA256 (farsightsec-fstrm-v0.4.0_GH0.tar.gz) = 2c84ff059d5850078d3d85927fd2e8f8a1cbe76bcf91cb125cfbbbd89ec5afc0
+SIZE (farsightsec-fstrm-v0.4.0_GH0.tar.gz) = 194789

Added: head/devel/fstrm/files/patch-src_fstrm__replay.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/fstrm/files/patch-src_fstrm__replay.c	Wed May 16 17:04:09 2018	(r470130)
@@ -0,0 +1,11 @@
+--- src/fstrm_replay.c.orig	2018-05-10 14:44:28 UTC
++++ src/fstrm_replay.c
+@@ -15,6 +15,8 @@
+  */
+ 
+ #include <arpa/inet.h>
++#include <netinet/in.h>
++#include <sys/socket.h>
+ #include <sys/uio.h>
+ #include <string.h>
+ #include <stdio.h>

Modified: head/devel/fstrm/pkg-plist
==============================================================================
--- head/devel/fstrm/pkg-plist	Wed May 16 16:33:26 2018	(r470129)
+++ head/devel/fstrm/pkg-plist	Wed May 16 17:04:09 2018	(r470130)
@@ -1,15 +1,20 @@
 bin/fstrm_capture
 bin/fstrm_dump
+bin/fstrm_replay
 include/fstrm.h
 include/fstrm/control.h
 include/fstrm/file.h
 include/fstrm/iothr.h
 include/fstrm/rdwr.h
 include/fstrm/reader.h
+include/fstrm/tcp_writer.h
 include/fstrm/unix_writer.h
 include/fstrm/writer.h
 lib/libfstrm.a
 lib/libfstrm.so
 lib/libfstrm.so.0
-lib/libfstrm.so.0.0.0
+lib/libfstrm.so.0.1.0
+man/man1/fstrm_capture.1.gz
+man/man1/fstrm_dump.1.gz
+man/man1/fstrm_replay.1.gz
 libdata/pkgconfig/libfstrm.pc


More information about the svn-ports-head mailing list