Skip to content

Commit

Permalink
Add README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessandroGrassi99 committed Oct 23, 2022
1 parent cba5f6d commit 5d18aba
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions haproxy/README.md
Original file line number Diff line number Diff line change
@@ -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
```

0 comments on commit 5d18aba

Please sign in to comment.