git: 5e7bf40e64c4 - main - net/nmsg: Upgrade to version 1.4.0

From: Don Lewis <truckman_at_FreeBSD.org>
Date: Sun, 06 Sep 2026 04:41:58 UTC
The branch main has been updated by truckman:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5e7bf40e64c4a67d87e7b77cee87ec0634ecb704

commit 5e7bf40e64c4a67d87e7b77cee87ec0634ecb704
Author:     Don Lewis <truckman@FreeBSD.org>
AuthorDate: 2026-09-06 04:36:45 +0000
Commit:     Don Lewis <truckman@FreeBSD.org>
CommitDate: 2026-09-06 04:41:51 +0000

    net/nmsg: Upgrade to version 1.4.0
    
    nmsg (1.4.0):
    
      * Removed nmsgtool support for presentation inputs.
    
      * Properly handle fragmented containers in zmq/kafka inputs.
    
      * Support single nmsg payload kafka in/out sources.
    
      * Clean-up temp files after failed start using -w.
    
      * Improved warning for mismatched CRC.
    
      * Require json-c build dependency.
    
      * Fix various small memory leaks and mismanagement issues.
    
      * Fix strict aliasing violations.
    
      * Removal of various unused header files.
    
      * Various documentation fixes.
    
    MFH:            2026Q3
    Sponsored by:   DomainTools LLC
---
 net/nmsg/Makefile | 11 +++++------
 net/nmsg/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/net/nmsg/Makefile b/net/nmsg/Makefile
index 4bc4444e0143..722144210de6 100644
--- a/net/nmsg/Makefile
+++ b/net/nmsg/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	nmsg
-PORTVERSION=	1.3.3
-PORTREVISION=	1
+PORTVERSION=	1.4.0
 CATEGORIES=	net
 MASTER_SITES=	FARSIGHT LOCAL/truckman/farsight
 
@@ -11,7 +10,8 @@ WWW=		https://github.com/farsightsec/nmsg
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/COPYRIGHT
 
-LIB_DEPENDS=	libprotobuf-c.so:devel/protobuf-c \
+LIB_DEPENDS=	libjson-c.so:devel/json-c \
+		libprotobuf-c.so:devel/protobuf-c \
 		libwdns.so:dns/wdns
 
 GNU_CONFIGURE=	yes
@@ -26,13 +26,12 @@ PORTDOCS=	*
 
 # The DOXYGEN option is best effort.
 # If doxygen is installed, it will get used if the option is set to NO.
-OPTIONS_DEFINE=		JSON_C KAFKA ZEROMQ DOXYGEN EXAMPLES MANPAGES DOCS
-OPTIONS_DEFAULT=	JSON_C KAFKA ZEROMQ DOXYGEN MANPAGES
+OPTIONS_DEFINE=		KAFKA ZEROMQ DOXYGEN EXAMPLES MANPAGES DOCS
+OPTIONS_DEFAULT=	KAFKA ZEROMQ DOXYGEN MANPAGES
 OPTIONS_SUB=		yes
 
 JSON_C_DESC=		JSON support via libjson-c
 JSON_C_CONFIGURE_WITH=	json-c
-JSON_C_LIB_DEPENDS=	libjson-c.so:devel/json-c
 KAFKA_DESC=		Kafka I/O in JSON and binary forms
 KAFKA_CONFIGURE_WITH=	librdkafka
 KAFKA_LIB_DEPENDS=	librdkafka.so:net/librdkafka
diff --git a/net/nmsg/distinfo b/net/nmsg/distinfo
index 8830e4f9df7e..bc560bd7db7a 100644
--- a/net/nmsg/distinfo
+++ b/net/nmsg/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1758851983
-SHA256 (nmsg-1.3.3.tar.gz) = ee4c755825f2519b9fc0d183c7cb3f9e938c93f276217450f4fcb9bdb220870b
-SIZE (nmsg-1.3.3.tar.gz) = 775220
+TIMESTAMP = 1788648469
+SHA256 (nmsg-1.4.0.tar.gz) = e78653f00d3c71f1b24063eebc49df58cb220cab27b0498da109acea23426cc2
+SIZE (nmsg-1.4.0.tar.gz) = 771675