git: c01e48c28414 - main - misc/mbuffer: Update to 20211018

From: Fukang Chen <loader_at_FreeBSD.org>
Date: Mon, 29 Nov 2021 02:04:27 UTC
The branch main has been updated by loader:

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

commit c01e48c284145a9b6545a74667f9502c469250d8
Author:     Fabian Keil <fk@fabiankeil.de>
AuthorDate: 2021-11-05 18:59:12 +0000
Commit:     Fukang Chen <loader@FreeBSD.org>
CommitDate: 2021-11-29 01:54:56 +0000

    misc/mbuffer: Update to 20211018
    
    Changes according to the ChangeLog in the distribution tar ball:
    
         20211018:
         - fixes related to TCP timeout handling
         - enhancement: support setting config file via env var MBUFFERRC
         - documentation update
    
         20211004:
         - make TCPTimeout=0 disable the TCP timeout
         - changed default TCP timeout from 10s to 100s
         - TCP timeout now can be give with suffixes ms,s,min,h
         - documented option for TCP timeout
    
         20210829:
         - enhancement: accept IPv6 addresses in square bracket format
         - enhancement: more detailed warning message for connect failures
         - work around Solaris default old mercurial and incompatible sed
    
    PR:             260091
    Submitted by:   Fabian Keil <fk@fabiankeil.de>
    MFH:            No (feature release)
---
 misc/mbuffer/Makefile | 6 +++++-
 misc/mbuffer/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/misc/mbuffer/Makefile b/misc/mbuffer/Makefile
index 64370bf34c9f..00fcb87f9c37 100644
--- a/misc/mbuffer/Makefile
+++ b/misc/mbuffer/Makefile
@@ -1,7 +1,7 @@
 # Created by: Rong-En Fan <rafan@FreeBSD.org>
 
 PORTNAME=	mbuffer
-PORTVERSION=	20210328
+PORTVERSION=	20211018
 CATEGORIES=	misc
 MASTER_SITES=	http://www.maier-komor.de/software/mbuffer/
 
@@ -32,6 +32,10 @@ GCRYPT_RUN_DEPENDS=	libgcrypt>=1.8.4_1:security/libgcrypt
 MHASH_RUN_DEPENDS=	mhash>=0.9.9.9_5:security/mhash
 RHASH_RUN_DEPENDS=	rhash>=1.3.5:security/rhash
 
+post-patch:
+	${REINPLACE_CMD} \
+		-e 's@bash@sh@' ${WRKSRC}/Makefile.in
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mbuffer
 	${MV} ${STAGEDIR}${PREFIX}/etc/mbuffer.rc \
diff --git a/misc/mbuffer/distinfo b/misc/mbuffer/distinfo
index 0e17cf6e7703..66986dccfa48 100644
--- a/misc/mbuffer/distinfo
+++ b/misc/mbuffer/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1621234873
-SHA256 (mbuffer-20210328.tgz) = 51b5b8d8488991a55fe1dfce90130f9e47bc1ce286ba03b4f628c04b784fdc5d
-SIZE (mbuffer-20210328.tgz) = 148009
+TIMESTAMP = 1636138546
+SHA256 (mbuffer-20211018.tgz) = e240c1e4e4ac14c28be8c660ec47d44ce16b1e8ec92aa907ad13004ffd5db6e3
+SIZE (mbuffer-20211018.tgz) = 149348