diff --git a/Makefile b/Makefile index 6725fc2..8d340db 100644 --- a/Makefile +++ b/Makefile @@ -6,4 +6,4 @@ ip46tables: ip46tables.d/ip46tables.c gcc ip46tables.d/ip46tables.c -o ip46tables reaction: app/* reaction.go go.mod go.sum - go build . + go build -buildvcs=false . diff --git a/README.md b/README.md index 0188e88..5c9d885 100644 --- a/README.md +++ b/README.md @@ -137,6 +137,10 @@ If you don't know where to start reaction, `/var/lib/reaction` should be a sane It permits to configure `iptables` and `ip6tables` at the same time. It will execute `iptables` when detecting ipv4, `ip6tables` when detecting ipv6 and both if no ip address is present on the command line. +### Binaries + +Executables are provided [here](https://u.ppom.me/reaction/releases/), for a standard x86-64 linux machine. + ### Compilation You'll need the go toolchain for reaction and a c compiler for ip46tables. @@ -152,6 +156,11 @@ $ go build . $ gcc ip46tables.d/ip46tables.c -o ip46tables ``` +Provided binaries in the previous section are compiled this way: +```shell +$ docker run -it --rm -v (pwd):/code -w /code golang:1.20 make +``` + ### NixOS - [ package ](https://framagit.org/ppom/nixos/-/blob/main/pkgs/reaction/default.nix)