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

19
package/tmux/Config.in Normal file
View File

@@ -0,0 +1,19 @@
config BR2_PACKAGE_TMUX
bool "tmux"
depends on BR2_USE_MMU # fork()
depends on BR2_USE_WCHAR # mbtowc()
depends on BR2_ENABLE_LOCALE # runtime
select BR2_PACKAGE_LIBEVENT
select BR2_PACKAGE_NCURSES
help
tmux is a terminal multiplexer, it enables a number of
terminals (or windows) to be accessed and controlled from a
single terminal.
NOTE: tmux needs a working UTF-8 locale (BR2_GENERATE_LOCALE)
https://tmux.github.io/
comment "tmux needs a toolchain w/ wchar, locale"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_ENABLE_LOCALE

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

@@ -0,0 +1,4 @@
# From https://github.com/tmux/tmux/releases/tag/3.6b
sha256 390759d25fdba016887ec982b808927e637070fd7d03a8021f8ef3102b9ae3c7 tmux-3.6b.tar.gz
# Locally computed:
sha256 c031bd37f464c534277814f6aa38686fa023d094261d57fd2545ad592bb53ccd COPYING

49
package/tmux/tmux.mk Normal file
View File

@@ -0,0 +1,49 @@
################################################################################
#
# tmux
#
################################################################################
TMUX_VERSION = 3.6b
TMUX_SITE = https://github.com/tmux/tmux/releases/download/$(TMUX_VERSION)
TMUX_LICENSE = ISC
TMUX_LICENSE_FILES = COPYING
TMUX_CPE_ID_VALID = YES
TMUX_DEPENDENCIES = host-bison libevent ncurses host-pkgconf
ifeq ($(BR2_PACKAGE_JEMALLOC),y)
TMUX_DEPENDENCIES += jemalloc
TMUX_CONF_OPTS += --enable-jemalloc
else
TMUX_CONF_OPTS += --disable-jemalloc
endif
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
TMUX_DEPENDENCIES += systemd
TMUX_CONF_OPTS += --enable-systemd
else
TMUX_CONF_OPTS += --disable-systemd
endif
ifeq ($(BR2_PACKAGE_UTF8PROC),y)
TMUX_DEPENDENCIES += utf8proc
TMUX_CONF_OPTS += --enable-utf8proc
else
TMUX_CONF_OPTS += --disable-utf8proc
endif
# tmux uses custom --enable-static option, instead of standard libtool
# directive resulting in a build failure with systemd or utf8proc
ifeq ($(BR2_SHARED_STATIC_LIBS),y)
TMUX_CONF_OPTS += --disable-static
endif
# Add /usr/bin/tmux to /etc/shells otherwise some login tools like dropbear
# can reject the user connection. See man shells.
define TMUX_ADD_TMUX_TO_SHELLS
grep -qsE '^/usr/bin/tmux$$' $(TARGET_DIR)/etc/shells \
|| echo "/usr/bin/tmux" >> $(TARGET_DIR)/etc/shells
endef
TMUX_TARGET_FINALIZE_HOOKS += TMUX_ADD_TMUX_TO_SHELLS
$(eval $(autotools-package))