package/mbuffer: new package

Signed-off-by: Mircea Gliga <gliga.mircea@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Mircea Gliga 2020-02-11 15:46:52 +02:00 committed by Thomas Petazzoni
parent 905e4f2890
commit e50649e86c
5 changed files with 39 additions and 0 deletions

View file

@ -1846,6 +1846,9 @@ F: package/libfribidi/
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/

View file

@ -1729,6 +1729,7 @@ menu "Networking"
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"

11
package/mbuffer/Config.in Normal file
View file

@ -0,0 +1,11 @@
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

View file

@ -0,0 +1,5 @@
# From http://www.maier-komor.de/mbuffer.html
md5 e4acaa1e6a9a879e7394f04e02e1ae83 mbuffer-20191016.tgz
# Locally computed after checking signature upstream
sha256 8dc210454765c18901074bc16e126c655135a486e73d69855caf74a157ddbe17 mbuffer-20191016.tgz

View file

@ -0,0 +1,19 @@
################################################################################
#
# 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))