N: Min Xu <xuminready@gmail.com>
F: package/shadowsocks-libev/
+N: Mircea Gliga <gliga.mircea@gmail.com>
+F: package/mbuffer/
+
N: Mirza Krak <mirza.krak@northern.tech>
F: package/mender/
F: package/mender-artifact/
source "package/libwebsockets/Config.in"
source "package/libyang/Config.in"
source "package/lksctp-tools/Config.in"
+ source "package/mbuffer/Config.in"
source "package/mongoose/Config.in"
source "package/nanomsg/Config.in"
source "package/neon/Config.in"
--- /dev/null
+config BR2_PACKAGE_MBUFFER
+ bool "mbuffer"
+ depends on !BR2_STATIC_LIBS # dlopen()
+ help
+ mbuffer is a tool for buffering data streams with a large set
+ of unique features.
+
+ http://www.maier-komor.de/mbuffer.html
+
+comment "mbuffer needs a toolchain w/ dynamic library"
+ depends on BR2_STATIC_LIBS
--- /dev/null
+# From http://www.maier-komor.de/mbuffer.html
+md5 e4acaa1e6a9a879e7394f04e02e1ae83 mbuffer-20191016.tgz
+
+# Locally computed after checking signature upstream
+sha256 8dc210454765c18901074bc16e126c655135a486e73d69855caf74a157ddbe17 mbuffer-20191016.tgz
--- /dev/null
+################################################################################
+#
+# mbuffer
+#
+################################################################################
+
+MBUFFER_VERSION = 20191016
+MBUFFER_SOURCE = mbuffer-$(MBUFFER_VERSION).tgz
+MBUFFER_SITE = http://www.maier-komor.de/software/mbuffer
+MBUFFER_LICENSE = GPL-3.0+
+MBUFFER_LICENSE_FILES = LICENSE
+MBUFFER_CONF_OPTS = --disable-debug
+MBUFFER_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=c99"
+
+# we don't need tests & co. so we specify a target
+# so that the others don't get built, e.g idev.so
+MBUFFER_MAKE_OPTS += mbuffer
+
+$(eval $(autotools-package))