18 Commits

Author SHA1 Message Date
Shu Jiuhe
b579e9f908 support chromium version (#455) 2025-12-04 00:07:37 +08:00
Hagb
c5391d808d Update documents
close #250
2023-07-17 17:09:31 +08:00
Hagb
676631a228 Refactor and prepare to add aTrust
- Change most of `EC` to `VPN` in the source code, since this project will not
  be only for EasyConnect
- Dehardcode
- Refactor for more than one type of Sangfor VPN
2023-07-16 01:51:01 +08:00
Hagb
59265bfd7d Make 7.6.7 default and support multi-arch build in github action
Resolve #99, #128, #258
2023-06-25 04:57:18 +08:00
Hagb
dc5b8000ff Add support for EasyConnect deb package inside zip file
To add support for arm64 and mips64 version of EasyConnect in
https://github.com/Hagb/docker-easyconnect/issues/25#issuecomment-1233369467
2022-09-24 12:38:39 +08:00
Hagb
f533949090 Support non-amd64 deb package of EasyConnect
Since non-amd64 deb packages of EasyConnect are proved to exist
(https://github.com/Hagb/docker-easyconnect/issues/25#issuecomment-1233369467),
the deb package should not be assume to be amd64 and architecture
specific code should be rewritten:

- Add EC_HOST build argument to tell Dockerfile the architecture of
  EasyConnect package
- Whether to install cross toolchain and qemu-user and which package
  should be install, is determined by EC_HOST and the local architecture
  now, more specifically by build-scripts/get-echost-names.sh (no longer
  hard-code amd64 cross toolchain)
- fake-hwaddr.so should follow the architecture of the EC deb, so
  fake-hwaddr/Makefile uses CC envirnoment variable instead of
  hard-coded x86_64-linux-gnu-gcc as c compiler now
- qemu_args is removed now. It was used to pass LD_PRELOAD to foreign
  binaries under qemu-user, but now we pass LD_PRELOAD to the qemu
  wrapper and wrapper will pass the LD_PRELOAD to the simulated
  binaries
2022-09-24 08:52:32 +08:00
Hagb
890c19f4d8 Use official electron by default even in amd64 and i386
Electron from EasyConnect is observed to have a segfault in the latest
Debian bookworm.
2022-09-21 06:11:10 +08:00
Hagb
eb8274a27d Make noVNC cross-platform
https://github.com/Hagb/docker-easyconnect/issues/47#issuecomment-1189448697

Use the following programs to provide cross-platform noVNC service with
little size growth:
- busybox httpd: http service for static resources (busybox is not very
  high-performance, but has already been installed)
- websockify in C: tiny websockify service
- tinyproxy with websocket support: provide http reverse proxy, used to
  provide http and websockify in the same port

As an alternation, easy-novnc will be compiled from source code if chosen.
2022-09-21 06:10:44 +08:00
Hagb
32cac7c846 Compile tinyproxy for websocket support
Prepare for noVNC, which uses websocket.
2022-09-20 23:03:58 +08:00
Hagb
e746bc4879 Set ftp.cn.debian.org as the default mirror 2022-09-20 10:55:09 +08:00
Hagb
007d391e4a Rename Dockerfile.fake-hwaddr to Dockerfile.build
Not only fake-hwaddr.so, there will be more things to be compiled.

- The image name of building stage is hagb/docker-easyconnect:build now
- Every independent building result will be in /root/name/, which will
  be an empty folder if turned off by user.
2022-09-20 08:58:31 +08:00
Hagb
ba974b02cd Merge branch 'master' into develop 2022-09-19 15:38:55 +08:00
Yang Zongze
6e9386acdb 删除 cli 版本构建的分支参数 2022-08-04 23:15:43 +08:00
Hagb Green (Guo Junyu)
7edc031ceb Add document of MIRROR_URL 2022-03-21 02:32:34 +08:00
Hagb Green (Guo Junyu)
80e82168cd Add document of ELECTRON_URL 2022-03-21 02:32:25 +08:00
Hagb
66abcfcb8f Fix build.md 2022-02-09 03:57:17 +08:00
Hagb
80920259b4 Add FAKE_HWADDR variable for rootless podman
没有 root 权限的 podman 无法设置静态的虚拟网卡的 MAC 地址,每次启动都会产生不同的 MAC 地址,从而 EasyConnect
需要提交硬件新的硬件 ID。这个 commit 用 LD_PRELOAD 劫持了用于获取 MAC 地址的 loctl 函数,将获取的 MAC 地址指定为
用户指定的 FAKE_HWADDR 环境变量的值。
2022-02-06 04:20:50 +08:00
Hagb Green
0eeea3679c Update documents 2021-07-19 17:36:00 +08:00