From owner-svn-ports-all@freebsd.org Wed Nov 6 05:46:48 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 122F217E5A4; Wed, 6 Nov 2019 05:46:48 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 477FsM6krkz4pdB; Wed, 6 Nov 2019 05:46:47 +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 CB41B207BC; Wed, 6 Nov 2019 05:46:47 +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 xA65klNN035073; Wed, 6 Nov 2019 05:46:47 GMT (envelope-from truckman@FreeBSD.org) Received: (from truckman@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xA65klPu035071; Wed, 6 Nov 2019 05:46:47 GMT (envelope-from truckman@FreeBSD.org) Message-Id: <201911060546.xA65klPu035071@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: truckman set sender to truckman@FreeBSD.org using -f From: Don Lewis Date: Wed, 6 Nov 2019 05:46:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r516861 - head/net/nmsg X-SVN-Group: ports-head X-SVN-Commit-Author: truckman X-SVN-Commit-Paths: head/net/nmsg X-SVN-Commit-Revision: 516861 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.29 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, 06 Nov 2019 05:46:48 -0000 Author: truckman Date: Wed Nov 6 05:46:46 2019 New Revision: 516861 URL: https://svnweb.freebsd.org/changeset/ports/516861 Log: Upgrade net/nmsg to version 0.15.0: * Added runtime-tunable environment variables NMSG_GRALIAS_FILE and NMSG_OPALIAS_FILE. * Added compile-time version info to API: NMSG_LIBRARY_VERSION and MSG_LIBRARY_VERSION_NUMBER; and runtime functions: nmsg_get_version() and nmsg_get_version_number(). * Ensure nmsg_sock_parse_sockspec() returns an error if an invalid port range is supplied. * Fixed nmsg_io filtering default policy logic. (Previously, if the final filter returned "declined", that result was returned in place of the configured default policy.) * Make nmsg_output_set_buffered() able to unbuffer nmsg_output_type_json objects. * Fixed many compiler check warnings. * Added multiple unit tests. * Fix bugs caught by static analysis (cppcheck). * For protobuf compatibility, renamed all protobuf-c generated enum names and types, although the wire format of the messages remains the same. (Thank you to Chris Morrow.) Compatibility definitions added to nmsg/compat.h to allow existing code to continue using the old names. * Miscellaneous documentation improvements. Sponsored by: Farsight Security, Inc. Modified: head/net/nmsg/Makefile head/net/nmsg/distinfo head/net/nmsg/pkg-plist Modified: head/net/nmsg/Makefile ============================================================================== --- head/net/nmsg/Makefile Wed Nov 6 05:28:32 2019 (r516860) +++ head/net/nmsg/Makefile Wed Nov 6 05:46:46 2019 (r516861) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= nmsg -PORTVERSION= 0.14.0 +PORTVERSION= 0.15.0 CATEGORIES= net MASTER_SITES= FARSIGHT LOCAL/truckman/farsight Modified: head/net/nmsg/distinfo ============================================================================== --- head/net/nmsg/distinfo Wed Nov 6 05:28:32 2019 (r516860) +++ head/net/nmsg/distinfo Wed Nov 6 05:46:46 2019 (r516861) @@ -1,3 +1,3 @@ -TIMESTAMP = 1571089597 -SHA256 (nmsg-0.14.0.tar.gz) = 3e29f631322ce1d667b9bf300847f25a0b5dc57029fe98368e624f6462bc71ce -SIZE (nmsg-0.14.0.tar.gz) = 629549 +TIMESTAMP = 1573000406 +SHA256 (nmsg-0.15.0.tar.gz) = 44ad5203b4f71969255c6871d079ef6c6955aa7b26b9705e831f54554aa82ff1 +SIZE (nmsg-0.15.0.tar.gz) = 662692 Modified: head/net/nmsg/pkg-plist ============================================================================== --- head/net/nmsg/pkg-plist Wed Nov 6 05:28:32 2019 (r516860) +++ head/net/nmsg/pkg-plist Wed Nov 6 05:46:46 2019 (r516861) @@ -40,11 +40,12 @@ include/nmsg/sock.h include/nmsg/strbuf.h include/nmsg/timespec.h include/nmsg/vendors.h +include/nmsg/version.h include/nmsg/zbuf.h lib/libnmsg.a lib/libnmsg.so lib/libnmsg.so.6 -lib/libnmsg.so.6.0.0 +lib/libnmsg.so.6.1.0 lib/nmsg/nmsg_flt1_sample.so lib/nmsg/nmsg_msg9_base.so libdata/pkgconfig/libnmsg.pc @@ -70,3 +71,4 @@ libdata/pkgconfig/libnmsg.pc %%EXAMPLES%%%%EXAMPLESDIR%%/nmsg-packet2pcap.c %%EXAMPLES%%%%EXAMPLESDIR%%/nmsg_callback.c %%EXAMPLES%%%%EXAMPLESDIR%%/print_srcip.c +%%EXAMPLES%%%%EXAMPLESDIR%%/print_version.c