Releases: jingjingxyk/build-static-socat
Releases · jingjingxyk/build-static-socat
static socat-1.8.0.3 v2.4.0
| item | value |
|---|---|
| branch | main |
| tag | v2.4.0 |
| socat version | 1.8.0.3 |
| suport OS platform | linux-x64 、linux-arm64、macos-x64、macos-arm64、windows-cygwin-x64 windows-msys2-x64 |
| release date | 2025-04-29 |
| build status | ok |
静态构建 socat
static socat
变更: 详情
1. 启用windows msys2 构建环境
2. 优化windows cygwin 环境打包
立即下载使用静态编译 socat :
curl -Lo cacert.pem https://curl.se/ca/cacert.pem
curl -fSL https://github.com/jingjingxyk/swoole-cli/blob/new_dev/setup-socat-runtime.sh?raw=true | bash
curl -fSL https://github.com/jingjingxyk/swoole-cli/blob/new_dev/setup-socat-runtime.sh?raw=true | bash -s -- --version v2.4.0 --socat-version v1.8.0.3
# or
curl -fSL https://gitee.com/jingjingxyk/swoole-cli/raw/new_dev/setup-socat-runtime.sh | bash -s -- --mirror china
socat docs
http://www.dest-unreach.org/socat/
socat example
https://www.redhat.com/sysadmin/getting-started-socat
note: macos clearing the com.apple.quarantine extended attribute
xattr ./runtime/socat/socat
sudo xattr -rd com.apple.quarantine ./runtime/socat/socat
windows 下使用socat 例子 (cmd 终端)
# 使用7zip 解压 (7z 命令行解压命令)
7z.exe x -osocat-v1.8.0.3-cygwin-x64 socat-v1.8.0.3-cygwin-x64.zip
cd socat-v1.8.0.3-cygwin-x64
.\socat -d -d TCP4-LISTEN:8016,reuseaddr,fork ssl:http-proxy.xiaoshuogeng.com:8015,snihost=http-proxy.xiaoshuogeng.com,commonname=http-proxy.xiaoshuogeng.com,openssl-min-proto-version=TLS1.3,openssl-max-proto-version=TLS1.3,verify=1,cafile=.\cacert.pem
# cmd
set http_proxy=http://127.0.0.1:8016
set https_proxy=http://127.0.0.1:8016
# powershell
$Env:http_proxy="http://127.0.0.1:8016"
$Env:https_proxy="http://127.0.0.1:8016"
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git --depth=1 --progress
static link socat-1.8.0.3 v2.3.2
| item | value |
|---|---|
| branch | main |
| tag | v2.3.2 |
| socat version | 1.8.0.3 |
| suport OS platform | linux-x64 、linux-arm64、macos-x64、macos-arm64、windows-x64 |
| release date | 2025-02-28 |
静态构建 socat
static link socat
变更: 详情
1. socat 升级到1.8.0.3
2. 启用linux arm64 原生构建,放弃 x86_64 平台 使用 qemu 模拟 arm64 构建环境
3. 完善windows cygwin 环境打包,打包包括 cacert.pem 文件
4. 移除不需要的 builder
立即下载使用静态编译 socat :
curl -Lo cacert.pem https://curl.se/ca/cacert.pem
curl -fSL https://github.com/jingjingxyk/swoole-cli/blob/new_dev/setup-socat-runtime.sh?raw=true | bash
curl -fSL https://github.com/jingjingxyk/swoole-cli/blob/new_dev/setup-socat-runtime.sh?raw=true | bash -s -- --version v2.3.0 --socat-version v1.8.0.3
# or
curl -fSL https://gitee.com/jingjingxyk/swoole-cli/raw/new_dev/setup-socat-runtime.sh | bash -s -- --mirror china
socat docs
http://www.dest-unreach.org/socat/
socat example
https://www.redhat.com/sysadmin/getting-started-socat
note: macos clearing the com.apple.quarantine extended attribute
xattr ./socat
sudo xattr -rd com.apple.quarantine ./socat
windows 下使用socat 例子 (cmd 终端)
# 使用7zip 解压 (7z 命令行解压命令)
7z.exe x -osocat-v1.8.0.3-cygwin-x64 socat-v1.8.0.3-cygwin-x64.zip
cd socat-v1.8.0.3-cygwin-x64
.\socat -d -d TCP4-LISTEN:8016,reuseaddr,fork ssl:http-proxy.xiaoshuogeng.com:8015,snihost=http-proxy.xiaoshuogeng.com,commonname=http-proxy.xiaoshuogeng.com,openssl-min-proto-version=TLS1.3,openssl-max-proto-version=TLS1.3,verify=1,cafile=.\cacert.pem
# cmd
set http_proxy=http://127.0.0.1:8016
set https_proxy=http://127.0.0.1:8016
# powershell
$Env:http_proxy="http://127.0.0.1:8016"
$Env:https_proxy="http://127.0.0.1:8016"
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git --depth=1 --progress
static link socat-1.8.0.3 v2.3.1
| item | value |
|---|---|
| branch | main |
| tag | v2.3.1 |
| socat version | 1.8.0.3 |
| suport OS platform | linux-x64 、linux-arm64、macos-x64、macos-arm64、windows-x64 |
| release date | 2025-02-28 |
静态构建 socat
static link socat
变更:
1. socat 升级到1.8.0.3
2. 启用linux arm64 原生构建,放弃 x86_64 平台 使用 qemu 模拟 arm64 构建环境
3. 完善windows cygwin 环境打包,打包包括 cacert.pem 文件
立即下载使用静态编译 socat :
curl -Lo cacert.pem https://curl.se/ca/cacert.pem
curl -fSL https://github.com/jingjingxyk/swoole-cli/blob/new_dev/setup-socat-runtime.sh?raw=true | bash
curl -fSL https://github.com/jingjingxyk/swoole-cli/blob/new_dev/setup-socat-runtime.sh?raw=true | bash -s -- --version v2.3.0 --socat-version v1.8.0.3
# or
curl -fSL https://gitee.com/jingjingxyk/swoole-cli/raw/new_dev/setup-socat-runtime.sh | bash -s -- --mirror china
socat docs
http://www.dest-unreach.org/socat/
socat example
https://www.redhat.com/sysadmin/getting-started-socat
note: macos clearing the com.apple.quarantine extended attribute
xattr ./socat
sudo xattr -rd com.apple.quarantine ./socat
windows 下使用socat 例子 (cmd 终端)
# 使用7zip 解压 (7z 命令行解压命令)
7z.exe x -osocat-v1.8.0.3-cygwin-x64 socat-v1.8.0.3-cygwin-x64.zip
cd socat-v1.8.0.3-cygwin-x64
.\socat -d -d TCP4-LISTEN:8016,reuseaddr,fork ssl:http-proxy.xiaoshuogeng.com:8015,snihost=http-proxy.xiaoshuogeng.com,commonname=http-proxy.xiaoshuogeng.com,openssl-min-proto-version=TLS1.3,openssl-max-proto-version=TLS1.3,verify=1,cafile=.\cacert.pem
static link socat-1.8.0.3 v2.3.0
| item | value |
|---|---|
| branch | main |
| tag | v2.3.0 |
| socat version | 1.8.0.3 |
| suport OS platform | linux-x64 、linux-arm64、macos-x64、macos-arm64、windows-x64 |
| release date | 2025-02-28 |
静态构建 socat
static link socat
变更:
1. socat 升级到1.8.0.3
2. 启用linux arm64 原生构建,放弃 x86_64 平台 使用 qemu 模拟 arm64 构建环境
3. 完善windows cygwin 环境打包,打包包括 cacert.pem 文件
立即下载使用静态编译 socat :
curl -Lo cacert.pem https://curl.se/ca/cacert.pem
curl -fSL https://github.com/jingjingxyk/swoole-cli/blob/new_dev/setup-socat-runtime.sh?raw=true | bash
curl -fSL https://github.com/jingjingxyk/swoole-cli/blob/new_dev/setup-socat-runtime.sh?raw=true | bash -s -- --version v2.3.0 --socat-version v1.8.0.3
# or
curl -fSL https://gitee.com/jingjingxyk/swoole-cli/raw/new_dev/setup-socat-runtime.sh | bash -s -- --mirror china
socat docs
http://www.dest-unreach.org/socat/
socat example
https://www.redhat.com/sysadmin/getting-started-socat
note: macos clearing the com.apple.quarantine extended attribute
xattr ./socat
sudo xattr -rd com.apple.quarantine ./socat
windows 下使用socat 例子 (cmd 终端)
# 使用7zip 解压 (7z 命令行解压命令)
7z.exe x -osocat-v1.8.0.3-cygwin-x64 socat-v1.8.0.3-cygwin-x64.zip
cd socat-v1.8.0.3-cygwin-x64
.\socat -d -d TCP4-LISTEN:8016,reuseaddr,fork ssl:http-proxy.xiaoshuogeng.com:8015,snihost=http-proxy.xiaoshuogeng.com,commonname=http-proxy.xiaoshuogeng.com,openssl-min-proto-version=TLS1.3,openssl-max-proto-version=TLS1.3,verify=1,cafile=.\cacert.pem
static link socat-1.8.0.1 v2.2.1
| item | value |
|---|---|
| branch | main |
| tag | v2.2.1 |
| socat version | 1.8.0.1 |
| release date | 2024-12-03 |
静态构建 socat
static link socat
变更:
1. 更新打包名称
立即下载使用静态编译 socat :
curl -Lo cacert.pem https://curl.se/ca/cacert.pem
curl -fSL https://github.com/jingjingxyk/swoole-cli/blob/new_dev/setup-socat-runtime.sh?raw=true | bash
curl -fSL https://github.com/jingjingxyk/swoole-cli/blob/new_dev/setup-socat-runtime.sh?raw=true | bash -s -- --version v2.2.1 --socat-version v1.8.0.1
# or
curl -fSL https://gitee.com/jingjingxyk/swoole-cli/raw/new_dev/setup-socat-runtime.sh | bash -s -- --mirror china
socat docs
http://www.dest-unreach.org/socat/
socat example
https://www.redhat.com/sysadmin/getting-started-socat
note: macos clearing the com.apple.quarantine extended attribute
xattr ./socat
sudo xattr -rd com.apple.quarantine ./socat
static link socat-1.8.0.1 v2.2.0
| item | value |
|---|---|
| branch | main |
| tag | v2.2.0 |
| socat version | 1.8.0.1 |
| release date | 2024-12-03 |
静态构建 socat
static link socat
变更:
1. 启用 windows cygwin 环境构建
2. socat 版本由 1.8.0.0 升级为 socat-1.8.0.1
立即下载使用静态编译 socat :
curl -fSL https://github.com/jingjingxyk/swoole-cli/blob/new_dev/setup-socat-runtime.sh?raw=true | bash
# or
curl -fSL https://gitee.com/jingjingxyk/swoole-cli/raw/new_dev/setup-socat-runtime.sh | bash -s -- --mirror china
curl.exe -Lo cacert.pem https://curl.se/ca/cacert.pem
socat docs
http://www.dest-unreach.org/socat/
socat example
https://www.redhat.com/sysadmin/getting-started-socat
note: macos clearing the com.apple.quarantine extended attribute
xattr ./socat
sudo xattr -rd com.apple.quarantine ./socat
static link socat-1.8.0.0 v2.1.0
| item | value |
|---|---|
| branch | main |
| tag | v2.1.0 |
| socat version | 1.8.0.0 |
| release date | 2024-06-21 |
静态构建 socat
static link socat
变更:
1. 启用 linux arm64 构建
2. 启用 macos arm64 构建
socat docs
http://www.dest-unreach.org/socat/
socat example
https://www.redhat.com/sysadmin/getting-started-socat
note: macos clearing the com.apple.quarantine extended attribute
xattr ./socat
sudo xattr -rd com.apple.quarantine ./socat
static link socat-1.8.0.0 v2.0.1
| item | value |
|---|---|
| branch | main |
| tag | v2.0.2 |
| socat version | 1.8.0.0 |
| release date | 2024-06-15 |
静态构建 socat
static link socat
变更: 改进构建脚本
static link socat v2.0.1
静态构建 socat
static link socat no_debuginfo
socat version : 1.8.0.0
static link socat v2.0.0
静态构建 socat
static link socat
socat version : 1.8.0.0