Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 136025

Summary: haproxy-1.2.14.ebuild (New Package)
Product: Gentoo Linux Reporter: Greg McIntyre <gentoo>
Component: New packagesAssignee: Gentoo Network Proxy Developers (OBSOLETE) <net-proxy+disabled>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: EBUILD
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
URL: http://haproxy.1wt.eu/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: haproxy ebuild, first attempt ;)
init script to be placed in the ebuild's files directory
config file to be placed in the ebuild's files directory

Description Greg McIntyre 2006-06-07 21:57:59 UTC
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 Greg McIntyre 2006-06-07 21:59:26 UTC
Created attachment 88632 [details]
haproxy ebuild, first attempt ;)
Comment 2 Greg McIntyre 2006-06-07 22:00:06 UTC
Created attachment 88633 [details]
init script to be placed in the ebuild's files directory
Comment 3 Greg McIntyre 2006-06-07 22:00:28 UTC
Created attachment 88634 [details]
config file to be placed in the ebuild's files directory
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2006-06-11 07:13:42 UTC
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 :-|