Merge branch 'mosh-partial' into 'master'

Partially port mosh, fix russh build

See merge request redox-os/redox!1999
This commit is contained in:
Jeremy Soller 2026-03-12 07:47:41 -06:00
commit cc6fb284ab
4 changed files with 26 additions and 6 deletions

View File

@ -1,9 +1,8 @@
#TODO: Compilation error (relibc issues?)
#TODO: libabsl
# Also see https://github.com/protocolbuffers/protobuf/blob/main/cmake/README.md
[source]
git = "https://github.com/protocolbuffers/protobuf"
# Latest release: v31.1
rev = "74211c0dfc2777318ab53c2cd2c317a2ef9012de"
rev = "v34.0"
shallow_clone = true
[build]
@ -12,5 +11,6 @@ cmakeflags = [
"-Dprotobuf_BUILD_TESTS=OFF"
]
dependencies = [
"libabsl",
"zlib",
]

View File

@ -0,0 +1,9 @@
#TODO: compile error on redox, need patches
# Also see https://github.com/protocolbuffers/protobuf/blob/main/cmake/README.md
[source]
git = "https://github.com/abseil/abseil-cpp"
rev = "20260107.1"
shallow_clone = true
[build]
template = "cmake"

View File

@ -1,10 +1,20 @@
#TODO missing header files
#TODO protobuf in redox
[source]
tar = "https://github.com/mobile-shell/mosh/releases/download/mosh-1.4.0/mosh-1.4.0.tar.gz"
git = "https://github.com/mobile-shell/mosh"
rev = "mosh-1.4.0"
shallow_clone = true
script = """
./autogen.sh
"""
[build]
template = "configure"
dependencies = [
"openssl3",
"ncurses",
"ncursesw",
"zlib",
"protobuf"
]
dev-dependencies = [
"host:protobuf"
]

View File

@ -5,5 +5,6 @@ shallow_clone = true
template = "custom"
script = """
DYNAMIC_INIT
COOKBOOK_CARGO_FLAGS=() # remove --locked
cookbook_cargo_examples client_exec_simple client_exec_interactive sftp_client sftp_server
"""