git: 821da01d84be - main - net/libmdf: update to 1.0.27

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Thu, 18 May 2023 08:20:49 UTC
The branch main has been updated by fuz:

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

commit 821da01d84be82012562864432790d115510c892
Author:     Henrik Holst <henrik.holst@millistream.com>
AuthorDate: 2023-05-17 21:24:30 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-05-18 08:19:52 +0000

    net/libmdf: update to 1.0.27
    
    Changes in release 1.0.27:
    * Support strings compressed with zstd
    * changed how the size of the read buffer is increased in response to
      the widening of the tcp/ip window.
    * small optimization in mdf_get_next_message2()
    * New functions:
     - mdf_extract() : extracts the current message from the mdf handle.
     - mdf_inject() : injects a previously extracted message to the mdf handle.
    * New properties:
     - MDF_OPT_RBUF_SIZE : returns the number of bytes waiting to be processed in
       the internaly read buffer after a call to mdf_consume().
     - MDF_OPT_RBUF_MAXSIZE : returns or sets the current size of the internal
       read buffer.
    
    PR:             271464
---
 net/libmdf/Makefile  | 4 +++-
 net/libmdf/distinfo  | 6 +++---
 net/libmdf/pkg-plist | 2 +-
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/net/libmdf/Makefile b/net/libmdf/Makefile
index ae4ae376effc..552f2057fc0e 100644
--- a/net/libmdf/Makefile
+++ b/net/libmdf/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libmdf
-PORTVERSION=	1.0.26
+PORTVERSION=	1.0.27
 CATEGORIES=	net finance
 MASTER_SITES=	https://packages.millistream.com/source/
 
@@ -10,6 +10,8 @@ WWW=		https://millistream.com
 LICENSE=	LGPL3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+LIB_DEPENDS=	libzstd.so:archivers/zstd
+
 USES=		libtool pkgconfig ssl
 
 GNU_CONFIGURE=	yes
diff --git a/net/libmdf/distinfo b/net/libmdf/distinfo
index f73fb9f27748..688955f0cc78 100644
--- a/net/libmdf/distinfo
+++ b/net/libmdf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1650246142
-SHA256 (libmdf-1.0.26.tar.gz) = aad3234cc67975a3e41d3d292c829ff41b3afdd21bf2f948b1e01023f7ad6b43
-SIZE (libmdf-1.0.26.tar.gz) = 433957
+TIMESTAMP = 1684296333
+SHA256 (libmdf-1.0.27.tar.gz) = 54c4c9e81b3100fbb900cb95c0239a7799b40110fe1e16e9a89c130c7124f229
+SIZE (libmdf-1.0.27.tar.gz) = 437803
diff --git a/net/libmdf/pkg-plist b/net/libmdf/pkg-plist
index aed407c899c6..0b26b4b6a3a8 100644
--- a/net/libmdf/pkg-plist
+++ b/net/libmdf/pkg-plist
@@ -3,5 +3,5 @@ include/mdf/mdf_fields.h
 lib/libmdf.a
 lib/libmdf.so
 lib/libmdf.so.0
-lib/libmdf.so.0.11.0
+lib/libmdf.so.0.12.0
 libdata/pkgconfig/libmdf.pc