Bug 271464 - net/libmdf: Update to 1.0.27
Summary: net/libmdf: Update to 1.0.27
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Robert Clausecker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-17 03:24 UTC by Henrik Holst
Modified: 2023-05-18 08:28 UTC (History)
1 user (show)

See Also:


Attachments
patch to net/libmdf (1.30 KB, patch)
2023-05-17 03:24 UTC, Henrik Holst
no flags Details | Diff
Poudriere AMD64 log (27.37 KB, text/plain)
2023-05-17 03:25 UTC, Henrik Holst
no flags Details
Poudriere i386 log (27.36 KB, text/plain)
2023-05-17 03:25 UTC, Henrik Holst
no flags Details
patch to net/libmdf (1.26 KB, patch)
2023-05-17 18:26 UTC, Henrik Holst
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Holst 2023-05-17 03:24:36 UTC
Created attachment 242229 [details]
patch to net/libmdf
Comment 1 Henrik Holst 2023-05-17 03:25:26 UTC
Created attachment 242230 [details]
Poudriere AMD64 log
Comment 2 Henrik Holst 2023-05-17 03:25:58 UTC
Created attachment 242231 [details]
Poudriere i386 log
Comment 3 Henrik Holst 2023-05-17 03:26:47 UTC
Updated net/libmdf to the new upstream release of v1.0.27
Comment 4 Robert Clausecker freebsd_committer freebsd_triage 2023-05-17 14:29:06 UTC
Something garbled your patch.  All tabs have been replaced with spaces.  Please fix your patch and resubmit.
Comment 5 Henrik Holst 2023-05-17 18:26:14 UTC
Created attachment 242238 [details]
patch to net/libmdf

sorry about that, I should have double checked the file before submitting it. So here's a new try.
Comment 6 Robert Clausecker freebsd_committer freebsd_triage 2023-05-17 21:26:11 UTC
Thanks.  Is there a changelog for this update?
Comment 7 Henrik Holst 2023-05-17 21:33:08 UTC
Yes, included in the source tar.gz there is a NEWS file with the full changelog, for v1.0.27 especially this one is:

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.
Comment 8 commit-hook freebsd_committer freebsd_triage 2023-05-18 08:21:06 UTC
A commit in branch main references this bug:

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(-)
Comment 9 Robert Clausecker freebsd_committer freebsd_triage 2023-05-18 08:28:23 UTC
Thank you for your submission.