Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136025 - haproxy-1.2.14.ebuild (New Package)
Summary: haproxy-1.2.14.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL: http://haproxy.1wt.eu/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-06-07 21:57 UTC by Greg McIntyre
Modified: 2006-06-11 07:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
haproxy ebuild, first attempt ;) (haproxy-1.2.14.ebuild,833 bytes, text/plain)
2006-06-07 21:59 UTC, Greg McIntyre
Details
init script to be placed in the ebuild's files directory (init-1.2,750 bytes, text/plain)
2006-06-07 22:00 UTC, Greg McIntyre
Details
config file to be placed in the ebuild's files directory (haproxy.cfg,675 bytes, text/plain)
2006-06-07 22:00 UTC, Greg McIntyre
Details

Note You need to log in before you can comment on or make changes to this bug.
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 :-|