Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jul 2024 18:10:47 GMT
From:      Don Lewis <truckman@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b2caa2b0362a - main - net/nmsg: Upgrade to 1.2.0
Message-ID:  <202407111810.46BIAlh2030131@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by truckman:

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

commit b2caa2b0362a96a35622b7aa3f5b0a1d9b2b9b54
Author:     Don Lewis <truckman@FreeBSD.org>
AuthorDate: 2024-07-11 04:16:24 +0000
Commit:     Don Lewis <truckman@FreeBSD.org>
CommitDate: 2024-07-11 18:09:40 +0000

    net/nmsg: Upgrade to 1.2.0
    
    nmsg (1.2.0)
    
     * Add support for Kafka i/o in JSON and binary forms.
    
     * Add support for prometheus metrics export.
    
     * Replace mutex protected counters and flags with stdatomic
       operations.
    
     * New command line options: --kafkakey, --readkafka, --writekafka,
                                 --promport
    
     * New functions: nmsg_input_open_kafka_endpoint(),
                      nmsg_input_open_kafka_json(),
                      nmsg_output_open_kafka_endpoint(),
                      nmsg_output_open_kafka_json()
    
    Sponsored by:   DomainTools LLC
---
 net/nmsg/Makefile  | 11 +++++++----
 net/nmsg/distinfo  |  6 +++---
 net/nmsg/pkg-plist |  2 +-
 3 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/net/nmsg/Makefile b/net/nmsg/Makefile
index a89eecd51994..8390e320184c 100644
--- a/net/nmsg/Makefile
+++ b/net/nmsg/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	nmsg
-PORTVERSION=	1.1.2
-PORTREVISION=	2
+PORTVERSION=	1.2.0
+PORTREVISION=	0
 CATEGORIES=	net
 MASTER_SITES=	FARSIGHT LOCAL/truckman/farsight
 
@@ -26,13 +26,16 @@ 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 ZEROMQ DOXYGEN EXAMPLES MANPAGES DOCS
-OPTIONS_DEFAULT=	JSON_C ZEROMQ DOXYGEN MANPAGES
+OPTIONS_DEFINE=		JSON_C KAFKA ZEROMQ DOXYGEN EXAMPLES MANPAGES DOCS
+OPTIONS_DEFAULT=	JSON_C 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
 ZEROMQ_DESC=		ZeroMQ support
 ZEROMQ_CONFIGURE_WITH=	libzmq
 ZEROMQ_LIB_DEPENDS=	libzmq.so:net/libzmq4
diff --git a/net/nmsg/distinfo b/net/nmsg/distinfo
index 8aec1fc85e43..2ed56f670115 100644
--- a/net/nmsg/distinfo
+++ b/net/nmsg/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1697442893
-SHA256 (nmsg-1.1.2.tar.gz) = 0727bf083fc01f9944ba40bae2936b4f09b9e284f839ba735514ee1cd1a0e3d5
-SIZE (nmsg-1.1.2.tar.gz) = 727298
+TIMESTAMP = 1720668312
+SHA256 (nmsg-1.2.0.tar.gz) = 16d43d985f58bc816dbb57e77d86d0a293c7fa72e270219e82b73c39b46a4aa2
+SIZE (nmsg-1.2.0.tar.gz) = 744422
diff --git a/net/nmsg/pkg-plist b/net/nmsg/pkg-plist
index c85fcf04203d..338882aadf03 100644
--- a/net/nmsg/pkg-plist
+++ b/net/nmsg/pkg-plist
@@ -46,7 +46,7 @@ include/nmsg/zbuf.h
 lib/libnmsg.a
 lib/libnmsg.so
 lib/libnmsg.so.8
-lib/libnmsg.so.8.1.1
+lib/libnmsg.so.8.2.0
 lib/nmsg/nmsg_flt1_sample.so
 lib/nmsg/nmsg_msg9_base.so
 libdata/pkgconfig/libnmsg.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407111810.46BIAlh2030131>