Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466404 - net-proxy/haproxy - add USE=utils to install tools from contrib
Summary: net-proxy/haproxy - add USE=utils to install tools from contrib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Ruppert (idl0r)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-18 22:56 UTC by Bertrand Jacquin
Modified: 2013-09-17 12:29 UTC (History)
2 users (show)

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


Attachments
haproxy-1.5_beta19.ebuild-halog.diff (haproxy-1.5_beta19.ebuild-halog.diff,901 bytes, patch)
2013-09-02 17:47 UTC, Bertrand Jacquin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Jacquin 2013-04-18 22:56:05 UTC
haproxy come use a usefull toll named halog to analyze haproxy log file. It's available in control/halog subdirectory, or in git :

http://haproxy.1wt.eu/git?p=haproxy.git;a=tree;f=contrib/halog;h=4881fa2eeeec9a76f5143738cd5abf22c856c5cc;hb=HEAD

A doc is available at this address http://www.exceliance.fr/sites/default/files/biblio/aloha_load_balancer_appnotes_0054_analyze_haproxy_logs_with_halog_en.pdf

Other usefull tool are:

 contrib/iprange while not linked to haproxy, but can be used to optimize acls
 contrib/netsnmp-perl to be able to extend net-snmp from the haproxy stat socket
 contrib/selinux for selinux policy
 


Reproducible: Always
Comment 1 Bertrand Jacquin 2013-09-02 17:47:01 UTC
Created attachment 357696 [details, diff]
haproxy-1.5_beta19.ebuild-halog.diff

This patch add USE=utils to build and install halog.
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-09-17 12:29:46 UTC
Did iprange and systemd as well.

+  17 Sep 2013; Tom Wijsman <TomWij@gentoo.org> +haproxy-1.5_beta19-r1.ebuild,
+  haproxy-9999.ebuild, metadata.xml:
+  Revision bump. Add systemd service unit. Add tools USE flag that install halog
+  and iprange. EAPI 5. Part of the changes are contributed by Bertrand Jacquin
+  (beber), fixes bug #466404.

I don't know much about perl and selinux so I leave them for a later revision.