mirror of
https://github.com/bol-van/zapret2.git
synced 2026-03-14 06:13:09 +00:00
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
debian,ubuntu :
|
|
|
|
apt install make gcc zlib1g-dev libcap-dev libnetfilter-queue-dev libmnl-dev libsystemd-dev libluajit2-5.1-dev
|
|
make -C /opt/zapret2 systemd
|
|
|
|
linux static :
|
|
|
|
need any x86_64 classic linux distribution
|
|
dependencies: apt install curl xz-utils bzip2 unzip make gcc gcc-multilib libc6-dev libcap-dev pkg-config
|
|
copy directory "builder-linux" somethere with enough free disk space (up to 2G for all toolchains)
|
|
run "get_toolchains.sh"
|
|
select architectures you need or "ALL"
|
|
run "build_deps.sh", select "ALL"
|
|
run "build_zapret2.sh", select "ALL"
|
|
get static musl bins from "binaries" folder
|
|
"zapret2" is downloaded from github master branch. if you need specific version - download manually to "zapret2" dir
|
|
i586 and riscv64 targets are built with classic PUC Lua
|
|
|
|
optionally review "common.inc" for Lua and LuaJIT versions
|
|
|
|
FreeBSD :
|
|
|
|
pkg install pkgconf
|
|
pkg search luajit-2
|
|
# see what's the version available
|
|
pkg install luajit-2.1.0.20250728
|
|
make -C /opt/zapret2
|
|
|
|
OpenBSD :
|
|
|
|
pkg_add luajit gmake
|
|
gmake -C /opt/zapret2 bsd
|