Perform the following on a build box as a regular user.
sudo yum groupinstall 'Development Tools'
cd /opt
git clone https://github.com/DBezemer/rpm-haproxy.git
cd ./rpm-haproxy
git checkout 1.8
make
Resulting RPM will be in /opt/rpm-haproxy/rpmbuild/RPMS/
Based on the Red Hat 6.4 RPM spec for haproxy 1.4 combined with work done by
- @nmilford
- @resmo
- @kevholmes
- Update to 1.8 contributed by @khdevel
- Amazon Linux support contributed by @thedoc31
Additional logging added based on https://www.percona.com/blog/2014/10/03/haproxy-give-me-some-logs-on-centos-6-5/