From owner-svn-ports-all@freebsd.org Wed May 16 17:04:10 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AA541EEDE98; Wed, 16 May 2018 17:04:10 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5F0A971991; Wed, 16 May 2018 17:04:10 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3FD561CF89; Wed, 16 May 2018 17:04:10 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4GH4Asg002192; Wed, 16 May 2018 17:04:10 GMT (envelope-from truckman@FreeBSD.org) Received: (from truckman@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4GH4968002187; Wed, 16 May 2018 17:04:09 GMT (envelope-from truckman@FreeBSD.org) Message-Id: <201805161704.w4GH4968002187@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: truckman set sender to truckman@FreeBSD.org using -f From: Don Lewis Date: Wed, 16 May 2018 17:04:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r470130 - in head/devel/fstrm: . files X-SVN-Group: ports-head X-SVN-Commit-Author: truckman X-SVN-Commit-Paths: in head/devel/fstrm: . files X-SVN-Commit-Revision: 470130 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 May 2018 17:04:10 -0000 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 (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 ++#include ++#include + #include + #include + #include 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