Skip to content

Add HAProxy 1.7.9 #486

Merged
merged 2 commits into from
Sep 16, 2017
Merged

Add HAProxy 1.7.9 #486

merged 2 commits into from
Sep 16, 2017

Conversation

pmenzel
Copy link
Collaborator

@pmenzel pmenzel commented Sep 12, 2017

HAProxy is a proxy and load balancer. It’s going to be used as a TLS proxy.

Tested on keineahnung.

Description [1]:

> 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 very high traffic web
> sites and powers quite a number of the world's most visited ones. Over
> the years it has become the de-facto standard opensource load
> balancer, is now shipped with most mainstream Linux distributions, and
> is often deployed by default in cloud platforms. Since it does not
> advertise itself, we only know it's used when the admins report it :-)

Create the versionless bee file with the commands below.

```
$ bee init https://www.haproxy.org/download/1.7/src/haproxy-1.7.9.tar.gz
creating haproxy-1.7.9-0.bee from template '/etc/default/bee/templates/fallback'
$ git add haproxy-1.7.9-0.bee
$ git mv haproxy-1.7.9-0.bee haproxy.be0
$ vim haproxy.be0
```
```
[BEE] make -j PREFIX=/usr EPREFIX=/usr BINDIR=/usr/bin SBINDIR=/usr/sbin LIBEXECDIR=/usr/libexec SYSCONFDIR=/etc SHAREDSTATEDIR=/var LOCALSTATEDIR=/var LIBDIR=/usr/lib INCLUDEDIR=/usr/include DATAROOTDIR=/usr/share DATADIR=/usr/share INFODIR=/usr/share/info LOCALEDIR=/usr/share/locale MANDIR=/usr/share/man DOCDIR=/usr/share/doc/haproxy

Due to too many reports of suboptimized setups, building without
specifying the target is no longer supported. Please specify the
target OS in the TARGET variable, in the following form:

   make TARGET=xxx

Please choose the target among the following supported list :

   linux2628, linux26, linux24, linux24e, linux22, solaris
   freebsd, openbsd, cygwin, custom, generic

Use "generic" if you don't want any optimization, "custom" if you
want to precisely tweak every option, or choose the target which
matches your OS the most in order to gain the maximum performance
out of it. Please check the Makefile in case of doubts.
```

From [1]:

> - added a build target "linux2628" which is like linux26 but
> automatically

[1] https://permalink.gmane.org/gmane.comp.web.haproxy/8795
@donald
Copy link
Collaborator

donald commented Sep 15, 2017

Why into the system (as opposed into the project directory where the instance is operated) ?

@pmenzel
Copy link
Collaborator Author

pmenzel commented Sep 15, 2017

Because it’s easy to build that way, and it might be used for several projects.

@donald
Copy link
Collaborator

donald commented Sep 16, 2017

I guess 2 MB don't hurt.

@donald donald merged commit 4c12c90 into master Sep 16, 2017
@donald donald deleted the add-haproxy-1.7.9 branch September 16, 2017 08:01
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants