From owner-svn-ports-all@freebsd.org Mon Dec 5 05:57:53 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72CB3C6763B; Mon, 5 Dec 2016 05:57:53 +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 mx1.freebsd.org (Postfix) with ESMTPS id 34D51154E; Mon, 5 Dec 2016 05:57:53 +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 uB55vqZS017534; Mon, 5 Dec 2016 05:57:52 GMT (envelope-from truckman@FreeBSD.org) Received: (from truckman@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uB55vqZL017531; Mon, 5 Dec 2016 05:57:52 GMT (envelope-from truckman@FreeBSD.org) Message-Id: <201612050557.uB55vqZL017531@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: truckman set sender to truckman@FreeBSD.org using -f From: Don Lewis Date: Mon, 5 Dec 2016 05:57:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r427832 - head/net/nmsg X-SVN-Group: ports-head 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.23 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: Mon, 05 Dec 2016 05:57:53 -0000 Author: truckman Date: Mon Dec 5 05:57:51 2016 New Revision: 427832 URL: https://svnweb.freebsd.org/changeset/ports/427832 Log: Upgrade net/nmsg to version 0.12.1: nmsg (0.12.1) * Revert "Don't leak duplicate XS endpoint string in parsing code." -- Farsight Security, Inc. Mon, 28 Nov 2016 18:52:41 +0000 nmsg (0.12.0) * Add nmsg_message_get_payload_size() to return the size of the serialized payload object. * Add dnstap message module support. dnstap is a flexible, structured event replication format for DNS software. * nmsg_output_set_rate: Do not destroy existing rate as another output may be using it. Note the changed behavior: The caller of nmsg_output_set_rate() is responsible for reclaiming unused nmsg_rate_t objects with nmsg_rate_destroy(). * Use output lock in nmsg_output_set_rate(). * Fix sizeof operands in nmsg_chalias_lookup() memory allocations. * Fix potential uninitialized filter result in io_run_filters(). * Replace enum-exhaustive if/else with switch for msgmod. * Fix potential nmsg_pres_to_payload crash from unknown fields in msgmod. * Remove unnecessary initializations in strbuf code. * Add missing cleanup in nmsg_pcap_input_setfilter_raw error returns. * Refactor io loop close check to remove unused return value. * Fix ignored return value in file input. * Don't leak duplicate XS endpoint string in parsing code * Fix problems with nmsg_output_set_rate(). It destroys a previously provided nmsg_rate. If that rate object is shared with another output, activity on the other output will access freed memory formerly associated with that nmsg_rate. It does not synchronize setting the nmsg_rate object. This can lead to race conditions, e.g. if the rate object is set and the old one destroyed while an output is in nmsg_rate_sleep(). -- Farsight Security, Inc. Wed, Nov 23 2016 21:15:55 +0000 Consistently use %%DATADIR%% in pkg_plist. 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 Mon Dec 5 03:37:52 2016 (r427831) +++ head/net/nmsg/Makefile Mon Dec 5 05:57:51 2016 (r427832) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= nmsg -PORTVERSION= 0.11.2 +PORTVERSION= 0.12.1 CATEGORIES= net MASTER_SITES= FARSIGHT LOCAL/truckman/farsight Modified: head/net/nmsg/distinfo ============================================================================== --- head/net/nmsg/distinfo Mon Dec 5 03:37:52 2016 (r427831) +++ head/net/nmsg/distinfo Mon Dec 5 05:57:51 2016 (r427832) @@ -1,2 +1,3 @@ -SHA256 (nmsg-0.11.2.tar.gz) = 9a8f02f4b3796fc5733f119825a81a5ea356231b953f2765f362220520b953b3 -SIZE (nmsg-0.11.2.tar.gz) = 621053 +TIMESTAMP = 1480706696 +SHA256 (nmsg-0.12.1.tar.gz) = 68632b5505e03bdd476f5f4a9e648c3a881440fc8ff8ab0d8d9af5faf10c105f +SIZE (nmsg-0.12.1.tar.gz) = 620784 Modified: head/net/nmsg/pkg-plist ============================================================================== --- head/net/nmsg/pkg-plist Mon Dec 5 03:37:52 2016 (r427831) +++ head/net/nmsg/pkg-plist Mon Dec 5 05:57:51 2016 (r427832) @@ -5,6 +5,7 @@ include/nmsg/asprintf.h include/nmsg/base/defs.h include/nmsg/base/dns.pb-c.h include/nmsg/base/dnsqr.pb-c.h +include/nmsg/base/dnstap.pb-c.h include/nmsg/base/email.pb-c.h include/nmsg/base/encode.pb-c.h include/nmsg/base/http.pb-c.h @@ -48,18 +49,19 @@ lib/nmsg/nmsg_flt1_sample.so lib/nmsg/nmsg_msg9_base.so libdata/pkgconfig/libnmsg.pc %%MANPAGES%%man/man1/nmsgtool.1.gz -share/nmsg/base/dns.proto -share/nmsg/base/dnsqr.proto -share/nmsg/base/email.proto -share/nmsg/base/encode.proto -share/nmsg/base/http.proto -share/nmsg/base/ipconn.proto -share/nmsg/base/linkpair.proto -share/nmsg/base/logline.proto -share/nmsg/base/ncap.proto -share/nmsg/base/packet.proto -share/nmsg/base/pkt.proto -share/nmsg/base/xml.proto +%%DATADIR%%/base/dns.proto +%%DATADIR%%/base/dnsqr.proto +%%DATADIR%%/base/dnstap.proto +%%DATADIR%%/base/email.proto +%%DATADIR%%/base/encode.proto +%%DATADIR%%/base/http.proto +%%DATADIR%%/base/ipconn.proto +%%DATADIR%%/base/linkpair.proto +%%DATADIR%%/base/logline.proto +%%DATADIR%%/base/ncap.proto +%%DATADIR%%/base/packet.proto +%%DATADIR%%/base/pkt.proto +%%DATADIR%%/base/xml.proto %%EXAMPLES%%%%EXAMPLESDIR%%/email_client.c %%EXAMPLES%%%%EXAMPLESDIR%%/email_client_postfix.py %%EXAMPLES%%%%EXAMPLESDIR%%/http_client.c