Commit graph

51 commits

Author SHA1 Message Date
Bernard Spil
82b8fb7369 net/haproxy: Fix build with LibreSSL 2.5.3+
- Add defines SSL_CTRL_GET_TLSEXT_STATUS_REQ_CB from OpenSSL 1.1
  - Add 1.6 patch from OpenBSD (last 2 chunks)

PR:		218586
Obtained from:	OpenBSD
2017-07-26 11:57:00 +00:00
Dmitry Sivachenko
8e86e36594 Update to version 1.7.6. 2017-06-16 13:33:34 +00:00
Dmitry Sivachenko
b03377a0ea Use CPU_CFLAGS from haproxy's Makefile to pass our CFLAGS. 2017-06-07 09:12:35 +00:00
Dmitry Sivachenko
b7a65b5d93 Add a patch from upstream to fix haproxy operations when dynamic dns
resolvers are used.

PR:		219379
Submitted by:	jimp@pfsense.org
2017-05-18 19:22:57 +00:00
Bernard Spil
8199e90988 net/haproxy: Fix build with LibreSSL
- Add patch from OpenBSD

PR:		218637
Reported by:	Mark Martinec <Mark.Martinec@ijs.si>
Approved by:	maintainer timeout
Obtained from:	OpenBSD
2017-05-14 09:40:25 +00:00
Dmitry Sivachenko
ecffb45675 Overriding OPTIONS_CFLAGS was a bad idea.
backout last commit and use CFLAGS as before.
2017-04-19 16:30:09 +00:00
Dmitry Sivachenko
2db870881c Do not override CFLAGS defined in Makefile; use OPTIONS_CFLAGS to pass our
CFLAGS env variable;

Add -fwrap to CFLAGS to fix eventual haproxy spins when compiled with newer
versions of clang (FreeBSD-11 is affected). -- obtained from haproxy source tree.
2017-04-19 12:57:56 +00:00
Dmitry Sivachenko
dc330a35ba Update to version 1.7.4. 2017-03-28 09:01:22 +00:00
Dmitry Sivachenko
5eb99debf7 Import some fixes from upstream
Obtained from:	haproxy ML
2017-03-19 16:40:46 +00:00
Dmitry Sivachenko
efe6e2886c Enchance patch (abtained from haproxy ML). 2017-03-18 15:15:01 +00:00
Dmitry Sivachenko
5eb9de224a Provide a better patch to fix connection timeouts
Obtained from:	haproxy ML
2017-03-14 21:45:21 +00:00
Dmitry Sivachenko
a16cfe6ce8 Add a temporary patch to fix timeouts reported at haproxy ML.
Obtained from:	haproxy ML
2017-03-12 08:56:36 +00:00
Dmitry Sivachenko
19b3cfa7da Remove a patch no longer needed. 2017-03-12 08:48:31 +00:00
Dmitry Sivachenko
e09b81c711 Add forgotten patch to fix lua build.
PR:		215444
Submitted by:	Franco Fichtner <franco@opnsense.org>
2016-12-20 16:25:58 +00:00
Dmitry Sivachenko
e4a0899cdc Update to version 1.6.6.
Submitted by:	David CARLIER <devnexen@gmail.com>
2016-06-27 10:49:13 +00:00
Dmitry Sivachenko
2fecb8c97a Fix possible crash when using reqdeny.
PR:		210385
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
2016-06-20 12:40:11 +00:00
Dmitry Sivachenko
250e0a6127 Update to version 1.6.2. 2015-11-03 10:53:25 +00:00
Dmitry Sivachenko
426ed338d1 Fix build with OpenSSL < 1.0 (FreeBSD-9) 2015-10-22 10:41:02 +00:00
Dmitry Sivachenko
8e9a3ac457 Ouch, I deleted the wrong file :( 2015-03-12 16:08:18 +00:00
Dmitry Sivachenko
4a51da5991 GC this message, it contains nothing useful. 2015-03-12 16:04:21 +00:00
Dmitry Sivachenko
03b4e917e1 Fix stop action to stop correctly multi-process haproxy instance.
PR:		197024
Submitted by:	ard_1@mail.ru
2015-02-09 13:06:11 +00:00
Dmitry Sivachenko
c8c1295b33 Add support for profiles (to start several haproxy instances each with it's own
config).
2014-11-27 15:37:21 +00:00
Dmitry Sivachenko
0c49e4e5e4 Update to version 1.5.8. 2014-10-31 11:10:20 +00:00
Dmitry Sivachenko
be3962a14d Update to version 1.5.7. 2014-10-31 08:27:36 +00:00
Dmitry Sivachenko
dc5d1564a5 Do not search for process by name;
rather use all pids stored in pidfile, in multi-process mode haoroxy writes
all pids there.

PR:		192430
Submitted by:	renchap@cocoa-x.com
2014-10-03 15:40:31 +00:00
Dmitry Sivachenko
d1d1852942 Update to version 1.5.1. 2014-06-24 11:23:45 +00:00
Dmitry Sivachenko
0cbb95de16 Update to 1.4.25. 2014-03-28 04:10:45 +00:00
Dmitry Sivachenko
214e979739 Add a patch to fix crash under certain conditions.
http://haproxy.1wt.eu/git?p=haproxy-1.4.git;a=commit;h=d362dc75f3dfa7062e5c2cb7822ad12ffb755389

Submitted by:	Rainer Duffner <rainer@ultra-secure.de>
Obtained from:	project git repository
2013-10-25 18:04:26 +00:00
Dmitry Sivachenko
dd2827e894 If running with nbproc > 1, haproxy spawns several processes and writes their
pids to $pidfile (one pid per line).
Our check_pidfile() from rc.subr will get only first pid and use it for
stop/status/etc which is incorrect.

Do not use pidfile for that, rather use $procname to get the list of running
haproxy processes.

[If you know how to do the same with pidfile, please tell me.]
2013-10-04 12:37:58 +00:00
Chris Rees
65ec3f23db Remove superfluous setting of rc_flags, and remove single
commands from functions

Use standard message in _reload when not running

Several microoptimisations and style fixes

Approved by:	demon (maintainer)
Feature safe:	yes
2012-10-14 11:46:52 +00:00
Dmitry Sivachenko
ab84524d86 Use 'configtest' command to test config file to be consistent with apache,
nagios and others.  Do not invent yet another wheel.

Feature safe: yes
2012-10-12 14:01:04 +00:00
Dmitry Sivachenko
0cf5d27d31 Add $FreeBSD$;
Add LOGIN to REQUIRE;
replace echo + return with err.

Suggested by:	dougb
2012-06-05 17:45:41 +00:00
Alex Kozlov
1d801e61ab - Add return codes to rc.d script
PR:	ports/168449
Submitted by:	Boris Kochergin <spawk@acm.poly.edu>
Approved by:	demon (maintainer), eadler, itetcu (mentors, implicit)
2012-06-05 11:09:16 +00:00
Dmitry Sivachenko
a6bbd1035b Update to 1.4.20.
Maintainet timeout (11 days).

Feature safe:	yes
2012-03-26 10:41:54 +00:00
Dmitry Sivachenko
bbe312d32a Update to version 1.4.19.
maintainer timeout.
2012-02-28 10:01:38 +00:00
Martin Wilke
aa33c32238 - Respect CC and CFLAGS
PR:		163280
Submitted by:	farrokhi@
Approved by:	maintainer timeout
2012-01-14 19:11:29 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Beech Rintoul
7f0f1c6d36 Upgrade haproxy to v1.4.10
Please check the following for changes:

Changelog : http://haproxy.1wt.eu/download/1.4/src/CHANGELOG

PR:		ports/152749
Submitted by:	Ross West (freebsd@linepoint.com) (maintainer)
Approved by:	itetcu (mentor) (implicit)
2010-12-03 00:26:36 +00:00
Pav Lucistnik
f74c15faee - Update to 1.4.3
PR:		ports/145244
Submitted by:	Ross West <freebsd@linepoint.com> (maintainer)
2010-04-02 13:13:16 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Dmitry Marakasov
e6b1a43b68 - Update to 1.4.2
PR:		144856
Submitted by:	Ross West <freebsd@linepoint.com> (maintainer)
2010-03-18 17:53:23 +00:00
Wen Heping
b9f63461f0 - Update to 1.4.1
- Pass maintainer to submitter

PR:		ports/144331
Submitted by:	Ross West <freebsd@linepoint.com> (new maintainer)
2010-03-16 01:39:45 +00:00
Xin LI
a689aeac0f Update haproxy to 1.2.17.
PR:		ports/114859
Approved by:	maintainer timeout
2007-08-12 15:45:08 +00:00
Clement Laforet
fa1931b038 - Update to 1.2.16
- use USE_RC_SUBR and tweak haproxy.sh
2006-11-01 14:42:14 +00:00
Clement Laforet
a5e2978563 - Update to new stable branch 1.2.x (1.2.15) 2006-09-24 10:54:04 +00:00
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00
Clement Laforet
c62a21e358 - Update to 1.1.28
- RCng'ify startup script
- small plist fix if NOPORTDOCS is defined
- Add an entry in UPDATING
- move configuration example to ${EXAMPLESDIR}.
2004-06-08 10:31:00 +00:00
Daichi GOTO
e0b5438f88 I forgot to remove files/patch-Makefile
PR:		57157
Pointy hat to:	myself
2003-09-26 06:29:35 +00:00
Daichi GOTO
e078c360d9 update: net/haproxy 1.1.21 -> 1.1.24
PR:		57157
Submitted by:	Clement Laforet <sheepkiller@cultdeadsheep.org> (maintainer)
2003-09-26 06:22:37 +00:00
Yen-Ming Lee
a0c4c4b178 - Update haproxy to 1.1.21
- Fix small bug in port
- Cosmetic changes

PR:		52905
Submitted by:	Clement Laforet <sheepkiller@cultdeadsheep.org>
2003-06-04 15:30:38 +00:00