From 5d18aba97649f99d47a4f9389f5782fdd405c160 Mon Sep 17 00:00:00 2001 From: Alessandro Grassi Date: Sun, 23 Oct 2022 17:26:29 +0200 Subject: [PATCH] Add README.md --- haproxy/README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 haproxy/README.md diff --git a/haproxy/README.md b/haproxy/README.md new file mode 100644 index 0000000..aa8d99e --- /dev/null +++ b/haproxy/README.md @@ -0,0 +1,27 @@ +# Build HAProxy as static PIE + +Build the [HAProxy](https://git.haproxy.org/): The Reliable, High Performance TCP/HTTP Load Balancer as a static PIE ELF running on Linux. + +## Requirements + +Make sure the following packages are installed: +* gcc >= 8 (required for the `-static-pie` linking option) +* autotools +* GNU Make +* zlib development files +* OpenSSL development files + +For Ubuntu, run the command below to install all requirements: + +``` +$ sudo apt install build-essential zlib1g-dev libssl-dev +``` + +## Build + +The `HAProxy` static PIE ELF is located in the current folder. +If you want to rebuild it, run: + +``` +$ ./build.sh +``` \ No newline at end of file