Skip to content

danoe/rpm-haproxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github All Releases

This repository contains some build artifacts of HAproxy that are provided with no support and no expectation of stability. The recommended way of using the repository is to build and test your own packages.

RPM Specs for HAproxy on CentOS / RHEL / Amazon Linux with default syslog

Perform the following steps on a build box as a regular user.

Install Prerequisites for RPM Creation

sudo yum groupinstall 'Development Tools'

Checkout this repository

cd /opt
git clone https://github.com/DBezemer/rpm-haproxy.git 
cd ./rpm-haproxy
git checkout 2.0

Build using makefile

make

Resulting RPM will be in /opt/rpm-haproxy/rpmbuild/RPMS/x86_64/

Build using Docker

Except for Docker and docker-compose there are no other install requirements

mkdir -p ~/repos
cd ~/repos
git clone https://github.com/DBezemer/rpm-haproxy.git 
cd ./rpm-haproxy
git checkout 2.0
docker-compose up

Resulting RPM will be in your current directory ./rpmbuild/RPMS/x86_64/

Credits

Based on the Red Hat 6.4 RPM spec for haproxy 1.4 combined with work done by

Additional logging inspired by https://www.percona.com/blog/2014/10/03/haproxy-give-me-some-logs-on-centos-6-5/

About

HAproxy RPM spec and builds for CentOS 6/7

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 38.8%
  • Roff 38.2%
  • Makefile 18.5%
  • Dockerfile 4.5%