net/mbuffer: new port, mbuffer 20260511
This commit is contained in:
28
net/mbuffer/Makefile
Normal file
28
net/mbuffer/Makefile
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# $OpenBSD: Makefile,v 1.10 2020/10/28 18:34:34 sthen Exp $
|
||||||
|
|
||||||
|
COMMENT = mbuffer is a tool for buffering data streams
|
||||||
|
|
||||||
|
DISTNAME = mbuffer-20260511
|
||||||
|
EXTRACT_SUFX = .tgz
|
||||||
|
CATEGORIES = net
|
||||||
|
|
||||||
|
MAINTAINER = Stefan Hagen <sh+ports@codevoid.de>
|
||||||
|
|
||||||
|
HOMEPAGE = http://www.maier-komor.de/mbuffer.html
|
||||||
|
|
||||||
|
SITES = http://www.maier-komor.de/software/mbuffer/
|
||||||
|
|
||||||
|
# BSD
|
||||||
|
PERMIT_PACKAGE = Yes
|
||||||
|
|
||||||
|
WANTLIB += c crypto m pthread
|
||||||
|
|
||||||
|
NO_TEST = Yes
|
||||||
|
|
||||||
|
CONFIGURE_STYLE = gnu
|
||||||
|
USE_GMAKE = Yes
|
||||||
|
|
||||||
|
# ship the sample rc under examples instead of installing into /etc
|
||||||
|
MAKE_FLAGS = etcdir=${TRUEPREFIX}/share/examples/mbuffer
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
||||||
2
net/mbuffer/distinfo
Normal file
2
net/mbuffer/distinfo
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
SHA256 (mbuffer-20260511.tgz) = E7qzbzlAj3oI+zaJEykK0PEXyTS6tgIJThj8wSPsV4M=
|
||||||
|
SIZE (mbuffer-20260511.tgz) = 156683
|
||||||
11
net/mbuffer/patches/patch-mkversion_sh
Normal file
11
net/mbuffer/patches/patch-mkversion_sh
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
--- mkversion.sh.orig Wed Jul 8 09:46:45 2026
|
||||||
|
+++ mkversion.sh Wed Jul 8 09:46:45 2026
|
||||||
|
@@ -37,7 +37,7 @@
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
-NEWFILE=`mktemp -t version.h.XXXXXXXXXX`
|
||||||
|
+NEWFILE=`mktemp version.h.XXXXXXXXXX`
|
||||||
|
SED=`command -v gsed 2> /dev/null`
|
||||||
|
if [ $? != 0 ]; then
|
||||||
|
SED=`command -v sed`
|
||||||
10
net/mbuffer/pkg/DESCR
Normal file
10
net/mbuffer/pkg/DESCR
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
mbuffer is a tool for buffering data streams with unique features:
|
||||||
|
|
||||||
|
- direct support for TCP based network targets (IPv4 and IPv6)
|
||||||
|
- ability to send to multiple targets in parallel (distribution mode)
|
||||||
|
- support for multiple volumes
|
||||||
|
- I/O rate limitation
|
||||||
|
- high/low watermark based restart criteria
|
||||||
|
- configurable buffer size
|
||||||
|
- on the fly MD5 hash calculation
|
||||||
|
- highly efficient, multi-threaded implementation
|
||||||
5
net/mbuffer/pkg/PLIST
Normal file
5
net/mbuffer/pkg/PLIST
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
@comment $OpenBSD: PLIST,v$
|
||||||
|
@bin bin/mbuffer
|
||||||
|
@man man/man1/mbuffer.1
|
||||||
|
share/examples/mbuffer/
|
||||||
|
share/examples/mbuffer/mbuffer.rc
|
||||||
Reference in New Issue
Block a user