t* My OpenBSD ports URI git clone git://git.codevoid.de/mystuff.git DIR Log DIR Files DIR Refs --- DIR commit 13db020dbcbc6197bb2928e359711fe4a60c0340 DIR parent 007d944d83765f76d6222306b57f0597cabab827 URI Author: c0dev0id <sh+git[at]codevoid[dot]de> Date: Sat, 14 Nov 2020 17:56:27 +0100 adding mbuffer Diffstat: A net/mbuffer/Makefile | 26 ++++++++++++++++++++++++++ A net/mbuffer/distinfo | 2 ++ A net/mbuffer/patches/patch-Makefile… | 14 ++++++++++++++ A net/mbuffer/pkg/DESCR | 10 ++++++++++ A net/mbuffer/pkg/PLIST | 5 +++++ 5 files changed, 57 insertions(+), 0 deletions(-) --- DIR diff --git a/net/mbuffer/Makefile b/net/mbuffer/Makefile t@@ -0,0 +1,26 @@ +# $OpenBSD: Makefile,v 1.10 2020/10/28 18:34:34 sthen Exp $ + + +COMMENT = mbuffer is a tool for buffering data streams + +DISTNAME = mbuffer-20200929 +EXTRACT_SUFX = .tgz +CATEGORIES = net + +MAINTAINER = Stefan Hagen <sh+ports[at]codevoid[dot]de> + +HOMEPAGE = http://www.maier-komor.de/mbuffer.html + +MASTER_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 + +.include <bsd.port.mk> DIR diff --git a/net/mbuffer/distinfo b/net/mbuffer/distinfo t@@ -0,0 +1,2 @@ +SHA256 (mbuffer-20200929.tgz) = U6bjwU6aBJ8YoJhAZT3YTxjn7HVg8tzythwKtfDq1Og= +SIZE (mbuffer-20200929.tgz) = 147855 DIR diff --git a/net/mbuffer/patches/patch-Makefile_in b/net/mbuffer/patches/patch-Makefile_in t@@ -0,0 +1,14 @@ +$OpenBSD$ + +Index: Makefile.in +--- Makefile.in.orig ++++ Makefile.in +@@ -34,7 +34,7 @@ exec_prefix = @exec_prefix@ + datarootdir = @datarootdir@ + bindir = @bindir@ + mandir = @mandir@/man1 +-etcdir = @sysconfdir@ ++etcdir = /usr/local/share/examples/mbuffer + + RM = @RM@ + INSTALL = @INSTALL@ DIR diff --git a/net/mbuffer/pkg/DESCR b/net/mbuffer/pkg/DESCR t@@ -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 DIR diff --git a/net/mbuffer/pkg/PLIST b/net/mbuffer/pkg/PLIST t@@ -0,0 +1,5 @@ +@comment $OpenBSD: PLIST,v$ +@bin bin/mbuffer +@man man/man1/mbuffer.1 +share/examples/mbuffer/ +share/examples/mbuffer/mbuffer.rc