Skip to main content

Buildout recipe to install haproxy

Project description

Supported options

Attention: Python3 only version! If you’re using Python2 you have to pin this package version to <2.0.0.

This recipe supports the following options:

url

URL pointing to the haproxy compressed archive. By default it uses: http://www.haproxy.org/download/2.1/src/haproxy-2.1.3.tar.gz

target

Target can be one of the following: linux22, linux24, linux24e linux24eold, linux26, solaris, freebsd, openbsd, generic.

cpu

CPU can be one of the following: i686, i586, ultrasparc, generic.

pcre

Set to 1 to enable the use of the PCRE library.

Example usage

To use this recipe, just create a part for it and define the recipe parameter:

[buildout]
parts =
    ...
    haproxy

[haproxy]
recipe = plone.recipe.haproxy

This will configure the default options for url, target, pcre, and cpu. If you like or need to you can override these parameters, e.g.:

[haproxy]
recipe = plone.recipe.haproxy
url = http://my.dist.server/haproxy-1.x.y.zip
target = linux26
cpu = i686
pcre = 1

Reporting bugs or asking questions

https://github.com/plone/plone.recipe.haproxy/issues

Code repository

https://github.com/plone/plone.recipe.haproxy

Contributors

  • Helge Tesdal, Author [tesdal]

  • Alex Clark [aclark]

  • Hanno Schlichting [hannosch]

Releases

2.0.0 (2021-05-07)

  • Updated setup.py.

2.0rc1 (2021-02-25)

  • Set haproxy 2.1 as default version [erral]

  • Update to support python3 only [erral, petschki]

1.1.2 (2012-01-26)

  • Force the use of gmake on freebsd. [lregebro]

  • When there the Makefile is in a deeper dir the make with options is never executed [kingel]

1.1.1 (2010-10-06)

  • Update to haproxy 1.4.8. [hannosch]

  • Fix bug with install_from_cache that prevents downloading haproxy if it is not already present in the cache. [silviot]

1.1 (2010-04-25)

  • Default to http://dist.plone.org/thirdparty/haproxy-1.4.4.zip. Make sure your configuration files are compatible with the new release before upgrading. [hannosch]

1.0 (2010-04-25)

  • PEP8 cleanup, avoid deprecation warning for the sha module under Python 2.6. [hannosch]

  • Updated tests, removed test extras and dependency on zope.testing. [hannosch]

1.0b3 (2010-01-20)

  • Use http://dist.plone.org/thirdparty/haproxy-1.3.22.zip as the default url. The tarfile module in Python 2.4 cannot open the official releases, so we provide a zip alternative for it. [hannosch]

  • Further package metadata cleanup. Moved tests outside of the package description. [hannosch]

1.0b2 (2010-01-12)

  • Clean up documentation, reorganize package contents. [aclark]

  • Don’t force make -f Makefile.osx on OS X, fixes Snow Leopard compilation. [aclark]

1.0b1 (2008-11-25)

  • First public release. [tesdal]

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page