This repo contains a static build of socat-1.8.1.1 along with the Dockerfile and build script that can be used to build.
The goal achieves an up-to-date static build of socat with SSL builtin that runs under blink and Haiku OS.
cd socat
docker build -t static-binaries-socat .
docker run -v `pwd`/../binaries:/output static-binaries-socat
# After build is done
# cd /static-binaries/binaries/linux/x86_64
# zip socat.zip ./socat
# cp socat.zip Haiku OS
pkgman install blink
unzip socat and mv to /boot/home/config/non-packaged/bin/
Open Terminal and type blink socat