Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

23
package/passt/Config.in Normal file
View File

@@ -0,0 +1,23 @@
config BR2_PACKAGE_PASST
bool "passt"
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
help
passt: Plug A Simple Socket Transport
pasta: Pack A Subtle Tap Abstraction
passt implements a translation layer between a Layer-2
network interface and native Layer-4 sockets (TCP, UDP,
ICMP/ICMPv6 echo) on a host. It doesn't require any
capabilities or privileges, and it can be used as a simple
replacement for Slirp.
pasta (same binary as passt, different command) offers
equivalent functionality, for network namespaces: traffic
is forwarded using a tap interface inside the namespace,
without the need to create further interfaces on the host,
hence not requiring any capabilities or privileges.
https://passt.top/passt/about/
comment "passt needs a toolchain w/ headers >= 5.9"
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9

4
package/passt/passt.hash Normal file
View File

@@ -0,0 +1,4 @@
# Locally computed
sha256 ac2562e4b589c518b6e30101daaa430691da2605ccc2988d0b704079c2aea4f3 passt-2025_06_11.0293c6f-git4.tar.gz
sha256 32dfe03d9985f5feb581da26a2fe6c84530cccb6b53ede0d8dab075cd048ac5b LICENSES/BSD-3-Clause.txt
sha256 aaf135472f81c5b4a0dca9367e5bb5e9750032b5bebe5442b36e4c0a47430df3 LICENSES/GPL-2.0-or-later.txt

41
package/passt/passt.mk Normal file
View File

@@ -0,0 +1,41 @@
################################################################################
#
# passt
#
################################################################################
PASST_VERSION = 2025_06_11.0293c6f
PASST_SITE = https://passt.top/passt
PASST_SITE_METHOD = git
PASST_LICENSE = \
BSD-3-Clause, \
GPL-2.0-or-later
PASST_LICENSE_FILES = \
LICENSES/BSD-3-Clause.txt \
LICENSES/GPL-2.0-or-later.txt
define PASST_LINUX_CONFIG_FIXUPS
$(call KCONFIG_ENABLE_OPT,CONFIG_NET)
$(call KCONFIG_ENABLE_OPT,CONFIG_NET_CORE)
$(call KCONFIG_ENABLE_OPT,CONFIG_NETDEVICES)
$(call KCONFIG_ENABLE_OPT,CONFIG_NET_CORE)
$(call KCONFIG_ENABLE_OPT,CONFIG_INET)
$(call KCONFIG_ENABLE_OPT,CONFIG_TUN)
endef
define PASST_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) \
-C $(@D) \
prefix=/usr
endef
define PASST_INSTALL_TARGET_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) \
-C $(@D) \
prefix=/usr \
DESTDIR=$(TARGET_DIR) \
install
endef
$(eval $(generic-package))