From 1833268eabee535e0c601c754944f97712f07d31 Mon Sep 17 00:00:00 2001 From: Don Lewis Date: Mon, 16 Oct 2023 13:19:33 -0700 Subject: [PATCH] net/nmsg: Upgrade to 1.1.2 1.1.2: * Now allow nmsgtool --setgroup, --setoperator, and --setsource to work with --writepres and --writejson outputs. * Permit nmsgtool --setgroup and --setoperator to use a numerical value. * Unmatched group and operator aliases in presentation format now display as the numerical values instead of (null). * Ensure mis-running nmsgtool results in failure exit code. * Fix output buffering for JSON outputs. * Fix magic length calculation in nmsg_json. * Terminate strbuf data at initialization. Disabling the JSON_C option no longer breaks the build. The DOXYGEN build requiers perl. MFH: 2023Q4 Sponsored by: DomainTools LLC --- net/nmsg/Makefile | 5 +++-- net/nmsg/distinfo | 6 +++--- net/nmsg/pkg-plist | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/net/nmsg/Makefile b/net/nmsg/Makefile index 94dd56b4fa05e..97936eb771263 100644 --- a/net/nmsg/Makefile +++ b/net/nmsg/Makefile @@ -1,5 +1,5 @@ PORTNAME= nmsg -PORTVERSION= 1.1.1 +PORTVERSION= 1.1.2 PORTREVISION= 0 CATEGORIES= net MASTER_SITES= FARSIGHT LOCAL/truckman/farsight @@ -17,6 +17,7 @@ LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c \ GNU_CONFIGURE= yes USES= gmake libtool pathfix pkgconfig USE_LDCONFIG= yes +USE_PERL5= build CONFIGURE_ARGS= --with-pkgconfigdir='$${exec_prefix}/libdata/pkgconfig' INSTALL_TARGET= install-strip @@ -31,7 +32,6 @@ 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 -JSON_C_BROKEN_OFF= Does not build without json-c ZEROMQ_DESC= ZeroMQ support ZEROMQ_CONFIGURE_WITH= libzmq ZEROMQ_LIB_DEPENDS= libzmq.so:net/libzmq4 @@ -39,6 +39,7 @@ ZEROMQ_LIB_DEPENDS= libzmq.so:net/libzmq4 ALL_TARGET= all DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen +DOXYGEN_USES= perl5 DOXYGEN_ALL_TARGET= html-local DOCBOOK_XML= ${LOCALBASE}/share/xml/docbook/4.2 MANPAGES_BUILD_DEPENDS= xsltproc:textproc/libxslt \ diff --git a/net/nmsg/distinfo b/net/nmsg/distinfo index 9d2fc417a04ff..8aec1fc85e43f 100644 --- a/net/nmsg/distinfo +++ b/net/nmsg/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1694577738 -SHA256 (nmsg-1.1.1.tar.gz) = dcc17af28cc40b0f4742626b86fa9126f80fcb3a296cf4c2acc6daf31ff1afbb -SIZE (nmsg-1.1.1.tar.gz) = 721568 +TIMESTAMP = 1697442893 +SHA256 (nmsg-1.1.2.tar.gz) = 0727bf083fc01f9944ba40bae2936b4f09b9e284f839ba735514ee1cd1a0e3d5 +SIZE (nmsg-1.1.2.tar.gz) = 727298 diff --git a/net/nmsg/pkg-plist b/net/nmsg/pkg-plist index 40cbd6896fad5..69b31252e5483 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.0 +lib/libnmsg.so.8.1.1 lib/nmsg/nmsg_flt1_sample.so lib/nmsg/nmsg_msg9_base.so libdata/pkgconfig/libnmsg.pc