mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00

slirp4netns uses a TAP device to connect to the internet in an unprivileged way. Without the required kernel support (TAP/TUN), slirp4netns will fail at runtime. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
24 lines
757 B
BlitzBasic
24 lines
757 B
BlitzBasic
SUMMARY = "User-mode networking for unprivileged network namespaces."
|
|
DESCRIPTION = "slirp4netns allows connecting a network namespace to the \
|
|
Internet in a completely unprivileged way, by connecting a TAP device in a \
|
|
network namespace to the usermode TCP/IP stack ("slirp")."
|
|
|
|
LICENSE = "GPL-2.0-or-later"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=1e2efd29c201480c6be2744d9edade26"
|
|
|
|
SRCREV = "323aa69a68362a432f15d5e8050e74a0637aaf1e"
|
|
SRC_URI = "git://github.com/rootless-containers/slirp4netns.git;nobranch=1;protocol=https"
|
|
|
|
PV = "1.2.0+git${SRCPV}"
|
|
|
|
inherit features_check
|
|
REQUIRED_DISTRO_FEATURES ?= "seccomp"
|
|
|
|
DEPENDS = "glib-2.0 libcap libseccomp libslirp"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
RRECOMMENDS:${PN} += "kernel-module-tun"
|
|
|
|
inherit autotools pkgconfig
|