Bug 136025 - haproxy-1.2.14.ebuild (New Package)
Bug#: 136025 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: net-proxy@gentoo.org Reported By: gentoo@puyo.cjb.net
Component: Ebuilds
URL:  http://haproxy.1wt.eu/
Summary: haproxy-1.2.14.ebuild (New Package)
Keywords:  EBUILD
Status Whiteboard: 
Opened: 2006-06-07 21:57 0000
Description:   Opened: 2006-06-07 21:57 0000
Hi,

I couldn't for the life of me find an ebuild for haproxy (see URL field). I
wrote one myself and attached it. It's not great but it does the job. I'd be
happy for feedback to improve it or one of you can take it over. It's all good.

Here's the spiel:

HAProxy is a free, very fast and reliable solution offering high availability,
load balancing, and proxying for TCP and HTTP-based applications. It is
particularly suited for web sites crawling under very high loads while needing
persistence or Layer7 processing. Supporting tens of thousands of connections
is clearly realistic with todays hardware. Its mode of operation makes its
integration into existing architectures very easy and riskless, while still
offering the possibility not to expose fragile web servers to the Net.

Considering you have pound and other load balancers in www-servers, I think
that's the best category for it.

------- Comment #1 From Greg McIntyre 2006-06-07 21:59:26 0000 -------
Created an attachment (id=88632) [details]
haproxy ebuild, first attempt ;)

------- Comment #2 From Greg McIntyre 2006-06-07 22:00:06 0000 -------
Created an attachment (id=88633) [details]
init script to be placed in the ebuild's files directory

------- Comment #3 From Greg McIntyre 2006-06-07 22:00:28 0000 -------
Created an attachment (id=88634) [details]
config file to be placed in the ebuild's files directory

------- Comment #4 From Alin Năstac 2006-06-11 07:13:42 0000 -------
Added to the tree, as net-proxy/haproxy, with the following changes:
 - use LDFLAGS set in /etc/make.conf
 - don't install haproxy.cfg. Since we don't have a reasonable default, it
should be created by user, not by ebuild. Also, it doesn't make sense to create
a directory (/etc/haproxy) when it will contains only one file, therefore I
moved configuration file to /etc/haproxy.cfg
 - install configuration examples in doc directory

Thanks for the initial version. I've put your name in Changelog but without
email address. I hate these gentoo@foo.bar addresses :-|